/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #08090d;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TOKENS ===== */
:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --purple: #8b5cf6;
  --green: #10b981;
  --orange: #f59e0b;
  --bg: #08090d;
  --bg2: #0f111a;
  --bg3: #161927;
  --border: rgba(255,255,255,0.07);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 0 24px rgba(59,130,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(59,130,246,0.55); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-white { background: #fff; color: #08090d; font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.2); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-nav { padding: 10px 22px; font-size: 0.88rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(8,9,13,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.navbar.scrolled { border-color: var(--border); background: rgba(8,9,13,0.92); }
.nav-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center; color: #fff;
  flex-shrink: 0;
}
.logo-icon-sm { width: 28px; height: 28px; border-radius: 8px; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; }
.logo-accent { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18;
}
.orb-1 { width: 600px; height: 600px; background: var(--blue); top: -200px; left: -200px; animation: orb-drift 12s ease-in-out infinite alternate; }
.orb-2 { width: 400px; height: 400px; background: var(--purple); bottom: -100px; right: -100px; animation: orb-drift 15s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 300px; height: 300px; background: var(--blue); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orb-drift 10s ease-in-out infinite alternate; }
@keyframes orb-drift { from { transform: translate(0,0); } to { transform: translate(30px, 20px); } }
.orb-3 { animation-name: orb3-drift; }
@keyframes orb3-drift { from { transform: translate(-50%,-50%); } to { transform: translate(calc(-50% + 20px), calc(-50% + 15px)); } }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { display: flex; flex-direction: column; gap: 28px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3);
  font-size: 0.82rem; font-weight: 600; color: var(--blue);
  width: fit-content;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hero-title { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; color: #fff; }
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 1.1rem; color: var(--muted); max-width: 480px; line-height: 1.7; }
.hero-desc strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 24px; padding-top: 8px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

.hero-visual { position: relative; }
.hero-img-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.hero-img { width: 100%; border-radius: 20px; }
.hero-img-glow {
  position: absolute; inset: -2px; border-radius: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  z-index: -1; opacity: 0.4; filter: blur(20px);
}
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(10px);opacity:0.4} }

/* ===== FORMATS STRIP ===== */
.formats-strip {
  padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.formats-strip .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.strip-label { color: var(--muted); font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.format-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.format-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: var(--radius-sm);
  background: var(--bg3); border: 1px solid var(--border);
  font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.2s;
}
.format-badge:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }
.format-badge small { color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.format-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.78rem;
}
.format-word { background: #1E40AF; color: #fff; font-size: 1rem; }
.format-pdf { background: #dc2626; color: #fff; font-size: 0.65rem; letter-spacing: -0.5px; }
.format-docs { background: #1e6cb8; color: #fff; font-size: 1rem; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; }

/* ===== FEATURES ===== */
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.feature-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feat-blue { background: rgba(59,130,246,0.15); color: var(--blue); }
.feat-purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.feat-green { background: rgba(16,185,129,0.15); color: var(--green); }
.feat-orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.feature-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-desc { color: var(--muted); line-height: 1.7; font-size: 0.95rem; margin-bottom: 16px; }
.feature-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
}

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--bg2); }
.steps-wrapper { position: relative; display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.steps-line {
  position: absolute; left: 23px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--purple));
  opacity: 0.3;
}
.step { display: flex; gap: 28px; align-items: flex-start; padding: 28px 0; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  box-shadow: 0 0 20px rgba(59,130,246,0.4); position: relative; z-index: 1;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-content p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }
.step-content strong { color: var(--text); }

/* ===== SHOWCASE / TABS ===== */
.showcase-section { background: var(--bg); }
.showcase-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 50px; border: 1px solid var(--border);
  background: var(--bg3); color: var(--muted); font-weight: 600; font-size: 0.92rem;
  cursor: pointer; transition: all 0.2s;
}
.tab-btn:hover { color: #fff; border-color: rgba(59,130,246,0.3); }
.tab-btn.tab-active { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.45); color: #fff; }
.tab-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.72rem;
}
.tab-w { background: #1E40AF; color: #fff; font-size: 0.9rem; }
.tab-pdf { background: #dc2626; color: #fff; font-size: 0.6rem; letter-spacing: -0.5px; }
.tab-g { background: #1e6cb8; color: #fff; font-size: 0.9rem; }

.showcase-panels { position: relative; }
.showcase-panel {
  display: none; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px; margin-bottom: 24px;
}
.showcase-panel.panel-active { display: grid; animation: fade-in 0.35s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-text h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.panel-text p { color: var(--muted); line-height: 1.75; margin-bottom: 24px; font-size: 0.97rem; }
.panel-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.panel-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.95rem; }
.check { color: var(--green); font-weight: 700; }
.panel-img-wrap { border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.panel-img { width: 100%; border-radius: var(--radius-sm); }

/* Settings showcase */
.settings-showcase {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px; margin-top: 24px;
}
.settings-text h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.settings-text p { color: var(--muted); line-height: 1.75; margin-bottom: 28px; font-size: 0.97rem; }
.settings-img-wrap { border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.settings-img { width: 100%; }

/* ===== GUIDE ===== */
.guide-section { background: var(--bg2); }
.guide-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.guide-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.guide-img { width: 100%; }
.guide-text h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.25; }
.guide-text p { color: var(--muted); line-height: 1.75; margin-bottom: 28px; font-size: 0.97rem; }
.guide-points { display: flex; flex-direction: column; gap: 14px; }
.guide-point { display: flex; align-items: center; gap: 12px; }
.gp-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(16,185,129,0.15); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.guide-point span { color: var(--text); font-size: 0.95rem; font-weight: 500; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg); }
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(59,130,246,0.35); }
.faq-question {
  padding: 20px 24px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem; color: #fff;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-arrow { color: var(--muted); transition: transform 0.25s; }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

/* ===== CTA ===== */
.cta-section {
  position: relative; padding: 100px 0; overflow: hidden;
  background: linear-gradient(135deg, #0a0f2c 0%, #08090d 50%, #0a0f2c 100%);
  text-align: center;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.cta-orb-1 { width: 500px; height: 500px; background: var(--blue); left: -200px; top: -200px; }
.cta-orb-2 { width: 400px; height: 400px; background: var(--purple); right: -150px; bottom: -150px; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-title { font-size: clamp(2rem,4vw,3rem); font-weight: 900; color: #fff; max-width: 640px; line-height: 1.15; }
.cta-subtitle { color: var(--muted); font-size: 1.05rem; }
.cta-note { font-size: 0.82rem; color: var(--muted); }

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer-link { padding: 6px 14px; color: var(--muted); font-size: 0.9rem; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.footer-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 0.82rem; color: var(--muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-panel { grid-template-columns: 1fr; padding: 32px; }
  .settings-showcase { grid-template-columns: 1fr; }
  .guide-inner { grid-template-columns: 1fr; }
  .guide-img-wrap { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,9,13,0.97); padding: 16px 24px 24px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; margin-left: auto; }
  .btn-nav { display: none; }
  .nav-inner { flex-wrap: wrap; }
  .formats-strip .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}
