/* ============================================================
   INCILOG — Landing Page Stylesheet
   ============================================================ */

/* ── Design Tokens ── */
:root {
  --brand:        #5b5ef4;
  --brand-dark:   #4338ca;
  --brand-light:  #818cf8;
  --purple:       #9333ea;
  --gradient:     linear-gradient(135deg, #5b5ef4 0%, #9333ea 100%);
  --gradient-text: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);

  --bg-hero:    #07070f;
  --bg-white:   #ffffff;
  --bg-subtle:  #f8fafc;
  --bg-card:    #ffffff;
  --bg-dark:    #0d0d18;

  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;

  --border:        #e2e8f0;
  --border-strong: #cbd5e1;

  --section-py:  110px;
  --card-radius: 22px;
  --btn-radius:  12px;

  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 24px 64px rgba(0,0,0,.12);
  --shadow-brand: 0 8px 40px rgba(91,94,244,.4);
  --shadow-card:  0 2px 12px rgba(0,0,0,.06), 0 12px 40px rgba(0,0,0,.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── Container ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .22s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(91,94,244,.55);
}
.btn-secondary {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-subtle {
  background: rgba(91,94,244,.1);
  color: var(--brand-light);
  border: 1px solid rgba(91,94,244,.2);
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,15,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Nav Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 48px;
  width: auto;
  /* Black PNG → white on dark background */
  filter: brightness(0) invert(1);
  transition: filter .2s;
}
.nav-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.65);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 28px 100px;
  position: relative;
  overflow: hidden;
}

/* Glow orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(91,94,244,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(147,51,234,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  bottom: 20%; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(91,94,244,.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid overlay */
.hero-grid {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

/* ── Big Hero Logo ── */
.hero-logo {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo img {
  height: 100px;
  width: auto;
  /* Black PNG → white, with subtle glow */
  filter: brightness(0) invert(1) drop-shadow(0 0 32px rgba(255,255,255,.18));
}

.hero-badge { margin-bottom: 28px; }

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: rgba(255,255,255,.58);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.65;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.32);
}

/* ════════════════════════════════════════
   SECTION SHARED
════════════════════════════════════════ */
.section { padding: var(--section-py) 0; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
}
.section-header { margin-bottom: 68px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features { background: var(--bg-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover {
  border-color: rgba(91,94,244,.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91,94,244,.12), rgba(147,51,234,.12));
  border: 1px solid rgba(91,94,244,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   PRICING
════════════════════════════════════════ */
.pricing {
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(91,94,244,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Billing Toggle ── */
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 52px;
}
.billing-toggle {
  display: inline-flex;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.billing-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all .22s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.billing-btn.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(91,94,244,.35);
}
.billing-save-badge {
  background: rgba(34,197,94,.15);
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  border: 1px solid rgba(34,197,94,.25);
}
.billing-btn.active .billing-save-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 36px 36px 40px;
  position: relative;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 1px rgba(91,94,244,.2), var(--shadow-md), 0 0 60px rgba(91,94,244,.1);
}
.pricing-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(91,94,244,.3), var(--shadow-lg), 0 0 80px rgba(91,94,244,.15);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(91,94,244,.4);
}

/* Plan image */
.pricing-image {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 28px;
  overflow: hidden;
}
.pricing-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.plan-name {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

/* Price display */
.plan-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  min-height: 72px;
}
.plan-price-block { display: none; }
.plan-price-block.visible { display: block; }

.plan-price-amount {
  font-size: 46px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.05em;
  line-height: 1;
}
.plan-price-amount .currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
  color: var(--text-secondary);
}
.plan-price-amount .period {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.plan-price-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 5px;
}
.plan-price-saving {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91,94,244,.15), rgba(147,51,234,.15));
  border: 1px solid rgba(91,94,244,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%235b5ef4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}
.plan-features li strong {
  font-weight: 600;
  color: var(--text-primary);
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 600;
  transition: all .22s ease;
  letter-spacing: -0.01em;
}
.plan-cta.cta-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.plan-cta.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(91,94,244,.5);
}
.plan-cta.cta-ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--border-strong);
}
.plan-cta.cta-ghost:hover {
  border-color: var(--brand);
  background: rgba(91,94,244,.04);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   WHY INCILOG
════════════════════════════════════════ */
.why { background: var(--bg-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  transition: all .25s;
}
.why-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(91,94,244,.3);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(91,94,244,.15);
  border: 1px solid rgba(91,94,244,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.why-card p {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq { background: var(--bg-white); }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(91,94,244,.3); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.faq-chevron {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  rotate: 180deg;
}
.faq-answer {
  display: none;
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
.cta-banner {
  background: var(--bg-hero);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(91,94,244,.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-content { position: relative; z-index: 2; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,.52);
  margin-bottom: 44px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 60px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
.footer-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,.38);
  line-height: 1.65;
  max-width: 260px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.38);
  transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.28); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.28);
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════
   BETA DOT + NAV PILL
════════════════════════════════════════ */
.beta-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}
.nav-beta-pill {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ════════════════════════════════════════
   PRODUCT PREVIEW
════════════════════════════════════════ */
.preview { background: var(--bg-subtle); }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.preview-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-screen {
  background: #0f0f18;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
.preview-screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.preview-screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.preview-screen-bar span:nth-child(1) { background: #ff5f57; }
.preview-screen-bar span:nth-child(2) { background: #febc2e; }
.preview-screen-bar span:nth-child(3) { background: #28c840; }

.preview-screen-body {
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mock UI elements */
.preview-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.preview-mock-title {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.18);
  width: 55%;
}
.preview-mock-title.wide { width: 75%; }
.preview-mock-row {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  width: 100%;
}
.preview-mock-row.short  { width: 45%; }
.preview-mock-row.medium { width: 70%; }
.preview-mock-divider {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: 4px 0;
}
.preview-mock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.preview-mock-badge.open     { background: rgba(91,94,244,.25); color: #818cf8; }
.preview-mock-badge.resolved { background: rgba(34,197,94,.2);  color: #4ade80; }
.preview-mock-badge.high     { background: rgba(239,68,68,.2);   color: #f87171; }

.preview-mock-avatar-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.preview-mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91,94,244,.4), rgba(147,51,234,.4));
  flex-shrink: 0;
}
.preview-mock-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

/* Tree view mock */
.preview-mock-tree {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.preview-mock-tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-mock-tree-item.child      { padding-left: 20px; }
.preview-mock-tree-item.grandchild { padding-left: 40px; }
.tree-icon { font-size: 14px; }

.preview-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .01em;
}
.preview-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ════════════════════════════════════════
   WAITLIST
════════════════════════════════════════ */
.waitlist { background: var(--bg-white); }

.waitlist-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 52px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.waitlist-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}
.waitlist-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.waitlist-input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.waitlist-input {
  flex: 1;
  padding: 15px 20px;
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-white);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.waitlist-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(91,94,244,.12);
}
.waitlist-input::placeholder { color: var(--text-light); }
.waitlist-submit { flex-shrink: 0; white-space: nowrap; }
.waitlist-legal {
  font-size: 12px;
  color: var(--text-light);
}
.waitlist-success {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #22c55e;
}

/* ════════════════════════════════════════
   DOWNLOAD PAGE
════════════════════════════════════════ */
.download-hero {
  min-height: 100vh;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
}
.download-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(91,94,244,.2) 0%, transparent 70%);
  pointer-events: none;
}
.download-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.download-logo {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}
.download-logo img {
  height: 88px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 32px rgba(255,255,255,.15));
}
.download-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.download-sub {
  font-size: 18px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 56px;
}
.store-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.store-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 22px 32px;
  min-width: 220px;
  cursor: not-allowed;
  transition: all .25s;
  position: relative;
  backdrop-filter: blur(8px);
}
.store-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}
.store-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-card-text { text-align: left; }
.store-card-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.store-card-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.store-soon {
  position: absolute;
  top: -10px; right: 16px;
  background: rgba(91,94,244,.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.download-note {
  margin-top: 48px;
  font-size: 14px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
}
.download-note a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 480px; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(7,7,15,.96);
    backdrop-filter: blur(20px);
    padding: 28px;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    z-index: 99;
  }
  .nav-links.mobile-open a { font-size: 18px; }

  .features-grid { grid-template-columns: 1fr; }
  .preview-grid  { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .waitlist-card { padding: 36px 24px; }
  .waitlist-input-wrap { flex-direction: column; }
  .nav-beta-pill { display: none; }
  .footer-top    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand-desc { max-width: 100%; }

  .store-cards { flex-direction: column; align-items: center; }
  .store-card  { width: 100%; max-width: 300px; }
}

@media (max-width: 480px) {
  .hero-actions       { flex-direction: column; align-items: stretch; }
  .hero-actions .btn  { justify-content: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
}

/* ════════════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════════════ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.lang-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  overflow: hidden;
  z-index: 200;
}
.lang-dropdown.open { display: block; }

.lang-option {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.lang-option:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.lang-option.active {
  color: var(--brand-light);
  font-weight: 600;
  background: rgba(91,94,244,.1);
}

/* ════════════════════════════════════════
   RTL SUPPORT (Arabic)
════════════════════════════════════════ */
[dir="rtl"] body { direction: rtl; }

[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }

[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions .btn svg { transform: scaleX(-1); }

[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .section-header.center { text-align: center; }

[dir="rtl"] .feature-card { text-align: right; }

[dir="rtl"] .plan-features { padding-right: 0; text-align: right; }
[dir="rtl"] .plan-features li { padding-right: 20px; padding-left: 0; }
[dir="rtl"] .plan-features li::before { right: 0; left: auto; }

[dir="rtl"] .why-card { text-align: right; }

[dir="rtl"] .faq-question { flex-direction: row-reverse; }

[dir="rtl"] .waitlist-input-wrap { flex-direction: row-reverse; }
[dir="rtl"] .waitlist-submit svg { transform: scaleX(-1); }

[dir="rtl"] .footer-top { direction: rtl; }
[dir="rtl"] .footer-col ul { text-align: right; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }

[dir="rtl"] .store-card-text { text-align: right; }

[dir="rtl"] .cta-banner-actions { flex-direction: row-reverse; }
