/* ============================================================
   MyResume.ie — Brand Stylesheet v1.1
   Navy & Gold palette · DM Sans + Fraunces · Consistent sizing
   ============================================================ */

:root {
  --navy: #00008b;
  --navy-dark: #000070;
  --navy-light: #e8e8f8;
  --gold: #daa520;
  --gold-light: #fdf6e3;
  --dark: #0a0a1a;
  --text: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-muted: #6b7280;
  --white: #ffffff;
  --bg: #faf9f6;
  --radius: 12px;
  --green: #00008b;
  --green-dark: #000070;
  --green-light: #e8e8f8;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a2e;
}


h1:not(#previewFrame h1):not(.preview-frame h1),
h2:not(#previewFrame h2):not(.preview-frame h2),
h3:not(#previewFrame h3):not(.preview-frame h3) {
  font-family: 'Fraunces', serif;
}


.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
}

.section-badge {
  background: var(--navy-light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Buttons */
.btn-primary,
.price-btn.primary,
.cta-btn {
  background: var(--navy) !important;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.25s;
}

.btn-primary:hover,
.price-btn.primary:hover,
.cta-btn:hover {
  background: var(--navy-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 139, 0.25);
}

/* Cards */
.feature-card, .fact-card, .price-card {
  border-radius: var(--radius);
  transition: all 0.3s;
}

.feature-card:hover, .fact-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.price-card.popular {
  border-color: var(--navy) !important;
}
.price-card.popular::before {
  background: var(--navy) !important;
}

.tag.ats {
  background: var(--navy-light);
  color: var(--navy);
}

/* Footer — ensure links are visible on dark bg */
footer a, .footer a {
  color: #9ca3af !important;
  transition: color 0.2s;
}
footer a:hover, .footer a:hover {
  color: var(--gold) !important;
}

/* Hero — ensure text is white on dark backgrounds */
.hero h1 { color: #fff !important; }
.hero p { color: rgba(255,255,255,0.55) !important; }
.hero-badge { color: var(--gold) !important; }
.hero h1 .highlight, .hero h1 .gold { color: var(--gold) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 139, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 139, 0.35); }

/* Selection */
::selection {
  background: rgba(218, 165, 32, 0.2);
  color: var(--dark);
}

/* Secondary buttons — white background, not grey */
.btn-secondary {
  background: #ffffff !important;
  color: var(--navy) !important;
  border-color: rgba(0, 0, 139, 0.2) !important;
}
.btn-secondary:hover {
  background: #ffffff !important;
  border-color: var(--navy) !important;
  color: var(--navy) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 139, 0.12);
}

/* Outline buttons — white background */
.price-btn.outline,
.btn.outline,
.topbar-btn.outline {
  background: #ffffff !important;
}

/* Hero stats — ensure readable on dark bg */
.hero-stats .stat-num,
.hero .stat-num {
  color: var(--gold) !important;
}
.hero-stats .stat-label,
.hero .stat-label {
  color: rgba(255,255,255,0.5) !important;
}

/* Hero badge */
.hero-badge {
  background: rgba(159, 60, 226, 0.1) !important;
  border-color: rgba(159, 60, 226, 0.2) !important;
  color: #9f3ce2 !important;
}

/* Hero — soft lavender gradient */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 50%, #fdf2f8 100%) !important;
}

/* Hero text — dark on light background */
.hero h1 {
  color: var(--dark) !important;
}
.hero h1 .highlight, .hero h1 .gold {
  color: #9f3ce2 !important;
}
.hero p {
  color: #555 !important;
}
.hero-stats .stat-num, .hero .stat-num {
  color: var(--navy) !important;
}
.hero-stats .stat-label, .hero .stat-label {
  color: #777 !important;
}

/* Footer — matching purple */
footer, .footer {
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 50%, #fdf2f8 100%) !important;
  color: #333 !important;
}
footer a, .footer a {
  color: #555 !important;
}
footer a:hover, .footer a:hover {
  color: #9f3ce2 !important;
}
footer h5, .footer h5 {
  color: #999 !important;
}
footer p, .footer p {
  color: #666 !important;
}
footer .footer-bottom, .footer .footer-bottom {
  border-top-color: rgba(0,0,0,0.06) !important;
}
