/* ============================================
   Base Reset & Variables
   ============================================ */
:root {
  --primary: #5C2E85;
  --secondary: #F2D74A;
  --accent: #000000;
  --background: #FFFFFF;
  --text: #1a1a2e;

  /* Header theming - auto-calculated based on background lightness */
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-text: #0F172A;
  --header-border: rgba(0, 0, 0, 0.05);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --transition: all 0.3s ease;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent CLS from font loading */
  font-display: swap;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border);
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-weight: 500;
  color: #374151;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 2px 8px rgba(92, 46, 133, 0.25);
  transition: var(--transition);
}

.btn-nav:hover {
  background: #4a2370;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(92, 46, 133, 0.35);
}

/* Nav CTA button (uses btn-primary class) */
.nav-cta {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 2px 8px rgba(92, 46, 133, 0.25);
  transition: var(--transition);
}

.nav-cta:hover {
  background: #4a2370;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(92, 46, 133, 0.35);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--header-text);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--header-text);
  transition: var(--transition);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Hamburger animation when menu is open */
.header.menu-open .hamburger {
  background: transparent;
}

.header.menu-open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.header.menu-open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Navigation - hidden by default */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--header-bg);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--header-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--header-border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #0F172A;
}

.mobile-nav-cta {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}

/* Header Variant: Centered (logo centered above nav) */
.header--centered .container {
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header--centered .logo {
  text-align: center;
}

.header--centered .nav {
  justify-content: center;
}

.header--centered .mobile-menu-btn {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* Header Variant: Split (nav items split around logo) */
.header--split .container {
  justify-content: center;
  gap: 48px;
}

.header--split .logo {
  order: 2;
}

.header--split .nav {
  order: 1;
}

.header--split .nav-right {
  order: 3;
}

.header--split .nav,
.header--split .nav-right {
  flex: 1;
}

.header--split .nav {
  justify-content: flex-end;
}

.header--split .nav-right {
  justify-content: flex-start;
}

/* Header Variant: Minimal (compact, no blur) */
.header--minimal {
  height: 60px;
  background: white;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header--minimal .logo {
  font-size: 1.25rem;
}

.header--minimal .nav {
  gap: 24px;
}

.header--minimal .nav-link {
  font-size: 0.875rem;
}

.header--minimal .btn-nav {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Header Variant: Transparent (integrates with hero) */
.header--transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.header--transparent .logo,
.header--transparent .nav-link {
  color: white;
  opacity: 1;
}

.header--transparent .nav-link:hover {
  opacity: 0.8;
}

.header--transparent .btn-nav {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.header--transparent .btn-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.header--transparent .hamburger,
.header--transparent .hamburger::before,
.header--transparent .hamburger::after {
  background: white;
}

.header--transparent.header--scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.header--transparent.header--scrolled .logo,
.header--transparent.header--scrolled .nav-link {
  color: var(--header-text);
}

.header--transparent.header--scrolled .nav-link:hover {
  color: var(--header-text);
  opacity: 1;
}

.header--transparent.header--scrolled .btn-nav {
  background: var(--primary);
}

.header--transparent.header--scrolled .hamburger,
.header--transparent.header--scrolled .hamburger::before,
.header--transparent.header--scrolled .hamburger::after {
  background: var(--header-text);
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
  padding: calc(var(--header-height) + 24px) 0 24px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--primary);
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item .separator {
  color: rgba(0, 0, 0, 0.3);
}

.breadcrumb-item.current span {
  color: var(--text);
  opacity: 0.6;
}

/* ============================================
   Hero Section - Base
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  margin-top: var(--header-height);
}

.breadcrumbs+main .hero {
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 80px 0;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Variant: Split (text left, image right) */
.hero--split {
  min-height: auto;
  background: var(--background);
}

.hero--split .hero-overlay {
  display: none;
}

.hero--split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero--split .hero-content {
  color: var(--text);
  padding: 100px 0;
  max-width: none;
}

.hero--split .hero-title {
  color: var(--text);
}

.hero--split .hero-subtitle {
  color: var(--text);
  opacity: 0.8;
}

.hero--split .hero-image {
  position: relative;
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero--split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--split .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.hero--split .btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Variant: Minimal (gradient only, no image) */
.hero--minimal {
  background-image: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  min-height: 60vh;
}

.hero--minimal .hero-overlay {
  display: none;
}

.hero--minimal .hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero--minimal .hero-actions {
  justify-content: center;
}

/* Hero Variant: Overlay Dark (darker overlay, bigger text) */
.hero--overlay-dark .hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero--overlay-dark .hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
}

.hero--overlay-dark .hero-subtitle {
  font-size: 1.375rem;
  max-width: 650px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* ============================================
   Content Section
   ============================================ */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.content-main {
  font-size: 1.125rem;
  line-height: 1.8;
}

.content-main p {
  margin-bottom: 24px;
}

.content-main p:first-child {
  font-size: 1.25rem;
  color: var(--text);
}

.content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--border-radius);
  padding: 24px;
}

.content-sidebar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.related-links {
  list-style: none;
}

.related-links li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.related-links li:last-child {
  border-bottom: none;
}

.related-links a {
  color: var(--primary);
  font-weight: 500;
}

.related-links a:hover {
  text-decoration: underline;
}

/* ============================================
   Services Section - Base (Grid)
   ============================================ */
.section-services {
  background: rgba(0, 0, 0, 0.02);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon span {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-description {
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 8px;
}

/* Services Variant: Cards Numbered (large numbers) */
.services--cards-numbered .service-card {
  position: relative;
  padding-top: 48px;
}

.services--cards-numbered .service-icon {
  position: absolute;
  top: -24px;
  left: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.services--cards-numbered .service-icon span {
  font-size: 1.5rem;
}

/* Services Variant: List Horizontal */
.services--list-horizontal .services-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services--list-horizontal .service-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
}

.services--list-horizontal .service-icon {
  margin-bottom: 0;
  width: 64px;
  height: 64px;
}

.services--list-horizontal .service-content {
  flex: 1;
}

.services--list-horizontal .service-title {
  margin-bottom: 4px;
}

.services--list-horizontal .service-description {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.services--list-horizontal .service-link {
  white-space: nowrap;
}

/* Services Variant: Alternating (zigzag) */
.services--alternating .services-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services--alternating .service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
}

.services--alternating .service-card:nth-child(even) {
  direction: rtl;
}

.services--alternating .service-card:nth-child(even)>* {
  direction: ltr;
}

.services--alternating .service-visual {
  height: 280px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services--alternating .service-visual .service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 0;
}

.services--alternating .service-visual .service-icon span {
  font-size: 2rem;
}

.services--alternating .service-content {
  padding: 20px 0;
}

.services--alternating .service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.services--alternating .service-description {
  font-size: 1.0625rem;
  margin-bottom: 24px;
}

/* ============================================
   Stats Section - Base (Gradient Bar)
   ============================================ */
.section-stats {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  color: white;
}

.stat-card {
  padding: 24px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  opacity: 0.9;
  font-size: 1rem;
}

/* Stats Variant: Cards (separate white cards) */
.stats--cards {
  background: var(--background);
  padding: 80px 0;
}

.stats--cards .stats-grid {
  color: var(--text);
}

.stats--cards .stat-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
}

.stats--cards .stat-number {
  color: var(--primary);
  font-size: 2.5rem;
}

.stats--cards .stat-label {
  opacity: 0.8;
  font-weight: 500;
}

/* Stats Variant: Inline (horizontal with dividers) */
.stats--inline {
  background: rgba(0, 0, 0, 0.03);
  padding: 40px 0;
}

.stats--inline .stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  color: var(--text);
}

.stats--inline .stat-card {
  padding: 20px 48px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.stats--inline .stat-card:last-child {
  border-right: none;
}

.stats--inline .stat-number {
  font-size: 2rem;
  color: var(--primary);
}

.stats--inline .stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 48px;
  line-height: 1.8;
}

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

.feature-card {
  text-align: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--border-radius);
}

.feature-stat {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.author-name {
  display: block;
  font-weight: 600;
  font-style: normal;
}

.author-role {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ============================================
   Steps Section
   ============================================ */
.section-steps {
  background: rgba(0, 0, 0, 0.02);
}

.steps-content {
  max-width: 800px;
  margin: 0 auto;
}

.steps-header {
  text-align: center;
  margin-bottom: 48px;
}

.steps-intro {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-top: 16px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 6px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-description {
  opacity: 0.8;
  line-height: 1.6;
}

/* ============================================
   FAQ Section - Base (Simple)
   ============================================ */
.faq-layout {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-intro {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-top: 16px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 28px 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.faq-answer {
  opacity: 0.8;
  line-height: 1.7;
}

/* FAQ Variant: Two Column */
.faq--two-column .faq-layout {
  max-width: 1100px;
}

.faq--two-column .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq--two-column .faq-item {
  padding: 24px;
}

.faq--two-column .faq-question {
  font-size: 1rem;
}

/* FAQ Variant: Accordion */
.faq--accordion .faq-item {
  padding: 0;
  overflow: hidden;
}

.faq--accordion .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  margin-bottom: 0;
  cursor: pointer;
  transition: var(--transition);
}

.faq--accordion .faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq--accordion .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: var(--transition);
}

.faq--accordion .faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq--accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 32px;
  transition: all 0.3s ease;
}

.faq--accordion .faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 32px 24px;
}

/* ============================================
   Contact Section
   ============================================ */
.section-contact {
  background: rgba(0, 0, 0, 0.02);
}

/* Visually hidden contact section for SEO (accessible but not visible) */
.section-contact--hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-intro {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 32px;
  margin-top: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.alert {
  padding: 16px;
  background: #d1fae5;
  border-radius: 8px;
  color: #065f46;
  font-weight: 500;
}

.hidden {
  display: none;
}

.contact-info {
  padding: 32px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 16px;
  opacity: 0.85;
}

.contact-info strong {
  color: var(--text);
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  text-align: center;
  padding: 80px 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-content p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.section-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.section-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* CTA Variant: Split */
.cta--split .cta-content {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
}

.cta--split .cta-content h2 {
  margin-bottom: 8px;
}

.cta--split .cta-content p {
  margin-bottom: 0;
}

.cta--split .cta-text {
  flex: 1;
}

/* CTA Variant: Gradient */
.cta--gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta--gradient::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

.cta--gradient .cta-content {
  position: relative;
  z-index: 1;
}

/* CTA Variant: Banner */
.cta--banner {
  padding: 40px 0;
}

.cta--banner .cta-content {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.cta--banner .cta-content h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.cta--banner .cta-content p {
  display: none;
}

/* ============================================
   Testimonials Variants
   ============================================ */

/* Testimonials Variant: Carousel */
.testimonials--carousel .testimonials-grid {
  display: flex;
  overflow: hidden;
  position: relative;
}

.testimonials--carousel .testimonial-card {
  flex: 0 0 100%;
  max-width: 700px;
  margin: 0 auto;
}

.testimonials--carousel .carousel-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonials--carousel .carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonials--carousel .carousel-btn:hover {
  background: var(--secondary);
}

/* Testimonials Variant: Featured */
.testimonials--featured .testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonials--featured .testimonial-card:first-child {
  grid-column: 1 / -1;
  padding: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.testimonials--featured .testimonial-card:first-child .testimonial-rating {
  color: #fbbf24;
}

.testimonials--featured .testimonial-card:first-child .testimonial-text {
  font-size: 1.25rem;
}

.testimonials--featured .testimonial-card:first-child .author-avatar {
  background: rgba(255, 255, 255, 0.2);
}

/* Testimonials Variant: Minimal */
.testimonials--minimal .testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.testimonials--minimal .testimonial-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-left: 3px solid var(--primary);
  padding-left: 24px;
}

.testimonials--minimal .testimonial-rating {
  display: none;
}

.testimonials--minimal .testimonial-text {
  font-size: 1.25rem;
}

/* ============================================
   Steps Variants
   ============================================ */

/* Steps Variant: Timeline */
.steps--timeline .steps-list {
  position: relative;
  padding-left: 40px;
}

.steps--timeline .steps-list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.steps--timeline .step-item {
  position: relative;
}

.steps--timeline .step-number {
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 1;
}

/* Steps Variant: Horizontal */
.steps--horizontal .steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.steps--horizontal .step-item {
  flex-direction: column;
  text-align: center;
  position: relative;
}

.steps--horizontal .step-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 28px;
  font-size: 1.5rem;
  color: var(--primary);
}

.steps--horizontal .step-number {
  margin: 0 auto 16px;
}

/* Steps Variant: Cards */
.steps--cards .steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.steps--cards .step-item {
  flex-direction: column;
  background: white;
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.steps--cards .step-number {
  margin: 0 auto 20px;
}

/* ============================================
   About Variants
   ============================================ */

/* About Variant: Split */
.about--split .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 100%;
  align-items: center;
}

.about--split .about-text-wrapper {
  order: 1;
}

.about--split .about-image {
  order: 2;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.about--split .features-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 32px;
}

/* About Variant: Centered */
.about--centered .about-content {
  text-align: center;
  max-width: 700px;
}

.about--centered .section-label,
.about--centered .section-title,
.about--centered .about-text {
  text-align: center;
}

.about--centered .features-grid {
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* About Variant: Minimal */
.about--minimal .about-content {
  max-width: 700px;
}

.about--minimal .features-grid {
  display: none;
}

.about--minimal .about-text {
  font-size: 1.25rem;
  line-height: 1.9;
}

/* ============================================
   Contact Variants
   ============================================ */

/* Contact Variant: Stacked */
.contact--stacked .contact-layout {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.contact--stacked .contact-info {
  order: 2;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px;
  background: white;
  border-radius: var(--border-radius);
  margin-top: 32px;
}

.contact--stacked .contact-info h3 {
  display: none;
}

/* Contact Variant: Centered */
.contact--centered .contact-layout {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact--centered .contact-form-wrapper {
  text-align: left;
}

.contact--centered .section-title {
  text-align: center;
}

.contact--centered .contact-intro {
  text-align: center;
}

.contact--centered .contact-info {
  display: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #111827;
  color: #f3f4f6;
  padding: 64px 0 32px;
  overflow: hidden;
}

.footer .container {
  max-width: 100%;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px 36px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-description {
  color: #9ca3af;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0b0c0;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

/* Direct application on ul element (when class is on ul itself) */
ul.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.footer-links li {
  margin-bottom: 10px;
}

ul.footer-links a {
  color: #b0b0c0;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

ul.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-contact {
  display: flex;
  gap: 24px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #b0b0c0;
  font-size: 0.9375rem;
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-contact-list a {
  color: #b0b0c0;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: var(--secondary);
}

.contact-icon {
  font-size: 1rem;
}

/* Footer Variant: Minimal (single row) */
.footer--minimal {
  padding: 32px 0;
}

.footer--minimal .footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 0;
}

.footer--minimal .footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer--minimal .footer-logo {
  margin-bottom: 0;
}

.footer--minimal .footer-description {
  display: none;
}

.footer--minimal .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.footer--minimal .footer-links h4 {
  display: none;
}

.footer--minimal .footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer--minimal .footer-links li {
  margin-bottom: 0;
}

.footer--minimal .footer-bottom {
  display: none;
}

/* Footer Variant: Centered (stacked centered layout) */
.footer--centered {
  text-align: center;
}

.footer--centered .footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer--centered .footer-brand {
  max-width: 400px;
}

.footer--centered .footer-description {
  max-width: none;
  margin: 0 auto;
}

.footer--centered .footer-links {
  display: flex;
  gap: 48px;
}

.footer--centered .footer-links h4 {
  margin-bottom: 12px;
}

.footer--centered .footer-bottom {
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.footer--centered .footer-contact {
  justify-content: center;
}

/* Footer Variant: Columns (3 equal columns) */
.footer--columns .footer-grid {
  grid-template-columns: repeat(3, 1fr);
}

.footer--columns .footer-brand {
  grid-column: span 1;
}

.footer--columns .footer-description {
  max-width: none;
}

/* Footer Variant: Stacked (vertical stack) */
.footer--stacked .footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer--stacked .footer-brand {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer--stacked .footer-logo {
  display: block;
  text-align: center;
}

.footer--stacked .footer-description {
  max-width: none;
  text-align: center;
}

.footer--stacked .footer-links-row {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.footer--stacked .footer-links h4 {
  margin-bottom: 16px;
}

.footer--stacked .footer-bottom {
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer--stacked .footer-contact {
  justify-content: center;
}

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  /* Hero split responsive */
  .hero--split .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero--split .hero-image {
    height: 350px;
    order: -1;
  }

  /* Services alternating responsive */
  .services--alternating .service-card {
    grid-template-columns: 1fr;
  }

  .services--alternating .service-card:nth-child(even) {
    direction: ltr;
  }

  .services--alternating .service-visual {
    height: 200px;
  }

  /* FAQ two column responsive */
  .faq--two-column .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hide desktop navigation and CTA button on mobile */
  .nav,
  .nav-right,
  .nav-cta {
    display: none !important;
  }

  /* Show mobile navigation when menu is open */
  .mobile-nav.active {
    display: block;
  }

  /* Ensure header container is properly structured on mobile */
  .header .container {
    justify-content: space-between;
  }

  /* Reset split header on mobile */
  .header--split .container {
    justify-content: space-between;
  }

  .header--split .logo {
    order: 0;
  }

  .header--split .mobile-menu-btn {
    order: 10;
  }

  /* Reset centered header on mobile */
  .header--centered .container {
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 60px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Stats inline responsive */
  .stats--inline .stats-grid {
    flex-direction: column;
  }

  .stats--inline .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
  }

  .stats--inline .stat-card:last-child {
    border-bottom: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }

  /* Services list horizontal responsive */
  .services--list-horizontal .service-card {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .services--list-horizontal .service-icon {
    margin: 0 auto;
  }
}

/* ============================================
   SECTION VARIANTS — Visual Diversity
   ============================================ */

/* --- Hero: Centered (text centered, full-width background gradient) --- */
.hero--centered {
  text-align: center;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero--centered::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: heroShimmer 15s ease infinite;
}

@keyframes heroShimmer {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(5%, -5%);
  }
}

.hero--centered .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero--centered .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: #fff;
}

.hero--centered .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero--centered .btn-primary {
  background: #fff;
  color: var(--primary);
  border: none;
}

.hero--centered .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* --- Hero: Gradient side (asymmetric gradient with floating shapes) --- */
.hero--gradient-side {
  padding: 80px 0;
  background: linear-gradient(120deg, var(--background) 50%, var(--primary) 50%);
  position: relative;
}

.hero--gradient-side .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero--gradient-side .hero-content {
  color: var(--text);
}

.hero--gradient-side .hero-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* --- Section: Dark background variant --- */
.section--dark {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  color: #E5E7EB;
}

.section--dark .section-title {
  color: #F9FAFB;
}

.section--dark .section-label {
  color: var(--accent);
}

.section--dark .service-card,
.section--dark .feature-card,
.section--dark .stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E5E7EB;
}

.section--dark .service-card:hover,
.section--dark .feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

/* --- Section: Accent background (light tint of primary) --- */
.section--accent {
  background: color-mix(in srgb, var(--primary) 8%, var(--background));
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.pricing-card {
  background: var(--background);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

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

.pricing-card--featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0.6;
}

.pricing-description {
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  margin-right: 10px;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  text-align: left;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.comparison-table tr:nth-child(even) {
  background: color-mix(in srgb, var(--primary) 4%, var(--background));
}

.comparison-table tr:hover {
  background: color-mix(in srgb, var(--primary) 8%, var(--background));
}

/* --- Feature Highlight (alternating image+text rows) --- */
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.feature-highlight:nth-child(even) {
  direction: rtl;
}

.feature-highlight:nth-child(even)>* {
  direction: ltr;
}

.feature-highlight-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.feature-highlight-content p {
  color: var(--text);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-highlight-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-highlight-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Number Counter Cards --- */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.counter-card {
  text-align: center;
  padding: 32px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.7;
  font-weight: 500;
}

/* --- Timeline/Process Variant --- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-spacer {
  grid-column: 1;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 20%, var(--background));
}

.timeline-content {
  background: var(--background);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

/* --- CTA: Banner variant (inline horizontal) --- */
.cta--inline {
  background: color-mix(in srgb, var(--primary) 10%, var(--background));
  border-radius: var(--border-radius);
  padding: 40px 48px;
  margin: 40px 0;
}

.cta--inline .cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta--inline h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.cta--inline p {
  color: var(--text);
  opacity: 0.7;
  margin: 0;
}

/* --- Responsive for new variants --- */
@media (max-width: 768px) {
  .hero--centered {
    padding: 60px 0;
  }

  .hero--gradient-side .container {
    grid-template-columns: 1fr;
  }

  .feature-highlight {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-highlight:nth-child(even) {
    direction: ltr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
  }

  .cta--inline .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .pricing-card--featured {
    transform: scale(1);
  }
}

/* ============================================
   Hero Variants (used in HTML)
   ============================================ */

/* Hero: Dark (full-width background with overlay) */
.hero--dark {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a0a2e 0%, var(--primary) 50%, #2d1b4e 100%);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(242, 215, 74, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(92, 46, 133, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero--dark .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero--dark .hero__content {
  color: white;
  padding: 80px 0;
}

.hero--dark .hero__content h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
  color: white;
}

.hero--dark .hero__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero--dark .hero__media {
  position: relative;
}

.hero--dark .hero__media img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hero: Gradient (for inner pages) */
.hero--gradient {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--primary) 0%, #3d1a6e 40%, #1a0a2e 100%);
  margin-top: var(--header-height);
  padding: 80px 0;
  overflow: hidden;
}

.hero--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(242, 215, 74, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero--gradient .container {
  position: relative;
  z-index: 1;
}

.hero--gradient .hero__content {
  color: white;
}

.hero--gradient .hero__content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: white;
}

.hero--gradient .hero__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero--gradient .hero__media img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Hero: Solid (simple solid background) */
.hero--solid {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: white;
  margin-top: var(--header-height);
}

/* ============================================
   Section Content Variants (used in HTML)
   ============================================ */

/* Section: Light */
.section--light {
  background: #ffffff;
}

/* Section: Accent — gentle tinted background */
.section--accent {
  background: linear-gradient(135deg, var(--primary) 0%, #3d1a6e 100%);
  color: white;
}

.section--accent .section__header h2,
.section--accent .section__header p {
  color: white;
}

/* Section: Dark */
.section--dark {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  color: #E5E7EB;
}

.section--dark .section__header h2 {
  color: #F9FAFB;
}

.section--dark .section__header p {
  color: #CBD5E1;
}

/* ============================================
   Section Header (used in HTML)
   ============================================ */
.section__header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section__header p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.7;
  color: var(--text);
}

/* ============================================
   Grid Layout System (used in HTML)
   ============================================ */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

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

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

@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

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

  .hero--dark .container,
  .hero--gradient .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero--dark .hero__media {
    order: -1;
  }

  .hero--dark .hero__content {
    padding: 40px 0;
  }
}

/* ============================================
   Card Components (used in HTML)
   ============================================ */
.card {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

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

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.card p {
  color: var(--text);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 16px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ol {
  margin-left: 1.25rem;
  margin-top: 12px;
}

.card ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.85;
}

/* Card: Dark variant (for dark backgrounds) */
.card--dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.card--dark h3 {
  color: white;
}

.card--dark p {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

/* ============================================
   Button Variants (used in HTML with --)
   ============================================ */
.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  background: var(--secondary);
  color: var(--text);
  text-decoration: none;
}

.btn--primary:hover {
  background: #e5c842;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242, 215, 74, 0.4);
}

.btn--white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  background: transparent;
  color: white;
  text-decoration: none;
}

.btn--white:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  background: transparent;
  color: white;
  text-decoration: none;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* ============================================
   Hero Content & Media (used in HTML)
   ============================================ */
.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.hero__content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
  color: var(--text);
}

.hero__content p {
  line-height: 1.8;
  margin-bottom: 16px;
}

.hero__media {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* ============================================
   Pricing Card Styles (for index.html)
   ============================================ */
.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section--dark .pricing-card h3 {
  color: var(--text);
}

.pricing-card .price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
}

.pricing-card p {
  color: #4b5563;
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  color: #374151;
  position: relative;
  padding-left: 28px;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

/* ============================================
   FAQ Container Improvements
   ============================================ */
.faq-container details {
  margin-bottom: 12px;
  background: white;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.faq-container details[open] {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-container summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 20px 24px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-container summary::-webkit-details-marker {
  display: none;
}

.faq-container summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-container details[open] summary::after {
  transform: rotate(45deg);
}

.faq-container summary:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq-container details>p {
  padding: 0 24px 20px;
  margin: 0;
  line-height: 1.7;
  opacity: 0.85;
}

/* ============================================
   Footer Title (used in HTML footer)
   ============================================ */
.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-column {
  min-width: 0;
}

/* ============================================
   Global Smooth Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section .container {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Dark section overrides for card elements
   ============================================ */
.section--dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--dark .card h3 {
  color: #F9FAFB;
}

.section--dark .card p {
  color: #CBD5E1;
  opacity: 1;
}

.section--accent .card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.section--accent .card h3 {
  color: white;
}

.section--accent .card p {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}