/* Navbar profile image logo */
.logo-image {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
/* ========================================
   CodeWave - Styles Principaux
   ======================================== */

/* === Variables CSS === */
:root {
  /* Couleurs principales */
  --primary: #0a58b8; /* Bleu MGN (logo) */
  --primary-dark: #083a8c; /* Bleu foncé pour hover/contraste */
  --secondary: #0d6efd; /* Bleu lumineux pour dégradés */
  --accent: #4b5563; /* Gris MGN pour touches discrètes */

  /* Theme tokens */
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;
  --text: #1f2937;
  --text-muted: #4b5563;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-bg-solid: #ffffff;
  --hero-bg: linear-gradient(
    135deg,
    var(--gray-50) 0%,
    #eef2f7 50%,
    #e6effd 100%
  );
  --hero-media-bg: #020617;
  --badge-bg: rgba(255, 255, 255, 0.95);
  --card-featured-bg: linear-gradient(135deg, #fff 0%, #dbeafe 100%);
  --input-bg: #ffffff;
  --section-tint: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  --callout-warm: #fffbf0;
  --callout-warn: #fff5f0;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-bg-strong: rgba(255, 255, 255, 0.3);
  --glass-bg-soft: rgba(255, 255, 255, 0.5);
  --footer-bg: #111827;
  --footer-surface: #1f2937;
  --footer-border: #1f2937;
  --footer-text: #ffffff;
  --footer-text-muted: rgba(255, 255, 255, 0.7);
  --footer-text-soft: rgba(255, 255, 255, 0.5);

  /* Couleurs neutres */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Couleurs utilitaires */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Ombres */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #0b1220;
    --surface: #111827;
    --surface-2: #0f172a;
    --surface-3: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --border-strong: #334155;
    --nav-bg: rgba(15, 23, 42, 0.92);
    --nav-bg-solid: #0f172a;
    --hero-bg: linear-gradient(135deg, #0b1220 0%, #0f172a 50%, #111827 100%);
    --hero-media-bg: #050b18;
    --badge-bg: rgba(15, 23, 42, 0.85);
    --card-featured-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --input-bg: #0f172a;
    --section-tint: linear-gradient(135deg, #0b1220 0%, #0f172a 100%);
    --callout-warm: #1f1b13;
    --callout-warn: #2a1a12;
    --glass-bg: rgba(15, 23, 42, 0.55);
    --glass-bg-strong: rgba(15, 23, 42, 0.7);
    --glass-bg-soft: rgba(15, 23, 42, 0.8);
    --footer-bg: #0b1220;
    --footer-surface: #111827;
    --footer-border: #1e293b;
    --footer-text: #e2e8f0;
    --footer-text-muted: #94a3b8;
    --footer-text-soft: #64748b;
    --accent: #94a3b8;
    --gray-50: #0b1220;
    --gray-100: #0f172a;
    --gray-200: #1e293b;
    --gray-300: #334155;
    --gray-600: #94a3b8;
    --gray-700: #cbd5e1;
    --gray-800: #e2e8f0;
    --gray-900: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.35);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.45);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.55);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.7);

    color-scheme: dark;
  }
}

html[data-theme="dark"] {
  --page-bg: #0b1220;
  --surface: #111827;
  --surface-2: #0f172a;
  --surface-3: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --border-strong: #334155;
  --nav-bg: rgba(15, 23, 42, 0.92);
  --nav-bg-solid: #0f172a;
  --hero-bg: linear-gradient(135deg, #0b1220 0%, #0f172a 50%, #111827 100%);
  --hero-media-bg: #050b18;
  --badge-bg: rgba(15, 23, 42, 0.85);
  --card-featured-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --input-bg: #0f172a;
  --section-tint: linear-gradient(135deg, #0b1220 0%, #0f172a 100%);
  --callout-warm: #1f1b13;
  --callout-warn: #2a1a12;
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-bg-strong: rgba(15, 23, 42, 0.7);
  --glass-bg-soft: rgba(15, 23, 42, 0.8);
  --footer-bg: #0b1220;
  --footer-surface: #111827;
  --footer-border: #1e293b;
  --footer-text: #e2e8f0;
  --footer-text-muted: #94a3b8;
  --footer-text-soft: #64748b;
  --accent: #94a3b8;
  --gray-50: #0b1220;
  --gray-100: #0f172a;
  --gray-200: #1e293b;
  --gray-300: #334155;
  --gray-600: #94a3b8;
  --gray-700: #cbd5e1;
  --gray-800: #e2e8f0;
  --gray-900: #f8fafc;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.35);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.45);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.55);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.7);

  color-scheme: dark;
}

html[data-theme="light"] {
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;
  --text: #1f2937;
  --text-muted: #4b5563;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-bg-solid: #ffffff;
  --hero-bg: linear-gradient(
    135deg,
    var(--gray-50) 0%,
    #eef2f7 50%,
    #e6effd 100%
  );
  --hero-media-bg: #020617;
  --badge-bg: rgba(255, 255, 255, 0.95);
  --card-featured-bg: linear-gradient(135deg, #fff 0%, #dbeafe 100%);
  --input-bg: #ffffff;
  --section-tint: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  --callout-warm: #fffbf0;
  --callout-warn: #fff5f0;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-bg-strong: rgba(255, 255, 255, 0.3);
  --glass-bg-soft: rgba(255, 255, 255, 0.5);
  --footer-bg: #111827;
  --footer-surface: #1f2937;
  --footer-border: #1f2937;
  --footer-text: #ffffff;
  --footer-text-muted: rgba(255, 255, 255, 0.7);
  --footer-text-soft: rgba(255, 255, 255, 0.5);
  --accent: #4b5563;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--page-bg);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* === Container === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

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

.navbar.scrolled {
  background: var(--nav-bg-solid);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.logo-m,
.logo-n {
  color: var(--gray-800);
  font-size: 1.875rem;
}
.logo-g {
  color: var(--primary);
  font-size: 1.875rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-codewave {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
}

.logo-tagline {
  color: var(--gray-600);
  font-size: 0.625rem;
  font-style: italic;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle i {
  font-size: 1rem;
}

.theme-toggle:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lang-toggle {
  min-width: 44px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.lang-toggle:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.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;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
  background: var(--surface-2);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

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

/* === Hero Media (Video/Image Background) === */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--hero-media-bg);
  width: 100%;
  height: 100%;
}

.hero-media video,
.hero-media .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  display: block !important;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.hero-media .hero-image {
  display: none;
  background-size: cover;
  background-position: center;
}

.hero-media[data-mode="image"] video {
  display: none;
}

.hero-media[data-mode="image"] .hero-image {
  display: block;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.7) 0%,
    rgba(2, 6, 23, 0.5) 35%,
    rgba(2, 6, 23, 0.3) 65%,
    rgba(2, 6, 23, 0.15) 100%
  );
  mix-blend-mode: multiply;
  z-index: 1;
}

/* Mobile: Hero Media Responsivity */
@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    padding: 5rem 0 2rem;
  }

  .hero-media video,
  .hero-media .hero-image {
    object-fit: cover;
  }
}

/* Tablet: Hero Media Responsivity */
@media (min-width: 481px) and (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding: 7rem 0 3rem;
  }
}

/* Desktop: Hero Media Responsivity */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    min-height: 80vh;
    padding: 8rem 0 4rem;
  }
}

/* Large Desktop */
@media (min-width: 1025px) {
  .hero {
    min-height: 85vh;
    padding: 8rem 0 4rem;
  }
}

/* === Image Showcase (generic) === */
.image-showcase .showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.showcase-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.showcase-body {
  padding: 1rem 1.25rem;
}

/* === Video Grid (a-propos) === */
.video-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 420px;
}

.video-notes.card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.video-points li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-background::before {
  width: 500px;
  height: 500px;
  top: 5rem;
  left: 2.5rem;
  background: var(--primary);
}

.hero-background::after {
  width: 600px;
  height: 600px;
  bottom: 5rem;
  right: 2.5rem;
  background: var(--secondary);
}

.hero-content {
  display: grid;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--badge-bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 1rem 0;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}

.stat {
  text-align: center;
}

.stat i {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* === Hero Mockup === */
.hero-mockup {
  position: relative;
}

.mockup-browser {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.browser-header {
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ef4444;
}
.dot.yellow {
  background: #f59e0b;
}
.dot.green {
  background: #10b981;
}

.browser-content {
  padding: 2rem;
}

.content-bar {
  height: 0.75rem;
  background: var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  animation: shimmer 2s infinite;
}

.content-bar.short {
  width: 75%;
}
.content-bar.medium {
  width: 66%;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.grid-item {
  height: 6rem;
  border-radius: var(--radius-xl);
  animation: float 3s ease-in-out infinite;
}

.grid-item.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  animation-delay: 0s;
}

.grid-item.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  animation-delay: 0.5s;
}

.grid-item.pink {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  animation-delay: 1s;
}

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

.content-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.button-mock {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  color: white;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.button-mock.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.button-mock.orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* === Sections === */
.section-padding {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

.bg-light {
  background: var(--gray-50);
}

.bg-gradient {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--accent) 100%
  );
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.text-white {
  color: white;
}
.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

/* === Feature Cards === */
.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: linear-gradient(135deg, var(--gray-50) 0%, #dbeafe 100%);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-600);
}

/* === Services Grid === */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.service-card.featured {
  border-color: var(--primary);
  background: var(--card-featured-bg);
}

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

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.service-features i {
  color: var(--success);
  font-size: 1rem;
}

/* === Portfolio === */
.portfolio-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.portfolio-item {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.portfolio-image {
  height: 14rem;
  position: relative;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
  transition: var(--transition);
}

.portfolio-image:hover .portfolio-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.portfolio-overlay h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-image:hover .portfolio-overlay h4 {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay p {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.portfolio-image:hover .portfolio-overlay p {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-link {
  width: 3rem;
  height: 3rem;
  background: var(--surface);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  transition-delay: 0.2s;
}

.portfolio-image:hover .portfolio-link {
  opacity: 1;
  transform: scale(1);
}

.portfolio-info {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.portfolio-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--success);
  font-weight: 600;
  font-size: 0.875rem;
}

/* === Testimonials === */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.author-name {
  font-weight: 700;
  color: var(--gray-900);
}

.author-role {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--accent) 100%
  );
  color: white;
}

.cta-content {
  max-width: 56rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 4rem;
  }
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* === Footer === */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--footer-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--footer-surface);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--footer-surface);
  color: var(--footer-text);
}

.newsletter-form input::placeholder {
  color: var(--footer-text-soft);
}

.newsletter-form button {
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.newsletter-note {
  font-size: 0.75rem;
  color: var(--footer-text-soft);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--footer-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--footer-text-muted);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}

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

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

/* === WhatsApp Float Button === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-2xl);
  z-index: 999;
  animation: bounce 2s infinite;
}

.whatsapp-float:hover {
  background: #20ba5a;
  animation: none;
  transform: scale(1.1);
}

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

/* === Utility Classes === */
.mt-5 {
  margin-top: 3rem;
}
.text-center {
  text-align: center;
}

/* === Page Header === */
.page-header {
  position: relative;
  min-height: 25rem;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.page-header-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  opacity: 0.95;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

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

.breadcrumb span {
  opacity: 0.8;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 48rem;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Responsive Page Header */
@media (max-width: 480px) {
  .page-header {
    min-height: 18rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .page-header .container {
    padding: 2rem 0;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .page-header {
    min-height: 22rem;
  }

  .page-title {
    font-size: 2.25rem;
  }

  .page-subtitle {
    font-size: 1.1rem;
  }

  .page-header .container {
    padding: 3rem 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .page-header {
    min-height: 24rem;
  }

  .page-title {
    font-size: 2.75rem;
  }
}

/* === Contact Form === */
.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 1rem;
}

/* === Contact Info Cards === */
.contact-info-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: start;
  gap: 1rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-icon.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.contact-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.contact-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
}

.contact-icon.orange {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.contact-info-content h4 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.contact-info-content small {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* === Pricing Tables === */
.pricing-cards {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--card-featured-bg);
  transform: scale(1.05);
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-currency {
  font-weight: 600;
  color: var(--gray-600);
}

.pricing-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--gray-700);
}

.pricing-features i {
  color: var(--success);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* === Blog Cards === */
.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.blog-card {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

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

.blog-image {
  height: 12rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.blog-link:hover {
  gap: 0.75rem;
}

html[data-theme="dark"] .blog-card {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}

html[data-theme="dark"] .read-more {
  color: var(--primary) !important;
}

html[data-theme="dark"] .bg-light {
  background: var(--surface-2) !important;
}

html[data-theme="dark"] [style*="--glass-bg"],
html[data-theme="dark"] [style*="--glass-bg-strong"],
html[data-theme="dark"] [style*="--glass-bg-soft"] {
  color: var(--text) !important;
}

html[data-theme="dark"] blockquote {
  color: var(--gray-700) !important;
  border-left-color: var(--primary) !important;
}

/* === Success Message === */
.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  animation: slideIn 0.3s ease-out;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid var(--error);
  color: var(--error);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Loading Spinner === */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === Story Section === */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.story-text {
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.8;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* === Responsive === */
@media (max-width: 1023px) {
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
  .cta-title {
    font-size: 2rem;
  }
}
