/* =============================================
   RESUME BUILDER & INTERVIEW COACH
   Theme: Corporate Sky Blue / Professional
   ============================================= */

:root {
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-darker: #0369a1;
  --accent-light: #bae6fd;
  --accent-xlight: #f0f9ff;
  --secondary: #6366f1;
  --text-primary: #0c1521;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(14,165,233,0.06);
  --shadow-md: 0 4px 16px rgba(14,165,233,0.10);
  --shadow-lg: 0 12px 40px rgba(14,165,233,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --nav-height: 70px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text-primary); overflow-x: hidden; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1rem, 1.8vw, 1.15rem); font-weight: 600; }
p { color: var(--text-secondary); }
a { text-decoration: none; color: inherit; }

.gradient-text {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white; font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.5rem; border-radius: 50px;
  border: none; cursor: pointer; transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(14,165,233,0.35); white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,0.45); }
.btn-primary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--accent-dark);
  font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.5rem; border-radius: 50px;
  border: 2px solid var(--accent); cursor: pointer; transition: all 0.25s;
}
.btn-secondary:hover { background: var(--accent-xlight); transform: translateY(-2px); }
.btn-secondary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }

/* ===== NAV ===== */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft); height: var(--nav-height); transition: all 0.3s;
}
.nav-header.scrolled { box-shadow: var(--shadow-md); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem); height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.nav-logo-icon { font-size: 1.4rem; }
.nav-links { display: flex; list-style: none; gap: 0.1rem; margin-left: auto; }
.nav-links a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; padding: 0.4rem 0.7rem; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: var(--accent-dark); background: var(--accent-xlight); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); }
.nav-cta { margin-left: 0.5rem; background: linear-gradient(135deg, #0ea5e9, #0284c7); color: white; font-weight: 600; font-size: 0.875rem; padding: 0.5rem 1.2rem; border-radius: 50px; transition: all 0.25s; white-space: nowrap; box-shadow: 0 2px 8px rgba(14,165,233,0.3); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,233,0.4); }
.nav-cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; border-radius: 8px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger:focus-visible { outline: 2px solid var(--accent); }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px,85vw);
  background: white; z-index: 2000; padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.12);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.mobile-link { display: block; padding: 0.75rem 1rem; border-radius: 12px; font-weight: 500; color: var(--text-secondary); transition: all 0.2s; }
.mobile-link:hover { background: var(--accent-xlight); color: var(--accent-dark); }
.mobile-menu-close { align-self: flex-end; background: var(--bg-soft); border: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; color: var(--text-secondary); }
.mobile-cta { margin-top: 1.5rem; justify-content: center; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.visible { opacity: 1; pointer-events: all; }

/* ===== HERO ===== */
.hero {
  min-height: 100svh; padding-top: var(--nav-height);
  display: flex; align-items: center; position: relative; overflow: hidden;
  background: linear-gradient(155deg, #f0f9ff 0%, #ffffff 50%, #eef2ff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bg-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(14,165,233,0.03) 0, rgba(14,165,233,0.03) 1px, transparent 1px, transparent 60px),
              repeating-linear-gradient(0deg, rgba(14,165,233,0.03) 0, rgba(14,165,233,0.03) 1px, transparent 1px, transparent 60px);
}
.orb { position: absolute; border-radius: 50%; }
.orb-1 { width: clamp(350px,45vw,650px); height: clamp(350px,45vw,650px); background: radial-gradient(circle, rgba(14,165,233,0.09), transparent 70%); top: -15%; right: -10%; }
.orb-2 { width: clamp(200px,28vw,400px); height: clamp(200px,28vw,400px); background: radial-gradient(circle, rgba(99,102,241,0.07), transparent 70%); bottom: 0; left: -5%; }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; padding: clamp(2rem,5vw,4rem) 0 clamp(3rem,6vw,5rem); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent-xlight); color: var(--accent-darker); font-size: 0.82rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; border: 1px solid var(--accent-light); margin-bottom: 1.25rem; }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-desc { font-size: clamp(1rem,1.8vw,1.1rem); margin-bottom: 2rem; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { background: white; border: 1px solid var(--border); color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; padding: 0.35rem 0.85rem; border-radius: 50px; box-shadow: var(--shadow-sm); }

/* Resume Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.resume-mockup { position: relative; z-index: 2; }
.resume-card {
  width: clamp(240px,32vw,310px);
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 24px 64px rgba(14,165,233,0.15), 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  position: relative;
}
.resume-header-block { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--accent); margin-bottom: 0.75rem; }
.resume-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: white; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.resume-name-block { flex: 1; min-width: 0; }
.rname { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.rtitle { font-size: 0.72rem; color: var(--accent-dark); font-weight: 600; }
.rcontact { font-size: 0.62rem; color: var(--text-muted); margin-top: 0.2rem; }

.resume-section { margin-bottom: 0.75rem; }
.rs-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.rs-item { display: flex; justify-content: space-between; align-items: center; padding: 0.3rem 0; border-bottom: 1px dashed var(--border-soft); }
.rs-role { font-size: 0.72rem; font-weight: 600; color: var(--text-primary); }
.rs-co { font-size: 0.65rem; color: var(--text-muted); }

.skill-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.skill-chips span { background: var(--accent-xlight); color: var(--accent-dark); font-size: 0.62rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 4px; }

.ai-badge-on-card { position: absolute; top: -10px; right: 12px; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: white; font-size: 0.65rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 50px; box-shadow: 0 4px 12px rgba(14,165,233,0.3); }

.float-pill {
  position: absolute; background: white; border: 1px solid var(--border);
  border-radius: 50px; padding: 0.45rem 0.9rem; font-size: 0.75rem; font-weight: 600;
  color: var(--text-secondary); box-shadow: var(--shadow-md); white-space: nowrap;
  animation: floatPill 4s ease-in-out infinite;
}
.fp-1 { top: 5%; left: -10%; animation-delay: 0s; }
.fp-2 { bottom: 25%; left: -12%; animation-delay: 1.3s; }
.fp-3 { top: 40%; right: -8%; animation-delay: 0.7s; }
@keyframes floatPill { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== HIGHLIGHTS ===== */
.highlights { padding: clamp(2.5rem,5vw,4rem) 0; background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 1.25rem; }
.hl-card { display: flex; align-items: center; gap: 0.75rem; background: white; border-radius: var(--radius); padding: 1rem 1.2rem; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); transition: all 0.25s; }
.hl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.hl-icon { font-size: 1.4rem; flex-shrink: 0; }
.hl-card div { display: flex; flex-direction: column; gap: 0.1rem; }
.hl-card strong { font-size: 0.88rem; color: var(--text-primary); }
.hl-card span { font-size: 0.76rem; color: var(--text-muted); line-height: 1.4; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: clamp(2rem,4vw,3.5rem); }
.section-tag { display: inline-block; background: var(--accent-xlight); color: var(--accent-darker); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 50px; border: 1px solid var(--accent-light); margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ===== FEATURES ===== */
.features { padding: clamp(4rem,8vw,7rem) 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.25rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.25rem,3vw,1.75rem); transition: all 0.3s; box-shadow: var(--shadow-sm); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.feat-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 0.95rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== TEMPLATES ===== */
.templates { padding: clamp(4rem,8vw,7rem) 0; background: var(--bg-soft); }
.templates-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.template-card { display: flex; flex-direction: column; align-items: center; gap: 1rem; cursor: pointer; transition: transform 0.3s; }
.template-card:hover { transform: translateY(-6px); }
.template-card.featured { transform: scale(1.08); }
.template-card.featured:hover { transform: scale(1.08) translateY(-6px); }
.template-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

.template-preview {
  width: clamp(120px,16vw,160px);
  height: clamp(165px,22vw,220px);
  border-radius: 12px;
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: white;
  display: flex;
  flex-direction: column;
}
.template-card.featured .template-preview { border-color: var(--accent); box-shadow: 0 8px 30px rgba(14,165,233,0.25); }

/* Modern template */
.tp-modern { flex-direction: row; }
.tp-sidebar { width: 35%; background: linear-gradient(180deg, #0ea5e9, #0284c7); }
.tp-body { flex: 1; padding: 0.6rem 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
/* Classic template */
.tp-classic { flex-direction: column; }
.tp-header-bar { height: 28%; background: linear-gradient(135deg, #0c1521, #1e3a5f); }
/* Minimal */
.tp-minimal .tp-body { padding: 0.75rem 0.6rem; }

.tp-line { height: 6px; background: var(--border); border-radius: 3px; margin-bottom: 0.25rem; }
.tp-line.thick { height: 9px; background: var(--text-secondary); }
.tp-line.short { width: 60%; }
.tp-line.accent { background: var(--accent); }
.tp-divider { height: 1px; background: var(--border); margin: 0.4rem 0; }
.tp-divider.accent { background: var(--accent); }

/* ===== SHOWCASE ===== */
.showcase { padding: clamp(3rem,6vw,6rem) 0; }
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; margin-bottom: clamp(3rem,6vw,5rem); }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }

.showcase-card-vis { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); }

/* AI Improve vis */
.aiv-header { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.aiv-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.35rem; }
.aiv-text { font-size: 0.82rem; line-height: 1.5; padding: 0.65rem; border-radius: 10px; }
.aiv-text.old { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; font-style: italic; }
.aiv-text.new { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.aiv-arrow { text-align: center; color: var(--accent); font-size: 0.8rem; font-weight: 700; margin: 0.75rem 0; }

/* Interview vis */
.iv-header { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.iv-q { background: var(--accent-xlight); border-left: 3px solid var(--accent); color: var(--accent-darker); font-size: 0.85rem; font-weight: 600; padding: 0.75rem; border-radius: 0 10px 10px 0; margin-bottom: 0.75rem; }
.iv-answer-box { border: 1px dashed var(--border); border-radius: 10px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.iv-feedback { display: flex; align-items: flex-start; gap: 0.5rem; background: #fefce8; border: 1px solid #fef08a; border-radius: 10px; padding: 0.65rem; font-size: 0.78rem; color: #78350f; line-height: 1.4; }
.iv-fb-icon { flex-shrink: 0; }

.sc-tag { display: inline-block; background: var(--accent-xlight); color: var(--accent-darker); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 0.75rem; }
.showcase-content h3 { font-size: clamp(1.3rem,3vw,1.9rem); margin-bottom: 0.75rem; }
.showcase-content p { font-size: 1rem; margin-bottom: 1.25rem; line-height: 1.7; }
.sc-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.sc-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-secondary); }
.sc-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ===== SCREENSHOTS ===== */
.screenshots { padding: clamp(4rem,8vw,7rem) 0; background: var(--bg-soft); }
.screenshots-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem,3vw,2rem); flex-wrap: wrap; }
.screenshot-frame { display: flex; flex-direction: column; align-items: center; gap: 1rem; transition: transform 0.3s; }
.screenshot-frame:hover { transform: translateY(-6px); }
.screenshot-frame p { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.screenshot-frame.featured { transform: scale(1.06); }
.screenshot-frame.featured:hover { transform: scale(1.06) translateY(-6px); }
.phone-frame { width: clamp(140px,19vw,175px); background: #0c1521; border-radius: 32px; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.phone-screen-ss { border-radius: 24px; overflow: hidden; aspect-ratio: 9/18; background: #0f1c2e; }
.ss-inner { padding: 0.75rem; height: 100%; display: flex; flex-direction: column; gap: 0.45rem; }
.ss-bar { display: flex; justify-content: space-between; font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.7); padding-bottom: 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* Resume screen */
.ss-resume-preview { flex: 1; }
.ss-rp-header { font-size: 0.75rem; font-weight: 700; color: white; }
.ss-rp-title { font-size: 0.65rem; color: #38bdf8; margin-bottom: 0.35rem; }
.ss-rp-line { height: 1px; background: #38bdf8; margin-bottom: 0.35rem; }
.ss-rp-section { font-size: 0.6rem; font-weight: 700; color: #38bdf8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.ss-rp-item { height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 0.3rem; }
.ss-rp-item.short { width: 65%; }

/* Interview screen */
.ss-q-card { background: rgba(14,165,233,0.15); border-left: 2px solid #38bdf8; padding: 0.5rem; border-radius: 0 8px 8px 0; font-size: 0.65rem; color: rgba(255,255,255,0.85); }
.ss-mic-btn { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: white; font-size: 0.65rem; font-weight: 600; padding: 0.4rem; border-radius: 8px; text-align: center; }
.ss-tips { display: flex; flex-direction: column; gap: 0.35rem; margin-top: auto; }
.ss-tip-row { background: rgba(255,255,255,0.06); border-radius: 6px; padding: 0.35rem 0.5rem; font-size: 0.62rem; color: rgba(255,255,255,0.6); }

/* Template screen */
.ss-tmpl { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 0.4rem 0.65rem; font-size: 0.65rem; color: rgba(255,255,255,0.65); font-weight: 500; }
.ss-tmpl.active { background: rgba(14,165,233,0.2); border-color: rgba(14,165,233,0.4); color: #38bdf8; }
.ss-apply-btn { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: white; font-size: 0.65rem; font-weight: 600; padding: 0.4rem; border-radius: 8px; text-align: center; margin-top: auto; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: clamp(4rem,8vw,7rem) 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 2rem; }
.step { text-align: center; padding: 1.5rem 1rem; background: var(--bg-soft); border-radius: var(--radius-lg); border: 1px solid var(--border-soft); transition: all 0.3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.step-num { font-size: 2.5rem; font-weight: 900; color: var(--accent-light); line-height: 1; margin-bottom: 0.25rem; }
.step-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== BENEFITS ===== */
.benefits { padding: clamp(4rem,8vw,7rem) 0; background: var(--bg-soft); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.5rem; }
.benefit-card { background: white; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2rem); transition: all 0.3s; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.b-icon { font-size: 2rem; margin-bottom: 1rem; }
.benefit-card h3 { margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq { padding: clamp(4rem,8vw,7rem) 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; text-align: left; padding: 1.2rem 1.5rem; font-size: 0.92rem; font-weight: 600; color: var(--text-primary); cursor: pointer; gap: 1rem; transition: background 0.2s; }
.faq-question:hover { background: var(--bg-soft); }
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-question[aria-expanded="true"] { color: var(--accent-darker); }
.faq-icon { font-size: 1.2rem; font-weight: 400; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; line-height: 1; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.2rem; }
.faq-answer p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FINAL CTA ===== */
.final-cta { padding: clamp(4rem,8vw,7rem) 0; background: var(--bg-soft); }
.cta-box { text-align: center; background: linear-gradient(135deg, #f0f9ff, #eef2ff); border: 1px solid var(--accent-light); border-radius: var(--radius-lg); padding: clamp(3rem,6vw,5rem) clamp(1.5rem,4vw,3rem); }
.cta-icon { font-size: 3rem; margin-bottom: 1rem; }
.cta-box h2 { margin-bottom: 0.75rem; }
.cta-box p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
.footer { background: #0c1521; color: rgba(255,255,255,0.6); padding: clamp(3rem,6vw,5rem) 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem,4vw,3rem); margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 700; color: white; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
.footer-dl { align-self: flex-start; margin-top: 0.5rem; font-size: 0.875rem; }
.footer-links h3 { color: white; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }
.footer-links a:focus-visible { outline: 2px solid var(--accent); border-radius: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(14,165,233,0.4);
  transition: all 0.3s; opacity: 0; transform: translateY(8px);
}
.back-to-top:not([hidden]) { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ===== SCROLL REVEAL ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .float-pill { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc, .hero-actions, .hero-chips { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-desc { max-width: 100%; }
  .float-pill { display: none; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions > * { width: 100%; max-width: 280px; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .screenshots-row { flex-direction: column; align-items: center; }
  .screenshot-frame.featured { transform: scale(1); }
  .templates-grid { gap: 1rem; }
  .template-card.featured { transform: scale(1); }
}
@media (max-width: 360px) {
  h1 { font-size: 1.9rem; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ── Resume Builder & Interview Coach — Loading Screen v2 ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700;800&display=swap');
#ri-loader{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 40% 50%,#020d18 0%,#010a12 55%,#010709 100%);overflow:hidden;transition:opacity .65s ease,visibility .65s ease;}
#ri-loader.ri-out{opacity:0;visibility:hidden;pointer-events:none;}
.ril-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(14,165,233,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(14,165,233,.07) 1px,transparent 1px);background-size:44px 44px;animation:rilGridPulse 4s ease-in-out infinite;}
@keyframes rilGridPulse{0%,100%{opacity:.4;}50%{opacity:1;}}
.ril-orb-1{position:absolute;border-radius:50%;pointer-events:none;width:500px;height:500px;background:radial-gradient(circle,rgba(14,165,233,.13) 0%,transparent 65%);top:-100px;right:-80px;animation:rilOrb 6s ease-in-out infinite;}
.ril-orb-2{position:absolute;border-radius:50%;pointer-events:none;width:360px;height:360px;background:radial-gradient(circle,rgba(99,102,241,.08) 0%,transparent 65%);bottom:-80px;left:-60px;animation:rilOrb 8s ease-in-out infinite reverse;}
@keyframes rilOrb{0%,100%{transform:scale(1);}50%{transform:scale(1.1);}}
.ril-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:1.4rem;}
.ril-ring{position:relative;width:110px;height:110px;}
.ril-ring::before{content:'';position:absolute;inset:0;border-radius:50%;border:3px solid transparent;border-top-color:#0ea5e9;border-left-color:rgba(14,165,233,.5);animation:rilSpin 1.1s linear infinite;}
.ril-ring::after{content:'';position:absolute;inset:10px;border-radius:50%;border:2px solid transparent;border-bottom-color:#6366f1;border-right-color:rgba(99,102,241,.4);animation:rilSpin 1.7s linear infinite reverse;}
@keyframes rilSpin{to{transform:rotate(360deg);}}
.ril-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2.8rem;animation:rilBounce .65s cubic-bezier(.34,1.56,.64,1) both;}
@keyframes rilBounce{from{transform:scale(0) rotate(-20deg);opacity:0;}to{transform:scale(1) rotate(0);opacity:1;}}
.ril-name{font-family:'Space Grotesk',system-ui;font-size:1.75rem;font-weight:800;letter-spacing:-.03em;background:linear-gradient(135deg,#38bdf8,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:rilFadeUp .6s .3s ease both;}
.ril-tagline{font-size:.85rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(125,211,252,.5);animation:rilFadeUp .6s .42s ease both;}
.ril-chips{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;animation:rilFadeUp .6s .55s ease both;}
.ril-chip{background:rgba(14,165,233,.1);border:1px solid rgba(14,165,233,.22);border-radius:50px;padding:.28rem .8rem;font-size:.76rem;font-weight:600;color:#7dd3fc;animation:rilChip 2.5s ease-in-out infinite;}
.ril-chip:nth-child(2){animation-delay:.3s;}.ril-chip:nth-child(3){animation-delay:.6s;}.ril-chip:nth-child(4){animation-delay:.9s;}
@keyframes rilChip{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
.ril-bar-wrap{width:210px;height:4px;background:rgba(14,165,233,.12);border-radius:50px;overflow:hidden;animation:rilFadeUp .6s .65s ease both;}
.ril-bar{height:100%;background:linear-gradient(90deg,#0ea5e9,#6366f1);border-radius:50px;width:0%;transition:width .1s linear;box-shadow:0 0 10px rgba(14,165,233,.7);}
@keyframes rilFadeUp{from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:translateY(0);}}
#ri-scroll-progress{position:fixed;top:0;left:0;height:3px;width:0%;background:linear-gradient(90deg,#0ea5e9,#6366f1);z-index:9999;pointer-events:none;transition:width .1s linear;box-shadow:0 0 6px rgba(14,165,233,.6);}
