/* ==========================================================================
   NibResume CV Builder — Landing Page Styling System
   Tailored for High-Conversion, ATS-Compliance Showcase & Vercel Speed
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Canvas & Brand Tones */
  --bg-page: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-paper: #FAF8F5;
  --bg-dark-card: #0F172A;
  --bg-dark-surface: #1E293B;
  
  /* Brand Accent: Brass Gold & Ink Navy */
  --primary-navy: #0F172A;
  --primary-indigo: #4F46E5;
  --brand-gold: #D97706;
  --brand-gold-dark: #B45309;
  --brand-gold-light: #FEF3C7;
  --brand-teal: #0D9488;
  --accent-emerald: #10B981;
  --accent-emerald-light: #ECFDF5;
  --accent-rose: #E11D48;
  
  /* Borders */
  --border-light: #E2E8F0;
  --border-paper: #E5DECE;
  --border-subtle: #F1F5F9;
  --border-dark: rgba(255, 255, 255, 0.1);
  
  /* Text */
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;
  
  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 20px 40px -10px rgba(217, 119, 6, 0.25), 0 8px 16px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Background Atmosphere Mesh */
.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 950px;
  background: 
    radial-gradient(circle at 18% 12%, rgba(217, 119, 6, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 82% 16%, rgba(79, 70, 229, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Floating Pill Navbar */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar-pill {
  width: 100%;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand span {
  background: linear-gradient(135deg, #0F172A 30%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.45);
}

.btn-dark {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

.btn-white {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-full);
  color: #92400E;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-h1 {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.hero-h1 .highlight-gold {
  background: linear-gradient(135deg, #D97706 20%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.55;
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Phone Showcase Centerpiece */
.showcase-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating Badges around mockup */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  text-align: left;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.float-left {
  left: 0;
  top: 18%;
  transform: translateY(-50%);
}

.float-right {
  right: 0;
  bottom: 22%;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon.gold {
  background: #FEF3C7;
  color: #D97706;
}

.float-icon.emerald {
  background: #ECFDF5;
  color: #10B981;
}

.float-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}

.float-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3D Phone Mockup Frame */
.phone-mockup-frame {
  width: 340px;
  height: 680px;
  background: #0F172A;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 
    0 25px 60px -15px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 2px #334155;
  position: relative;
  z-index: 5;
}

.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #000000;
  border-radius: 20px;
  z-index: 30;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #FAF8F5;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #E5DECE;
}

.phone-appbar {
  background: #0F172A;
  color: #FFFFFF;
  padding: 24px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

/* Realistic Mini Resume inside Phone */
.phone-resume-body {
  padding: 14px;
  overflow-y: auto;
  font-size: 11px;
  color: #334155;
  text-align: left;
}

.resume-paper {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mini-resume-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #D97706;
}

.mini-avatar {
  width: 38px;
  height: 49px;
  border-radius: 4px;
  object-fit: cover;
  border: 1.5px solid #D5CFBE;
}

.mini-resume-name {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.mini-resume-role {
  font-size: 10px;
  color: #D97706;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-section-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #0F172A;
  margin-top: 10px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.mini-job-title {
  font-size: 10px;
  font-weight: 700;
  color: #0F172A;
}

.mini-job-company {
  font-size: 9px;
  color: #64748B;
  margin-bottom: 3px;
}

.mini-bullet {
  font-size: 8.5px;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 2px;
}

.mini-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.mini-skill-badge {
  background: #F1F5F9;
  color: #0F172A;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
}

.mini-ats-bottom-card {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #0F172A;
  border-radius: 12px;
  padding: 10px 12px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Sections */
.section {
  padding: 90px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.section-h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon-box.gold {
  background: #FEF3C7;
  color: #D97706;
}

.feature-icon-box.navy {
  background: #E2E8F0;
  color: #0F172A;
}

.feature-icon-box.emerald {
  background: #ECFDF5;
  color: #10B981;
}

.feature-icon-box.indigo {
  background: #EEF2FF;
  color: #4F46E5;
}

.feature-h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.feature-p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 500;
}

/* Interactive Templates Showcase */
.template-section {
  background: #FAF8F5;
  border-top: 1px solid var(--border-paper);
  border-bottom: 1px solid var(--border-paper);
}

.template-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: var(--shadow-sm);
}

.template-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.template-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.template-card.active {
  border-color: var(--brand-gold);
  box-shadow: 0 12px 28px -4px rgba(217, 119, 6, 0.25), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.template-badge-pill {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 10;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.template-card.active .template-badge-pill {
  background: var(--brand-gold);
  color: #FFFFFF;
}

/* Authentic Miniature Resume Paper Canvas */
.template-thumb {
  height: 270px;
  background: #F1F5F9;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  padding: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-paper-canvas {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #E2E8F0;
  padding: 10px;
}

/* Template 1: Modern Zurich (Left Accent Sidebar & Photo) */
.paper-modern {
  display: flex;
  flex-direction: row;
  padding: 0;
  background: #FFFFFF;
}

.paper-modern .modern-sidebar {
  width: 32%;
  background: #FAF8F5;
  border-right: 2px solid #D97706;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.paper-modern .modern-avatar {
  width: 28px;
  height: 36px;
  border-radius: 3px;
  border: 1.5px solid #D5CFBE;
  object-fit: cover;
  margin-bottom: 8px;
}

.paper-modern .modern-contact-line {
  width: 100%;
  height: 3px;
  background: #E2E8F0;
  border-radius: 2px;
  margin-bottom: 4px;
}

.paper-modern .modern-side-heading {
  font-size: 7px;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 4px;
  width: 100%;
  text-align: left;
}

.paper-modern .modern-tag {
  background: #FEF3C7;
  color: #92400E;
  font-size: 6px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  margin-bottom: 2px;
  display: block;
  width: 100%;
  text-align: center;
}

.paper-modern .modern-main {
  width: 68%;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
}

.paper-modern .modern-name {
  font-size: 11px;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.1;
}

.paper-modern .modern-role {
  font-size: 7px;
  font-weight: 800;
  color: #D97706;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.paper-modern .modern-section-title {
  font-size: 7px;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 2px;
  margin-top: 6px;
  margin-bottom: 4px;
}

.paper-modern .modern-job {
  font-size: 7.5px;
  font-weight: 700;
  color: #0F172A;
}

.paper-modern .modern-company {
  font-size: 6.5px;
  color: #64748B;
  margin-bottom: 3px;
}

.paper-modern .modern-bullet {
  font-size: 6px;
  color: #475569;
  line-height: 1.3;
  margin-bottom: 2px;
}

/* Template 2: Minimalist Kyoto (Clean Single Column ATS) */
.paper-minimal {
  padding: 12px 14px;
  background: #FFFFFF;
}

.paper-minimal .minimal-header {
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #0F172A;
  margin-bottom: 8px;
}

.paper-minimal .minimal-name {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #0F172A;
}

.paper-minimal .minimal-role {
  font-size: 7px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.paper-minimal .minimal-contact {
  font-size: 6px;
  color: #94A3B8;
  margin-top: 2px;
}

.paper-minimal .minimal-section-title {
  font-size: 7px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.paper-minimal .minimal-section-title::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: #E2E8F0;
}

.paper-minimal .minimal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.paper-minimal .minimal-job {
  font-size: 7.5px;
  font-weight: 700;
  color: #0F172A;
}

.paper-minimal .minimal-date {
  font-size: 6px;
  color: #64748B;
  font-weight: 600;
}

.paper-minimal .minimal-bullet {
  font-size: 6px;
  color: #475569;
  line-height: 1.35;
  margin-top: 1px;
}

/* Template 3: Executive Harvard (Corporate Navy Top Banner & 2 Columns) */
.paper-executive {
  padding: 0;
  background: #FFFFFF;
}

.paper-executive .exec-top-banner {
  background: #0F172A;
  color: #FFFFFF;
  padding: 8px 10px;
}

.paper-executive .exec-name {
  font-size: 11px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

.paper-executive .exec-role {
  font-size: 6.5px;
  font-weight: 700;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paper-executive .exec-contact-row {
  display: flex;
  gap: 6px;
  font-size: 5.5px;
  color: #CBD5E1;
  margin-top: 2px;
}

.paper-executive .exec-body-grid {
  display: flex;
  flex: 1;
  padding: 8px;
  gap: 8px;
}

.paper-executive .exec-col-left {
  width: 35%;
  background: #F8FAFC;
  border-radius: 4px;
  padding: 6px;
  border: 1px solid #E2E8F0;
}

.paper-executive .exec-col-right {
  width: 65%;
  padding: 2px 4px;
}

.paper-executive .exec-sec-title {
  font-size: 6.5px;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  margin-bottom: 3px;
  padding-bottom: 1px;
  border-bottom: 1.5px solid #0F172A;
}

.paper-executive .exec-bullet {
  font-size: 6px;
  color: #334155;
  line-height: 1.3;
  margin-bottom: 2px;
}

/* Template 4: Classic Oxford (Archival Serif & Dual Rules) */
.paper-classic {
  padding: 10px 12px;
  background: #FAF8F5;
  font-family: 'Playfair Display', Georgia, serif;
}

.paper-classic .classic-header {
  text-align: center;
  margin-bottom: 6px;
}

.paper-classic .classic-name {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.5px;
}

.paper-classic .classic-role {
  font-size: 6.5px;
  font-style: italic;
  color: #854D0E;
  margin-top: 1px;
}

.paper-classic .classic-rule-double {
  border-top: 1.5px solid #854D0E;
  border-bottom: 0.5px solid #854D0E;
  height: 2px;
  margin: 4px 0 6px;
}

.paper-classic .classic-sec-title {
  font-size: 7px;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
  margin-bottom: 2px;
}

.paper-classic .classic-job {
  font-size: 7px;
  font-weight: 700;
  color: #0F172A;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.paper-classic .classic-company {
  font-size: 6px;
  font-style: italic;
  color: #64748B;
  margin-bottom: 2px;
}

.paper-classic .classic-bullet {
  font-size: 5.8px;
  color: #475569;
  line-height: 1.3;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 2px;
}

.template-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.template-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.template-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.template-select-indicator {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ATS Intelligent AI Spotlight */
.ats-spotlight {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.ats-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-full);
  color: #FCD34D;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.ats-h3 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ats-p {
  font-size: 16px;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ats-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ats-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #E2E8F0;
  font-weight: 600;
}

.ats-preview-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ats-score-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ats-number {
  font-size: 38px;
  font-weight: 900;
  color: #10B981;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #CBD5E1;
}

.faq-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: #FEF3C7;
  color: #D97706;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Bottom CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 70px;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.cta-banner p {
  font-size: 18px;
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  background: #FFFFFF;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
}

.footer-h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* Legal Documents Layout (Privacy, Terms, About) */
.legal-card-light {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 50px;
  margin: 120px auto 70px;
  max-width: 860px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.legal-card-light h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.legal-card-light h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 32px 0 12px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.legal-card-light p, .legal-card-light li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-card-light ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-h1 {
    font-size: 44px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .template-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ats-spotlight {
    grid-template-columns: 1fr;
  }
  .float-card {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-h1 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .template-cards-grid {
    grid-template-columns: 1fr;
  }
  .phone-mockup-frame {
    width: 300px;
    height: 600px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .legal-card-light {
    padding: 28px 20px;
  }
}
