/* ============================================
   DashBot Marketing Site — style.css
   ============================================ */

:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #0e0e14;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a28;
  --bg-nav: rgba(10, 10, 12, 0.88);

  --text-primary: #f0f0f2;
  --text-secondary: #9a9aaa;
  --text-muted: #5a5a68;

  --accent: #f5a623;
  --accent-hover: #ffbe45;
  --accent-subtle: rgba(245, 166, 35, 0.10);
  --accent-glow: rgba(245, 166, 35, 0.25);
  --accent-dim: rgba(245, 166, 35, 0.06);

  --green: #34d058;
  --red: #e55;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.10);

  --max-width: 1160px;
  --radius: 14px;
  --radius-sm: 8px;

  --font-display: 'Syne', 'Georgia', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(245, 166, 35, 0.12); color: var(--accent); padding: 0.15em 0.45em; border-radius: 4px; }

/* ---- Layout ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0a0a0c; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 24px var(--accent-glow); color: #0a0a0c; }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; }
.nav-logo:hover { color: var(--text-primary); }
.nav-logo .logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; border-radius: 1px; }

/* ---- Nav Discord ---- */
.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary) !important;
  transition: color 0.2s;
}
.nav-discord:hover { color: #5865F2 !important; }
.nav-discord svg { flex-shrink: 0; }

/* ---- Nav Account ---- */
.nav-account { display: flex; align-items: center; gap: 0.75rem; }
.nav-user-email { font-size: 0.85rem; color: var(--text-secondary); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.6rem; border-radius: 100px; }
.plan-free { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.plan-individual { background: rgba(59,130,246,0.15); color: #60a5fa; }
.plan-pro { background: var(--accent-subtle); color: var(--accent); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, rgba(245,166,35,0.03) 40%, transparent 70%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-compat-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(245,166,35,0.18);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #ffd280 50%, #ffecb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero rotating headlines */
.hero-rotating-h1 {
  position: relative;
  min-height: 2.2em;
}
.hero-rotate-wrap {
  display: block;
  position: relative;
}
.hero-rotate-line {
  display: none;
  opacity: 0;
}
.hero-rotate-line.hero-rotate-active {
  display: block;
  opacity: 1;
}
.hero-rotate-line .hero-rotate-top {
  display: block;
}
.hero-rotate-line .hero-rotate-grad {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, #ffd280 50%, #ffecb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fade-up-in / fade-down-out */
@keyframes heroLineIn {
  0%   { opacity: 0; transform: translateY(24px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes heroLineOut {
  0%   { opacity: 1; transform: translateY(0);    filter: blur(0); }
  100% { opacity: 0; transform: translateY(-24px); filter: blur(4px); }
}
.hero-rotate-line.hero-rotate-in {
  display: block;
  animation: heroLineIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-rotate-line.hero-rotate-out {
  display: block;
  animation: heroLineOut 0.45s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

/* ============================================
   COMPAT BANNER
   ============================================ */
.compat-banner {
  padding: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.08) 0%, rgba(245,166,35,0.03) 100%);
  border-top: 1px solid rgba(245,166,35,0.12);
  border-bottom: 1px solid rgba(245,166,35,0.12);
}
.compat-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}
.compat-banner-icon { flex-shrink: 0; }
.compat-banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.compat-banner-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SCREENSHOT SHOWCASE
   ============================================ */
.showcase {
  padding: 4rem 0 2rem;
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.showcase-reversed {
  direction: rtl;
}
.showcase-reversed > * {
  direction: ltr;
}
.showcase-text {
  padding: 0.5rem 0;
}
.showcase-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.7rem;
  background: var(--accent-subtle);
  border-radius: 4px;
}
.showcase-text h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.showcase-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.compat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  padding: 0.3rem 0.8rem;
  background: rgba(52,208,88,0.08);
  border: 1px solid rgba(52,208,88,0.15);
  border-radius: 100px;
}
.showcase-image {
  position: relative;
}
.showcase-image-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.showcase-image img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}
.showcase-image img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.5),
    0 0 40px rgba(245,166,35,0.08),
    0 0 0 1px rgba(245,166,35,0.12);
}

/* Alternating subtle bg for every other row */
.showcase-row:nth-child(even) {
  background: var(--accent-dim);
  border-radius: var(--radius);
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--max-width) + 3rem);
}

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.strip-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.strip-item:hover {
  background: var(--accent-dim);
}
.strip-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 12px;
}
.strip-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.strip-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================
   WHY DASHBOT / COMPATIBILITY
   ============================================ */
.why-section {
  padding: 6rem 0;
}
.why-header {
  text-align: center;
  margin-bottom: 3rem;
}
.why-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.why-title {
  font-size: 2.4rem;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.why-list {
  list-style: none;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.why-list li:last-child {
  border-bottom: none;
}
.why-list li svg {
  flex-shrink: 0;
}
.why-card-highlight {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(245,166,35,0.06) 0%, var(--bg-card) 40%);
}
.why-card-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.why-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.why-compare-col {
  padding: 1rem;
  border-radius: var(--radius-sm);
}
.why-compare-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.why-compare-col ul {
  list-style: none;
}
.why-compare-col li {
  font-size: 0.85rem;
  padding: 0.3rem 0;
  color: var(--text-secondary);
}
.why-compare-old {
  background: rgba(238,85,85,0.06);
  border: 1px solid rgba(238,85,85,0.12);
}
.why-compare-old h4 { color: var(--red); }
.why-compare-old li { text-decoration: line-through; opacity: 0.7; }
.why-compare-new {
  background: rgba(52,208,88,0.06);
  border: 1px solid rgba(52,208,88,0.12);
}
.why-compare-new h4 { color: var(--green); }
.why-compare-new li:last-child { font-weight: 700; color: var(--green); font-size: 1rem; }
.why-card-bottom {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   PRICING
   ============================================ */
.pricing { padding: 6rem 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}
.pricing-tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.pricing-tier:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.pricing-tier h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.pricing-tier-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.pricing-tier .pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0 0.25rem;
}
.pricing-tier .pricing-amount .currency { font-size: 1.5rem; font-weight: 600; vertical-align: top; line-height: 2.2; }
.pricing-tier .pricing-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-tier .pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-tier .pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-tier .pricing-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.pricing-tier .btn { width: 100%; justify-content: center; }
.pricing-tier-featured {
  position: relative;
  border-color: var(--accent);
  box-shadow: 0 0 48px rgba(245,166,35,0.08);
  transform: scale(1.03);
}
.pricing-tier-featured:hover {
  border-color: var(--accent-hover);
  box-shadow: 0 0 56px rgba(245,166,35,0.14);
}
.pricing-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0c;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ============================================
   ACCOUNT SHOWCASE
   ============================================ */
.account-showcase {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.account-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}
.account-showcase-text .section-subtitle {
  margin-bottom: 2rem;
  line-height: 1.75;
}
.account-callouts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.account-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.account-callout svg { flex-shrink: 0; margin-top: 0.15rem; }
.account-callout h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.account-callout p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.account-showcase-image {
  position: relative;
}
.account-showcase-image img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03);
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.account-showcase-image img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.5),
    0 0 40px rgba(245,166,35,0.08),
    0 0 0 1px rgba(245,166,35,0.12);
}

/* Fly-in from right animation */
.account-showcase-fly-in {
  opacity: 0;
  transform: translateX(80px) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.account-showcase-fly-in.revealed {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ============================================
   DOWNLOAD
   ============================================ */
.download {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.download-content { max-width: 600px; margin: 0 auto; text-align: center; }
.download-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.download-meta span { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.download-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-20px);
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
  opacity: 0; transition: all 0.3s ease; pointer-events: none; z-index: 200;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast-success { background: rgba(52,208,88,0.15); border: 1px solid rgba(52,208,88,0.3); color: var(--green); }
.toast-cancel { background: rgba(238,85,85,0.15); border: 1px solid rgba(238,85,85,0.3); color: var(--red); }
.toast-close { background: none; border: none; color: inherit; cursor: pointer; margin-left: 1rem; font-size: 1.1rem; opacity: 0.7; }
.toast-close:hover { opacity: 1; }

/* ============================================
   AUTH MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; width: 100%; max-width: 400px; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }
.modal-card h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.modal-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.auth-form { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-form input {
  background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; color: var(--text-primary); font-family: var(--font-body);
  font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.auth-form input:focus { border-color: var(--accent); }
.auth-form input::placeholder { color: var(--text-muted); }
.auth-error { font-size: 0.85rem; color: var(--red); min-height: 1.2em; }
.btn-google {
  width: 100%; justify-content: center; background: #fff; color: #3c4043;
  border: 1px solid #dadce0; font-weight: 500;
}
.btn-google:hover { background: #f7f8f8; box-shadow: 0 1px 3px rgba(0,0,0,0.15); color: #3c4043; }
.btn-google svg { flex-shrink: 0; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 0.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================
   PACKAGES VIEW
   ============================================ */
.packages-section { padding: 8rem 0 5rem; min-height: calc(100vh - 64px); }
.packages-header { margin-bottom: 3rem; }
.packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 960px; margin: 0 auto; align-items: start;
}
.package-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: all 0.3s ease;
  animation: packageFadeUp 0.5s ease both;
}
.package-card:nth-child(1) { animation-delay: 0.05s; }
.package-card:nth-child(2) { animation-delay: 0.15s; }
.package-card:nth-child(3) { animation-delay: 0.25s; }
@keyframes packageFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.package-card:hover { border-color: var(--border-strong); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.package-featured {
  position: relative; border-color: var(--accent);
  box-shadow: 0 0 40px rgba(245,166,35,0.1), 0 0 80px rgba(245,166,35,0.04);
  transform: scale(1.02);
}
.package-featured:hover { border-color: var(--accent-hover); box-shadow: 0 0 50px rgba(245,166,35,0.15), 0 0 80px rgba(245,166,35,0.06); }
.package-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0a0a0c; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 0.3rem 1rem;
  border-radius: 100px; white-space: nowrap;
}
.package-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.package-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.package-price { display: flex; align-items: baseline; gap: 0.1rem; margin-bottom: 0.25rem; }
.package-currency { font-size: 1.5rem; font-weight: 600; color: var(--text-secondary); }
.package-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; }
.package-period { font-size: 0.9rem; color: var(--text-muted); margin-left: 0.25rem; }
.package-features { list-style: none; margin: 1.5rem 0; }
.package-features li {
  padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 0.6rem;
}
.package-features li::before { content: '\2713'; color: var(--green); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.package-btn { width: 100%; justify-content: center; }
.packages-note { margin-top: 2.5rem; font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   STATUS VIEW
   ============================================ */
.status-section { padding: 6rem 0 3rem; min-height: calc(100vh - 64px); }
.status-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.status-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; animation: statusFadeIn 0.4s ease both;
}
.status-card:nth-child(1) { animation-delay: 0.05s; }
.status-card:nth-child(2) { animation-delay: 0.12s; }
@keyframes statusFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.status-card-wide { animation-delay: 0.2s; }
.status-card-title {
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem;
}
.status-field { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.status-field:last-of-type { border-bottom: none; }
.status-label { font-size: 0.9rem; color: var(--text-muted); }
.status-value { font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
.status-indicator { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.status-active { background: var(--green); box-shadow: 0 0 8px rgba(52,208,88,0.5); }
.status-trialing { background: var(--accent); box-shadow: 0 0 8px rgba(245,166,35,0.5); }
.status-past-due { background: var(--red); box-shadow: 0 0 8px rgba(238,85,85,0.5); }
.status-canceled { background: var(--text-muted); }
.status-none { background: var(--text-muted); opacity: 0.4; }
.status-card-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.status-card-actions .btn { flex: 1; justify-content: center; min-width: 140px; }
.btn-cancel-sub {
  background: none; border: none; color: var(--text-muted); font-family: var(--font-body);
  font-size: 0.85rem; cursor: pointer; padding: 0.5rem 0; margin-top: 0.75rem;
  transition: color 0.2s; text-decoration: underline; text-underline-offset: 2px;
}
.btn-cancel-sub:hover { color: var(--red); }
.cancel-warning {
  background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-sm); padding: 0.6rem 1rem; font-size: 0.85rem;
  color: var(--accent); margin-top: 0.75rem;
}
.upgrade-banner { margin-bottom: 1.5rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(245,166,35,0.12) 0%, rgba(245,166,35,0.04) 100%); border: 1px solid rgba(245,166,35,0.2); animation: statusFadeIn 0.4s ease both; }
.upgrade-banner-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; gap: 1.5rem; }
.upgrade-banner h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.upgrade-banner p { font-size: 0.9rem; color: var(--text-secondary); }
.status-table { width: 100%; border-collapse: collapse; }
.status-table th { text-align: left; padding: 0.6rem 0.75rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.status-table td { padding: 0.7rem 0.75rem; font-size: 0.9rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.status-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.status-table tbody tr:last-child td { border-bottom: none; }
.payment-status { font-size: 0.8rem; font-weight: 600; text-transform: capitalize; }
.payment-success { color: var(--green); }
.payment-failed { color: var(--red); }
.status-empty-text { font-size: 0.9rem; color: var(--text-muted); padding: 1rem 0; }
.status-bottom-actions { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text-secondary); }

/* ============================================
   BUNDLE TICKER
   ============================================ */
.bundle-ticker {
  padding: 3rem 0 2rem;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker-viewport {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 1.25rem;
  animation: tickerScroll 60s linear infinite;
  width: max-content;
  padding: 1rem 0;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-reverse {
  animation-name: tickerScrollReverse;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.ticker-card {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ticker-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(245,166,35,0.3), rgba(245,166,35,0.05), rgba(245,166,35,0.2));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ticker-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(245,166,35,0.3);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 0 40px rgba(245,166,35,0.08);
  color: var(--text-primary);
}
.ticker-card:hover::before {
  opacity: 1;
}
.ticker-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.ticker-card-body {
  flex: 1;
  min-width: 0;
}
.ticker-card-body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-card-body p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ============================================
   BUNDLE DETAIL PAGE
   ============================================ */
.bundle-hero {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.bundle-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.bundle-back:hover { color: var(--accent); }
.bundle-hero-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.bundle-hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.bundle-hero-inner h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.bundle-hero-tagline {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.bundle-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}
.bundle-hero-stats {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.bundle-section {
  padding: 4rem 0;
}
.bundle-skills-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bundle-agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.25rem;
}
.bundle-agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.bundle-agent-card:hover {
  border-color: rgba(245,166,35,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.bundle-agent-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.bundle-agent-header h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.bundle-agent-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.bundle-agent-model {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bundle-agent-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.bundle-meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.bundle-agent-instructions {
  margin-top: 0.75rem;
}
.bundle-instructions-text {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  line-height: 1.6;
  background: rgba(0,0,0,0.3);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  max-height: 160px;
  overflow-y: auto;
}
.bundle-instructions-text::-webkit-scrollbar {
  width: 4px;
}
.bundle-instructions-text::-webkit-scrollbar-track {
  background: transparent;
}
.bundle-instructions-text::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 2px;
}
.bundle-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.bundle-skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
}
.bundle-skill-card:hover {
  border-color: rgba(245,166,35,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.bundle-skill-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.bundle-skill-card h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.bundle-skill-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.bundle-cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.bundle-more-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.bundle-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.bundle-more-grid .ticker-card {
  width: 100%;
}

/* ============================================
   WORKERS BANNER (homepage)
   ============================================ */
.workers-banner {
  padding: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.10) 0%, rgba(245,166,35,0.03) 100%);
  border-top: 1px solid rgba(245,166,35,0.15);
  border-bottom: 1px solid rgba(245,166,35,0.15);
}
.workers-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
}
.workers-banner-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 16px;
  border: 1px solid rgba(245,166,35,0.15);
}
.workers-banner-text { flex: 1; }
.workers-banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.workers-banner-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.workers-banner-cta { flex-shrink: 0; white-space: nowrap; }

/* ============================================
   WORKERS PAGE
   ============================================ */
.workers-hero { padding-bottom: 5rem; }

/* -- Steps -- */
.w-steps-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.w-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.w-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s ease;
}
.w-step:hover {
  border-color: rgba(245,166,35,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.w-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #0a0a0c;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-step-icon {
  width: 72px;
  height: 72px;
  margin: 0.5rem auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 20px;
  border: 1px solid rgba(245,166,35,0.1);
}
.w-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.w-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* -- Cost Comparison -- */
.w-math-section { padding: 5rem 0; }
.w-cost-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.w-cost-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.w-cost-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.w-cost-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.w-cost-rows { margin-bottom: 1.25rem; }
.w-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.w-cost-divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}
.w-cost-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}
.w-cost-free {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
}
.w-cost-footnotes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.w-cost-footnotes span {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(238,85,85,0.08);
  color: var(--red);
  border: 1px solid rgba(238,85,85,0.12);
}
.w-cost-footnotes-good span {
  background: rgba(52,208,88,0.08);
  color: var(--green);
  border-color: rgba(52,208,88,0.12);
}
.w-cost-human { border-color: rgba(238,85,85,0.2); }
.w-cost-human .w-cost-total span:last-child { color: var(--red); }
.w-cost-dashbot {
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 0 40px rgba(245,166,35,0.06);
}
.w-cost-dashbot .w-cost-total span:last-child { color: var(--accent); font-size: 1.2rem; }
.w-cost-vs {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}
.w-math-tagline {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 2.5rem;
}
.w-math-tagline strong { color: var(--accent); }

/* -- Capabilities -- */
.w-capabilities-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.w-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.w-cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.w-cap-card:hover {
  border-color: rgba(245,166,35,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.w-cap-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.w-cap-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.w-cap-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -- Checklist -- */
.w-checklist-section { padding: 5rem 0; }
.w-checklist-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.w-checklist-text .section-subtitle {
  margin-bottom: 0;
}
.w-checklist-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.w-check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.w-check-item:last-child { border-bottom: none; }
.w-check-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52,208,88,0.08);
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.w-check-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.w-check-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* -- Scale -- */
.w-scale-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.w-scale-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.w-scale-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.w-scale-laptop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 100px;
}
.w-scale-role {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}
.w-scale-cost {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}
.w-scale-arrow {
  opacity: 0.4;
}

/* -- CTA -- */
.w-cta-section {
  padding: 5rem 0;
}

/* -- FAQ -- */
.w-faq-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.w-faq-list {
  max-width: 720px;
  margin: 2.5rem auto 0;
}
.w-faq-item {
  border-bottom: 1px solid var(--border);
}
.w-faq-item summary {
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
}
.w-faq-item summary:hover { color: var(--accent); }
.w-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.w-faq-item[open] summary::after {
  content: '\2212';
}
.w-faq-item summary::-webkit-details-marker { display: none; }
.w-faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   DISCORD / COMMUNITY
   ============================================ */
.compat-chip-link {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.compat-chip-link:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.3);
  color: #5865F2;
}
.btn-discord {
  background: #5865F2;
  color: #fff;
}
.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.35);
  color: #fff;
}
.discord-banner {
  padding: 0;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.10) 0%, rgba(88, 101, 242, 0.04) 100%);
  border-top: 1px solid rgba(88, 101, 242, 0.15);
  border-bottom: 1px solid rgba(88, 101, 242, 0.15);
}
.discord-banner-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.discord-banner-inner svg { flex-shrink: 0; }
.discord-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.discord-banner-text span:first-child {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.discord-banner-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.discord-banner .btn { flex-shrink: 0; }

.community-section {
  padding: 4rem 0;
}
.community-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.community-glow {
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.10) 0%, rgba(88, 101, 242, 0.03) 40%, transparent 70%);
  pointer-events: none;
}
.community-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  text-align: center;
}
.community-inner:hover {
  border-color: rgba(88, 101, 242, 0.25);
}
.community-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.community-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   BUNDLE PRICING
   ============================================ */
.ticker-price {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}
.ticker-price span {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
}
.bundle-hero-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.bundle-hero-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

/* ============================================
   BUNDLE LANDING PAGE
   ============================================ */
.bundles-list-hero {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.bundles-list-grid-section {
  padding: 0 0 4rem;
}
.bundles-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.bundle-list-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.bundle-list-card:hover {
  color: var(--text-primary);
  transform: translateY(-6px);
}
.bundle-list-card-shimmer {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(245,166,35,0.25) 0%,
    rgba(245,166,35,0.05) 30%,
    rgba(245,166,35,0.0) 50%,
    rgba(245,166,35,0.05) 70%,
    rgba(245,166,35,0.25) 100%
  );
  background-size: 200% 200%;
  animation: shimmerBorder 4s ease-in-out infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.bundle-list-card:hover .bundle-list-card-shimmer {
  opacity: 1;
}
@keyframes shimmerBorder {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
.bundle-list-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.bundle-list-card:hover .bundle-list-card-inner {
  border-color: rgba(245,166,35,0.3);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.4),
    0 0 40px rgba(245,166,35,0.06);
}
.bundle-list-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.bundle-list-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.bundle-list-tagline {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.bundle-list-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}
.bundle-list-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.bundle-list-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.bundle-list-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.bundle-list-cta-row {
  display: flex;
}
.bundles-list-cta {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays for children in same section */
.hero-content .reveal:nth-child(1) { transition-delay: 0s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero-content .reveal:nth-child(5) { transition-delay: 0.4s; }

/* Showcase rows alternate slide direction */
.showcase-row.reveal {
  transform: translateY(48px) translateX(-30px);
}
.showcase-row.showcase-reversed.reveal {
  transform: translateY(48px) translateX(30px);
}
.showcase-row.reveal.revealed,
.showcase-row.showcase-reversed.reveal.revealed {
  transform: translateY(0) translateX(0);
}

/* ============================================
   SECURITY PAGE
   ============================================ */

/* Matrix canvas */
.sec-matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* Reveal animation */
.sec-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.sec-reveal.sec-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.sec-hero {
  position: relative;
  padding: 10rem 0 4rem;
  overflow: hidden;
  z-index: 1;
}
.sec-hero-scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(245, 166, 35, 0.015) 2px,
    rgba(245, 166, 35, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}
.sec-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.sec-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(245, 166, 35, 0.25);
  background: rgba(245, 166, 35, 0.06);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.sec-badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: secPulse 2s ease-in-out infinite;
}
@keyframes secPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--green); }
}

.sec-hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  min-height: 2.5em;
}
.sec-hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #ffd280 50%, #ffecb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sec-hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Terminal mockup */
.sec-hero-terminal {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0c0c10;
  text-align: left;
  box-shadow: 0 0 60px rgba(245, 166, 35, 0.06), 0 20px 50px rgba(0, 0, 0, 0.5);
}
.sec-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.sec-terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.sec-terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}
.sec-terminal-body {
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
}
.sec-terminal-line {
  white-space: pre-wrap;
}
.sec-t-prompt {
  color: var(--green);
  font-weight: 600;
}
.sec-t-cmd {
  color: var(--text-primary);
}
.sec-t-output {
  color: var(--text-muted);
}
.sec-t-success {
  color: var(--green);
}
.sec-t-fail {
  color: var(--red);
}

/* Section headers */
.sec-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* "disappears" ghost text */
.sec-disappear-wrap {
  display: inline-block;
  position: relative;
}
.sec-disappear-text {
  display: inline-block;
  position: relative;
  animation: secDisappearDrift 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  color: var(--text-secondary);
}
@keyframes secDisappearDrift {
  0% {
    opacity: 1;
    transform: translate(0, 0);
    filter: blur(0);
  }
  12% {
    opacity: 0;
    transform: translate(0, 0);
    filter: blur(6px);
  }
  /* ghost at position 1 — down-right */
  20% {
    opacity: 0.25;
    transform: translate(30px, 18px);
    filter: blur(2px);
    color: var(--accent);
  }
  28% {
    opacity: 0;
    transform: translate(30px, 18px);
    filter: blur(6px);
  }
  /* ghost at position 2 — left and further down */
  36% {
    opacity: 0.3;
    transform: translate(-50px, 32px);
    filter: blur(1.5px);
    color: var(--accent);
  }
  44% {
    opacity: 0;
    transform: translate(-50px, 32px);
    filter: blur(6px);
  }
  /* ghost at position 3 — right and down */
  52% {
    opacity: 0.2;
    transform: translate(60px, 44px);
    filter: blur(3px);
    color: var(--accent);
  }
  60% {
    opacity: 0;
    transform: translate(60px, 44px);
    filter: blur(6px);
  }
  /* settle back */
  78% {
    opacity: 0;
    transform: translate(0, 10px);
    filter: blur(4px);
  }
  92% {
    opacity: 1;
    transform: translate(0, 0);
    filter: blur(0);
    color: var(--text-secondary);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
    filter: blur(0);
    color: var(--text-secondary);
  }
}

/* Attack surface comparison */
.sec-surface-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}
.sec-surface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.sec-surface-card {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.sec-surface-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.sec-surface-safe::before {
  background: linear-gradient(90deg, var(--green), rgba(52, 208, 88, 0.2));
}
.sec-surface-danger::before {
  background: linear-gradient(90deg, var(--red), rgba(238, 85, 85, 0.2));
}
.sec-surface-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.sec-surface-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.sec-surface-list {
  list-style: none;
  margin-bottom: 1.25rem;
}
.sec-surface-list li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sec-surface-list li::before {
  content: '>';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.sec-surface-list-danger li::before {
  content: '!';
  color: var(--red);
}
.sec-surface-list li:last-child {
  border-bottom: none;
}
.sec-surface-verdict {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.sec-verdict-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.sec-chip-safe {
  background: rgba(52, 208, 88, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 208, 88, 0.25);
}
.sec-chip-danger {
  background: rgba(238, 85, 85, 0.12);
  color: var(--red);
  border: 1px solid rgba(238, 85, 85, 0.25);
}
.sec-verdict-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Removed features section */
.sec-removed-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.02) 50%, transparent);
}
.sec-removed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.sec-removed-card {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.sec-removed-card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.04);
}
.sec-removed-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}
.sec-removed-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sec-removed-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(238, 85, 85, 0.08);
  border: 1px solid rgba(238, 85, 85, 0.15);
  color: var(--red);
}
.sec-removed-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.sec-removed-platforms {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.sec-removed-body {
  padding-left: 3.5rem;
}
.sec-removed-what {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.sec-removed-benefit {
  background: rgba(52, 208, 88, 0.04);
  border: 1px solid rgba(52, 208, 88, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.sec-benefit-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.sec-removed-benefit p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.sec-removed-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-left: 3.5rem;
}
.sec-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.sec-tag-red {
  background: rgba(238, 85, 85, 0.1);
  color: var(--red);
  border: 1px solid rgba(238, 85, 85, 0.15);
  text-decoration: line-through;
  text-decoration-color: rgba(238, 85, 85, 0.4);
}

/* OAuth deep-dive (inside messaging card) */
.sec-oauth-deepdive {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px dashed rgba(245, 166, 35, 0.15);
}
.sec-oauth-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.sec-oauth-header h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.sec-oauth-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.sec-oauth-intro strong {
  color: var(--text-primary);
}

/* OAuth flow steps */
.sec-oauth-flow {
  background: rgba(10, 10, 12, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sec-oauth-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0;
}
.sec-oauth-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}
.sec-oauth-step-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.sec-oauth-step-text code {
  font-size: 0.82rem;
  padding: 0.1em 0.35em;
}
.sec-oauth-note {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 500;
}
.sec-oauth-flow-arrow {
  display: flex;
  justify-content: center;
  padding: 0 0 0 3px;
  line-height: 0;
}

/* Nuance callout */
.sec-oauth-nuance {
  background: rgba(245, 166, 35, 0.04);
  border: 1px solid rgba(245, 166, 35, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
}
.sec-oauth-nuance-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.sec-oauth-nuance p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.sec-oauth-nuance em {
  color: var(--text-primary);
  font-style: italic;
}

/* Comparison table */
.sec-oauth-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.sec-oauth-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.5;
}
.sec-oauth-table thead {
  background: rgba(255, 255, 255, 0.02);
}
.sec-oauth-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.sec-oauth-table th:first-child {
  width: 140px;
}
.sec-th-safe {
  color: var(--green);
  font-weight: 700;
}
.sec-th-danger {
  color: var(--red);
  font-weight: 700;
}
.sec-oauth-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.sec-oauth-table tr:last-child td {
  border-bottom: none;
}
.sec-td-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.sec-td-safe {
  color: var(--text-secondary);
  background: rgba(52, 208, 88, 0.02);
}
.sec-td-safe code {
  background: rgba(52, 208, 88, 0.1);
  color: var(--green);
}
.sec-td-danger {
  color: var(--text-muted);
  background: rgba(238, 85, 85, 0.02);
}
.sec-oauth-table tbody tr {
  transition: background 0.15s;
}
.sec-oauth-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

/* Core principle section */
.sec-core-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}
.sec-core-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 166, 35, 0.2);
}
.sec-core-glow {
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), transparent 40%, transparent 60%, rgba(52, 208, 88, 0.08));
  border-radius: var(--radius);
  z-index: 0;
}
.sec-core-inner {
  position: relative;
  z-index: 1;
  background: rgba(14, 14, 20, 0.95);
  border-radius: var(--radius);
  padding: 3rem;
}
.sec-core-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.sec-core-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}
.sec-core-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.sec-core-lead strong {
  color: var(--accent);
}

/* Architecture diagram */
.sec-core-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  padding: 2rem 1rem;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}
.sec-core-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.sec-node-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
}
.sec-node-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.sec-core-connector {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: 100px;
}
.sec-connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  min-width: 20px;
}
.sec-connector-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  white-space: nowrap;
  padding: 0.2rem 0.5rem;
  background: rgba(245, 166, 35, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(245, 166, 35, 0.12);
}

/* Checklists */
.sec-core-checklist,
.sec-core-negatives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.sec-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.sec-check-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.sec-check-safe span {
  color: var(--text-secondary);
}
.sec-check-denied span {
  color: var(--text-muted);
}
.sec-core-conclusion {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, var(--accent) 0%, #ffd280 50%, #ffecb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA */
.sec-cta-section {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
  .showcase-reversed {
    direction: ltr;
  }
  .showcase-image {
    order: -1;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .workers-banner-inner { flex-direction: column; text-align: center; }
  .workers-banner-icon { margin: 0 auto; }
  .w-steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .w-cost-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .w-cost-vs { padding: 0.5rem 0; }
  .w-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .w-checklist-layout { grid-template-columns: 1fr; }
  .w-scale-visual { flex-direction: column; }
  .w-scale-arrow { transform: rotate(90deg); }

  .bundle-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .bundle-hero-desc { margin-left: auto; margin-right: auto; }
  .bundle-hero-stats { justify-content: center; }
  .bundle-agents-grid { grid-template-columns: 1fr; }
  .bundle-more-grid { grid-template-columns: 1fr; }
  .ticker-card { width: 280px; }

  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-nav); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a, .nav-links .btn { display: block; width: 100%; text-align: center; padding: 0.6rem; }
  .nav-hamburger { display: block; }
  .nav-account { flex-direction: column; align-items: center; gap: 0.5rem; }

  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1.02rem; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .hero-stat { padding: 0.75rem 1.25rem; }
  .hero-stat-divider { display: none; }

  .compat-banner-inner { flex-direction: column; text-align: center; }
  .discord-banner-inner { flex-direction: column; text-align: center; }

  .section-title { font-size: 1.7rem; }
  .why-title { font-size: 1.9rem; }

  .showcase-row:nth-child(even) { max-width: 100%; }
  .showcase-row.reveal,
  .showcase-row.showcase-reversed.reveal {
    transform: translateY(40px) translateX(0);
  }

  .strip-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .account-showcase-inner { grid-template-columns: 1fr; }
  .account-showcase-image { order: -1; }
  .account-showcase-fly-in { transform: translateY(40px); }
  .pricing-tier-featured { transform: none; }

  .packages-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .package-featured { transform: none; }

  .status-grid { grid-template-columns: 1fr; }
  .upgrade-banner-inner { flex-direction: column; text-align: center; }

  .footer-inner { flex-direction: column; text-align: center; }

  /* Security page responsive */
  .sec-hero h1 { font-size: 2.2rem; }
  .sec-surface-grid { grid-template-columns: 1fr; }
  .sec-removed-body { padding-left: 0; }
  .sec-removed-tags { padding-left: 0; }
  .sec-oauth-table th:first-child { width: 100px; }
  .sec-oauth-table th, .sec-oauth-table td { padding: 0.6rem 0.65rem; font-size: 0.75rem; }
  .sec-core-inner { padding: 2rem 1.5rem; }
  .sec-core-checklist, .sec-core-negatives { grid-template-columns: 1fr; }
  .sec-core-diagram { flex-direction: column; gap: 1rem; }
  .sec-core-connector { flex-direction: column; min-width: unset; min-height: 40px; }
  .sec-connector-line { width: 1px; height: 16px; min-width: unset; background: linear-gradient(180deg, transparent, var(--accent), transparent); }
}

@media (max-width: 480px) {
  .bundles-list-grid { grid-template-columns: 1fr; }
  .w-cap-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .hero-compat-row { gap: 0.4rem; }
  .compat-chip { font-size: 0.68rem; padding: 0.3rem 0.65rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .download-meta { flex-direction: column; gap: 0.5rem; }
  .status-card-actions { flex-direction: column; }
  .status-card-actions .btn { min-width: unset; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .why-compare { grid-template-columns: 1fr; }
  .showcase-text h2 { font-size: 1.5rem; }

  /* Security page small screen */
  .sec-hero { padding: 7rem 0 3rem; }
  .sec-hero h1 { font-size: 1.7rem; }
  .sec-hero-terminal { font-size: 0.72rem; }
  .sec-removed-card { padding: 1.5rem; }
  .sec-removed-header { flex-direction: column; }
}
