/* ============================================================
   JAMESSTOCKCIRCLE — style.css  [V9]
   Dark financial dashboard aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-deep:    #0b0f19;
  --bg-card:    #0f172a;
  --bg-panel:   #131c2e;
  --bg-hover:   #1a2540;
  --green:      #22c55e;
  --green-dim:  #16a34a;
  --blue:       #3b82f6;
  --blue-dim:   #2563eb;
  --gold:       #f59e0b;
  --text-main:  #e5e7eb;
  --text-muted: #94a3b8;
  --text-faint: #4b5563;
  --border:     rgba(59,130,246,0.12);
  --border-bright: rgba(59,130,246,0.28);
  --glow-blue:  0 0 24px rgba(59,130,246,0.35);
  --glow-green: 0 0 24px rgba(34,197,94,0.40);
  --radius:     12px;
  --radius-lg:  18px;
  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---------- Background texture ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59,130,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(34,197,94,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

section { padding: 72px 0; }

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.label-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11,15,25,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.nav-logo span { color: var(--green); }

.nav-join-btn {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-join-btn:hover { background: #16a34a; box-shadow: var(--glow-green); }

/* ---------- HERO ---------- */
#hero {
  padding-top: 120px;
  padding-bottom: 64px;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--green);
  opacity: 0.5;
}

h1.hero-title {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-main);
  text-shadow: var(--glow-blue);
  margin-bottom: 20px;
}
h1.hero-title span.accent-blue {
  color: var(--blue);
  text-shadow: 0 0 40px rgba(59,130,246,0.6);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 40px;
}

/* ---------- STATS GRID ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
}

.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.stat-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-value {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-main);
}
.stat-value.green { color: var(--green); }
.stat-value.blue  { color: var(--blue); }
.stat-value.gold  { color: var(--gold); }

.stat-session {
  font-size: 0.62rem;
  color: var(--text-faint);
  margin-top: 5px;
  line-height: 1.3;
}

/* ---------- SESSION BADGE ---------- */
#session-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
}
.session-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.session-dot.dim { background: var(--text-muted); box-shadow: none; animation: none; }
.session-dot.orange { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---------- CTA BUTTONS ---------- */
.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 16px 28px;
  cursor: pointer;
  text-decoration: none;
  min-width: 190px;
  justify-content: center;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-cta:hover::before { opacity: 1; }
.btn-cta:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { box-shadow: 0 0 28px rgba(37,211,102,0.5); }

.btn-telegram {
  background: #2aabee;
  color: #fff;
}
.btn-telegram:hover { box-shadow: 0 0 28px rgba(42,171,238,0.45); }

.btn-icon { width: 22px; height: 22px; flex-shrink: 0; }

.cta-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.cta-caption span { color: var(--green); font-weight: 600; }

/* ---------- Glow animation (triggered after 20s) ---------- */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  50% { box-shadow: 0 0 32px 8px rgba(37,211,102,0.55); }
}
.btn-glow-active { animation: glow-pulse 2s ease-in-out infinite; }

/* Tooltip */
.cta-tooltip {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.cta-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.cta-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom: none;
  border-top-color: var(--gold);
}

/* ---------- DIVIDER ---------- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* ---------- HOW WE TRADE ---------- */
#method { background: var(--bg-card); }

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .method-grid { grid-template-columns: repeat(3, 1fr); }
}

.method-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.method-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.method-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity var(--transition);
}
.method-card:hover::before { opacity: 1; }

.method-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--border-bright);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 14px;
}

.method-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.method-text strong { color: var(--text-main); }

/* ---------- TRADE RECORDS ---------- */
.trades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 500px) {
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .trades-grid { grid-template-columns: repeat(3, 1fr); }
}

.trade-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.trade-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition);
}
.trade-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-2px);
}

.trade-ticker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(59,130,246,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 64px;
  text-align: center;
}

.trade-details { flex: 1; }
.trade-prices {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}
.trade-prices span { color: var(--text-main); }

.trade-gain {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
}

.trade-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- COMMUNITY  [V9] ---------- */
#community { background: var(--bg-card); }

/* Shared column title — same style for both "The Circle" and "Member Feedback" */
.community-col-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

/* 2-column layout: chat 60% / feedback 40% */
.community-cols {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 0;
  align-items: start; /* titles align at top of each column */
}

.community-chat-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Chat terminal takes exactly the height of feedback panel */
.community-chat-col .chat-terminal {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
}

/* Feed fills remaining height inside terminal */
.community-chat-col .chat-feed-v6 {
  flex: 1;
  height: auto;
  min-height: 300px;
}

.community-feedback-col {
  padding-left: 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Feedback panel fills full column */
.feedback-panel {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Cards share the available height equally */
.feedback-panel .testimonial-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Stack vertically on mobile */
@media (max-width: 767px) {
  .community-cols {
    grid-template-columns: 1fr;
  }
  .community-chat-col .chat-feed-v6 {
    height: 510px;
    flex: none;
  }
  .community-chat-col .chat-terminal {
    flex: none;
  }
  .community-feedback-col {
    padding-left: 0;
    padding-top: 24px;
    flex: none;
  }
  .feedback-panel {
    flex: none;
  }
  .feedback-panel .testimonial-card {
    flex: none;
  }
}

/* Testimonial card */
.testimonial-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07), 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.2;
}

.testimonial-stars {
  font-size: 14px;
  color: #FBBF24;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.testimonial-text {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
  margin: 0;
}

/* ── CHAT TERMINAL  [V6] ── */
.chat-terminal {
  max-width: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(59,130,246,0.22);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.06), 0 8px 40px rgba(0,0,0,0.55), 0 0 32px rgba(59,130,246,0.08);
  background: #0a0e1a;
}

/* Window chrome */
.chat-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #0d1220;
  border-bottom: 1px solid rgba(59,130,246,0.14);
}
.chrome-dots { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.chrome-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chrome-red    { background: #ff5f57; }
.chrome-yellow { background: #ffbd2e; }
.chrome-green  { background: #28ca41; }

.chrome-title {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  text-align: center;
}

.chrome-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
}
.chrome-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* Feed container */
.chat-feed-v6 {
  height: 510px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
  scroll-behavior: smooth;
  /* hide scrollbar */
  scrollbar-width: none;
}
.chat-feed-v6::-webkit-scrollbar { display: none; }

/* Fade mask at bottom */
.chat-feed-v6::after {
  content: '';
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(transparent, #0a0e1a);
  pointer-events: none;
  flex-shrink: 0;
  display: block;
}

/* Individual message row */
.chat-msg-v6 {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 7px 18px;
  transition: background 0.15s;
  /* Slide-in animation */
  animation: msgSlideIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.chat-msg-v6:hover { background: rgba(255,255,255,0.025); }

@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Avatar circle */
.msg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  letter-spacing: 0;
}

/* Message content block */
.msg-content { flex: 1; min-width: 0; }

.msg-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}
.msg-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}
.msg-time {
  font-size: 0.65rem;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.msg-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: break-word;
}
/* Stock ticker highlight in messages */
.msg-ticker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.79rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(59,130,246,0.12);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.03em;
}
/* Watchlist trigger message — slightly brighter */
.chat-msg-v6.msg-special .msg-text {
  color: #c7d4e8;
}
.chat-msg-v6.msg-special .msg-name {
  color: var(--green);
}

/* ---------- BARRIER + FAQ ---------- */
#faq { position: relative; }

.barrier-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.barrier-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.barrier-icon { font-size: 2rem; margin-bottom: 12px; }
.barrier-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  font-style: italic;
}

.accordion-list { display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion-item.open { border-color: var(--border-bright); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  gap: 16px;
  font-family: 'Inter', sans-serif;
}

.accordion-arrow {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--text-muted);
  font-size: 0.7rem;
}
.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
  background: var(--blue);
  color: #fff;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}
.accordion-item.open .accordion-body {
  max-height: 200px;
  padding: 0 20px 18px;
}
.accordion-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- FINAL CTA ---------- */
#final-cta {
  background: var(--bg-card);
  text-align: center;
}

.final-cta-headline {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.final-cta-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- SOCIAL PROOF NOTIFICATIONS ---------- */
#notif-container {
  position: fixed;
  bottom: 24px;
  left: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.notif-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 12px 16px;
  max-width: 270px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
}
.notif-card.show {
  opacity: 1;
  transform: translateX(0);
}

.notif-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.notif-body { flex: 1; min-width: 0; }
.notif-name { font-size: 0.8rem; font-weight: 700; color: var(--text-main); }
.notif-action { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }
.notif-time { font-size: 0.65rem; color: var(--text-faint); margin-top: 2px; }

/* ---------- EXIT INTENT MODAL ---------- */
#exit-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#exit-modal.show { display: flex; }

.exit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

.exit-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}
.exit-emoji { font-size: 2rem; margin-bottom: 12px; }
.exit-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.exit-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.exit-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.exit-close:hover { color: var(--text-main); }

/* ---------- FOOTER ---------- */
footer {
  padding: 28px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ---------- FADE-IN ANIMATION (scroll trigger) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PULSE ANIMATION (conversion trigger) ---------- */
@keyframes btn-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.05); }
  60%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}
.btn-pulse { animation: btn-pulse 0.5s ease; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 3px; }
