/* ============================================================
   HiPay Design System v3 — Stripe-style Minimalist
   Font: Inter · Palette: Indigo + Slate · Style: Clean Modern
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-900: #312e81;

  /* Slate (neutrals) */
  --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 */
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;

  /* Aliases */
  --bg:         #ffffff;
  --bg-subtle:  var(--slate-50);
  --border:     var(--slate-200);
  --text-1:     var(--slate-900);
  --text-2:     var(--slate-600);
  --text-3:     var(--slate-400);
  --brand:      var(--indigo-500);
  --brand-dark: var(--indigo-600);

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .07), 0 2px 4px -2px rgb(0 0 0 / .05);
  --shadow-lg: 0 10px 24px -4px rgb(0 0 0 / .08), 0 4px 8px -4px rgb(0 0 0 / .04);
  --shadow-xl: 0 20px 40px -8px rgb(0 0 0 / .10), 0 8px 16px -8px rgb(0 0 0 / .05);
  --shadow-brand: 0 8px 24px -4px rgb(99 102 241 / .28);

  /* Glass */
  --glass-bg:     rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.90);

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;
  --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Background Orbs ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #c7d2fe 0%, #a5b4fc 60%, transparent 100%);
  top: -200px; right: -100px;
  animation-duration: 20s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #ddd6fe 0%, #c4b5fd 60%, transparent 100%);
  bottom: -150px; left: -100px;
  animation-duration: 25s;
  animation-delay: -5s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #bfdbfe 0%, #93c5fd 60%, transparent 100%);
  top: 40%; left: 40%;
  opacity: .25;
  animation-duration: 22s;
  animation-delay: -10s;
}
@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.04); }
  100% { transform: translate(-20px, 50px) scale(.97); }
}

/* ---------- Container ---------- */
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  position: relative;
  z-index: 1;
}

/* ---------- Utility ---------- */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              backdrop-filter var(--dur-base) var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 0 var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--r-md);
}
.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -.4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  flex: 1;
}
.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
  background: var(--slate-100);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast);
}
.nav-login:hover { color: var(--text-1); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: var(--r-md);
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}
.nav-cta:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-brand);
  transform: translateY(-1px);
}
.nav-cta:active { transform: translateY(0); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--dur-base);
}

/* ---------- Section Common ---------- */
section { position: relative; z-index: 1; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: var(--sp-5);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: var(--sp-4);
}
.section-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
}
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-header .section-desc { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  padding: 12px 24px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-brand);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--brand-dark); }
.btn-ghost svg { transition: transform var(--dur-fast); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ---------- Glass Card ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: var(--sp-24);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo-700);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: var(--sp-6);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: var(--slate-900);
  margin-bottom: var(--sp-5);
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -.5px;
}
.trust-label {
  font-size: 13px;
  color: var(--text-3);
}
.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero Visual — Phone Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-wrap {
  position: relative;
  width: 300px;
}
.phone-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.6) inset;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.phone-merchant {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.merchant-icon {
  width: 40px;
  height: 40px;
  background: var(--indigo-50);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.merchant-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
}
.merchant-id {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'Courier New', monospace;
  margin-top: 2px;
}
.phone-amount-label {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 6px;
}
.phone-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--slate-900);
  text-align: center;
  letter-spacing: -2px;
  margin-bottom: var(--sp-6);
}
.phone-amount sup {
  font-size: 22px;
  font-weight: 600;
  vertical-align: super;
  letter-spacing: 0;
}
.phone-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.qr-box {
  width: 88px;
  height: 88px;
  background: var(--slate-900);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-box svg { color: #fff; }
.phone-qr-tip {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
}
.phone-channels {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
}
.channel-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--bg);
}
.phone-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--sp-5);
  padding: var(--sp-3);
  border-radius: var(--r-lg);
  background: var(--green-100);
  color: #166534;
  font-size: 13px;
  font-weight: 600;
}
/* floating mini cards */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.float-card-1 { top: -16px; right: -24px; animation-delay: -1s; }
.float-card-2 { bottom: 40px; left: -32px; animation-delay: -2.5s; }
.float-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

/* ---------- Features ---------- */
.features { padding: var(--sp-24) 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: box-shadow var(--dur-base), transform var(--dur-base), border-color var(--dur-base);
  cursor: default;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--indigo-200);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--indigo-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.feature-card:hover .feature-icon {
  background: var(--brand);
  color: #fff;
}
.feature-title {
  font-size: 16px;
  font-weight: 650;
  color: var(--slate-900);
  margin-bottom: var(--sp-2);
  letter-spacing: -.2px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---------- Solutions ---------- */
.solutions {
  background: var(--bg-subtle);
  padding: var(--sp-24) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.solution-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: box-shadow var(--dur-base), transform var(--dur-base), border-color var(--dur-base);
}
.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--indigo-200);
}
.solution-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--indigo-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.solution-title {
  font-size: 15px;
  font-weight: 650;
  color: var(--slate-900);
  margin-bottom: var(--sp-2);
  letter-spacing: -.2px;
}
.solution-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}
.solution-tags {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.solution-tag {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.solution-tag::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--indigo-400);
  flex-shrink: 0;
}

/* ---------- Stats ---------- */
.stats { padding: var(--sp-24) 0; }
.stats-bar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-2xl);
  padding: var(--sp-12) var(--sp-16);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--slate-900);
  line-height: 1;
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--sp-1);
}
.stat-trend {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  background: var(--green-100);
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
}

/* ---------- Pricing ---------- */
.pricing { padding: var(--sp-24) 0; background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  max-width: 780px;
  margin-inline: auto;
}
.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--indigo-400);
  background: linear-gradient(160deg, #fafbff 0%, #f0f4ff 100%);
  box-shadow: 0 0 0 1px var(--indigo-200), var(--shadow-lg);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px var(--indigo-400), var(--shadow-xl);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--indigo-500), var(--indigo-700));
  border-radius: 999px;
  padding: 4px 16px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.pricing-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pricing-price {
  font-size: 56px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.pricing-price sup {
  font-size: 24px;
  font-weight: 600;
  vertical-align: super;
  letter-spacing: 0;
}
.pricing-unit {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--sp-5);
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.discount-badge {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  background: var(--amber-100);
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--text-2);
}
.pricing-features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23e0e7ff'/%3E%3Cpath stroke='%236366f1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none' d='M5 8.5l2 2 4-4'/%3E%3C/svg%3E");
  background-size: contain;
}
.pricing-features li.highlight {
  color: var(--slate-800);
  font-weight: 500;
}
.pricing-features li.highlight::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3E%3Ccircle cx='8' cy='8' r='7' fill='%236366f1'/%3E%3Cpath stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none' d='M5 8.5l2 2 4-4'/%3E%3C/svg%3E");
}

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: var(--sp-16) 0 0;
}
.footer-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: var(--sp-4);
  color: var(--slate-500);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  font-size: 14px;
  color: var(--slate-500);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: var(--sp-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-copy {
  font-size: 13px;
  color: var(--slate-600);
  flex: 1;
}
.footer-icp {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 12px;
  color: var(--slate-600);
}
.footer-icp a {
  color: var(--slate-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--dur-fast);
  white-space: nowrap;
}
.footer-icp a:hover { color: var(--slate-400); }
.footer-icp img { width: 14px; height: 14px; }
.footer-icp-div { color: var(--slate-700); }
.footer-links-bottom {
  display: flex;
  gap: var(--sp-5);
  justify-content: flex-end;
  flex: 1;
}
.footer-links-bottom a {
  font-size: 13px;
  color: var(--slate-600);
  text-decoration: none;
  transition: color var(--dur-fast);
  white-space: nowrap;
}
.footer-links-bottom a:hover { color: var(--slate-400); }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-bar        { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); padding: var(--sp-8); }
  .stat-item + .stat-item::before { display: none; }
  .footer-content   { grid-template-columns: 1fr; gap: var(--sp-10); }
}

/* ---- Tablet ---- */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner        { padding-inline: var(--sp-4); gap: var(--sp-4); }
  .nav-links        {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-1);
    box-shadow: 0 8px 24px -4px rgb(0 0 0 / .08);
  }
  .nav-links.open   { display: flex; }
  .nav-links a      { padding: 10px 14px; font-size: 15px; }
  .nav-toggle       { display: flex; margin-left: auto; }
  .nav-login        { display: none; }
  .nav-cta          { font-size: 13px; padding: 7px 14px; }

  /* Container */
  .container        { padding-inline: var(--sp-5); }

  /* Section spacing */
  .features, .solutions, .stats, .pricing { padding: var(--sp-16) 0; }
  .section-header   { margin-bottom: var(--sp-8); }
  .section-title    { font-size: 26px; }
  .section-desc     { font-size: 15px; }

  /* Hero */
  .hero             { padding-top: 64px; padding-bottom: var(--sp-16); min-height: auto; }
  .hero-grid        { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero-visual      { display: flex; justify-content: center; }
  .phone-wrap       { width: 100%; max-width: 480px; }
  .phone-card       { width: 100%; }
  .float-card       { display: none; }
  .hero-title       { font-size: 34px; letter-spacing: -1px; }
  .hero-subtitle    { font-size: 15px; margin-bottom: var(--sp-6); }
  .hero-actions     { gap: var(--sp-3); margin-bottom: var(--sp-8); }
  .btn-lg           { padding: 12px 24px; font-size: 15px; }
  .hero-trust       { gap: var(--sp-4); }
  .trust-value      { font-size: 17px; }
  .trust-label      { font-size: 12px; }

  /* Features */
  .features-grid    { grid-template-columns: 1fr; gap: var(--sp-4); }
  .feature-card     { padding: var(--sp-6); }

  /* Solutions */
  .solutions-grid   { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

  /* Stats */
  .stats-bar        { grid-template-columns: repeat(2, 1fr); padding: var(--sp-6) var(--sp-5); gap: 0; border-radius: var(--r-xl); }
  .stat-item        { padding: var(--sp-5) var(--sp-4); }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }

  /* Pricing */
  .pricing-grid     { grid-template-columns: 1fr; max-width: 420px; gap: var(--sp-8); }
  .pricing-card     { padding: var(--sp-6); }
  .pricing-price    { font-size: 48px; }

  /* Footer */
  .footer-cols      { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom    { flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3); }
  .footer-links-bottom { justify-content: center; }
  .footer-icp       { justify-content: center; flex-wrap: wrap; }
  .footer-copy      { text-align: center; flex: none; }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .container        { padding-inline: var(--sp-4); }
  .hero-title       { font-size: 30px; }
  .hero-badge       { font-size: 12px; }
  .hero-trust       { gap: var(--sp-3); }
  .trust-sep        { height: 24px; }

  /* Hero actions — stack vertically on very small screens */
  .hero-actions     { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .phone-card       { padding: var(--sp-5); }
  .phone-amount     { font-size: 38px; }

  .features-grid    { gap: var(--sp-3); }
  .solutions-grid   { grid-template-columns: 1fr; }
  .stats-bar        { padding: var(--sp-5) var(--sp-4); }
  .stat-number      { font-size: 28px; }

  .pricing-grid     { max-width: 100%; }
  .pricing-price    { font-size: 44px; }

  .footer           { padding-top: var(--sp-12); }
  .footer-cols      { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .footer-bottom    { padding: var(--sp-4) 0; gap: var(--sp-2); }
  .footer-icp       { font-size: 11px; gap: var(--sp-2); flex-direction: column; align-items: center; }
  .footer-icp-div   { display: none; }
  .footer-links-bottom { gap: var(--sp-4); }
  .footer-copy      { font-size: 12px; }
}
