/* ═══════════════════════════════════════════
   SUPERAPP — PREMIUM DEALER PLATFORM
   Global Design System
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  /* Brand */
  --brand-primary: #6366f1;
  --brand-secondary: #8b5cf6;
  --brand-accent: #06b6d4;
  --brand-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --brand-soft: linear-gradient(135deg, #ede9fe 0%, #e0f2fe 100%);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Status colours */
  --red: #ef4444;
  --orange: #f97316;
  --yellow: #eab308;
  --green: #22c55e;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --pink: #ec4899;

  /* Spacing */
  --section-pad: 100px 0;
  --container: 1200px;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-brand: 0 8px 32px rgba(99, 102, 241, 0.25);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

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

/* ── Section padding ── */
.section-pad { padding: var(--section-pad); }

/* ── Typography utilities ── */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(99, 102, 241, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-md); }

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(99, 102, 241, 0.04);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--gray-500);
  transform: translateY(-1px);
}

/* ── Spinner ── */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════
   NAVIGATION
════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.5rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(99,102,241,0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--brand-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}


/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #fafbff 0%, #f3f4ff 40%, #e8f4ff 100%);
}

/* Background orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #c7d2fe 0%, transparent 70%);
  top: -200px; right: -100px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #ddd6fe 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #bae6fd 0%, transparent 70%);
  top: 50%; left: 40%;
  transform: translateY(-50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(99,102,241,0.2); }
  50% { box-shadow: 0 0 0 5px rgba(99,102,241,0.08); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  max-width: 900px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

/* ── Phone Mockup ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.phone-frame {
  position: relative;
  width: 280px;
  background: var(--gray-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.1) inset;
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.5s ease;
  z-index: 2;
}
.phone-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-notch {
  width: 100px; height: 30px;
  background: var(--gray-900);
  border-radius: 0 0 20px 20px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 28px;
  padding: 16px;
  min-height: 500px;
  overflow: hidden;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.app-header-left { display: flex; align-items: center; gap: 10px; }
.app-avatar {
  width: 36px; height: 36px;
  background: var(--brand-gradient);
  border-radius: 12px;
  flex-shrink: 0;
}
.app-greeting { font-size: 11px; font-weight: 600; color: var(--gray-800); }
.app-dealer { font-size: 10px; color: var(--gray-400); }
.app-bell { font-size: 18px; }

.app-car-banner {
  background: var(--brand-gradient);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  color: white;
}
.app-car-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.app-car-sub { font-size: 10px; opacity: 0.85; margin-bottom: 10px; }
.app-car-pill {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.app-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.app-tile {
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.tile-blue { background: rgba(99,102,241,0.1); }
.tile-purple { background: rgba(139,92,246,0.1); }
.tile-green { background: rgba(34,197,94,0.1); }
.tile-orange { background: rgba(249,115,22,0.1); }
.tile-icon-3d { font-size: 22px; margin-bottom: 4px; }
.tile-label { font-size: 10px; font-weight: 600; color: var(--gray-700); }

.app-notif {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.notif-dot {
  width: 8px; height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.notif-text { font-size: 9.5px; color: var(--gray-600); line-height: 1.4; }

/* Floating cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite;
}
.float-card-1 { top: 8%; left: -30px; animation-delay: 0s; }
.float-card-2 { bottom: 25%; right: -20px; animation-delay: 1.3s; }
.float-card-3 { bottom: 5%; left: -20px; animation-delay: 2.6s; }

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

.fc-icon { font-size: 22px; }
.fc-text { display: flex; flex-direction: column; gap: 2px; }
.fc-text strong { font-size: 12px; font-weight: 700; color: var(--gray-800); }
.fc-text span { font-size: 10px; color: var(--gray-400); }


/* ════════════════════════════════════
   PAIN POINTS
════════════════════════════════════ */
.pain {
  background: var(--white);
}

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

.pain-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.pain-icon { margin-bottom: 20px; }

.icon-3d {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.icon-3d svg { width: 100%; height: 100%; }

.icon-red { background: linear-gradient(145deg, #fff, #fff1f2); box-shadow: 0 4px 16px rgba(239,68,68,0.15); }
.icon-orange { background: linear-gradient(145deg, #fff, #fff7ed); box-shadow: 0 4px 16px rgba(249,115,22,0.15); }
.icon-yellow { background: linear-gradient(145deg, #fff, #fefce8); box-shadow: 0 4px 16px rgba(234,179,8,0.15); }
.icon-blue { background: linear-gradient(145deg, #fff, #eff6ff); box-shadow: 0 4px 16px rgba(59,130,246,0.15); }
.icon-purple { background: linear-gradient(145deg, #fff, #f5f3ff); box-shadow: 0 4px 16px rgba(139,92,246,0.15); }
.icon-pink { background: linear-gradient(145deg, #fff, #fdf2f8); box-shadow: 0 4px 16px rgba(236,72,153,0.15); }

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.pain-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pain-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.stat-big {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--gray-400); line-height: 1.4; }

.text-red { color: var(--red); }
.text-orange { color: var(--orange); }
.text-yellow { color: var(--yellow); }
.text-blue { color: var(--blue); }
.text-purple { color: var(--purple); }
.text-pink { color: var(--pink); }


/* ════════════════════════════════════
   PLATFORM INTRO
════════════════════════════════════ */
.platform {
  background: linear-gradient(160deg, #fafaff 0%, #f0f4ff 100%);
}

.platform-pillars {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  padding: 40px;
  flex-wrap: wrap;
}

.pillar {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px 24px;
}
.pillar-icon { font-size: 2.5rem; margin-bottom: 12px; }
.pillar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pillar-desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }

.pillar-divider {
  width: 1px;
  height: 80px;
  background: var(--gray-200);
  flex-shrink: 0;
}


/* ════════════════════════════════════
   FEATURES
════════════════════════════════════ */
.features { background: var(--white); }

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

.feat-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feat-card-large {
  grid-column: span 2;
}

.feat-icon-3d { margin-bottom: 20px; }

.icon-sphere {
  width: 64px; height: 64px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  position: relative;
}
.icon-sphere::after {
  content: '';
  position: absolute;
  top: 4px; left: 8px; right: 8px;
  height: 30%;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  filter: blur(4px);
}
.icon-sphere svg { width: 100%; height: 100%; position: relative; z-index: 1; }

.icon-sphere-blue { background: linear-gradient(145deg, #93c5fd, #2563eb); }
.icon-sphere-purple { background: linear-gradient(145deg, #c084fc, #7c3aed); }
.icon-sphere-green { background: linear-gradient(145deg, #86efac, #16a34a); }
.icon-sphere-orange { background: linear-gradient(145deg, #fdba74, #ea580c); }
.icon-sphere-cyan { background: linear-gradient(145deg, #67e8f9, #0891b2); }
.icon-sphere-rose { background: linear-gradient(145deg, #fda4af, #e11d48); }
.icon-sphere-indigo { background: linear-gradient(145deg, #a5b4fc, #4338ca); }
.icon-sphere-teal { background: linear-gradient(145deg, #5eead4, #0f766e); }
.icon-sphere-violet { background: linear-gradient(145deg, #d8b4fe, #7c3aed); }
.icon-sphere-amber { background: linear-gradient(145deg, #fde68a, #d97706); }
.icon-sphere-emerald { background: linear-gradient(145deg, #6ee7b7, #059669); }
.icon-sphere-sky { background: linear-gradient(145deg, #7dd3fc, #0284c7); }

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
}
.feat-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feat-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(99,102,241,0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(99,102,241,0.12);
}


/* ════════════════════════════════════
   EXECUTIVE SECTION
════════════════════════════════════ */
.executive {
  background: linear-gradient(160deg, #f8f8ff 0%, #f0f4ff 100%);
}

.exec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.exec-para {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
}

.exec-bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }

.exec-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.bullet-check {
  width: 24px; height: 24px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.exec-card-stack { display: flex; flex-direction: column; gap: 20px; }

.exec-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}
.exec-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--brand-primary);
}

.ec-1 { border-left: 3px solid var(--red); }
.ec-2 { border-left: 3px solid var(--brand-primary); }
.ec-3 { border-left: 3px solid var(--green); }

.ec-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.ec-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.ec-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }


/* ════════════════════════════════════
   GLOBAL SECTION
════════════════════════════════════ */
.global-section { background: var(--white); }

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

.global-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-align: center;
}
.global-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.gc-icon { font-size: 2.5rem; margin-bottom: 16px; }
.gc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.gc-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }


/* ════════════════════════════════════
   ACCESS STEPS
════════════════════════════════════ */
.access {
  background: linear-gradient(160deg, #f8f8ff 0%, #f0f4ff 100%);
}

.access-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.access-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-full);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-icon { font-size: 2.5rem; margin-bottom: 12px; }
.access-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.access-step p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}
.step-connector span {
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 2px;
  flex-shrink: 0;
}


/* ════════════════════════════════════
   DEMO FORM
════════════════════════════════════ */
.demo-section { background: var(--white); }

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.demo-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.15;
}

.demo-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
}

.demo-promises { display: flex; flex-direction: column; gap: 14px; }

.dp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.dp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dp-green { background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }

/* Form */
.demo-form {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: white;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-400); }
.form-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

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

.form-privacy {
  font-size: 0.775rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Success */
.form-success {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 12px;
}
.success-note { font-size: 0.85rem; color: var(--gray-400); }


/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer .nav-logo { color: white; }
.footer .logo-icon { font-size: 1.6rem; }
.footer .logo-text { color: white; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 12px;
  max-width: 320px;
}

.footer-contact { font-size: 0.85rem; color: var(--gray-400); }
.footer-contact a { color: var(--brand-primary); }
.footer-contact a:hover { text-decoration: underline; }

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

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  padding: 20px 24px;
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: center;
}


/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */

/* ── Large screens only tweaks ── */
@media (min-width: 1200px) {
  .pain-card:nth-child(4),
  .pain-card:nth-child(5),
  .pain-card:nth-child(6) {
    margin-top: 0;
  }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px 0; }

  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card-large { grid-column: span 1; }
  .global-grid { grid-template-columns: repeat(2, 1fr); }
  .exec-layout { grid-template-columns: 1fr; gap: 48px; }
  .demo-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }

  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }

  .hero-visual { display: none; }
  .hero-ctas { margin-bottom: 0; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav open state */
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 20px 24px;
    gap: 16px;
    border-top: 1px solid var(--gray-100);
  }
  .nav.open .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 140px);
    left: 0; right: 0;
    background: white;
    padding: 0 24px 20px;
    gap: 12px;
    z-index: 999;
  }
  .nav.open .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero { padding: 100px 0 60px; }
  .hero-headline { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero-ctas { flex-direction: column; gap: 12px; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; text-align: center; }

  .pain-grid { grid-template-columns: 1fr; }
  .platform-pillars { flex-direction: column; padding: 24px; }
  .pillar-divider { width: 100%; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card-large { grid-column: span 1; }
  .global-grid { grid-template-columns: 1fr; }
  .access-steps { flex-direction: column; }
  .step-connector { padding-top: 0; transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .demo-form { padding: 28px 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .section-heading { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-badge { font-size: 0.75rem; }
}
