/* =================================================================
   KwikReach Solutions — Design System
   Colors derived from logo (navy → cyan gradient)
   ================================================================= */

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

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary: #0A6EBD;
  --primary-light: #38BDF8;
  --primary-dark: #064E8A;
  --accent: #06D6A0;
  --accent-dark: #05B688;
  --accent-glow: rgba(6, 214, 160, 0.25);

  /* Neutrals */
  --bg: #FAFBFC;
  --bg-alt: #F1F5F9;
  --surface: #FFFFFF;
  --surface-hover: #F8FAFC;
  --text: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0A6EBD 0%, #38BDF8 50%, #06D6A0 100%);
  --gradient-hero: linear-gradient(135deg, #0B1120 0%, #0F2647 40%, #0A6EBD 100%);
  --gradient-card: linear-gradient(135deg, rgba(10,110,189,0.05) 0%, rgba(6,214,160,0.05) 100%);
  --gradient-cta: linear-gradient(135deg, #06D6A0 0%, #0A6EBD 100%);
  --gradient-text: linear-gradient(135deg, #0A6EBD, #38BDF8, #06D6A0);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(10,110,189,0.15);
  --shadow-accent: 0 4px 20px rgba(6,214,160,0.3);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --line-height-tight: 1.15;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --section-padding: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
  --nav-height: 72px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Dark Mode ───────────────────────────────────────────────── */
[data-theme="dark"] {
  --primary: #38BDF8;
  --primary-light: #7DD3FC;
  --primary-dark: #0EA5E9;
  --accent: #34D399;
  --accent-dark: #10B981;
  --accent-glow: rgba(52, 211, 153, 0.2);

  --bg: #0B1120;
  --bg-alt: #111827;
  --surface: #1E293B;
  --surface-hover: #253349;
  --text: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #1E293B;
  --border-light: #1E293B;

  --gradient-card: linear-gradient(135deg, rgba(56,189,248,0.05) 0%, rgba(52,211,153,0.05) 100%);
  --gradient-hero: linear-gradient(135deg, #0B1120 0%, #0F2647 40%, #0A3A6B 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(56,189,248,0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover { color: var(--primary-light); }

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

ul, ol { list-style: none; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--text);
}

h1 { font-size: var(--font-size-hero); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); }
h3 { font-size: var(--font-size-xl); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--alt { background-color: var(--bg-alt); }

.section--dark {
  background: var(--gradient-hero);
  color: #F1F5F9;
}

.section--dark h2,
.section--dark h3,
.section--dark .section-label {
  color: #F1F5F9;
}

.section--dark .section-subtitle {
  color: #CBD5E1;
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-cta);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 214, 160, 0.4);
  color: #FFFFFF;
}

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

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

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

.btn--outline:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: var(--primary);
  background: rgba(10,110,189,0.05);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-xs);
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
  background: rgba(11, 17, 32, 0.85);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.navbar__logo-text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text);
  letter-spacing: var(--letter-spacing-tight);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary);
  background: rgba(10,110,189,0.06);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.navbar__hamburger:hover {
  background: var(--bg-alt);
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 768px) {
  .navbar__hamburger { display: flex; }

  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-6);
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    overflow-y: auto;
  }

  .navbar__links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar__link {
    padding: var(--space-4);
    font-size: var(--font-size-base);
    border-bottom: 1px solid var(--border-light);
  }

  .navbar__actions .btn {
    display: none;
  }

  .navbar__links .btn--mobile-cta {
    display: inline-flex;
    margin-top: var(--space-4);
  }
}

@media (min-width: 769px) {
  .btn--mobile-cta { display: none !important; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  color: #F1F5F9;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}

.hero__label svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  color: #FFFFFF;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: #CBD5E1;
  max-width: 520px;
  margin-bottom: var(--space-10);
  line-height: var(--line-height-relaxed);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__ctas .btn--primary {
  background: var(--accent);
  color: #0B1120;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(6, 214, 160, 0.35);
}

.hero__ctas .btn--primary:hover {
  background: #00F0B5;
  box-shadow: 0 8px 32px rgba(6, 214, 160, 0.5);
}

.hero__ctas .btn--secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #F1F5F9;
  backdrop-filter: blur(10px);
}

.hero__ctas .btn--secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #FFFFFF;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero__cards {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  animation: heroFloat 6s ease-in-out infinite;
  color: #F1F5F9;
}

.hero__float-card:nth-child(1) {
  top: 5%;
  left: 5%;
  width: 220px;
  animation-delay: 0s;
}

.hero__float-card:nth-child(2) {
  top: 15%;
  right: 0;
  width: 240px;
  animation-delay: -2s;
}

.hero__float-card:nth-child(3) {
  bottom: 10%;
  left: 15%;
  width: 260px;
  animation-delay: -4s;
}

.hero__float-card-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.hero__float-card-icon svg {
  width: 20px;
  height: 20px;
  color: #FFFFFF;
}

.hero__float-card h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: var(--space-1);
}

.hero__float-card p {
  font-size: var(--font-size-xs);
  color: #94A3B8;
}

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

/* Hero background blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.hero__blob--1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  right: -10%;
  animation: blobMove1 15s ease-in-out infinite;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -10%;
  left: -5%;
  animation: blobMove2 18s ease-in-out infinite;
}

.hero__blob--3 {
  width: 300px;
  height: 300px;
  background: #7C3AED;
  top: 40%;
  left: 30%;
  animation: blobMove3 12s ease-in-out infinite;
}

@keyframes blobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes blobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 15px) scale(0.9); }
}

@keyframes blobMove3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 25px) scale(1.08); }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero__subtitle { margin: 0 auto var(--space-10); }
  .hero__ctas { justify-content: center; }

  .hero__visual {
    min-height: 300px;
  }

  .hero__cards {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

  .hero__visual { display: none; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }
}

/* ── Trust Bar ───────────────────────────────────────────────── */
.trust-bar {
  padding: var(--space-10) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-10);
}

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

.trust-stat__number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: var(--letter-spacing-tight);
}

.trust-stat__label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ── Cards (general) ─────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.card:hover::before { opacity: 1; }

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--primary);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* ── Product Cards ───────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card__image {
  aspect-ratio: 16/10;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
  opacity: 0.6;
}

.product-card__image-placeholder svg {
  width: 48px;
  height: 48px;
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-full);
}

.product-card__badge--ebook { background: #7C3AED; }
.product-card__badge--software { background: var(--primary); }
.product-card__badge--ai { background: #F59E0B; color: #0F172A; }

.product-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.product-card__price {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text);
}

.product-card__price small {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Value Props ─────────────────────────────────────────────── */
.value-prop {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.value-prop__icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.value-prop__icon svg {
  width: 20px;
  height: 20px;
}

.value-prop__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.value-prop__text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ── Steps / How It Works ────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: var(--gradient-brand);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-accent);
}

.step__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.step__text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .steps::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .step {
    display: flex;
    text-align: left;
    gap: var(--space-5);
    align-items: flex-start;
  }

  .step__number {
    margin: 0;
    flex-shrink: 0;
  }
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: #F59E0B;
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial__text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.testimonial__role {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

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

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter {
  text-align: center;
}

.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: var(--space-8) auto 0;
  gap: var(--space-3);
}

.newsletter__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--text);
  transition: border-color var(--transition-fast);
  outline: none;
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

.newsletter__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,110,189,0.1);
}

[data-theme="dark"] .newsletter__input {
  background: var(--surface);
}

@media (max-width: 480px) {
  .newsletter__form {
    flex-direction: column;
  }
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  color: #CBD5E1;
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-banner .btn--primary {
  background: var(--accent);
  color: #0B1120;
  font-weight: 700;
}

.cta-banner .btn--primary:hover {
  background: #00F0B5;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #0B1120;
  color: #CBD5E1;
  padding: var(--space-20) 0 0;
}

.footer a { color: #94A3B8; }
.footer a:hover { color: var(--accent); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  font-size: var(--font-size-sm);
  color: #94A3B8;
  margin-top: var(--space-4);
  max-width: 280px;
  line-height: var(--line-height-relaxed);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.footer__brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer__brand-logo span {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #F1F5F9;
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--accent);
  color: #0B1120;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__column-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #F1F5F9;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-5);
}

.footer__column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__column li a {
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  font-size: var(--font-size-xs);
  color: #64748B;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

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

/* ── Forms ────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--text);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,110,189,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: rgba(255,255,255,0.04);
}

/* ── Filter Tabs ─────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.filter-tab {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--font-size-lg);
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .hero__blob {
  opacity: 0.2;
}

/* ── WhatsApp Float ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float .wa-tooltip {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float .wa-icon {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.whatsapp-float:hover .wa-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .wa-icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ── Scroll Reveal Animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ── Product Detail Page ─────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.product-detail__image {
  aspect-ratio: 4/3;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.product-detail__info h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
}

.product-detail__category {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--primary);
  margin-bottom: var(--space-6);
}

.product-detail__price {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-6);
}

.product-detail__desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.product-detail__features {
  margin-bottom: var(--space-8);
}

.product-detail__features h3 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
}

.product-detail__features ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-detail__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.product-detail__features li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.product-detail__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

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

  .product-detail__image {
    position: static;
  }
}

/* ── Timeline (Services) ─────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: var(--gradient-brand);
}

.timeline__item {
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-10);
  position: relative;
}

.timeline__marker {
  width: 56px;
  height: 56px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--shadow-accent);
}

.timeline__content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
  margin-top: var(--space-3);
}

.timeline__content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
}

/* ── About Page ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-grid__text h2 {
  margin-bottom: var(--space-5);
}

.about-grid__text p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
}

.about-grid__visual {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

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

/* Team */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 auto var(--space-4);
}

.team-card__name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ── Contact Page ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-info-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-card h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.contact-info-card p,
.contact-info-card a {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.contact-map {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: none;
}

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

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Success/error states */
.form-success {
  padding: var(--space-4);
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--accent-dark);
  font-size: var(--font-size-sm);
  text-align: center;
}

.form-error {
  padding: var(--space-4);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #EF4444;
  border-radius: var(--radius-md);
  color: #DC2626;
  font-size: var(--font-size-sm);
  text-align: center;
}

/* ── Prefers Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}
