/* ============================================
   简历工坊 · Design System
   Style: Apple-inspired · White · Blue · Clean
   ============================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  background: #fff;
  color: #1d1d1f;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Tokens --- */
:root {
  --blue: #0066CC;
  --blue-hover: #0055aa;
  --blue-light: #f0f5ff;
  --blue-mid: #cce0ff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --bg: #ffffff;
  --bg-gray: #f5f5f7;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.16);
}

/* --- Layout --- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-gray { background: var(--bg-gray); }

/* ============================================
   ANIMATIONS
   ============================================ */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate.visible { opacity: 1; transform: translateY(0); }
.animate-d1 { transition-delay: 0.08s; }
.animate-d2 { transition-delay: 0.16s; }
.animate-d3 { transition-delay: 0.24s; }
.animate-d4 { transition-delay: 0.32s; }
.animate-d5 { transition-delay: 0.40s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 52px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-color: var(--border-light); }
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  font-size: 14px; font-weight: 500;
  background: var(--blue); color: #fff !important;
  padding: 7px 18px; border-radius: 980px;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: var(--blue-hover); transform: scale(1.02); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 120px; padding-bottom: 0;
  text-align: center;
  background: #fff;
  overflow: hidden;
}
.hero-content { max-width: 700px; margin: 0 auto; padding: 0 24px 60px; }

.badge {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: 5px 14px; border-radius: 980px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.5px;
  color: var(--text);
  margin-bottom: 22px;
}
.blue-text { color: var(--blue); }
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: -0.2px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 500;
  padding: 13px 28px; border-radius: 980px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,102,204,0.28);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0,102,204,0.38);
}
.btn-secondary {
  background: var(--bg-gray); color: var(--text);
  font-size: 16px; font-weight: 500;
  padding: 13px 28px; border-radius: 980px;
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: #eaeaec; transform: scale(1.02); }

/* --- Product Mockup --- */
.mockup-wrap {
  max-width: 960px; margin: 0 auto;
  padding: 0 24px;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.14));
}
.browser-chrome {
  background: #e8e8ed;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid #d2d2d7;
}
.browser-dots { display: flex; gap: 7px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.browser-url {
  flex: 1; text-align: center;
  font-size: 12px; color: #6e6e73; font-weight: 500;
  background: rgba(255,255,255,0.6); padding: 4px 12px;
  border-radius: 6px;
}
.browser-body {
  background: #f5f5f7;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  height: 440px;
}

/* Mini builder inside mockup */
.mini-builder { display: flex; height: 100%; }
.mini-sidebar {
  width: 200px; background: #fff; border-right: 1px solid var(--border-light);
  padding: 16px 14px; overflow: hidden; flex-shrink: 0;
}
.mini-logo { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.mini-steps { margin-bottom: 16px; }
.mini-step {
  font-size: 11px; padding: 5px 8px; border-radius: 6px;
  color: var(--text-3); margin-bottom: 3px; cursor: default;
}
.mini-step.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.mini-label { font-size: 10px; font-weight: 600; color: var(--text-3); margin: 8px 0 3px; }
.mini-input {
  font-size: 11px; background: var(--bg-gray); border: 1px solid var(--border-light);
  border-radius: 5px; padding: 4px 8px; color: var(--text); margin-bottom: 2px;
}
.mini-preview { flex: 1; background: #e2e8f0; display: flex; align-items: flex-start; justify-content: center; padding: 20px; overflow: hidden; }
.mini-resume {
  background: #fff; width: 100%; max-width: 360px;
  padding: 20px; border-radius: 4px;
  box-shadow: var(--shadow); font-size: 7px;
  line-height: 1.5; color: var(--text);
}
.mr-header { text-align: center; padding-bottom: 10px; border-bottom: 1.5px solid var(--blue); margin-bottom: 10px; }
.mr-name { font-size: 14px; font-weight: 800; letter-spacing: 0.5px; }
.mr-title { font-size: 8px; color: var(--blue); font-weight: 600; margin: 2px 0; }
.mr-contact { font-size: 6.5px; color: var(--text-2); }
.mr-divider { height: 0; }
.mr-section { margin-bottom: 8px; }
.mr-section-title {
  font-size: 6.5px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.8px;
  border-bottom: 1px solid var(--blue-light);
  padding-bottom: 2px; margin-bottom: 5px;
}
.mr-entry { margin-bottom: 4px; }
.mr-entry-row { display: flex; justify-content: space-between; font-size: 7px; }
.mr-entry-row strong { font-weight: 700; }
.mr-entry-row span { color: var(--text-2); font-size: 6px; }
.mr-entry-sub { font-size: 6px; color: var(--text-2); margin-bottom: 2px; }
.mr-entry-desc { font-size: 6px; color: #555; }
.mr-skills { display: flex; flex-wrap: wrap; gap: 3px; }
.mr-skills span { background: var(--blue-light); color: var(--blue); font-size: 6px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }

/* Hero stats */
.hero-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; padding: 32px 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.5px; }
.stat-item span { font-size: 13px; color: var(--text-2); }
.stat-divider { width: 1px; height: 32px; background: var(--border-light); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1.5px;
  color: var(--text); margin-bottom: 14px;
  line-height: 1.1;
}
.section-header p { font-size: 17px; color: var(--text-2); font-weight: 300; max-width: 520px; margin: 0 auto; }

/* ============================================
   TEMPLATES
   ============================================ */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.template-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
}
.template-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--blue);
}
.tpl-tag {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  font-size: 11px; font-weight: 700;
  background: var(--blue); color: #fff;
  padding: 3px 10px; border-radius: 980px;
}
.tpl-thumb {
  height: 280px; overflow: hidden; position: relative;
  padding: 16px; font-size: 7px; line-height: 1.4;
}
.tpl-info { padding: 20px 22px; border-top: 1px solid var(--border-light); }
.tpl-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.tpl-info p { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.btn-use-tpl {
  font-size: 13px; font-weight: 600; color: var(--blue);
  transition: letter-spacing 0.2s;
}
.btn-use-tpl:hover { letter-spacing: 0.3px; }

/* Template: Classic */
.tpl-classic { background: #fff; }
.tpl-c-header { text-align: center; padding-bottom: 8px; border-bottom: 1.5px solid var(--blue); margin-bottom: 8px; }
.tpl-c-name { font-size: 15px; font-weight: 800; letter-spacing: 0.5px; }
.tpl-c-title { font-size: 7.5px; color: var(--blue); font-weight: 600; margin: 2px 0; }
.tpl-c-contact { font-size: 6px; color: var(--text-2); }
.tpl-c-line { height: 0; }
.tpl-c-section { font-size: 6.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.8px; border-bottom: 1px solid #dbeafe; padding-bottom: 2px; margin: 7px 0 4px; }
.tpl-c-entry { font-size: 6.5px; margin-bottom: 3px; }
.tpl-c-entry b { font-weight: 700; color: var(--text); }
.tpl-c-entry span.fr { float: right; color: var(--text-2); font-size: 6px; }
.tpl-c-entry small { color: var(--text-2); font-size: 6px; display: block; margin-top: 1px; }
.tpl-c-skills { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.tpl-c-skills span { background: #eff6ff; color: var(--blue); font-size: 6px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }

/* Template: Modern */
.tpl-modern { display: flex; padding: 0; height: 280px; }
.tpl-m-left { width: 100px; background: #1e293b; color: #fff; padding: 14px 10px; flex-shrink: 0; overflow: hidden; }
.tpl-m-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; margin: 0 auto 6px; }
.tpl-m-name { font-size: 9px; font-weight: 700; text-align: center; }
.tpl-m-job { font-size: 6px; color: #94a3b8; text-align: center; margin-bottom: 10px; }
.tpl-m-sep { height: 1px; background: #334155; margin: 6px 0; }
.tpl-m-label { font-size: 6px; font-weight: 700; color: #60a5fa; text-transform: uppercase; letter-spacing: 0.5px; margin: 7px 0 3px; }
.tpl-m-val { font-size: 5.5px; color: #cbd5e1; margin-bottom: 2px; word-break: break-all; }
.tpl-m-skill-row { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; font-size: 5.5px; color: #cbd5e1; }
.tpl-m-bar { flex: 1; height: 3px; background: #334155; border-radius: 2px; }
.tpl-m-bar div { height: 100%; background: #3b82f6; border-radius: 2px; }
.tpl-m-right { flex: 1; padding: 14px 12px; overflow: hidden; }
.tpl-m-section { font-size: 7px; font-weight: 700; border-bottom: 1.5px solid var(--blue); padding-bottom: 3px; margin: 8px 0 6px; color: var(--text); }
.tpl-m-entry { font-size: 6.5px; margin-bottom: 5px; }
.tpl-m-entry b { font-weight: 700; }
.tpl-m-entry small { color: var(--text-2); font-size: 6px; }
.tpl-m-entry tiny { color: #888; font-size: 5.5px; display: block; margin-top: 1px; }

/* Template: Minimal */
.tpl-minimal { background: #fff; }
.tpl-min-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.tpl-min-name { font-size: 16px; font-weight: 900; letter-spacing: -0.5px; color: #000; }
.tpl-min-job { font-size: 7px; color: var(--text-2); margin-top: 2px; }
.tpl-min-right { text-align: right; font-size: 5.5px; color: var(--text-2); line-height: 1.8; }
.tpl-min-line { height: 1.5px; background: #000; margin-bottom: 10px; }
.tpl-min-row-sec { display: flex; gap: 10px; margin-bottom: 8px; }
.tpl-min-label { width: 60px; font-size: 5.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #000; padding-top: 1px; flex-shrink: 0; }
.tpl-min-body { flex: 1; }
.tpl-min-entry { margin-bottom: 4px; }
.tpl-min-erow { display: flex; justify-content: space-between; font-size: 6.5px; font-weight: 600; }
.tpl-min-erow span { color: var(--text-2); font-weight: 400; font-size: 6px; }
.tpl-min-entry small { font-size: 6px; color: var(--text-2); }
.tpl-min-body small { font-size: 6px; color: var(--text-2); }

/* Template: Elegant */
.tpl-elegant { background: #fafaf8; }
.tpl-e-top { text-align: center; margin-bottom: 8px; }
.tpl-e-line { height: 1px; background: #8b7355; }
.tpl-e-name { font-size: 14px; font-weight: 700; letter-spacing: 3px; color: #2d1a0e; font-family: Georgia, serif; margin: 8px 0 3px; }
.tpl-e-pos { font-size: 6.5px; color: #8b7355; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.tpl-e-contact { text-align: center; font-size: 6px; color: #8b7355; margin-bottom: 10px; }
.tpl-e-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tpl-e-sec { font-size: 6px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8b7355; border-bottom: 1px solid #d4c4a8; padding-bottom: 3px; margin-bottom: 5px; }
.tpl-e-entry { font-size: 6px; color: #3d2b1f; line-height: 1.7; }
.tpl-e-entry b { font-weight: 700; font-size: 6.5px; }
.tpl-e-entry small, .tpl-e-entry tiny { color: #8b7355; font-size: 5.5px; display: block; }

/* More row */
.more-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.more-row span { font-size: 15px; color: var(--text-2); }
.btn-more {
  font-size: 15px; font-weight: 500; color: var(--blue);
  transition: letter-spacing 0.2s;
}
.btn-more:hover { letter-spacing: 0.3px; }

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ============================================
   STEPS
   ============================================ */
.steps-row {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 200px; max-width: 260px;
  background: var(--bg-gray); border-radius: var(--radius);
  padding: 32px 28px; text-align: center;
}
.step-num {
  font-size: 13px; font-weight: 700; color: var(--blue);
  background: var(--blue-light); border-radius: 980px;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; letter-spacing: 0;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.step-arrow { font-size: 24px; color: var(--border); flex-shrink: 0; }

/* ============================================
   PRICING
   ============================================ */
.billing-toggle {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; margin-bottom: 52px;
}
.billing-opt { font-size: 15px; font-weight: 400; color: var(--text-2); cursor: pointer; transition: color 0.2s; }
.billing-opt.active { color: var(--text); font-weight: 600; }
.toggle-track {
  width: 44px; height: 26px; background: var(--blue); border-radius: 980px;
  position: relative; cursor: pointer;
}
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: #fff; border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.save-tag {
  display: inline-block; font-style: normal;
  font-size: 11px; font-weight: 700;
  background: #34c759; color: #fff;
  padding: 2px 8px; border-radius: 980px; margin-left: 5px;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; align-items: start;
}
.pricing-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px 32px; position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.card-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
  transform: scale(1.03);
}
.plan-best {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 18px; border-radius: 980px; white-space: nowrap;
}
.plan-label { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-price-wrap { margin-bottom: 8px; }
.plan-price { font-size: 44px; font-weight: 800; color: var(--text); letter-spacing: -2px; }
.plan-period { font-size: 15px; color: var(--text-2); font-weight: 400; }
.plan-desc { font-size: 13px; color: var(--text-2); margin-bottom: 20px; line-height: 1.5; }
.plan-divider { height: 1px; background: var(--border-light); margin-bottom: 20px; }
.plan-list { margin-bottom: 28px; }
.plan-list li { font-size: 14px; padding: 6px 0; color: var(--text); display: flex; align-items: center; gap: 8px; }
.plan-list li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.plan-list li.yes::before { content: '✓'; background: #34c759; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.plan-list li.no { color: var(--text-3); }
.plan-list li.no::before { content: '–'; background: var(--bg-gray); color: var(--text-3); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.btn-plan-primary {
  display: block; text-align: center;
  background: var(--blue); color: #fff;
  padding: 13px; border-radius: 980px;
  font-size: 15px; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.btn-plan-primary:hover { background: var(--blue-hover); transform: scale(1.02); }
.btn-plan-ghost {
  display: block; text-align: center;
  background: var(--bg-gray); color: var(--text);
  padding: 13px; border-radius: 980px;
  font-size: 15px; font-weight: 600; border: 1px solid var(--border);
  transition: background 0.2s, transform 0.15s;
}
.btn-plan-ghost:hover { background: #eaeaec; transform: scale(1.02); }
.pricing-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--text-3); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testimonial-card {
  background: var(--bg-gray); border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.t-stars { font-size: 16px; color: #ff9f0a; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.t-author strong { font-size: 14px; font-weight: 600; }
.t-author small { font-size: 12px; color: var(--text-2); }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: var(--text);
  padding: 100px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 800;
  color: #fff; letter-spacing: -1.5px; margin-bottom: 14px;
}
.cta-section p { font-size: 17px; color: #86868b; margin-bottom: 40px; font-weight: 300; }
.btn-cta {
  display: inline-block;
  background: #fff; color: var(--text);
  font-size: 17px; font-weight: 600;
  padding: 16px 40px; border-radius: 980px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-cta:hover { background: #f0f0f0; transform: scale(1.02); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #1d1d1f; padding: 60px 0 32px; }
.footer-row { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-brand .logo { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: #6e6e73; max-width: 220px; }
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.fn-col { display: flex; flex-direction: column; gap: 10px; }
.fn-col h4 { font-size: 12px; font-weight: 600; color: #6e6e73; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.fn-col a { font-size: 13px; color: #6e6e73; transition: color 0.2s; }
.fn-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2d2d2f; padding-top: 24px; }
.footer-bottom p { font-size: 12px; color: #6e6e73; text-align: center; }

/* ============================================
   BUILDER PAGE (builder.html)
   ============================================ */
.builder-page { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.builder-topbar {
  height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; gap: 16px;
}
.builder-topbar .logo { font-size: 15px; font-weight: 700; color: var(--text); }
.tpl-switcher { display: flex; gap: 6px; }
.tpl-btn {
  padding: 5px 13px; border-radius: 980px;
  font-size: 12px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--border); background: #fff; color: var(--text-2);
  transition: all 0.2s;
}
.tpl-btn.active { border-color: var(--blue); color: var(--blue); background: var(--blue-light); font-weight: 600; }
.tpl-btn:hover:not(.active) { border-color: var(--text-2); color: var(--text); }
.btn-download {
  padding: 8px 20px; border-radius: 980px;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 600; border: none; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.btn-download:hover { background: var(--blue-hover); }
.builder-body { flex: 1; display: flex; overflow: hidden; }

/* Sidebar */
.builder-sidebar {
  width: 360px; flex-shrink: 0;
  background: #fff; border-right: 1px solid var(--border-light);
  display: flex; flex-direction: column; overflow: hidden;
}
.builder-steps {
  padding: 12px 14px; border-bottom: 1px solid var(--border-light);
  display: flex; gap: 4px; overflow-x: auto; flex-shrink: 0;
}
.builder-steps::-webkit-scrollbar { display: none; }
.step-pill {
  flex-shrink: 0; padding: 5px 12px; border-radius: 980px;
  font-size: 12px; font-weight: 500; cursor: pointer; border: none;
  background: transparent; color: var(--text-2); transition: all 0.2s;
}
.step-pill.active { background: var(--blue); color: #fff; }
.step-pill:hover:not(.active) { background: var(--bg-gray); color: var(--text); }
.builder-form { flex: 1; overflow-y: auto; padding: 20px 18px; }
.builder-form::-webkit-scrollbar { width: 4px; }
.builder-form::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.form-sec { display: none; }
.form-sec.active { display: block; }
.form-sec h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 4px; }
.form-sec .form-note { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; }
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  background: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fg input:focus, .fg textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.fg textarea { resize: vertical; min-height: 72px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entry-block {
  background: var(--bg-gray); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 10px;
  border: 1px solid var(--border-light);
}
.entry-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.entry-block-head span { font-size: 13px; font-weight: 700; color: var(--text); }
.btn-remove { background: none; border: none; color: #ff3b30; cursor: pointer; font-size: 16px; line-height: 1; padding: 2px; }
.btn-add-entry {
  width: 100%; padding: 9px; border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm); background: none; color: var(--blue);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 6px;
}
.btn-add-entry:hover { border-color: var(--blue); background: var(--blue-light); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; min-height: 10px; }
.skill-tag {
  background: var(--blue-light); color: var(--blue);
  padding: 4px 10px; border-radius: 980px;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.skill-tag button { background: none; border: none; color: var(--blue); cursor: pointer; font-size: 13px; line-height: 1; padding: 0; opacity: 0.6; }
.skill-tag button:hover { opacity: 1; }
.skill-add-row { display: flex; gap: 8px; }
.skill-add-row input { flex: 1; }
.skill-add-row button {
  padding: 9px 16px; background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; font-weight: 600; white-space: nowrap; transition: background 0.2s;
}
.skill-add-row button:hover { background: var(--blue-hover); }
.builder-footer {
  padding: 14px 18px; border-top: 1px solid var(--border-light);
  display: flex; gap: 10px; flex-shrink: 0;
}
.btn-prev, .btn-next {
  padding: 10px 18px; border-radius: 980px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.2s;
}
.btn-prev { background: var(--bg-gray); color: var(--text); border: 1px solid var(--border); }
.btn-prev:hover { background: #eaeaec; }
.btn-next { background: var(--blue); color: #fff; flex: 1; }
.btn-next:hover { background: var(--blue-hover); }

/* Preview */
.builder-preview {
  flex: 1; background: #e8e8ed;
  display: flex; flex-direction: column; overflow: hidden;
}
.preview-area {
  flex: 1; overflow-y: auto; padding: 32px;
  display: flex; justify-content: center;
}
.preview-area::-webkit-scrollbar { width: 4px; }
.preview-area::-webkit-scrollbar-thumb { background: #c0c0c0; border-radius: 2px; }
.resume-paper {
  width: 794px; min-height: 1123px; background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  flex-shrink: 0; overflow: hidden;
}

/* ============================================
   RESUME TEMPLATES (in builder)
   ============================================ */
/* Classic */
.resume-classic { padding: 52px 56px; font-family: inherit; }
.resume-classic .rh { text-align: center; padding-bottom: 20px; border-bottom: 2px solid var(--blue); margin-bottom: 24px; }
.resume-classic .rh-name { font-size: 30px; font-weight: 800; letter-spacing: 0.5px; }
.resume-classic .rh-title { font-size: 13px; color: var(--blue); font-weight: 600; margin: 5px 0; }
.resume-classic .rh-contact { font-size: 12px; color: var(--text-2); }
.resume-classic .rh-contact span { margin: 0 8px; }
.resume-classic .rs { margin-bottom: 22px; }
.resume-classic .rs-title { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #dbeafe; padding-bottom: 5px; margin-bottom: 12px; }
.resume-classic .re { margin-bottom: 14px; }
.resume-classic .re-head { display: flex; justify-content: space-between; align-items: baseline; }
.resume-classic .re-role { font-weight: 700; font-size: 14px; }
.resume-classic .re-date { font-size: 12px; color: var(--text-2); }
.resume-classic .re-org { font-size: 12px; color: var(--text-2); margin-bottom: 4px; }
.resume-classic .re-desc { font-size: 12px; color: #475569; line-height: 1.65; }
.resume-classic .rs-skills { display: flex; flex-wrap: wrap; gap: 7px; }
.resume-classic .rs-skill { background: #eff6ff; color: var(--blue); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.resume-classic .rs-summary { font-size: 13px; color: #475569; line-height: 1.7; }

/* Modern */
.resume-modern { display: flex; min-height: 1123px; }
.resume-modern .rm-sidebar { width: 240px; background: #1e293b; color: #fff; padding: 44px 28px; flex-shrink: 0; }
.resume-modern .rm-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; margin: 0 auto 16px; }
.resume-modern .rm-name { font-size: 18px; font-weight: 800; text-align: center; line-height: 1.2; }
.resume-modern .rm-title { font-size: 12px; color: #94a3b8; text-align: center; margin: 5px 0 28px; }
.resume-modern .rm-sec { font-size: 10px; font-weight: 700; color: #60a5fa; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #334155; padding-bottom: 5px; margin: 20px 0 10px; }
.resume-modern .rm-citem { font-size: 11px; color: #cbd5e1; margin-bottom: 5px; word-break: break-all; }
.resume-modern .rm-skill { margin-bottom: 9px; }
.resume-modern .rm-sname { font-size: 11px; color: #cbd5e1; margin-bottom: 3px; }
.resume-modern .rm-sbar { height: 4px; background: #334155; border-radius: 2px; }
.resume-modern .rm-sfill { height: 100%; background: #3b82f6; border-radius: 2px; }
.resume-modern .rm-main { flex: 1; padding: 44px 40px; }
.resume-modern .rs { margin-bottom: 26px; }
.resume-modern .rs-title { font-size: 13px; font-weight: 700; border-bottom: 2px solid var(--blue); padding-bottom: 6px; margin-bottom: 16px; letter-spacing: 0.3px; }
.resume-modern .re { margin-bottom: 16px; }
.resume-modern .re-head { display: flex; justify-content: space-between; }
.resume-modern .re-role { font-weight: 700; font-size: 13px; }
.resume-modern .re-date { font-size: 11px; color: var(--text-2); }
.resume-modern .re-org { font-size: 12px; color: var(--blue); font-weight: 600; margin-bottom: 3px; }
.resume-modern .re-desc { font-size: 12px; color: #475569; line-height: 1.65; }
.resume-modern .rs-summary { font-size: 12px; color: #475569; line-height: 1.7; }

/* Minimal */
.resume-minimal { padding: 60px 72px; }
.resume-minimal .rh { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.resume-minimal .rh-name { font-size: 36px; font-weight: 900; letter-spacing: -1.5px; color: #000; }
.resume-minimal .rh-title { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.resume-minimal .rh-right { text-align: right; }
.resume-minimal .rh-citem { font-size: 12px; color: var(--text-2); margin-bottom: 3px; }
.resume-minimal .rm-divider { height: 2px; background: #000; margin-bottom: 32px; }
.resume-minimal .rs { display: flex; gap: 40px; margin-bottom: 28px; }
.resume-minimal .rs-label { width: 110px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #000; padding-top: 2px; flex-shrink: 0; }
.resume-minimal .rs-body { flex: 1; }
.resume-minimal .re { margin-bottom: 14px; }
.resume-minimal .re-head { display: flex; justify-content: space-between; }
.resume-minimal .re-role { font-weight: 700; font-size: 13px; }
.resume-minimal .re-date { font-size: 12px; color: var(--text-2); }
.resume-minimal .re-org { font-size: 12px; color: var(--text-2); margin-bottom: 3px; }
.resume-minimal .re-desc { font-size: 12px; color: #475569; line-height: 1.65; }
.resume-minimal .rs-skills-txt { font-size: 13px; color: #475569; }
.resume-minimal .rs-summary { font-size: 13px; color: #475569; line-height: 1.7; }

/* Elegant */
.resume-elegant { padding: 56px 60px; background: #fafaf8; min-height: 1123px; font-family: Georgia, 'Times New Roman', serif; }
.resume-elegant .rh { text-align: center; margin-bottom: 28px; }
.resume-elegant .re-line { height: 1px; background: #8b7355; }
.resume-elegant .rh-name { font-size: 32px; font-weight: 700; letter-spacing: 4px; color: #2d1a0e; margin: 14px 0 6px; }
.resume-elegant .rh-title { font-size: 12px; color: #8b7355; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.resume-elegant .rh-contact { font-size: 12px; color: #8b7355; margin: 14px 0 28px; }
.resume-elegant .rh-contact span { margin: 0 10px; }
.resume-elegant .rs { margin-bottom: 24px; }
.resume-elegant .rs-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8b7355; border-bottom: 1px solid #d4c4a8; padding-bottom: 6px; margin-bottom: 14px; }
.resume-elegant .re { margin-bottom: 14px; }
.resume-elegant .re-head { display: flex; justify-content: space-between; }
.resume-elegant .re-role { font-weight: 700; font-size: 14px; color: #2d1a0e; }
.resume-elegant .re-date { font-size: 12px; color: #8b7355; font-style: italic; }
.resume-elegant .re-org { font-size: 12px; color: #8b7355; margin-bottom: 4px; }
.resume-elegant .re-desc { font-size: 12px; color: #5c4a37; line-height: 1.7; }
.resume-elegant .rs-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.resume-elegant .rs-skill { border: 1px solid #d4c4a8; color: #8b7355; padding: 4px 14px; font-size: 12px; }
.resume-elegant .rs-summary { font-size: 13px; color: #5c4a37; line-height: 1.8; font-style: italic; }

/* ============================================
   PRINT
   ============================================ */
@media print {
  .builder-topbar, .builder-sidebar { display: none !important; }
  .builder-preview { overflow: visible !important; }
  .preview-area { padding: 0 !important; background: none !important; }
  .resume-paper { box-shadow: none !important; width: 100% !important; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .template-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .card-featured { transform: none; }
}
@media (max-width: 600px) {
  .template-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .mini-builder { flex-direction: column; }
  .mini-sidebar { width: 100%; height: auto; }
}
