/* ============================================================
   FreedomHub — Custom CSS
   Works alongside Tailwind CSS CDN
   Brand: Gold #b89b5e | Charcoal #0e0e10 | Cream #f8f4f0
   Font: League Spartan (Google Fonts)
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  --gold: #b89b5e;
  --gold-light: #cdb87a;
  --gold-dark: #9a7f47;
  --charcoal: #0e0e10;
  --charcoal-light: #1a1a1e;
  --charcoal-mid: #2a2a2e;
  --cream: #f8f4f0;
  --cream-dark: #ede9e4;
  --white: #ffffff;
  --text-muted: #888888;
  --text-body: #444444;
  --text-light: #b0a898;
  --border-light: #e8e4e0;
  --border-dark: #2a2a2c;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 8px 32px rgba(184, 155, 94, 0.25);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   Base Reset & Global
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.75;
}

.eyebrow {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* ============================================================
   Layout & Container
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

section.section--lg {
  padding: 7rem 0;
}

section.section--sm {
  padding: 3rem 0;
}

/* ============================================================
   Navigation
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(14, 14, 16, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.875rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-main);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-logo span {
  color: var(--gold);
}

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

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA Button */
.nav-cta {
  font-family: var(--font-main) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  padding: 0.625rem 1.375rem !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--charcoal) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--charcoal);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
}

.mobile-menu-links li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-menu-links li:first-child {
  border-top: 1px solid var(--border-dark);
}

.mobile-menu-links a {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  padding: 1.25rem 2rem;
  display: block;
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu-links a:hover {
  color: var(--gold);
  padding-left: 2.75rem;
}

.mobile-menu-cta {
  margin-top: 2.5rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 1rem 2.25rem;
  display: inline-block;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Gold filled button */
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--charcoal);
}

/* Gold outline button */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Dark filled button */
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border: 2px solid var(--charcoal);
}

.btn-dark:hover {
  background: var(--charcoal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* White button (on dark backgrounds) */
.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--charcoal);
}

/* Small button variant */
.btn-sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
}

/* Large button variant */
.btn-lg {
  font-size: 1.125rem;
  padding: 1.25rem 2.75rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(184, 155, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(184, 155, 94, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-microtrust {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: scrollBounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.scroll-indicator svg {
  color: var(--gold);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.card--dark {
  background: var(--charcoal-light);
  border: 1px solid var(--border-dark);
}

.card--dark:hover {
  border-color: var(--gold);
}

.card--gold-top {
  border-top: 3px solid var(--gold);
}

.card--featured {
  background: var(--gold);
  color: var(--charcoal);
  border: none;
}

.card--featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

/* Card icon */
.card-icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 155, 94, 0.1);
  border: 1px solid rgba(184, 155, 94, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* ============================================================
   Animated Links
   ============================================================ */
.link-animated {
  position: relative;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.link-animated:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   Sections — Colour Variants
   ============================================================ */
.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section-cream {
  background: var(--cream);
  color: var(--charcoal);
}

.section-gold {
  background: var(--gold);
  color: var(--charcoal);
}

.section-white {
  background: var(--white);
  color: var(--charcoal);
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: var(--text-light);
}

/* ============================================================
   Grid Layouts
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.section-dark .faq-item {
  border-bottom-color: var(--border-dark);
}

.section-dark .faq-item:first-child {
  border-top-color: var(--border-dark);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
  gap: 1.5rem;
  user-select: none;
  transition: color var(--transition);
}

.section-dark .faq-question {
  color: var(--cream);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition), background var(--transition);
}

.faq-icon svg {
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--charcoal);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

.section-dark .faq-answer-inner {
  color: var(--text-light);
}

/* ============================================================
   Testimonial Cards
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.section-dark .testimonial-card {
  background: var(--charcoal-light);
  border-color: var(--border-dark);
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  padding-top: 1.5rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.section-dark .testimonial-quote {
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--charcoal);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.125rem;
}

.section-dark .testimonial-name {
  color: var(--cream);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   Lead Magnet / CTA Forms
   ============================================================ */
.form-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-input {
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 0.9375rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--white);
  color: var(--charcoal);
  flex: 1;
  min-width: 180px;
  transition: border-color var(--transition);
}

.form-input:focus {
  border-color: var(--gold);
}

.form-input::placeholder {
  color: #aaa;
}

.section-dark .form-input {
  background: var(--charcoal-light);
  border-color: var(--border-dark);
  color: var(--cream);
}

.section-dark .form-input:focus {
  border-color: var(--gold);
}

.form-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  text-align: center;
}

/* ============================================================
   Offer Ladder
   ============================================================ */
.offer-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.offer-step:last-child {
  border-bottom: none;
}

.offer-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--gold);
  flex-shrink: 0;
}

.offer-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.375rem;
}

.offer-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.offer-step-body {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.875rem;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(184, 155, 94, 0.2);
  border-bottom: 1px solid rgba(184, 155, 94, 0.2);
}

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

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ============================================================
   Blog Cards
   ============================================================ */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.blog-pillar-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  display: inline-block;
}

.tag-be { background: rgba(184, 155, 94, 0.15); color: var(--gold); border: 1px solid rgba(184, 155, 94, 0.4); }
.tag-build { background: rgba(14, 14, 16, 0.08); color: var(--charcoal); border: 1px solid rgba(14, 14, 16, 0.15); }
.tag-automate { background: rgba(100, 100, 120, 0.1); color: #666; border: 1px solid rgba(100, 100, 120, 0.2); }

.blog-read-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-card h3 {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card-footer {
  margin-top: auto;
}

/* ============================================================
   Blog Post Page
   ============================================================ */
.blog-post-header {
  background: var(--charcoal);
  padding: 8rem 0 5rem;
  text-align: center;
}

.blog-post-title {
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.blog-post-body h2 {
  font-size: 1.75rem;
  color: var(--charcoal);
  margin: 3rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.blog-post-body h3 {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin: 2rem 0 0.875rem;
}

.blog-post-body p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.blog-post-body ul, .blog-post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-body li {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.blog-post-body strong {
  color: var(--charcoal);
  font-weight: 700;
}

.blog-post-body hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 3rem 0;
}

.blog-post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(184, 155, 94, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-post-body blockquote p {
  font-style: italic;
  color: var(--charcoal);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Author box */
.author-box {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 3rem 0;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--charcoal);
  flex-shrink: 0;
}

.author-box-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.author-box-role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.author-box-bio {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* CTA box in blog post */
.post-cta-box {
  background: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.post-cta-box h3 {
  color: var(--cream);
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
}

.post-cta-box p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--charcoal);
  padding: 5rem 0 2.5rem;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
  display: inline-block;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.875rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 155, 94, 0.1);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ============================================================
   Scroll-triggered Fade In Animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Photo Placeholders
   ============================================================ */
.photo-placeholder {
  background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal-mid) 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  gap: 0.75rem;
  min-height: 420px;
  border: 2px dashed rgba(184, 155, 94, 0.3);
}

.photo-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  max-width: 200px;
}

/* ============================================================
   Notification Toast
   ============================================================ */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
}

#toast.show {
  transform: translateX(0);
}

#toast.success { border-left-color: #4ade80; }
#toast.error { border-left-color: #f87171; }

/* ============================================================
   Pricing Table
   ============================================================ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
}

.pricing-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid var(--border-dark);
}

.pricing-table td {
  padding: 1rem;
  font-size: 0.925rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-dark);
}

.pricing-table tbody tr:hover td {
  background: rgba(255,255,255,0.02);
}

.pricing-table td:first-child {
  font-weight: 600;
  color: var(--cream);
}

.pricing-table td:last-child {
  color: var(--gold);
  font-weight: 700;
}

/* ============================================================
   Loading Animation
   ============================================================ */
#page-loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--charcoal);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  animation: loaderPulse 1.2s ease infinite;
}

.loader-logo span { color: var(--gold); }

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* ============================================================
   Service Cards (Services page)
   ============================================================ */
.service-card {
  background: var(--charcoal-light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border-color: var(--gold);
}

.service-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(184, 155, 94, 0.1);
  border: 1px solid rgba(184, 155, 94, 0.25);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  display: inline-block;
  margin: 1rem 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  line-height: 1.5;
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ============================================================
   Framework Steps (visual)
   ============================================================ */
.framework-step {
  position: relative;
  text-align: center;
  padding: 3.5rem 2.5rem;
}

.framework-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
}

.framework-icon {
  width: 72px;
  height: 72px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  border-radius: var(--radius-sm);
}

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

@media (max-width: 768px) {
  html { font-size: 15px; }

  section { padding: 3.5rem 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { padding: 6rem 0 4rem; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; text-align: center; }

  .form-group { flex-direction: column; }
  .form-group .btn { width: 100%; text-align: center; }

  .stats-bar { gap: 2rem; }

  .author-box { flex-direction: column; align-items: center; text-align: center; }

  .offer-step { flex-direction: column; }

  .blog-post-header { padding: 6rem 0 3rem; }

  .pricing-table { font-size: 0.8rem; }
  .pricing-table th, .pricing-table td { padding: 0.75rem 0.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.375rem; }

  .card { padding: 1.75rem 1.5rem; }
  .service-card { padding: 1.75rem; }

  .testimonial-card { padding: 1.5rem; }

  #toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
  #navbar, footer, #toast, #page-loader, .scroll-indicator { display: none !important; }
  body { background: white; color: black; }
  a { color: black; }
}
