/* ============================================================
   ZENITH RESUME BUILDER PRO — Landing Page Styles
   Prime Tools Hub | support@primetoolshub.in
   ============================================================
   [DEVELOPER NOTE]: 
   This file controls the styles ONLY for index.html (the landing page).
   Do not add resume builder/editor styles here. Use builder.css for that.
   ============================================================
   Sections:
     1.  Navbar
     2.  Hero Section
     3.  Trust Bar
     4.  Features / Bento Grid
     5.  Templates Gallery
     6.  How It Works
     7.  FAQ Section
     8.  CTA Section
     9.  Footer
    10.  Template Preview Thumbnails
   ============================================================ */


/* ── 1. NAVBAR ────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0 var(--space-6);
  height: 70px;
  /* Glassmorphism */
  background: rgba(11, 17, 32, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow);
}

/* Navbar scrolled state (added by JS) */
.navbar.scrolled {
  background: rgba(11, 17, 32, 0.92);
  border-bottom-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.navbar-container {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-brand);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--glow-btn);
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: color var(--t-base), background var(--t-base);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-hover);
}

/* CTA in Navbar */
.nav-cta {
  flex-shrink: 0;
  animation: pulseGlow 3s ease-in-out infinite;
}


/* ── 2. HERO SECTION ──────────────────────────────────────── */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--space-6) var(--space-16);
  overflow: hidden;
}

/* Animated background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Floating background orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatSlow 12s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  top: -10%;
  left: -15%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.14) 0%, transparent 70%);
  top: 20%;
  right: -10%;
  animation-delay: -4s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.10) 0%, transparent 70%);
  bottom: -5%;
  left: 30%;
  animation-delay: -8s;
}

.orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, transparent 70%);
  top: 50%;
  left: 10%;
  animation-delay: -2s;
}

/* Hero layout: 2 columns */
.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Top badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #a78bfa;
  width: fit-content;
}

.hero-badge i { color: #fbbf24; }

/* Hero headline */
.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* Hero subtitle */
.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Hero CTA buttons row */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta-primary {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-2);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}


/* ── HERO MOCKUP (Right Side) ─────────────────────────────── */

.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glow behind mockup */
.mockup-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* Mockup browser window */
.mockup-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-brand);
  animation: float 6s ease-in-out infinite;
}

/* Browser bar (top dots) */
.mockup-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mockup-dot.red    { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green  { background: #10b981; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-faint);
  font-weight: 500;
}

/* Mockup body = 2 columns */
.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Left: Editor Panel */
.mockup-editor {
  padding: 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-tab {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  border-radius: var(--r-full);
  cursor: pointer;
  display: inline-block;
  width: fit-content;
}

.mockup-tab.active-tab {
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid var(--border-brand);
}

.mockup-field-group { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.mockup-label {
  font-size: 0.65rem;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-field {
  height: 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.mockup-field.filled { color: var(--text); }

.mockup-field.typing::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--brand);
}

/* Strength meter inside mockup */
.mockup-strength {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.mockup-strength-label {
  font-size: 0.65rem;
  color: var(--text-faint);
  font-weight: 600;
}

.mockup-strength-bar {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: var(--r-full);
  overflow: hidden;
}

.mockup-strength-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: var(--r-full);
  transition: width 2s ease;
}

.mockup-strength-pct {
  font-size: 0.65rem;
  color: var(--success);
  font-weight: 700;
  align-self: flex-end;
}

/* Right: Resume Preview */
.mockup-resume {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
}

.mockup-resume-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: #1e293b;
  text-align: center;
  letter-spacing: 0.08em;
}

.mockup-resume-title {
  font-size: 0.6rem;
  color: #64748b;
  text-align: center;
}

.mockup-resume-divider {
  height: 2px;
  background: #4f46e5;
  margin: 6px 0;
}

.mockup-resume-section {
  font-size: 0.6rem;
  font-weight: 700;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.mockup-resume-line {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
}

.mockup-resume-line.long   { width: 90%; }
.mockup-resume-line.medium { width: 70%; }
.mockup-resume-line.short  { width: 50%; }

.mockup-skills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.mockup-skill-tag {
  font-size: 0.5rem;
  background: #ede9fe;
  color: #7c3aed;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

/* ATS Badge floating on mockup */
.mockup-ats-badge {
  position: absolute;
  bottom: -16px;
  right: -20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  padding: 10px 18px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
  box-shadow: var(--shadow-brand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-ats-badge i { color: var(--success); }
.mockup-ats-badge strong { color: var(--success); }


/* ── ULTRA WIDE SCREEN SCALING ────────────────────────────── */
@media (min-width: 1600px) {
  .navbar-container,
  .hero-container {
    max-width: 1500px;
  }
  
  .hero-container {
    gap: 8rem;
  }
  
  .hero-headline {
    font-size: 5.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    max-width: 580px;
  }
  
  .mockup-card {
    transform: scale(1.2);
    transform-origin: center right;
  }
  
  .mockup-glow {
    width: 550px;
    height: 550px;
    transform: scale(1.2);
  }
}


/* ── 3. TRUST BAR ─────────────────────────────────────────── */

.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  padding: var(--space-4) var(--space-6);
}

.trust-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.trust-item i { color: var(--brand); font-size: 0.85rem; }
.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}


/* ── 4. SECTION COMMONS ───────────────────────────────────── */

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-20) var(--space-6);
}

.section-header {
  margin-bottom: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 540px;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #a78bfa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ── 4. FEATURES BENTO GRID ───────────────────────────────── */

.features-section {
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.03) 50%, transparent 100%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* Bento card base */
.bento-card {
  position: relative;
  background: var(--bg-glass-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
  cursor: default;
}

.bento-card:hover {
  border-color: var(--border-brand);
  box-shadow: 0 0 40px var(--glow-color, rgba(139,92,246,0.15));
  transform: translateY(-3px);
}

/* Glow layer inside card */
.bento-card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--glow-color, rgba(139,92,246,0.12)) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--t-slow);
}

/* Spanning cards */
.bento-large { grid-column: span 2; }
.bento-wide  { grid-column: span 2; }

/* Card icon */
.bento-icon {
  font-size: 1.8rem;
  line-height: 1;
}

/* Card heading */
.bento-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
}

/* Card body text */
.bento-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ATS Ring in bento card */
.bento-ats-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin-top: auto;
}

.bento-ats-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 6;
}

.ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 26;
  animation: ringScan 4s ease-in-out infinite;
}

@keyframes ringScan {
  0% { stroke-dashoffset: 201; }
  50% { stroke-dashoffset: 26; }
  100% { stroke-dashoffset: 201; }
}

.ring-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-lg);
  font-weight: 800;
  color: #10b981;
}

/* Templates mini preview in bento */
.bento-templates-mini {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.tpl-mini {
  width: 36px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.tpl-classic   { border-top: 3px solid #4f46e5; }
.tpl-harvard   { background: linear-gradient(to bottom, #1e293b 20%, var(--bg-elevated) 20%); }
.tpl-tech      { border: 1px dashed var(--border-strong); }
.tpl-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--gradient-soft);
  border: 1px solid var(--border-brand);
}

/* Bullet demo in bento card */
.bento-bullet-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.bullet-before, .bullet-after {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.bullet-before { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); }
.bullet-after  { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.15); color: var(--text); }

.bullet-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.bullet-tag.weak   { background: rgba(239,68,68,0.15); color: #f87171; }
.bullet-tag.strong { background: rgba(16,185,129,0.15); color: #34d399; }

.bullet-arrow {
  text-align: center;
  color: #a78bfa;
  font-size: var(--text-xs);
  animation: bulletBounce 2s ease-in-out infinite;
}

.bullet-after { 
  background: rgba(16,185,129,0.06); 
  border: 1px solid rgba(16,185,129,0.15); 
  color: var(--text);
  animation: successGlowPulse 3s infinite;
}

@keyframes bulletBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes successGlowPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(16,185,129,0); border-color: rgba(16,185,129,0.15); }
  50% { box-shadow: 0 0 15px rgba(16,185,129,0.4); border-color: rgba(16,185,129,0.5); }
}

/* Strength bar in bento */
.bento-strength-demo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.strength-bar-demo {
  flex: 1;
  height: 8px;
  background: var(--bg-elevated);
  border-radius: var(--r-full);
  overflow: hidden;
}

.strength-fill-demo {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: var(--r-full);
  animation: meterPulse 3s ease-in-out infinite;
}

@keyframes meterPulse {
  0%, 100% { width: 78%; }
  50% { width: 95%; background: linear-gradient(90deg, #f59e0b, #10b981, #34d399); }
}

.bento-strength-demo span {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}

/* Keyboard key style */
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  border-bottom-width: 2px;
  font-family: 'Inter', monospace;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
}

/* Export pills in bento */
.bento-export-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.export-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-base);
}

.export-pill:hover {
  border-color: var(--border-brand);
  color: var(--brand);
  background: var(--brand-light);
}

/* Mini resume preview in live preview card */
.bento-visual-preview {
  margin-top: auto;
}

.mini-resume-preview {
  background: white;
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mrp-name {
  font-size: 0.55rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.08em;
  text-align: center;
}

.mrp-line {
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
}
.mrp-row { height: 3px; background: #e2e8f0; border-radius: 2px; }
.mrp-row.long   { width: 90%; }
.mrp-row.medium { 
  width: 65%; 
  animation: mrpType 3s ease-in-out infinite;
}

@keyframes mrpType {
  0% { width: 0%; }
  50% { width: 65%; }
  100% { width: 0%; }
}

.cursor-blink {
  width: 6px;
  height: 10px;
  background: #4f46e5;
  border-radius: 1px;
  animation: blink 1s step-end infinite;
  margin-top: 2px;
}


/* ── 5. TEMPLATES GALLERY ─────────────────────────────────── */

.templates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

/* Template card on landing page */
.tpl-card-landing {
  position: relative;
  background: var(--bg-glass-light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
}

.tpl-card-landing:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-brand);
  transform: translateY(-4px) scale(1.02);
}

/* NEW template highlight */
.tpl-card-landing.tpl-new {
  border-color: rgba(251,191,36,0.3);
}

.tpl-card-landing.tpl-new:hover {
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 0 30px rgba(251,191,36,0.15);
}

/* NEW badge corner */
.new-badge-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--r-full);
  z-index: 1;
  letter-spacing: 0.05em;
}

/* Template preview area */
.tpl-preview {
  height: 160px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: white;
  overflow: hidden;
}

/* Template card footer */
.tpl-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.tpl-name-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
}

.tpl-badge-ats {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--success-light);
  color: var(--success);
  padding: 2px 7px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
}

.tpl-badge-new {
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
  padding: 2px 7px;
  border-radius: var(--r-full);
}

/* CTA below templates */
.templates-cta {
  display: flex;
  justify-content: center;
}


/* ── 6. HOW IT WORKS ──────────────────────────────────────── */

.how-section {
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.02) 50%, transparent 100%);
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-8);
  flex: 1;
  max-width: 240px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.how-step:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-brand);
}

/* Step number bubble */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 800;
  color: white;
  box-shadow: var(--glow-btn);
}

/* Step icon */
.step-icon {
  font-size: 2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.how-step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
}

.how-step p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Arrow connector between steps */
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  padding-top: var(--space-8);
  color: var(--brand);
  opacity: 0.8;
  font-size: 1.2rem;
}

.step-connector i {
  animation: slideArrow 2s ease-in-out infinite;
}

@keyframes slideArrow {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(10px); opacity: 1; }
}


/* ── 7. FAQ SECTION ───────────────────────────────────────── */

.faq-container {
  max-width: 780px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base);
}

.faq-item:hover { border-color: var(--border-brand); }

/* FAQ question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  transition: color var(--t-base);
}

.faq-question:hover { color: var(--brand); }

/* Chevron icon */
.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}

/* Rotates when expanded */
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--border-brand);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--t-base);
  padding: 0 var(--space-6);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-6) var(--space-5);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ── 8. CTA SECTION ───────────────────────────────────────── */

.cta-section {
  padding: var(--space-10) var(--space-6) var(--space-20);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-box {
  position: relative;
  border-radius: var(--r-2xl);
  padding: var(--space-16);
  text-align: center;
  overflow: hidden;
  border-color: var(--border-brand) !important;
  box-shadow: var(--shadow-brand-lg);
}

/* Big glow behind CTA */
.cta-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #a78bfa;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-box p {
  max-width: 520px;
  font-size: var(--text-base);
}

.cta-main-btn {
  animation: pulseGlow 3s ease-in-out infinite;
}


/* ── 9. FOOTER ────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-10) var(--space-6);
  background: rgba(255,255,255,0.01);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.made-with {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-support {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer-email {
  color: var(--brand);
  transition: color var(--t-fast);
}
.footer-email:hover { color: #c084fc; }

.footer-right nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-faint);
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--brand); }
.footer-link i { font-size: 0.75rem; }


/* ── 10. TEMPLATE PREVIEW THUMBNAILS (Detail Styles) ─────── */

/* Shared preview elements */
.tpl-p-name {
  font-weight: 800;
  color: #1e293b;
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.tpl-p-divider {
  height: 1.5px;
  background: #4f46e5;
  margin: 3px 0;
}

.tpl-p-divider.thin { height: 0.5px; background: #94a3b8; }

.tpl-p-section {
  font-size: 0.42rem;
  font-weight: 700;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

.tpl-p-line {
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 2px 0;
}
.tpl-p-line.long   { width: 90%; }
.tpl-p-line.medium { width: 65%; }
.tpl-p-line.light  { background: #f1f5f9; }

.tpl-p-bar {
  height: 2px;
  width: 100%;
  background: #334155;
  margin: 3px 0;
}
.tpl-p-bar.thick { height: 4px; }

.tpl-p-mono {
  font-family: monospace;
  font-size: 0.4rem;
  color: #475569;
  letter-spacing: 0.05em;
}

.tpl-p-title {
  font-size: 0.7rem;
  font-weight: 900;
  color: #1e293b;
  text-align: center;
  letter-spacing: 0.2em;
}

.tpl-p-table {
  height: 18px;
  background: repeating-linear-gradient(
    to bottom,
    #f1f5f9 0px, #f1f5f9 5px,
    white 5px, white 6px
  );
  border: 0.5px solid #cbd5e1;
  border-radius: 2px;
}

/* Executive layout */
.tpl-preview-executive,
.tpl-preview-split {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.tpl-p-sidebar {
  width: 35%;
  height: 100%;
  background: #4f46e5;
  flex-shrink: 0;
  padding: 8px;
}

.tpl-p-sidebar.dark { background: #1e293b; }

.tpl-p-main {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Fresh graduate header */
.tpl-preview-fresh { padding: 0; }

.tpl-p-fresh-header {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpl-p-fresh-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Creative Spark layout */
.tpl-preview-creative {
  display: flex;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
}

.tpl-p-accent-bar {
  width: 4px;
  background: linear-gradient(180deg, #8b5cf6, #ec4899);
  flex-shrink: 0;
}

.tpl-p-content {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tpl-p-icon-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tpl-p-icon-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8b5cf6;
  flex-shrink: 0;
}


/* ── END OF LANDING.CSS ───────────────────────────────────── */
