/* ============================================
   FUTROO — Design System & Global Styles
   Production-ready, SEO-optimized, Mobile-first
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary palette — Indigo / Purple */
  --navy-950: #1E1B4B;
  --navy-900: #312E81;
  --navy-800: #3730A3;
  --navy-700: #4338CA;
  --navy-600: #4F46E5;
  --navy-500: #6366F1;

  /* Accent — Purple */
  --teal-500: #7C3AED;
  --teal-400: #8B5CF6;
  --teal-300: #A78BFA;
  --teal-600: #6D28D9;

  /* Warm accent — kept for CTA contrast */
  --amber-500: #F59E0B;
  --amber-400: #FBBF24;
  --amber-600: #D97706;

  /* Neutral */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Semantic */
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Typography scale */
  --font-display: 'Heebo', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(6,14,26,0.06);
  --shadow-md: 0 4px 12px rgba(6,14,26,0.08);
  --shadow-lg: 0 12px 32px rgba(6,14,26,0.12);
  --shadow-xl: 0 24px 48px rgba(6,14,26,0.16);

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

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--slate-50);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

input, select, textarea {
  font: inherit;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  right: var(--space-md);
  background: var(--navy-900);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  height: var(--header-height);
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
}

.nav-list a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate-600);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--duration-fast);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--navy-900);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--navy-900);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.nav-cta:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-fast);
}

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

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--duration-slow) var(--ease-out);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    margin-top: var(--space-lg);
    justify-content: center;
    padding: var(--space-md);
    font-size: 1rem;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 14, 26, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base), visibility var(--duration-base);
  }

  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-5xl);
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.25);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--teal-300);
  margin-bottom: var(--space-lg);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--teal-400), var(--amber-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--slate-400);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-body);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background: var(--teal-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--slate-600);
  color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--teal-500);
  color: var(--teal-400);
  background: rgba(14, 165, 233, 0.08);
}

.btn-dark {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber-500);
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
  background: var(--amber-400);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-wrapper img {
  width: 100%;
  display: block;
}

/* Floating stat badges on hero image */
.hero-stat-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-stat-badge strong {
  font-size: 1.3rem;
  color: var(--navy-900);
}

.hero-stat-badge span {
  font-size: var(--fs-xs);
  color: var(--slate-500);
}

.hero-stat-badge:nth-child(2) {
  bottom: 15%;
  right: -10%;
}

.hero-stat-badge:nth-child(3) {
  top: 10%;
  left: -8%;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stat-badge {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }
}

/* ============================================
   SECTIONS — General
   ============================================ */
.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-600);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--slate-500);
  line-height: 1.8;
}

/* Background variants */
.bg-white { background: #fff; }
.bg-slate { background: var(--slate-50); }
.bg-navy { background: var(--navy-950); color: #fff; }
.bg-navy .section-title { color: #fff; }
.bg-navy .section-desc { color: var(--slate-400); }
.bg-navy .section-label { color: var(--teal-400); }

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-base) var(--ease-out);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.icon-teal { background: rgba(14, 165, 233, 0.1); color: var(--teal-600); }
.icon-amber { background: rgba(245, 158, 11, 0.1); color: var(--amber-600); }
.icon-navy { background: rgba(10, 22, 40, 0.08); color: var(--navy-800); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--success); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--slate-500);
  line-height: 1.7;
  font-size: 0.95rem;
}

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

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

/* ============================================
   SPECS TABLE
   ============================================ */
.specs-wrap {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.specs-wrap th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  text-align: right;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-wrap td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--slate-100);
  text-align: right;
  font-size: 0.95rem;
}

.specs-wrap tr:last-child td {
  border-bottom: none;
}

.specs-wrap tbody tr:hover {
  background: var(--slate-50);
}

.specs-wrap td:first-child {
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .specs-wrap {
    overflow-x: auto;
  }
  .specs-wrap table {
    min-width: 560px;
  }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-wrap {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.compare-wrap th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  font-size: var(--fs-sm);
}

.compare-wrap th:first-child {
  text-align: right;
}

/* Highlight the Futroo column */
.compare-wrap th.highlight {
  background: var(--teal-600);
}

.compare-wrap td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--slate-100);
  text-align: center;
  font-size: 0.95rem;
}

.compare-wrap td:first-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy-900);
}

.compare-wrap td.highlight-col {
  background: rgba(14, 165, 233, 0.04);
}

.compare-wrap tbody tr:hover {
  background: var(--slate-50);
}

.check {
  color: var(--success);
  font-weight: 700;
  font-size: 1.25rem;
}

.cross {
  color: var(--slate-300);
  font-size: 1.25rem;
}

@media (max-width: 700px) {
  .compare-wrap {
    overflow-x: auto;
  }
  .compare-wrap table {
    min-width: 560px;
  }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-lg);
}

.stat-block {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.bg-white .stat-number { color: var(--teal-600); }

.stat-label {
  font-size: var(--fs-sm);
  color: var(--slate-400);
  font-weight: 500;
}

.bg-white .stat-label { color: var(--slate-500); }

/* ============================================
   USE CASES
   ============================================ */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.use-case-card {
  display: flex;
  gap: var(--space-lg);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-base) var(--ease-out);
}

.use-case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}

.use-case-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.use-case-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-xs);
}

.use-case-card p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.7;
}

@media (max-width: 700px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.form-group label {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy-900);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--navy-900);
  direction: rtl;
  transition: all var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background: #fff;
}

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

.form-msg {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  display: none;
  margin-top: var(--space-md);
}

.form-msg.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-msg.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contact info sidebar */
.contact-info-sidebar h3 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: var(--space-md);
}

.contact-info-sidebar > p {
  color: var(--slate-500);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--slate-100);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  color: var(--navy-900);
  font-size: var(--fs-sm);
}

.contact-method span {
  color: var(--slate-500);
  font-size: var(--fs-sm);
}

.contact-method a {
  color: var(--teal-600);
  font-weight: 600;
}

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

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1.05rem;
  text-align: right;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--slate-400);
  flex-shrink: 0;
  margin-right: var(--space-md);
  transition: transform var(--duration-base) var(--ease-out);
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--teal-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--slate-500);
  line-height: 1.8;
  font-size: 0.95rem;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  line-height: 1.8;
  font-size: var(--fs-sm);
  max-width: 320px;
}

.footer-col h4 {
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--slate-400);
  padding: var(--space-xs) 0;
  font-size: var(--fs-sm);
  transition: color var(--duration-fast);
}

.footer-col a:hover {
  color: var(--teal-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
}

.footer-bottom a {
  color: var(--slate-500);
  transition: color var(--duration-fast);
}

.footer-bottom a:hover {
  color: var(--teal-400);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

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

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 900;
  transition: transform var(--duration-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}

/* ============================================
   ABOUT PAGE — Team, Mission
   ============================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.mission-text h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: var(--space-md);
}

.mission-text p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.value-card .value-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal-500);
  margin-bottom: var(--space-sm);
}

.value-card h3 {
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.7;
}

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

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

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

.blog-card-img {
  height: 200px;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 3rem;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--slate-400);
  margin-bottom: var(--space-sm);
}

.blog-card-tag {
  background: rgba(14, 165, 233, 0.1);
  color: var(--teal-600);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.7;
}

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

/* ============================================
   BLOG ARTICLE
   ============================================ */
.article-header {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  text-align: center;
}

.article-header .blog-card-tag {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.article-header h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: var(--space-md);
}

.article-header .meta {
  color: var(--slate-400);
  font-size: var(--fs-sm);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: var(--space-4xl);
}

.article-content h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--navy-900);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-content h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--navy-900);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-md);
  line-height: 1.85;
  color: var(--slate-700);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-md);
  padding-right: var(--space-xl);
}

.article-content li {
  list-style: disc;
  margin-bottom: var(--space-sm);
  line-height: 1.8;
  color: var(--slate-700);
}

.article-content ol li {
  list-style: decimal;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-4xl);
}

.legal-page h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: var(--space-sm);
}

.legal-page .last-updated {
  color: var(--slate-400);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-2xl);
}

.legal-page h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--navy-900);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-sm);
}

.legal-page p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: var(--slate-600);
}

.legal-page ul {
  margin-bottom: var(--space-md);
  padding-right: var(--space-xl);
}

.legal-page li {
  list-style: disc;
  margin-bottom: var(--space-sm);
  line-height: 1.8;
  color: var(--slate-600);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy-950);
  color: #fff;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(79, 70, 229, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.page-hero h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--slate-500);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--teal-400);
}

.breadcrumb span {
  color: var(--slate-600);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: var(--slate-400);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ============================================
   SCROLL REVEAL (JS-driven)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

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

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .whatsapp-fab,
  .site-footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    padding-top: 2rem;
    background: #fff;
    color: #000;
  }
}

/* ============================================
   GRADIENT BACKGROUNDS (matching brand palette)
   ============================================ */
.gradient-bg-1 {
  background: linear-gradient(135deg, #DDF4F1 0%, #EED4E7 100%);
}

.gradient-bg-2 {
  background: linear-gradient(135deg, #E8F4FD 0%, #F0E7FF 100%);
}

.gradient-bg-3 {
  background: linear-gradient(135deg, #F0F9FF 0%, #FDF2F8 100%);
}

/* Footer image logo */
.footer-brand .logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
