/* ========================================
   OFERTIQ LANDING PAGE — INDIGO/VIOLET REDESIGN
   ======================================== */

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

:root {
  /* Primary — Indigo/Violet */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;

  --violet-400: #a78bfa;
  --violet-500: #8B5CF6;
  --violet-600: #7c3aed;

  /* CTA — Amber */
  --amber-400: #fbbf24;
  --amber-500: #F59E0B;
  --amber-600: #d97706;

  /* Neutrals */
  --stone-50: #FAFAF9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;

  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181B;
  --zinc-950: #09090b;

  /* Semantic colors */
  --green-500: #22c55e;
  --green-600: #16a34a;
  --emerald-50: #ecfdf5;
  --emerald-500: #10b981;
  --red-500: #ef4444;
  --rose-50: #fff1f2;
  --rose-500: #f43f5e;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --teal-50: #f0fdfa;
  --teal-500: #14b8a6;
  --pink-50: #fdf2f8;
  --pink-500: #ec4899;
  --sky-50: #f0f9ff;
  --sky-500: #0ea5e9;

  /* Design tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-card: 0 4px 24px -4px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 12px 32px -4px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 60px rgba(79,70,229,0.15);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--zinc-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION — Transparent → White on scroll --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--zinc-200);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { display: flex; }

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.4s;
}

.nav.scrolled .logo-text { color: var(--zinc-900); }

.logo-highlight { color: var(--indigo-400); }
.nav.scrolled .logo-highlight { color: var(--indigo-600); }

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

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover { color: #fff; }

.nav.scrolled .nav-links a { color: var(--zinc-600); }
.nav.scrolled .nav-links a:hover { color: var(--zinc-900); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.scrolled .nav-toggle span { background: var(--zinc-700); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  padding: 10px 20px;
}

.btn-cta {
  background: var(--amber-500);
  color: var(--zinc-900);
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.btn-cta:hover {
  background: var(--amber-400);
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
  transform: translateY(-1px);
}

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

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

.btn-nav {
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
  color: var(--zinc-900) !important;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- HERO — Dark bg, centered text, dashboard below --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #0F172A 0%, #1e1b4b 40%, #312E81 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
}

.hero-glow-1 {
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79,70,229,0.25) 0%, transparent 70%);
}

.hero-glow-2 {
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
}

.hero-grid-pattern {
  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;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

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

.hero-content {
  max-width: 720px;
  margin-bottom: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--indigo-200);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

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

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

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.hero-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* --- HERO DASHBOARD MOCKUP --- */
.hero-visual {
  width: 100%;
  max-width: 900px;
}

.hero-dashboard {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.4);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-dots { display: flex; gap: 6px; }

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

.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }

.dash-title {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.dash-body { padding: 20px; }

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.dash-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.icon-indigo { background: rgba(79,70,229,0.2); color: var(--indigo-400); }
.icon-green { background: rgba(34,197,94,0.15); color: var(--green-500); }
.icon-violet { background: rgba(139,92,246,0.2); color: var(--violet-400); }
.icon-amber { background: rgba(245,158,11,0.2); color: var(--amber-400); }

.dash-card-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.dash-card-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.dash-table {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.2fr 1.2fr;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  align-items: center;
}

.dash-row:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-row-header {
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.status-green { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-amber { background: rgba(245,158,11,0.15); color: #fbbf24; }
.status-indigo { background: rgba(99,102,241,0.2); color: #a5b4fc; }

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--indigo-50);
  color: var(--indigo-600);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--zinc-900);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 18px;
  color: var(--zinc-500);
  max-width: 600px;
  margin: 0 auto;
}

/* Light section header (for dark bg) */
.section-header-light .section-title { color: #fff; }
.section-header-light .section-desc { color: rgba(255,255,255,0.6); }
.section-tag-dark {
  background: rgba(99,102,241,0.2);
  color: var(--indigo-300, #a5b4fc);
}

/* --- FEATURES — Bento Grid --- */
.features {
  padding: 100px 0;
  background: #fff;
}

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

/* Large cards span 1 col, 2 rows */
.bento-card {
  background: var(--stone-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

/* Color accents for bento cards */
.bento-card[data-color="indigo"]::before { background: var(--indigo-600); }
.bento-card[data-color="violet"]::before { background: var(--violet-500); }
.bento-card[data-color="emerald"]::before { background: var(--emerald-500); }
.bento-card[data-color="amber"]::before { background: var(--amber-500); }
.bento-card[data-color="rose"]::before { background: var(--rose-500); }
.bento-card[data-color="teal"]::before { background: var(--teal-500); }
.bento-card[data-color="pink"]::before { background: var(--pink-500); }
.bento-card[data-color="sky"]::before { background: var(--sky-500); }
.bento-card[data-color="orange"]::before { background: var(--orange-500); }

.bento-card[data-color="indigo"] .bento-icon { background: var(--indigo-50); color: var(--indigo-600); }
.bento-card[data-color="violet"] .bento-icon { background: #f5f3ff; color: var(--violet-600); }
.bento-card[data-color="emerald"] .bento-icon { background: var(--emerald-50); color: var(--emerald-500); }
.bento-card[data-color="amber"] .bento-icon { background: #fffbeb; color: var(--amber-600); }
.bento-card[data-color="rose"] .bento-icon { background: var(--rose-50); color: var(--rose-500); }
.bento-card[data-color="teal"] .bento-icon { background: var(--teal-50); color: var(--teal-500); }
.bento-card[data-color="pink"] .bento-icon { background: var(--pink-50); color: var(--pink-500); }
.bento-card[data-color="sky"] .bento-icon { background: var(--sky-50); color: var(--sky-500); }
.bento-card[data-color="orange"] .bento-icon { background: var(--orange-50); color: var(--orange-500); }

.bento-lg {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.bento-lg:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.bento-lg:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--zinc-500);
  line-height: 1.6;
}

.bento-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
}

.bento-tags span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(79,70,229,0.08);
  color: var(--indigo-600);
}

/* --- HOW IT WORKS — Horizontal Cards --- */
.how-it-works {
  padding: 100px 0;
  background: var(--stone-50);
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 12px;
}

.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.step-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--zinc-500);
  line-height: 1.6;
}

.step-connector-h {
  display: flex;
  align-items: center;
  padding-top: 24px;
  flex-shrink: 0;
}

/* --- ANALYTICS — Dark Section --- */
.analytics {
  padding: 100px 0;
  background: var(--zinc-900);
}

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

.metric-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s;
}

.metric-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
}

.metric-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.metric-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(79,70,229,0.15);
  color: var(--indigo-400);
  margin-bottom: 20px;
}

.metric-value {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.metric-small {
  font-size: 24px;
  font-weight: 600;
  color: var(--zinc-500);
}

.metric-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

.metric-sub {
  display: block;
  font-size: 13px;
  color: var(--zinc-500);
  margin-top: 4px;
}

/* --- INDUSTRIES — Pill Badges --- */
.industries {
  padding: 80px 0;
  background: #fff;
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--stone-50);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--zinc-700);
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
  cursor: default;
}

.industry-pill svg { color: var(--indigo-500); }

.industry-pill:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  color: var(--indigo-700);
}

/* --- BENEFITS — 2-col with Oversized Numbers --- */
.benefits {
  padding: 100px 0;
  background: var(--stone-50);
}

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

.benefit-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

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

.benefit-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--indigo-200) 0%, var(--indigo-100) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefit-body { flex: 1; }

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--zinc-500);
  line-height: 1.6;
}

/* --- TRUST BAR --- */
.trust {
  padding: 48px 0;
  background: #fff;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
}

.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--zinc-200);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zinc-400);
  font-size: 14px;
  font-weight: 600;
}

/* --- FAQ — Split Layout --- */
.faq {
  padding: 100px 0;
  background: #fff;
}

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

.faq-left .section-tag { margin-bottom: 16px; }

.faq-left .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.faq-intro {
  font-size: 16px;
  color: var(--zinc-500);
  line-height: 1.6;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--stone-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
}

.faq-item.open {
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--zinc-800);
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--zinc-400);
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--zinc-500);
  line-height: 1.7;
}

/* --- CONTACT — Indigo Gradient Bg, Centered Card --- */
.contact {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--indigo-600) 0%, var(--indigo-900) 100%);
  position: relative;
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.25);
}

.contact-header {
  text-align: center;
  margin-bottom: 36px;
}

.contact-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--zinc-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 16px;
  color: var(--zinc-500);
  margin-bottom: 20px;
}

.contact-features {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-600);
}

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

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--zinc-800);
  background: var(--stone-50);
  transition: all 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--zinc-400);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
  background: #fff;
}

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

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--zinc-400);
  margin-top: 4px;
}

/* --- FORM SUCCESS STATE --- */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--green-600);
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--zinc-500);
}

/* --- FOOTER — 3-Column Layout --- */
.footer {
  background: var(--zinc-950);
  padding: 64px 0 24px;
  color: var(--zinc-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer .logo-text { color: #fff; }
.footer .logo-highlight { color: var(--indigo-400); }

.footer-desc {
  font-size: 14px;
  color: var(--zinc-500);
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--zinc-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--zinc-500);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--zinc-800);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p { font-size: 13px; }

/* --- BUTTON SPINNER --- */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--zinc-900);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  .hero-title { font-size: 44px; }

  .hero-visual { max-width: 700px; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg:nth-child(1),
  .bento-lg:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .steps-row { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .step-connector-h { display: none; }
  .step-card { max-width: 220px; }

  .metrics-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .metric-card { padding: 28px 20px; }

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

  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-left .section-title { text-align: center; }
  .faq-left { text-align: center; }

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

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--zinc-900);
    border-bottom: 1px solid var(--zinc-700);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }

  .nav.scrolled .nav-links {
    background: #fff;
    border-bottom-color: var(--zinc-200);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }

  .nav.scrolled .nav-links a { color: var(--zinc-600); }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .nav-links .btn-nav {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero */
  .hero { padding: 110px 0 48px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero-badge { font-size: 12px; margin-bottom: 20px; }
  .hero-content { margin-bottom: 40px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat-divider { display: none; }
  .hero-stat-number { font-size: 26px; }

  .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-row { font-size: 11px; padding: 8px 10px; gap: 4px; }
  .status-badge { font-size: 10px; padding: 2px 6px; }

  /* Sections */
  .features,
  .how-it-works,
  .analytics,
  .benefits,
  .faq,
  .contact { padding: 64px 0; }

  .industries { padding: 48px 0; }

  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 28px; line-height: 1.2; }
  .section-desc { font-size: 15px; }

  /* Features */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card { padding: 24px; }

  /* Steps */
  .steps-row { flex-direction: column; align-items: center; gap: 28px; }
  .step-card { max-width: 100%; }

  /* Analytics */
  .metrics-row { grid-template-columns: 1fr; gap: 16px; }
  .metric-card { padding: 28px; }
  .metric-value { font-size: 40px; }

  /* Industries */
  .industry-pills { gap: 8px; }
  .industry-pill { padding: 10px 18px; font-size: 14px; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 24px; }
  .benefit-number { font-size: 48px; }

  /* Trust */
  .trust { padding: 32px 0; }
  .trust-inner { flex-direction: column; gap: 16px; }
  .trust-divider { width: 48px; height: 1px; }
  .trust-logos { gap: 20px; justify-content: center; }
  .trust-item { font-size: 13px; }

  /* FAQ */
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-left { text-align: center; }
  .faq-left .section-title { text-align: center; }
  .faq-question { font-size: 14px; padding: 16px 20px; }
  .faq-answer p { padding: 0 20px 16px; font-size: 14px; }

  /* Contact */
  .contact-card { padding: 28px; border-radius: var(--radius-xl); }
  .contact-header h2 { font-size: 24px; }
  .contact-features { flex-direction: column; align-items: center; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group textarea { font-size: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-col { align-items: center; text-align: center; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-title { font-size: 26px; }
  .section-title { font-size: 24px; }
  .dash-cards { grid-template-columns: 1fr; }
  .benefit-card { flex-direction: column; gap: 12px; }
  .benefit-number { font-size: 40px; }
  .industry-pill { width: 100%; justify-content: center; }
}
