/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

/* ── Design Tokens ────────────────────────────────────────────────────────── */
:root {
  --bg:              #f8fafc;
  --surface:         #ffffff;
  --surface-2:       #f1f5f9;
  --border:          #e2e8f0;
  --text:            #0f172a;
  --text-2:          #475569;
  --text-3:          #94a3b8;

  --infomint:        #0ea5e9;
  --infomint-dark:   #0284c7;
  --infomint-bg:     #f0f9ff;
  --infomint-border: #bae6fd;

  --systra:          #00b4d8;
  --systra-bg:       #050a12;
  --systra-surface:  #0f1c2e;
  --systra-border:   #1a2d45;
  --systra-text:     #e0e8ff;
  --systra-muted:    #8899aa;

  --green:           #10b981;
  --red:             #ef4444;
  --amber:           #f59e0b;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --nav-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:              #060d1a;
    --surface:         #0f1825;
    --surface-2:       #1a2638;
    --border:          #1e2e42;
    --text:            #e2eaf5;
    --text-2:          #8899aa;
    --text-3:          #445566;
    --infomint-bg:     #071525;
    --infomint-border: #0c2a45;
    --shadow-lg:       0 12px 40px rgba(0,0,0,.5);
  }
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1100px; margin-inline: auto; padding-inline: 24px; }

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem);   font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #00b4d8 0%, #0ea5e9 50%, #6366f1 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.accent-blue { color: var(--infomint); }
.accent-teal { color: var(--systra); }
.green       { color: var(--green); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-sm     { padding: 7px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-full   { width: 100%; justify-content: center; }

.btn-primary  { background: var(--systra); color: #050a12; }
.btn-primary:hover { background: #22d3ee; box-shadow: 0 4px 20px rgba(0,180,216,.35); }

.btn-infomint { background: var(--infomint); color: #fff; }
.btn-infomint:hover { background: var(--infomint-dark); box-shadow: 0 4px 20px rgba(14,165,233,.35); }

.btn-systra   { background: var(--systra); color: #050a12; font-weight: 700; }
.btn-systra:hover { background: #22d3ee; box-shadow: 0 4px 20px rgba(0,180,216,.35); }

.btn-ghost    { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); }

.btn-ghost-teal { background: transparent; color: var(--systra); border: 1px solid var(--systra-border); font-weight: 600; }
.btn-ghost-teal:hover { border-color: var(--systra); box-shadow: 0 0 0 2px rgba(0,180,216,.15); }

.coming-soon-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: rgba(255,255,255,.22);
  border-radius: 4px; padding: 2px 6px;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200; height: var(--nav-h);
  background: rgba(248,250,252,0.93); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(6,13,26,0.93); }
}
.nav { display: flex; align-items: center; height: 100%; gap: 4px; }
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 20px; flex-shrink: 0; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--infomint), var(--systra));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #fff;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 20px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 12px; width: 100%; font-size: 1rem; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 80px 24px 100px;
  background: var(--systra-bg); color: var(--systra-text);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 40%, rgba(14,165,233,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0,180,216,.10) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(99,102,241,.08) 0%, transparent 60%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 820px; margin-inline: auto; }
.hero-h1    { color: var(--systra-text); margin-bottom: 24px; }
.hero-sub   { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--systra-muted); max-width: 600px; margin-bottom: 52px; line-height: 1.7; }

.hero-personas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 640px; }
.persona-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  border-radius: var(--radius-lg); border: 1px solid var(--systra-border);
  background: rgba(15,28,46,0.7); backdrop-filter: blur(8px); text-align: left;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.persona-card:hover { border-color: var(--infomint); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(14,165,233,.2); }
.persona-card--systra:hover { border-color: var(--systra); box-shadow: 0 8px 30px rgba(0,180,216,.2); }
.persona-icon { width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; background: rgba(14,165,233,.12); color: var(--infomint); flex-shrink: 0; }
.persona-card--systra .persona-icon { background: rgba(0,180,216,.12); color: var(--systra); }
.persona-body { display: flex; flex-direction: column; gap: 4px; }
.persona-body strong { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--systra-text); }
.persona-body span   { font-size: 0.78rem; color: var(--systra-muted); }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--systra-border); animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 600px) {
  .hero-personas { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 60px 20px 80px; }
}

/* ── Shared Section Styles ────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.section-inner--reverse { direction: rtl; }
.section-inner--reverse > * { direction: ltr; }

.product-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 20px;
}
.product-badge--infomint { background: rgba(14,165,233,.1); color: var(--infomint); border: 1px solid rgba(14,165,233,.25); }
.product-badge--systra   { background: rgba(0,180,216,.12); color: var(--systra);   border: 1px solid rgba(0,180,216,.25); }

.section-text h2 { margin-bottom: 20px; }
.section-sub { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; max-width: 520px; }
.section-sub.center { text-align: center; max-width: 560px; margin-inline: auto; }
.section-center { text-align: center; margin-bottom: 56px; }
.section-center h2 { margin-bottom: 16px; }

.feature-list  { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.feature-item  { display: flex; align-items: flex-start; gap: 14px; font-size: 0.92rem; color: var(--text-2); line-height: 1.6; }
.feature-item strong { color: var(--text); }
.feature-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(14,165,233,.12); color: var(--infomint);
  display: grid; place-items: center; margin-top: 1px;
}
.feature-check--systra { background: rgba(0,180,216,.12); color: var(--systra); }

.cta-group     { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-note      { font-size: 0.8rem; color: var(--text-3); width: 100%; margin-top: 4px; }
.disclaimer-inline { margin-top: 16px; font-size: 0.78rem; color: var(--systra-muted); line-height: 1.5; }

@media (max-width: 900px) {
  .section-inner { grid-template-columns: 1fr; gap: 48px; }
  .section-inner--reverse { direction: ltr; }
  .section-visual { order: -1; }
}
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* ── InfoMint Section ─────────────────────────────────────────────────────── */
.section--infomint { background: var(--infomint-bg); }
@media (prefers-color-scheme: dark) { .section--infomint { background: #071525; } }

/* Phone mockup */
.phone-mockup {
  width: 240px; min-height: 440px; border-radius: 36px;
  border: 2.5px solid var(--infomint-border); background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(14,165,233,.06);
  margin-inline: auto;
}
.phone-notch { width: 80px; height: 20px; background: var(--infomint-border); border-radius: 0 0 14px 14px; margin: 0 auto; }
.phone-screen { padding: 12px 14px 20px; }
.mock-app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-logo       { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--infomint); }
.mock-date-chip  { font-size: 0.68rem; background: rgba(14,165,233,.12); color: var(--infomint); padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.mock-section-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.mock-card { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--border); }
.mock-card--blue { border-left: 3px solid var(--infomint); }
.mock-tag { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--infomint); margin-bottom: 5px; display: block; }
.mock-card p { font-size: 0.72rem; color: var(--text-2); line-height: 1.45; }
.mock-pdf-row { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px 10px; border: 1px solid var(--border); }
.mock-pdf-row span:nth-child(2) { font-size: 0.7rem; color: var(--text-2); flex: 1; }
.mock-dl { font-weight: 700; color: var(--infomint); font-size: 0.9rem; }

/* Card slide-in animation */
.anim-card { opacity: 0; transform: translateY(10px); animation: cardIn 0.5s ease forwards var(--d, 0s); }
@keyframes cardIn { to { opacity: 1; transform: none; } }

/* ── InfoMint App Mockup (dark, matches real app) ─────────────────────────── */
.phone-mockup--dark {
  border-color: #2a2a2a;
  background: #0d0d0d;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(14,165,233,.04);
  width: 250px;
  min-height: 500px;
}
.phone-notch--dark { background: #1a1a1a; }
.phone-screen--dark { background: #0d0d0d; padding: 10px 10px 0; }

/* App bar */
.im-app-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.im-app-name {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: #ffffff; letter-spacing: 0.02em;
}
.im-paper-chip {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(14,165,233,.15); color: #0ea5e9;
  border: 1px solid rgba(14,165,233,.3); border-radius: 4px; padding: 2px 7px;
}

/* Content card */
.im-card {
  background: #141414; border: 1px solid #222; border-radius: 10px;
  padding: 10px 10px 8px; margin-bottom: 8px;
}
.im-card-meta { margin-bottom: 6px; }
.im-subject-tag {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: #f59e0b;
}
.im-card-title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: #f5c518; line-height: 1.25; margin-bottom: 10px;
}

/* Numbered sections */
.im-sections { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.im-section   { display: flex; align-items: flex-start; gap: 8px; }
.im-num {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: #0ea5e9; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.62rem;
  display: grid; place-items: center; margin-top: 1px;
}
.im-section:nth-child(2) .im-num { background: #10b981; }
.im-section:nth-child(3) .im-num { background: #8b5cf6; }
.im-sec-body  { display: flex; flex-direction: column; gap: 2px; }
.im-sec-title { font-size: 0.68rem; font-weight: 700; color: #d0d8e8; }
.im-sec-desc  { font-size: 0.6rem;  color: #6b7f8f; line-height: 1.35; }

/* Mnemonic block */
.im-mnemonic {
  background: rgba(249,115,22,.08); border: 1px solid rgba(249,115,22,.25);
  border-radius: 6px; padding: 7px 9px; margin-bottom: 7px;
}
.im-mnem-label {
  display: block; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #f97316; margin-bottom: 4px;
}
.im-mnemonic p { font-size: 0.62rem; color: #a0b0c0; line-height: 1.45; }

/* Deep-Think block */
.im-deepthink {
  background: rgba(14,165,233,.06); border: 1px solid rgba(14,165,233,.2);
  border-radius: 6px; padding: 7px 9px; margin-bottom: 0;
}
.im-deep-label {
  display: block; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #0ea5e9; margin-bottom: 4px;
}
.im-deepthink p { font-size: 0.6rem; color: #8899aa; line-height: 1.4; font-style: italic; }

/* TTS Player bar */
.im-player {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 10px; margin: 0 -10px;
  background: #0a0a0a; border-top: 1px solid #1e1e1e;
}
.im-player-left { display: flex; align-items: center; gap: 8px; }
.im-play-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: #10b981; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16,185,129,.4);
}
.im-play-label { font-size: 0.62rem; color: #8899aa; white-space: nowrap; }
.im-speed-group { display: flex; gap: 4px; }
.im-speed {
  font-size: 0.6rem; font-weight: 600; padding: 3px 6px;
  border-radius: 4px; background: #1e1e1e; color: #6b7f8f;
}
.im-speed--active { background: #10b981; color: #fff; }

/* ── YouTube Embed Slot ───────────────────────────────────────────────────── */
.yt-embed { margin-top: 16px; border-radius: var(--radius-lg); overflow: hidden; }

.yt-inner {
  background: linear-gradient(135deg, rgba(14,165,233,.08) 0%, rgba(99,102,241,.06) 100%);
  border: 1px solid var(--infomint-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.yt-inner--dark {
  background: linear-gradient(135deg, rgba(0,180,216,.08) 0%, rgba(99,102,241,.05) 100%);
  border-color: var(--systra-border);
}

.yt-play-area {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; width: 100%; text-align: left;
  transition: background 0.15s;
}
.yt-play-area:hover { background: rgba(255,255,255,.04); }

.yt-play-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--infomint); color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(14,165,233,.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.yt-inner--dark .yt-play-icon { background: var(--systra); box-shadow: 0 4px 14px rgba(0,180,216,.4); }
.yt-play-area:hover .yt-play-icon { transform: scale(1.08); }

.yt-info { display: flex; flex-direction: column; gap: 3px; }
.yt-title-text { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--text); }
.yt-inner--dark .yt-title-text { color: var(--systra-text); }
.yt-dur { font-size: 0.75rem; color: var(--text-3); }

.yt-coming {
  display: block; text-align: center; padding: 6px 20px 14px;
  font-size: 0.72rem; color: var(--text-3); font-style: italic;
}
.yt-inner--dark .yt-coming { color: var(--systra-muted); }

.yt-frame { display: block; width: 100%; aspect-ratio: 16/9; border: none; }

/* ── SYSTRA Section ───────────────────────────────────────────────────────── */
.section--systra { background: var(--systra-bg); color: var(--systra-text); }
.section--systra .section-sub   { color: var(--systra-muted); }
.section--systra .feature-item  { color: var(--systra-muted); }
.section--systra .feature-item strong { color: var(--systra-text); }
.section--systra h2 { color: var(--systra-text); }

/* Telegram mockup */
.tg-mockup {
  background: #1c2733; border: 1px solid #2a3a4a; border-radius: var(--radius-xl);
  overflow: hidden; max-width: 340px; margin-inline: auto;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,180,216,.05);
  font-size: 0.82rem;
}

.tg-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: #222e3a; border-bottom: 1px solid #2a3a4a;
}
.tg-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--systra), #6366f1);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: #fff; flex-shrink: 0;
}
.tg-channel-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.tg-channel-info strong { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: #e2eaf5; }
.tg-channel-info span   { font-size: 0.7rem; color: #6b7f8f; }
.tg-header-icons { color: #6b7f8f; }

.tg-messages {
  min-height: 200px; max-height: 280px; overflow-y: auto; overflow-x: hidden;
  padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 10px;
  transition: opacity 0.4s;
  scrollbar-width: thin; scrollbar-color: #2a3a4a transparent;
}

.tg-msg {
  background: var(--bg, #253040); border-left: 3px solid var(--border, #00b4d8);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 10px 12px;
  animation: tgSlideIn 0.35s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes tgSlideIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.tg-msg-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.tg-signal-badge { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; }
.tg-msg-time     { font-size: 0.65rem; color: #6b7f8f; flex-shrink: 0; }

.tg-msg-body { display: flex; flex-direction: column; gap: 4px; }
.tg-msg-row  { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; }
.tg-msg-row span  { color: #8899aa; }
.tg-msg-row strong { color: #c8d8e8; font-weight: 600; }

.tg-msg-divider { height: 1px; background: #2a3a4a; margin: 6px 0; }

.tg-msg-footer {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid #2a3a4a;
  font-size: 0.66rem; color: #566878; line-height: 1.4;
}

/* Typing indicator */
.tg-typing {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px 12px;
  font-size: 0.7rem; color: #6b7f8f;
}
.tg-typing-label { margin-right: 4px; }
.tg-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #00b4d8;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.tg-dot:nth-child(2) { animation-delay: 0.2s; }
.tg-dot:nth-child(3) { animation-delay: 0.4s; }
.tg-dot:nth-child(4) { animation-delay: 0.6s; }
@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1; }
}

/* ── Free / Premium Tier Grid ─────────────────────────────────────────────── */
.tier-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 24px;
}
.tier-card {
  background: var(--systra-surface); border: 1px solid var(--systra-border);
  border-radius: var(--radius-lg); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.tier-card--premium {
  border-color: rgba(0,180,216,.4);
  box-shadow: 0 0 0 1px rgba(0,180,216,.1), inset 0 1px 0 rgba(0,180,216,.06);
}

.tier-label {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  color: var(--systra-muted); text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.tier-label--premium { color: var(--systra); }

.tier-popular {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(0,180,216,.15); color: var(--systra);
  border: 1px solid rgba(0,180,216,.3); border-radius: 4px; padding: 2px 6px;
}

.tier-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-list li {
  font-size: 0.78rem; color: var(--systra-muted); padding-left: 14px; position: relative; line-height: 1.4;
}
.tier-list li::before { content: '›'; position: absolute; left: 0; color: var(--systra); font-weight: 700; }

@media (max-width: 500px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* ── Community Section ────────────────────────────────────────────────────── */
.section--community { background: var(--systra-bg); color: var(--systra-text); }
.section--community .eyebrow   { color: var(--systra-muted); }
.section--community h2         { color: var(--systra-text); }
.section--community .section-sub { color: var(--systra-muted); }

.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.community-card {
  background: var(--systra-surface); border: 1px solid var(--systra-border);
  border-radius: var(--radius-xl); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.community-card:hover { border-color: rgba(42,171,238,.5); transform: translateY(-3px); }
.community-icon { width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center; }
.community-icon--blue { background: rgba(14,165,233,.12); color: var(--infomint); }
.community-icon--teal { background: rgba(0,180,216,.12); color: var(--systra); }
.community-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--systra-text); }
.community-card p  { font-size: 0.9rem; color: var(--systra-muted); line-height: 1.65; }
.community-meta    { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-chip {
  font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,.05); border: 1px solid var(--systra-border); color: var(--systra-muted);
}

@media (max-width: 640px) { .community-grid { grid-template-columns: 1fr; } }

/* ── FAQ Section ──────────────────────────────────────────────────────────── */
.section--faq { background: var(--bg); }
.faq-inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: flex-start; }
.faq-header { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-header h2 { margin-bottom: 12px; }
.faq-header .section-sub { font-size: 0.95rem; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.faq-item[open] { border-color: var(--infomint); }
.faq-item[open] .faq-q::after { transform: rotate(180deg); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--text);
  list-style: none; user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; transition: transform 0.2s;
}
.faq-q:hover { color: var(--infomint); }
.faq-a { padding: 0 20px 18px; font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
.faq-a a { color: var(--infomint); text-decoration: underline; text-decoration-color: rgba(14,165,233,.3); }
.faq-a a:hover { text-decoration-color: var(--infomint); }

@media (max-width: 800px) {
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-header { position: static; }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--systra-bg); color: var(--systra-muted); border-top: 1px solid var(--systra-border); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo  { display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 0.88rem; color: var(--systra-muted); line-height: 1.6; max-width: 260px; }
.footer-address { font-size: 0.8rem; color: var(--systra-muted); line-height: 1.8; }
.footer-gst     { font-size: 0.78rem; color: var(--systra-muted); }
.footer-links-group h3 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--systra-text); margin-bottom: 16px; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a  { font-size: 0.875rem; color: var(--systra-muted); transition: color 0.15s; }
.footer-links-group a:hover { color: var(--systra-text); }
.footer-bottom { border-top: 1px solid var(--systra-border); padding-block: 20px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; }
.footer-disclaimer { color: var(--systra-muted); }

@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ── Reduced Motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
