/* ============================================================
   HRAVIA CV Builder – Landing Page CSS
   ============================================================ */

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

:root {
  --navy: #031033;
  --navy-mid: #0a1f55;
  --gold: #c9a87c;
  --gold-light: #efc792;
  --cream: #f9f2e6;
  --peach: #ffc09a;
  --purple: #b5a5cf;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(3,16,51,0.10);
  --shadow-lg: 0 8px 40px rgba(3,16,51,0.18);
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== NAVBAR ===== */
.hn {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.hn.hn-scrolled {
  background: rgba(3, 16, 51, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.25);
}
.hn-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.hn-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hn-brand-logo {
  height: 30px;
  width: auto;
  display: block;
}
.hn-brand-cv {
  display: none;
  font-size: 14px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hn-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.hn-link {
  color: rgba(249,242,230,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.hn-link:hover {
  color: var(--cream);
  background: rgba(255,255,255,0.08);
}
.hn-cta {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.hn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.hn-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hn-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}
.hn-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hn-menu-btn.active span:nth-child(2) { opacity: 0; }
.hn-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hn-mobile-menu {
  background: rgba(3, 16, 51, 0.98);
  backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hn-mobile-menu.hidden { display: none; }
.hn-mobile-link {
  color: rgba(249,242,230,0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.hn-mobile-link:hover { color: var(--cream); background: rgba(255,255,255,0.08); }
.hn-mobile-cta {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 8px;
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,124,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(181,165,207,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero-title-accent {
  color: var(--gold);
}
.hero-desc {
  font-size: 17px;
  color: rgba(249,242,230,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201,168,124,0.3);
}
.btn-hero-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,124,0.4);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(249,242,230,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(249,242,230,0.25);
  transition: all 0.2s;
}
.btn-hero-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,124,0.07);
}
.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,192,154,0.3);
  color: rgba(249,242,230,0.75);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
}
.hero-logo-img {
  width: 320px;
  max-width: 100%;
  filter: drop-shadow(0 8px 40px rgba(201,168,124,0.2));
}
.hero-cv-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hcv-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  height: 56px;
}
.hcv-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hcv-line {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
.hcv-line.long { width: 85%; }
.hcv-line.medium { width: 60%; }
.hcv-line.short { width: 40%; }
.hcv-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 6px 0;
}

/* ===== SECTION COMMONS ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}
.section-title.light { color: var(--cream); }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-desc.light { color: rgba(249,242,230,0.65); }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TEMPLATES SLIDER ===== */
.section-templates {
  padding: 80px 0;
  background: var(--cream);
  overflow: hidden;
}
.section-templates .section-header { padding: 0 24px; }

.slider-outer {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}
.slider-outer::before,
.slider-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.slider-outer::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.slider-outer::after { right: 0; background: linear-gradient(to left, var(--cream), transparent); }

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: slide-left 45s linear infinite;
}
.slider-track:hover { animation-play-state: paused; }

@keyframes slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tmpl-card {
  flex-shrink: 0;
  width: 160px;
  cursor: default;
  transition: transform 0.3s;
}
.tmpl-card:hover { transform: translateY(-6px); }
.tmpl-preview {
  width: 160px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  display: flex;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
}
.tmpl-name {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.3px;
}

/* Template placeholder lines */
.tc-line {
  height: 7px;
  border-radius: 4px;
  background: #e8e4dc;
  margin-bottom: 6px;
}
.tc-line.wide { width: 80%; }
.tc-line.medium { width: 55%; }
.tc-line.short { width: 35%; }
.tc-gap { height: 10px; }
.tc-main { flex: 1; padding: 14px 10px; }
.tc-sidebar { width: 42px; flex-shrink: 0; background: #031033; }
.tc-header { width: 100%; height: 55px; position: absolute; top: 0; left: 0; }
.tc-elegant-head { padding: 14px 10px 10px; border-bottom: 1px solid #e8e4dc; text-align: center; }

/* Template specific styles */
.tmpl-classic .tc-sidebar { background: #031033; }
.tmpl-classic .tc-main { padding: 14px 10px; }
.tmpl-classic .tc-line { background: #ddd8d0; }

.tmpl-modern .tc-header { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.tmpl-modern .tc-main { padding-top: 14px; }
.tmpl-modern .tc-line { background: #e0e7ff; }

.tmpl-navy .navy-sidebar { background: #1e3a5f; width: 48px; }
.tmpl-navy .tc-line { background: #dde4ec; }

.tmpl-elegant { background: #fffdf8; }
.tmpl-elegant .tc-elegant-head { border-bottom: 1.5px solid #c9a87c; }
.tmpl-elegant .tc-line { background: #ede9e2; }

.tmpl-minimal .tc-minimal-accent { height: 3px; background: #c9a87c; width: 100%; position: absolute; top: 0; }
.tmpl-minimal .tc-line { background: #e5e5e5; }

.tmpl-creative .tc-creative-header { height: 65px; width: 100%; position: absolute; top: 0; background: linear-gradient(135deg, #be123c, #e85d04); }
.tmpl-creative .tc-main { padding-top: 78px; }
.tmpl-creative .tc-line { background: #fde8e2; }

.tmpl-atlas { background: #ffffff; }
.tc-line.atlas-bold { background: #031033; height: 10px !important; }
.tc-atlas-divider { height: 2px; background: #c9a87c; width: 30px; margin: 10px 0 8px; }
.tmpl-atlas .tc-line { background: #e8e4e0; }

.tmpl-nova .tc-nova-header { height: 65px; width: 100%; background: linear-gradient(135deg, #1e2d5a, #6b48b5); padding: 14px 10px; position: relative; }
.tmpl-nova .tc-main { padding-top: 12px; }
.tmpl-nova .tc-line { background: #e8e2f5; }

.tmpl-executive .tc-exec-sidebar { width: 52px; flex-shrink: 0; background: #1a1a2e; }
.tmpl-executive .tc-main .tc-line { background: #e8e2d8; }

.tmpl-prism .tc-prism-header { height: 60px; width: 100%; position: absolute; top: 0; background: linear-gradient(135deg, #c9a87c, #b5a5cf); clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); }
.tmpl-prism .tc-main { padding-top: 70px; }
.tmpl-prism .tc-line { background: #ede9f5; }

.templates-cta { text-align: center; margin-top: 40px; padding: 0 24px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ===== HOW IT WORKS ===== */
.section-steps {
  padding: 80px 0;
  background: #fff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  font-size: 52px;
  font-weight: 900;
  color: rgba(3,16,51,0.08);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== AI FEATURES ===== */
.section-ai {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.section-ai::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(181,165,207,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.ai-header {
  text-align: center;
  margin-bottom: 52px;
}
.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.ai-feat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.ai-feat:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,124,0.3);
  transform: translateY(-4px);
}
.ai-feat-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,168,124,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.ai-feat h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.ai-feat p {
  font-size: 13px;
  color: rgba(249,242,230,0.6);
  line-height: 1.6;
}
.ai-providers {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.ai-provider-label {
  font-size: 12px;
  color: rgba(249,242,230,0.5);
  font-weight: 500;
}
.ai-provider-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(249,242,230,0.7);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ===== HRAVIA SERVICES ===== */
.section-hravia-services {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.section-hravia-services::before {
  content: '';
  position: absolute;
  bottom: -120px; left: -120px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(255,192,154,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hravia-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.hs-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
}
.hs-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hs-card-content {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.hs-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hs-card p {
  font-size: 13px;
  line-height: 1.6;
  flex-grow: 1;
  opacity: 0.85;
}
.hs-card-1 { background: var(--cream); color: var(--navy); }
.hs-card-2 { background: var(--peach); color: var(--navy); }
.hs-card-3 { background: var(--purple); color: var(--navy); }
.hs-card-4 { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: var(--cream); }
.hs-card-4 p { opacity: 0.7; }
.hs-footer-cta {
  text-align: center;
}
.btn-hs-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--peach);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--peach);
  transition: all 0.2s;
}
.btn-hs-all:hover {
  background: var(--peach);
  color: var(--navy);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .hravia-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hravia-services-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ===== FEATURES GRID ===== */
.section-features {
  padding: 72px 0;
  background: var(--cream);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.feat-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.feat-item p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ===== CTA ===== */
.section-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  text-align: center;
}
.cta-inner { max-width: 600px; }
.cta-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.cta-brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.cta-brand-hravia {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.cta-brand-cv {
  font-size: 13px;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}
.cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.8px;
}
.cta-desc {
  font-size: 16px;
  color: rgba(3,16,51,0.6);
  margin-bottom: 32px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(3,16,51,0.2);
}
.btn-cta:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(3,16,51,0.3);
}

/* ===== FOOTER ===== */
.home-footer {
  background: var(--navy);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
}
.footer-brand-logo {
  height: 24px;
  width: auto;
  display: block;
}
.footer-brand-hravia {
  font-size: 16px;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.5px;
}
.footer-brand-cv {
  font-size: 11px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-link {
  font-size: 13px;
  color: var(--peach);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.footer-link:hover { opacity: 0.75; }
.footer-copy {
  font-size: 13px;
  color: rgba(249,242,230,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hn-nav { display: none; }
  .hn-cta { display: none; }
  .hn-menu-btn { display: flex; }

  .hero { padding: 90px 20px 50px; min-height: auto; }
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-logo-img { width: 200px; }
  .hero-cv-preview { display: none; }
  .hero-desc { font-size: 15px; }

  .section-templates { padding: 60px 0; }
  .section-steps { padding: 60px 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-ai { padding: 60px 0; }
  .ai-features-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-features { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-cta { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { justify-content: center; width: 100%; }
  .hero-pills { gap: 6px; }
  .hero-pill { font-size: 11px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .ai-providers { flex-direction: column; }
}

/* ── AUTH PAGES (login, verify) ──────────────────────────────── */
.auth-page {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; padding: 100px 20px 60px; gap: 32px;
  background: var(--navy);
}
.auth-card {
  width: 100%; max-width: 400px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
}
.auth-logo { display: flex; align-items: center; margin-bottom: 28px; justify-content: center; }
.auth-logo-img { height: 44px; width: auto; display: block; }
.auth-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; text-align: center; color: var(--navy); }
.auth-subtitle { font-size: 14px; color: #666; text-align: center; margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-note { font-size: 12px; color: #999; text-align: center; margin-top: 16px; }

/* Fields */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field-input {
  padding: 10px 14px; border: 1.5px solid #e0e0e0;
  border-radius: var(--radius); font-size: 15px; color: var(--navy);
  background: #fff; transition: border-color 0.2s;
  font-family: inherit; outline: none;
}
.field-input:focus { border-color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: opacity 0.2s, transform 0.15s;
  font-family: inherit; text-decoration: none;
}
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover:not(:disabled) { opacity: 0.88; }
.btn-full { width: 100%; }
.btn-spinner { display: flex; }
.hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: #c0392b; border: 1px solid #fecaca; }

/* Auth features list */
.auth-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  width: 100%; max-width: 400px;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.05); border-radius: var(--radius);
  padding: 16px; border: 1px solid rgba(255,255,255,0.08);
}
.feature-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.feature-title { font-size: 13px; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.feature-desc { font-size: 12px; color: rgba(249,242,230,0.55); }

/* Verify page OTP input */
.otp-inputs { display: flex; gap: 8px; justify-content: center; align-items: center; margin-bottom: 4px; }
.otp-digit {
  width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 700;
  border: 2px solid #e0e0e0; border-radius: var(--radius); color: var(--navy);
  background: #fff; outline: none; transition: border-color 0.2s; font-family: inherit;
}
.otp-digit:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,124,0.15); }
.otp-sep { font-size: 20px; color: #ccc; padding: 0 2px; }
.auth-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; }
.link-secondary { color: rgba(249,242,230,0.6); text-decoration: none; }
.link-secondary:hover { color: var(--cream); }
.timer { color: rgba(249,242,230,0.55); }
