/* =========================================
   Applysync Homepage Styling (Coral/Red Theme)
   ========================================= */

:root {
  --bg-main: #09090b;
  --bg-darker: #050507;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --brand-light: #f87171;
  --brand-main: #ef4444;
  --brand-dark: #dc2626;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-border: rgba(255, 255, 255, 0.08);
  --tooltip-bg: rgba(9, 9, 11, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

/* Layout */
.section { padding: 100px 20px; }
.section-compact { padding: 50px 20px; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.border-top { border-top: 1px solid var(--surface-border); }
.bg-darker { background-color: var(--bg-darker); }
.mt-2 { margin-top: 12px; }

/* Background Grid */
.bg-grid {
  position: fixed; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  z-index: -1; pointer-events: none;
}

/* Navigation */
.navbar { padding: 16px 0; z-index: 100; border-bottom: 1px solid var(--surface-border); background: rgba(9,9,11,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 600; color: white; text-decoration: none; }
.brand-icon { width: 22px; height: 22px; color: var(--brand-main); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; font-weight: 500; }
.nav-links > a:hover { color: white; }
.nav-auth { display: flex; align-items: center; gap: 20px; }
.login-link { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.login-link:hover { color: white; }

/* Navigation Dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #111113; border: 1px solid var(--surface-border); box-shadow: 0 10px 25px rgba(0,0,0,0.5); border-radius: 12px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s ease; z-index: 200; margin-top: 12px; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; width: 100%; height: 12px; background: transparent; }
.dropdown-menu a { display: block; padding: 10px 16px; color: var(--text-muted); font-size: 0.85rem; transition: all 0.2s; border-radius: 6px; margin: 0 8px; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-main); }
 
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all 0.2s ease; }
.btn-sm { padding: 8px 16px; }
.btn-primary { background: var(--brand-main); color: white; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 14px 0 rgba(239,68,68,0.3); }
.btn-primary:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; border: 1px solid var(--surface-border); }
.btn-outline:hover { background: var(--surface); border-color: rgba(255,255,255,0.2); }

/* Hero */
.hero { padding: 80px 20px; min-height: 80vh; display: flex; align-items: center; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.trust-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--surface-border); padding: 8px 16px 8px 8px; border-radius: 100px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 32px; }
.avatars { display: flex; }
.avatar { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg-main); background-size: cover; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.hero-title { font-size: 4.2rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 24px; background: linear-gradient(180deg, var(--text-main) 0%, var(--text-muted) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.2rem; line-height: 1.6; font-weight: 500; color: var(--text-muted); max-width: 550px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; padding-top: 40px; border-top: 1px solid var(--surface-border); width: 100%; }
.stat-item h3 { font-size: 1.8rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stat-item p { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* Visual */
.hero-visual-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.visual-container { position: relative; width: 100%; height: 500px; display: flex; justify-content: center; align-items: center; perspective: 1200px; }
.glow-orb { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(239,68,68,0.15) 0%, rgba(239,68,68,0) 70%); border-radius: 50%; z-index: 0; animation: pulseOrb 4s ease-in-out infinite alternate; }
@keyframes pulseOrb { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }
.document-wrapper { position: relative; z-index: 10; transform: rotateX(55deg) rotateZ(-15deg) rotateY(10deg); transform-style: preserve-3d; animation: floatDoc 6s ease-in-out infinite; }
@keyframes floatDoc { 0%, 100% { transform: rotateX(55deg) rotateZ(-15deg) rotateY(10deg) translateY(0); } 50% { transform: rotateX(55deg) rotateZ(-15deg) rotateY(10deg) translateY(-20px); } }
.document-3d { width: 400px; height: 520px; background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,240,240,0.85)); border-radius: 8px; box-shadow: -20px 40px 60px rgba(0,0,0,0.8), 0 0 60px rgba(239,68,68,0.3), inset 0 0 0 1px rgba(255,255,255,0.5); padding: 40px; position: relative; overflow: hidden; }
.doc-header { margin-bottom: 30px; border-bottom: 2px solid #e5e7eb; padding-bottom: 10px; }
.doc-title { width: 60%; height: 16px; background: #d1d5db; margin-bottom: 8px; border-radius: 4px; }
.doc-subtitle { width: 40%; height: 10px; background: #e5e7eb; border-radius: 4px; }
.doc-body { display: flex; flex-direction: column; gap: 12px; }
.doc-line { width: 100%; height: 8px; background: #f3f4f6; border-radius: 4px; }
.doc-line.short { width: 70%; }
.doc-line.medium { width: 85%; }
.doc-section { font-weight: bold; font-size: 10px; color: #9ca3af; margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }
.scanner-line { position: absolute; top: 0; left: 0; width: 100%; height: 40px; background: linear-gradient(to bottom, transparent, rgba(239,68,68,0.2), transparent); border-bottom: 2px solid var(--brand-main); animation: scan 3s ease-in-out infinite alternate; box-shadow: 0 10px 20px rgba(239,68,68,0.15); }
@keyframes scan { 0% { top: -40px; } 100% { top: 100%; } }
@keyframes floatIcon1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatIcon2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes floatIcon3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -10px); } }
@keyframes floatIcon4 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatIcon5 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, 10px); } }
.tooltip { position: absolute; background: var(--tooltip-bg); border: 1px solid var(--surface-border); padding: 8px 14px; border-radius: 100px; font-size: 0.75rem; color: var(--text-main); box-shadow: 0 4px 20px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 8px; z-index: 20; white-space: nowrap; font-weight: 500; }
.tooltip svg { width: 12px; height: 12px; color: var(--brand-main); }
.tooltip-1 { top: 15%; left: 0%; transform: translate(-30%, 0); border-color: rgba(239,68,68,0.4); }
.tooltip-2 { top: 40%; right: 0%; transform: translate(30%, 0); }
.tooltip-3 { bottom: 15%; left: 10%; }
.match-score { margin-top: 20px; text-align: center; z-index: 10; }
.score-text { font-size: 1rem; font-weight: 500; color: var(--brand-light); display: block; margin-bottom: 8px; text-shadow: 0 0 10px rgba(239,68,68,0.5); }
.match-bar { width: 240px; height: 3px; background: var(--surface-border); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.match-fill { width: 85%; height: 100%; background: var(--brand-main); box-shadow: 0 0 10px var(--brand-main); }

/* Company Logo Ticker */
.logos-label { text-align: center; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; font-weight: 500; }
.logo-ticker-wrapper { overflow: hidden; position: relative; }
.logo-ticker-wrapper::before,
.logo-ticker-wrapper::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.logo-ticker-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-main), transparent); }
.logo-ticker-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-main), transparent); }
.logo-ticker { display: flex; gap: 50px; animation: tickerScroll 35s linear infinite; width: max-content; align-items: center; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.company-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.5); white-space: nowrap; letter-spacing: -0.01em; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.teaser-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-light); display: block; margin-bottom: 12px; font-weight: 600; }
.section-header h2 { font-size: 2.5rem; font-weight: 600; color: var(--text-main); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.5; }

/* Interactive Stepper */
.stepper-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.stepper-steps { display: flex; flex-direction: column; gap: 8px; }

.step-item { padding: 24px; border-radius: 16px; cursor: pointer; position: relative; border: 1px solid transparent; transition: all 0.3s ease; }
.step-item:hover { background: rgba(255,255,255,0.02); }
.step-item.active { background: var(--surface); border-color: var(--surface-border); }
.step-number span { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }
.step-item.active .step-number span { color: var(--brand-light); }
.step-body h3 { font-size: 1.15rem; font-weight: 600; margin: 8px 0; }
.step-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px; display: none; }
.step-item.active .step-body p { display: block; }
.step-tag { display: none; }
.step-item.active .step-tag { display: inline-block; padding: 3px 12px; border-radius: 100px; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: var(--brand-light); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.step-progress { height: 2px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-top: 16px; overflow: hidden; display: none; }
.step-item.active .step-progress { display: block; }
.step-progress-fill { height: 100%; width: 0%; background: var(--brand-main); border-radius: 2px; transition: width 0.1s linear; }
.step-item.active .step-progress-fill { animation: progressFill 5s linear forwards; }
@keyframes progressFill { 0% { width: 0%; } 100% { width: 100%; } }

/* Visual Panel */
.stepper-visual { position: relative; min-height: 420px; }
.step-visual-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(0.98); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
.step-visual-panel.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* Mock Window Chrome */
.mock-window { background: #111113; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.mock-titlebar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }
.mock-title { font-size: 0.7rem; color: var(--text-muted); margin-left: 8px; }
.mock-body { padding: 24px; }

/* Mock Step 0: Dropzone */
.mock-dropzone { border: 2px dashed rgba(255,255,255,0.1); border-radius: 12px; padding: 30px; text-align: center; color: var(--text-muted); margin-bottom: 20px; }
.mock-dropzone svg { color: var(--brand-main); margin-bottom: 8px; }
.mock-dropzone p { font-size: 0.85rem; font-weight: 500; color: var(--text-main); margin-top: 8px; }
.mock-dropzone span { font-size: 0.75rem; color: var(--text-muted); }
.mock-parsed { display: flex; flex-direction: column; gap: 10px; }
.parsed-row { display: flex; justify-content: space-between; padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 8px; font-size: 0.8rem; }
.parsed-label { color: var(--text-muted); }
.parsed-value { color: var(--text-main); font-weight: 500; }
.parsed-check { color: #34d399; font-size: 0.8rem; font-weight: 600; padding: 8px 12px; background: rgba(52,211,153,0.08); border-radius: 8px; text-align: center; margin-top: 4px; }

/* Mock Step 1: Job List */
.mock-job-list { display: flex; flex-direction: column; gap: 10px; }
.mock-job { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; transition: border-color 0.2s; }
.mock-job.active-job { border-color: var(--brand-main); background: rgba(239,68,68,0.04); }
.mock-job-logo { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.mock-job div strong { display: block; font-size: 0.85rem; color: var(--text-main); }
.mock-job div span { font-size: 0.75rem; color: var(--text-muted); }
.mock-match { margin-left: auto; font-size: 0.85rem; font-weight: 700; color: var(--brand-light); background: rgba(239,68,68,0.08); padding: 4px 10px; border-radius: 100px; }
.mock-match.dim { color: var(--text-muted); background: rgba(255,255,255,0.04); }

/* Mock Drawer (Step 1) */
.mock-drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: 5; opacity: 0; }
.mock-drawer { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; background: #111113; border-left: 1px solid rgba(255,255,255,0.1); box-shadow: -20px 0 40px rgba(0,0,0,0.5); padding: 18px; display: flex; flex-direction: column; z-index: 10; transform: translateX(100%); }
.step-visual-panel.active .mock-drawer { animation: slideInDrawer 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.05) 0.5s both; }
.step-visual-panel.active .mock-drawer-overlay { animation: fadeInOverlay 0.6s 0.4s both; }
@keyframes fadeInOverlay { 0% { opacity: 0; backdrop-filter: blur(0px); } 100% { opacity: 1; backdrop-filter: blur(2px); } }
@keyframes slideInDrawer { 0% { transform: translateX(100%); } 100% { transform: translateX(0%); } }

/* Mock Step 2: Form */
.mock-form { display: flex; flex-direction: column; gap: 14px; }
.mock-field label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 6px; }
.mock-input { padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; font-size: 0.85rem; color: var(--text-main); display: flex; justify-content: space-between; align-items: flex-start; }
.mock-input.tall { min-height: 60px; line-height: 1.5; }
.mock-field.filled .mock-input { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.03); }
.ai-badge { font-size: 0.6rem; background: var(--brand-main); color: white; padding: 2px 6px; border-radius: 4px; font-weight: 700; flex-shrink: 0; margin-left: 8px; }
.mock-fill-status { font-size: 0.8rem; color: #34d399; font-weight: 600; display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.fill-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
/* Features Grid */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .feature-card.wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-card.wide { grid-column: span 2; }
}
.feature-card { padding: 40px; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 16px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; z-index: 1; }
.feature-card:hover { border-color: var(--brand-main); transform: translateY(-8px); box-shadow: 0 15px 30px -10px rgba(239,68,68,0.15), 0 0 0 1px rgba(239,68,68,0.1) inset; background: linear-gradient(145deg, rgba(239,68,68,0.04) 0%, var(--surface) 100%); z-index: 2; }
.f-icon { width: 48px; height: 48px; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--brand-main); margin-bottom: 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.feature-card:hover .f-icon { background: var(--brand-main); color: white; transform: scale(1.1) rotate(5deg); box-shadow: 0 8px 16px rgba(239,68,68,0.3); }
.f-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Benefits Row */
.benefits-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; text-align: left; }
.benefit-item h1 { font-size: 1.7rem; font-weight: 600; color: var(--brand-light); margin-bottom: 12px; }
.benefit-item p { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }

/* Sliding Testimonials */
.testimonial-slider-wrapper { overflow: hidden; position: relative; width: 100%; }
.testimonial-slider-wrapper::before,
.testimonial-slider-wrapper::after { content: ''; position: absolute; top: 0; width: 120px; height: 100%; z-index: 2; pointer-events: none; }
.testimonial-slider-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-darker), transparent); }
.testimonial-slider-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-darker), transparent); }
.testimonial-track { display: flex; gap: 24px; animation: slideTestimonials 40s linear infinite; width: max-content; padding: 0 40px; }
@keyframes slideTestimonials { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { width: 380px; flex-shrink: 0; padding: 32px; background: rgba(255,255,255,0.03); border: 1px solid var(--surface-border); border-radius: 16px; }
.t-stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background-size: cover; border: 2px solid var(--surface-border); flex-shrink: 0; }
.t-author strong { display: block; font-size: 0.9rem; color: var(--text-main); }
.t-author span { font-size: 0.75rem; color: var(--brand-light); }

/* FAQ Accordion */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 12px; overflow: hidden; }
.faq-question { padding: 24px; font-size: 1.05rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: background 0.2s; }
.faq-question:hover { background: rgba(255,255,255,0.05); }
.plus-icon { color: var(--brand-light); font-size: 1.5rem; line-height: 1; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s ease-out; color: var(--text-muted); line-height: 1.6; }
.faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 300px; }
.faq-item.active .plus-icon { transform: rotate(45deg); }

/* Footer */
.footer { padding: 60px 0; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: flex-start; }
.footer-brand .brand { font-size: 1.1rem; }
.text-muted { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: white; }

/* Waitlist Forms */
.waitlist-form { width: 100%; position: relative; z-index: 10; margin-top: 24px; }
.waitlist-inputs-wrapper { display: flex; width: 100%; gap: 10px; align-items: stretch; }
.hero-form { display: flex; gap: 12px; max-width: 460px; }
.hero-form input {
    flex: 1; padding: 12px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; color: white; font-size: 0.95rem; outline: none; transition: all 0.3s ease;
}
.hero-form input:focus { border-color: var(--brand-main); background: rgba(255,255,255,0.05); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.hero-form button { border-radius: 12px; white-space: nowrap; padding: 12px 24px; font-weight: 600; }

.waitlist-success {
    margin-top: 12px; font-size: 0.9rem; color: #34d399; font-weight: 500; display: flex; align-items: center; gap: 8px;
    background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); padding: 10px 16px; border-radius: 8px;
    animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* CTA Section */
.cta-section { padding: 100px 20px; position: relative; }
.cta-box {
    position: relative; max-width: 900px; margin: 0 auto; padding: 80px 40px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--surface-border); border-radius: 24px; text-align: center; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.cta-orb {
    width: 800px; height: 800px; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(239,68,68,0.12) 0%, rgba(239,68,68,0) 60%);
}
.cta-box h2 { font-size: 3.2rem; font-weight: 700; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em; position: relative; z-index: 10; }
.cta-box p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; position: relative; z-index: 10; }
.large-waitlist { max-width: 500px; margin: 0 auto; position: relative; z-index: 10; }
.large-waitlist form {
    display: flex; gap: 8px; background: rgba(0,0,0,0.3); padding: 8px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); transition: border-color 0.3s, box-shadow 0.3s;
}
.large-waitlist form:focus-within { border-color: rgba(239,68,68,0.5); box-shadow: 0 0 20px rgba(239,68,68,0.2); }
.large-waitlist input { flex: 1; background: transparent; border: none; padding: 14px 24px; color: white; font-size: 1rem; outline: none; }
.large-waitlist input::placeholder { color: var(--text-muted); }
.large-waitlist button { border-radius: 100px; padding: 14px 32px; font-size: 1.05rem; }
.cta-security { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.cta-security svg { width: 14px; height: 14px; }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.split-feature:last-child { margin-bottom: 0; }

/* Security Slider */
.sec-step-item { display: flex; gap: 16px; padding: 20px; border-radius: 16px; cursor: pointer; transition: 0.3s; position: relative; border: 1px solid transparent; }
.sec-step-item:hover { background: rgba(255,255,255,0.02); }
.sec-step-item.active { background: rgba(255,255,255,0.03); border-color: var(--surface-border); }
.sec-step-item .step-progress { display: none; }
.sec-step-item.active .step-progress { display: block; }
.sec-step-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px; display: none; animation: slideDown 0.3s ease forwards; }
.sec-step-item.active p { display: block; }
.sec-step-item .step-tag { display: none; }
.sec-step-item.active .step-tag { display: inline-block; padding: 3px 12px; border-radius: 100px; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2); color: #34d399; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sec-step-item .step-number span { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }
.sec-step-item.active .step-number span { color: #34d399; }
.sec-visual-panel { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.4s; pointer-events: none; }
.sec-visual-panel.active { position: relative; opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero-content { align-items: center; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .stepper-layout, .split-feature { grid-template-columns: 1fr; gap: 40px; }
    .split-feature > div[style*="order: 2"] { order: 0 !important; }
    .split-feature > div[style*="order: 1"] { order: 1 !important; }
    .stepper-visual { position: relative; min-height: 380px; }
    .hero-visual-side { transform: scale(0.9); }
}

@media (max-width: 768px) {
    .navbar { padding: 12px 0; }
    .nav-container { padding: 0 20px; }
    .menu-toggle { display: block; order: 3; }
    .brand { order: 1; }
    .nav-auth { display: none; } /* Simplified for mobile, can be moved to menu */
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #09090b;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--surface-border);
        z-index: 100;
        text-align: left;
    }
    
    .nav-links.show { display: flex; }
    .nav-links a { font-size: 1rem; width: 100%; padding: 10px 0; }
    .nav-dropdown { flex-direction: column; align-items: flex-start; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 15px; margin-top: 5px; display: none; }
    .nav-dropdown:hover .dropdown-menu { display: block; }

    .hero { padding: 40px 20px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-visual-side { display: none; } /* Hide heavy 3D assets on smaller mobile */
    
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }
    
    .hero-stats { flex-direction: column; gap: 24px; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
    
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 2rem; }
    
    .large-waitlist form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 12px;
        backdrop-filter: none;
    }
    
    .large-waitlist input {
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--surface-border);
        border-radius: 12px;
        padding: 16px;
        width: 100%;
    }
    
    .large-waitlist button {
        width: 100%;
        border-radius: 12px;
        padding: 16px;
        justify-content: center;
    }

    .hero-form { flex-direction: column; width: 100%; align-items: stretch !important; }
    .waitlist-inputs-wrapper { flex-direction: column; }
    .hero-form input, .hero-form button { width: 100% !important; border-radius: 12px !important; }
    
    .waitlist-legal { align-items: flex-start; }
    .waitlist-consent { margin-top: 2px !important; }

    .logo-ticker { gap: 30px; }
    .company-logo { font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .section { padding: 60px 20px; }
    .hero-title { font-size: 2.2rem; }
}
