/* KilatMart Marketing Site — brand palette from kilatmart-brand-assets */
:root {
  --km-green-dark: #0D2B1E;
  --km-green: #1E4D34;
  --km-green-light: #2A6B4A;
  --km-orange: #FF8A00;
  --km-amber: #FFC107;
  --km-cyan: #00D4FF;
  --km-bg: #060F0B;
  --km-surface: rgba(13, 43, 30, 0.55);
  --km-border: rgba(255, 138, 0, 0.15);
  --km-text: #F4F7F5;
  --km-text-muted: rgba(244, 247, 245, 0.65);
  --km-text-dim: rgba(244, 247, 245, 0.4);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 60px rgba(255, 138, 0, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  background: var(--km-bg);
  color: var(--km-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background orbs */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 77, 52, 0.4), transparent),
              radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 138, 0, 0.06), transparent),
              var(--km-bg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(30, 77, 52, 0.35);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 138, 0, 0.12);
  top: 40%;
  right: -5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 193, 7, 0.08);
  bottom: 10%;
  left: 30%;
  animation-delay: -14s;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--km-amber) 0%, var(--km-orange) 50%, #FF6B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-pad {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 43, 30, 0.25) 0%, transparent 100%);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--km-orange);
  margin-bottom: 0.75rem;
}

.section-label-cyan { color: var(--km-cyan); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--km-text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 0 0.75rem;
  background: rgba(6, 15, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 15, 11, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand .brand-logo {
  height: 32px;
  width: auto;
}

.nav-link {
  color: var(--km-text-muted) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--km-text) !important;
}

.navbar-toggler {
  border-color: var(--km-border);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Buttons */
.btn-brand {
  background: linear-gradient(135deg, var(--km-orange) 0%, #E67A00 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.65rem 1.5rem;
  box-shadow: 0 4px 20px rgba(255, 138, 0, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-brand:hover,
.btn-brand:focus {
  background: linear-gradient(135deg, #FF9A20 0%, var(--km-orange) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 138, 0, 0.4);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--km-text);
  border-radius: 12px;
  font-weight: 600;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-cyan {
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--km-cyan);
  border-radius: 12px;
  font-weight: 600;
  background: rgba(0, 212, 255, 0.06);
}

.btn-outline-cyan:hover {
  background: rgba(0, 212, 255, 0.12);
  color: var(--km-cyan);
  border-color: rgba(0, 212, 255, 0.5);
}

/* Hero */
.hero {
  padding-top: 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--km-text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--km-orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--km-text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-lead strong { color: var(--km-amber); font-weight: 600; }
.hero-lead em { color: var(--km-orange); font-style: normal; font-weight: 500; }

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

.stat-item-glass {
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  height: 100%;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--km-text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--km-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual / phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.phone-mockup {
  width: 280px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-main {
  transform: rotate(-2deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}

.phone-screen {
  background: linear-gradient(180deg, #0D2B1E 0%, #081810 100%);
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
  padding: 1.25rem;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.mock-search {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  color: var(--km-text-dim);
  margin-bottom: 1rem;
}

.mock-banner {
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.25), rgba(255, 193, 7, 0.15));
  border: 1px solid rgba(255, 138, 0, 0.3);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.mock-banner-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--km-amber);
  margin-bottom: 0.25rem;
}

.mock-banner strong { display: block; font-size: 1rem; }
.mock-banner small { color: var(--km-text-dim); font-size: 0.7rem; }

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mock-card {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 43, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--km-border);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: chipFloat 5s ease-in-out infinite;
}

.floating-chip i { color: var(--km-orange); }

.chip-1 { top: 5%; right: 0; animation-delay: 0s; }
.chip-2 { bottom: 35%; left: -5%; animation-delay: -1.5s; }
.chip-3 { bottom: 8%; right: 5%; animation-delay: -3s; }
.chip-3 i { color: #22C55E; }

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

/* Phone carousel (mobile) */
.phone-carousel {
  width: 100%;
  margin: 0 auto;
  padding: 0.25rem 0 0.5rem;
}

.phone-carousel-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--km-text-dim);
  margin-bottom: 1rem;
  animation: hintPulse 2.5s ease-in-out infinite;
}

.phone-carousel-hint i {
  color: var(--km-orange);
  font-size: 0.85rem;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.phone-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0 1rem;
  margin: 0 -0.5rem;
}

.phone-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.phone-carousel-track {
  display: flex;
  gap: 1rem;
  padding-left: max(1rem, calc(50% - 115px));
  padding-right: max(1rem, calc(50% - 115px));
  width: max-content;
}

.phone-carousel-slide {
  flex: 0 0 min(230px, 72vw);
  scroll-snap-align: center;
  text-align: center;
}

.phone-carousel-slide-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--km-orange);
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  background: rgba(255, 138, 0, 0.1);
  border: 1px solid rgba(255, 138, 0, 0.22);
}

.phone-carousel-slide-label.section-label-cyan {
  color: var(--km-cyan);
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.22);
}

.phone-carousel-frame {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1.25rem;
  min-height: 420px;
}

.phone-carousel-phone {
  position: relative;
  z-index: 1;
  width: min(230px, 68vw) !important;
  transform: none !important;
  animation: none !important;
}

.phone-carousel-frame .phone-glow {
  width: 160px;
  height: 280px;
}

.phone-carousel-frame .phone-screen {
  min-height: 380px;
}

.carousel-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13, 43, 30, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--km-border);
  border-radius: 100px;
  padding: 0.4rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  animation: chipFloat 4s ease-in-out infinite;
}

.carousel-chip i { color: var(--km-orange); }

.carousel-chip-1 {
  top: 12%;
  right: -2%;
  animation-delay: 0s;
}

.carousel-chip-2 {
  bottom: 18%;
  left: -4%;
  animation-delay: -1.5s;
}

.phone-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--km-orange), var(--km-amber));
  box-shadow: 0 0 12px rgba(255, 138, 0, 0.45);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--km-orange);
  outline-offset: 3px;
}

/* Glass cards */
.glass-card {
  background: var(--km-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--km-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 0, 0.25);
}

.glass-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.glass-card p {
  color: var(--km-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.icon-ring-orange {
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.25);
  color: var(--km-orange);
}

.icon-ring-amber {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.25);
  color: var(--km-amber);
}

.icon-ring-green {
  background: rgba(30, 77, 52, 0.4);
  border: 1px solid rgba(42, 107, 74, 0.5);
  color: #4ADE80;
}

/* Feature cards */
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255, 138, 0, 0.04);
  border-color: var(--km-border);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--km-orange);
  opacity: 0.7;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.75rem;
}

.feature-card p {
  color: var(--km-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.feature-card-highlight {
  background: linear-gradient(145deg, rgba(255, 138, 0, 0.08), rgba(255, 193, 7, 0.04));
  border-color: rgba(255, 138, 0, 0.25);
}

.nav-link-highlight {
  color: var(--km-amber) !important;
  font-weight: 600;
}

.substitute-section {
  position: relative;
  overflow: hidden;
}

.substitute-badge {
  color: var(--km-amber);
}

.substitute-card {
  border-color: rgba(255, 138, 0, 0.12);
}

.substitute-callout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(30, 77, 52, 0.35));
  border: 1px solid rgba(255, 138, 0, 0.28);
}

.substitute-callout-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 138, 0, 0.2);
  color: var(--km-orange);
  font-size: 1.35rem;
}

.substitute-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.substitute-callout p {
  color: var(--km-text-muted);
  font-size: 0.92rem;
}

.web-portal-section {
  position: relative;
  overflow: hidden;
}

.web-portal-badge {
  color: var(--km-amber);
}

.web-portal-card {
  border-color: rgba(255, 193, 7, 0.14);
}

.web-portal-callout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(30, 77, 52, 0.4));
  border: 1px solid rgba(255, 193, 7, 0.28);
}

.web-portal-callout-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 193, 7, 0.18);
  color: var(--km-amber);
  font-size: 1.35rem;
}

.web-portal-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.web-portal-callout p {
  color: var(--km-text-muted);
  font-size: 0.92rem;
}

.web-portal-cta-hint {
  color: var(--km-text-dim);
  font-size: 0.8rem;
}

/* Steps */
.steps-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--km-surface);
  border: 1px solid var(--km-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.step-item:hover {
  border-color: rgba(255, 138, 0, 0.3);
  transform: translateY(-2px);
}

.step-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.2), rgba(255, 193, 7, 0.1));
  border: 1px solid rgba(255, 138, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--km-orange);
}

.step-num {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--km-orange);
}

.step-content h3 {
  font-size: 1.05rem;
  margin: 0.25rem 0 0.5rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--km-text-muted);
  margin: 0;
}

/* App sections */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--km-text-muted);
  font-size: 0.95rem;
}

.check-list i {
  color: var(--km-orange);
  font-size: 1.1rem;
  margin-top: 2px;
}

.check-list-cyan i { color: var(--km-cyan); }

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-buttons-sm .store-btn {
  padding: 0.5rem 0.85rem;
}

.store-buttons-sm .store-btn span { font-size: 0.8rem; }
.store-buttons-sm .store-btn small { font-size: 0.55rem; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 600;
  font-size: 0.95rem;
}

.store-btn small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.7;
}

.store-btn-cyan {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
}

.store-btn-cyan:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.1);
}

.coming-soon-hint {
  font-size: 0.85rem;
  color: var(--km-text-dim);
}

/* Coming Soon section */
.coming-soon-section {
  padding: 0 0 80px;
  position: relative;
}

.coming-soon-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 77, 52, 0.35) 0%, rgba(13, 43, 30, 0.6) 45%, rgba(6, 15, 11, 0.9) 100%);
  border: 1px solid rgba(255, 138, 0, 0.22);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.coming-soon-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.coming-soon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--km-amber);
  margin-bottom: 1rem;
}

.coming-soon-title {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.shimmer-text {
  background: linear-gradient(
    110deg,
    var(--km-amber) 0%,
    #fff 25%,
    var(--km-orange) 50%,
    var(--km-amber) 75%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.coming-soon-lead {
  font-size: 1.05rem;
  color: var(--km-text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.coming-soon-lead strong {
  color: var(--km-amber);
  font-weight: 600;
}

.launch-zones { margin-bottom: 0.5rem; }

.zone-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--km-text-dim);
  margin-bottom: 0.65rem;
}

.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zone-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: rgba(255, 138, 0, 0.1);
  border: 1px solid rgba(255, 138, 0, 0.28);
  color: var(--km-text);
  opacity: 0;
}

.coming-soon-card.visible .zone-pill {
  animation: zonePop 0.6s ease forwards;
}

.zone-pill:nth-child(1) { animation-delay: 0.1s; }
.zone-pill:nth-child(2) { animation-delay: 0.2s; }
.zone-pill:nth-child(3) { animation-delay: 0.3s; }

@keyframes zonePop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.coming-soon-panel {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.coming-soon-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.coming-soon-status > i {
  font-size: 1.75rem;
  color: var(--km-orange);
  filter: drop-shadow(0 0 12px rgba(255, 138, 0, 0.5));
  animation: boltPulse 2s ease-in-out infinite;
}

@keyframes boltPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

.status-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--km-text-dim);
}

.status-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--km-text);
}

.coming-soon-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.coming-soon-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--km-text-muted);
  padding: 0.4rem 0;
}

.coming-soon-perks i {
  color: #4ADE80;
  font-size: 1rem;
}

.coming-soon-note {
  font-size: 0.78rem;
  color: var(--km-text-dim);
  text-align: center;
  margin: 0.85rem 0 0;
}

.coming-soon-ticker {
  margin-top: 2rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 138, 0, 0.12);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 193, 7, 0.45);
}

.ticker-track span:nth-child(even) { opacity: 0.35; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.coming-soon-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.coming-soon-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--km-amber);
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  animation: badgeGlow 2.5s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0); }
  50% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.15); }
}

.coming-soon-inline p {
  font-size: 0.88rem;
  color: var(--km-text-dim);
  margin: 0;
}

.coming-soon-inline a {
  color: var(--km-orange);
  text-decoration: none;
  font-weight: 600;
}

.coming-soon-inline a:hover { text-decoration: underline; }

/* App showcase screens */
.app-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.phone-glow {
  position: absolute;
  width: 220px;
  height: 380px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: 0;
  animation: phoneGlowPulse 5s ease-in-out infinite;
}

.phone-glow-orange {
  background: rgba(255, 138, 0, 0.35);
}

.phone-glow-cyan {
  background: rgba(0, 212, 255, 0.3);
}

@keyframes phoneGlowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.05); }
}

.phone-mockup-premium {
  position: relative;
  z-index: 1;
  width: 268px;
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(255, 138, 0, 0.08);
}

.phone-mockup-rider {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(0, 212, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-secondary {
  transform: rotate(2deg);
  animation: phoneTilt 7s ease-in-out infinite;
}

.phone-mockup-rider.phone-secondary {
  animation: phoneTiltRider 7s ease-in-out infinite;
}

@keyframes phoneTilt {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-10px); }
}

@keyframes phoneTiltRider {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

.app-showcase-customer .phone-screen,
.app-showcase-rider .phone-screen {
  min-height: 460px;
  padding: 2rem 1rem 1.25rem;
}

.screen-customer .screen-deal-bar-glow {
  background: linear-gradient(135deg, #1E4D34 0%, #2A6B4A 50%, #1E4D34 100%);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 24px rgba(30, 77, 52, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: dealBarPulse 3s ease-in-out infinite;
}

@keyframes dealBarPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(30, 77, 52, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  50% { box-shadow: 0 4px 32px rgba(42, 107, 74, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
}

.screen-categories {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.screen-categories span {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  color: var(--km-amber);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.screen-categories .cat-active {
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.5);
  color: #FFE082;
  box-shadow: 0 0 16px rgba(255, 193, 7, 0.15);
}

.product-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  align-items: center;
  opacity: 0;
  transform: translateX(-12px);
}

.product-row-animated.visible {
  animation: productSlideIn 0.55s ease forwards;
  animation-delay: var(--row-delay, 0s);
}

@keyframes productSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.product-thumb {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.thumb-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  animation: thumbShine 3s ease-in-out infinite;
}

@keyframes thumbShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.product-lines { flex: 1; }

.product-lines .line-title,
.product-lines .line-sub {
  display: block;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 6px;
}

.line-title { width: 88px; }
.line-title-short { width: 64px; }
.line-sub { width: 52px; height: 5px !important; background: rgba(255, 255, 255, 0.05) !important; }
.line-sub-short { width: 40px; }

/* Rider screen — prototype match */
.screen-rider {
  padding: 1.75rem 1rem 1rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rider-earnings-glow {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 80, 120, 0.08) 100%);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(0, 212, 255, 0.1);
}

.rider-earnings-glow small {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(244, 247, 245, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.rider-earnings-glow strong,
.earnings-pulse {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--km-cyan);
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.45);
  line-height: 1.2;
  margin: 0.2rem 0;
}

.earnings-pulse {
  animation: earningsGlow 2.5s ease-in-out infinite;
}

@keyframes earningsGlow {
  0%, 100% { text-shadow: 0 0 24px rgba(0, 212, 255, 0.45); }
  50% { text-shadow: 0 0 36px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.2); }
}

.rider-streak {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--km-amber);
}

.rider-streak i {
  color: #F59E0B;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

.rider-order-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  transform: translateY(16px);
}

.rider-order-slide.visible {
  animation: orderSlideIn 0.65s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes orderSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

.rider-order-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #4ADE80;
  letter-spacing: 0.12em;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
  animation: newOrderBlink 2s ease-in-out infinite;
}

@keyframes newOrderBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.rider-order-card p {
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  margin: 0.4rem 0 0.5rem;
  line-height: 1.35;
}

.rider-order-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.68rem;
  color: rgba(244, 247, 245, 0.45);
}

.rider-order-meta i { margin-right: 0.2rem; opacity: 0.8; }

.rider-map-preview {
  position: relative;
  flex: 1;
  min-height: 110px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, rgba(13, 43, 30, 0.6) 100%);
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  overflow: hidden;
}

.map-route {
  position: absolute;
  inset: 20% 15% 25% 20%;
  border: 2px dashed rgba(0, 212, 255, 0.25);
  border-radius: 40% 60% 50% 50%;
  animation: routeDash 12s linear infinite;
}

@keyframes routeDash {
  to { stroke-dashoffset: -20; }
}

.map-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.map-pin-store {
  top: 22%;
  left: 18%;
  background: rgba(255, 138, 0, 0.2);
  border: 1px solid rgba(255, 138, 0, 0.4);
  color: var(--km-orange);
}

.map-pin-rider {
  bottom: 28%;
  right: 22%;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--km-cyan);
  animation: riderMove 4s ease-in-out infinite;
}

@keyframes riderMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -6px); }
}

.map-pulse {
  position: absolute;
  bottom: 28%;
  right: 22%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.4);
  animation: mapPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes mapPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Legacy hero mockup deal bar */
.screen-customer .screen-deal-bar:not(.screen-deal-bar-glow) {
  background: linear-gradient(90deg, var(--km-green), var(--km-green-light));
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.65rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

/* Mini cards (partners) */
.mini-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  height: 100%;
}

.mini-card i {
  font-size: 1.5rem;
  color: var(--km-orange);
  margin-bottom: 0.75rem;
}

.mini-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.mini-card p {
  font-size: 0.85rem;
  color: var(--km-text-muted);
  margin: 0;
}

/* Categories */
.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--km-surface);
  border: 1px solid var(--km-border);
  border-radius: 14px;
  text-align: center;
  transition: var(--transition);
}

.category-pill:hover {
  border-color: rgba(255, 138, 0, 0.35);
  transform: translateY(-3px);
}

.category-pill i {
  font-size: 1.5rem;
  color: var(--km-orange);
}

.category-pill span {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Trust banner */
.trust-banner {
  background: linear-gradient(135deg, rgba(30, 77, 52, 0.3), rgba(13, 43, 30, 0.5));
  border: 1px solid var(--km-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.trust-logo { opacity: 0.95; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.trust-item i {
  color: var(--km-amber);
  font-size: 1.25rem;
}

/* Contact */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--km-border);
  background: rgba(255, 138, 0, 0.05);
  color: inherit;
}

.contact-card i {
  font-size: 1.35rem;
  color: var(--km-orange);
}

.contact-card strong {
  display: block;
  font-size: 0.95rem;
}

.contact-card span {
  font-size: 0.85rem;
  color: var(--km-text-muted);
}

.contact-touch-btn {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 320px;
}

.contact-location {
  font-size: 0.9rem;
  color: var(--km-text-muted);
}

.contact-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.contact-form-card .form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--km-text-muted);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--km-text);
  border-radius: 10px;
  padding: 0.65rem 1rem;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 138, 0, 0.4);
  color: var(--km-text);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

.contact-form-card .form-control::placeholder {
  color: var(--km-text-dim);
}

.contact-form-card .form-select option {
  background: var(--km-green-dark);
}

.form-hint {
  color: var(--km-text-muted);
  font-size: 0.95rem;
}

/* Language toggle */
.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--km-text-dim);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--km-text-muted);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--km-orange), #E67A00);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 138, 0, 0.35);
}

@media (max-width: 991.98px) {
  .lang-switcher {
    padding: 0.5rem 0.85rem;
  }
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--km-orange);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--km-text-dim);
  max-width: 280px;
}

.site-footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--km-text-muted);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li { margin-bottom: 0.5rem; }

.site-footer ul a {
  color: var(--km-text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.site-footer ul a:hover { color: var(--km-orange); }

.footer-divider {
  border-color: rgba(255, 255, 255, 0.06);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  font-size: 0.85rem;
  color: var(--km-text-dim);
}

.footer-links a {
  color: var(--km-text-dim);
  text-decoration: none;
}

.footer-links a:hover { color: var(--km-text-muted); }
.footer-links .sep { margin: 0 0.5rem; opacity: 0.4; }

/* Modals */
.modal-glass {
  background: linear-gradient(180deg, #122a1e 0%, #0a1812 100%);
  border: 1px solid var(--km-border);
  color: var(--km-text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.modal-glass .modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

.modal-glass .modal-body,
.modal-glass .legal-modal-body {
  color: rgba(244, 247, 245, 0.92);
  font-size: 1rem;
  line-height: 1.75;
  padding-top: 0.25rem;
}

.modal-glass .modal-body-text,
.modal-glass .legal-modal-body p {
  color: rgba(244, 247, 245, 0.88);
  margin-bottom: 1rem;
}

.modal-glass .legal-modal-body p:last-child {
  margin-bottom: 0;
}

.modal-glass .legal-modal-body a,
.modal-glass .modal-body a {
  color: var(--km-orange);
  font-weight: 600;
  text-decoration: none;
}

.modal-glass .legal-modal-body a:hover,
.modal-glass .modal-body a:hover {
  color: var(--km-amber);
  text-decoration: underline;
}

.modal-logo-pulse {
  animation: logoPulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 138, 0, 0.2);
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Mobile sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent 0%, rgba(6, 15, 11, 0.92) 28%, rgba(6, 15, 11, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-sticky-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.mobile-sticky-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  font-size: 1rem;
  box-shadow: 0 8px 32px rgba(255, 138, 0, 0.35);
}

/* ==========================================================================
   Responsive — tablet & mobile premium
   ========================================================================== */

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-cta {
    display: block;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .section-pad {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .section-lead {
    font-size: 1rem;
    max-width: none;
  }

  /* Header & nav */
  .site-header {
    padding: 0.5rem 0;
  }

  .navbar-brand .brand-logo {
    height: 28px;
  }

  .navbar-collapse {
    background: rgba(6, 15, 11, 0.97);
    border-radius: 16px;
    padding: 0.75rem;
    margin-top: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-height: min(78vh, 620px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .navbar-nav .nav-link:active {
    background: rgba(255, 255, 255, 0.04);
  }

  .lang-switcher {
    width: 100%;
    padding: 0.5rem 0.85rem 0.25rem;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
  }

  .lang-btn {
    flex: 1;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .nav-cta-item {
    display: none !important;
  }

  .mobile-menu-cta {
    width: 100%;
    padding: 0.65rem 0.85rem 0.85rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-menu-cta .btn {
    min-height: 48px;
    font-size: 0.95rem;
  }

  /* Hero */
  .hero {
    padding-top: 96px;
    padding-bottom: 32px;
    min-height: auto;
  }

  .hero-copy-col {
    text-align: center;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.65rem);
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 0.65rem !important;
  }

  .hero-cta-row .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .hero-stats-row {
    margin-top: 1.25rem !important;
  }

  .stat-item-glass {
    padding: 0.75rem 0.35rem;
    background: rgba(13, 43, 30, 0.45);
    border-color: rgba(255, 138, 0, 0.12);
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }

  /* Hero phone — desktop only in col; mobile uses carousel */
  .hero-visual-desktop {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
  }

  .hero-visual-col {
    margin-bottom: 0.25rem;
  }

  .phone-carousel-track {
    padding-left: max(0.75rem, calc(50% - 105px));
    padding-right: max(0.75rem, calc(50% - 105px));
  }

  .phone-carousel-slide {
    flex: 0 0 min(210px, 70vw);
  }

  /* Coming soon */
  .coming-soon-section {
    padding: 0 0 48px;
  }

  .coming-soon-card {
    padding: 1.5rem 1rem 0;
    border-radius: 22px;
  }

  .coming-soon-title {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
  }

  .coming-soon-lead {
    font-size: 0.95rem;
  }

  .coming-soon-panel {
    margin-top: 0.5rem;
  }

  .zone-pills {
    justify-content: center;
  }

  .coming-soon-glow {
    width: 280px;
    height: 280px;
    top: -20%;
    right: -30%;
  }

  /* Steps — full-width stacked cards */
  .steps-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
  }

  .steps-track::before {
    display: none;
  }

  .step-item {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem;
    margin-bottom: 0;
    background: rgba(13, 43, 30, 0.35);
  }

  .step-icon {
    position: static;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .step-content {
    flex: 1;
    min-width: 0;
  }

  .step-content h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .step-content p {
    font-size: 0.875rem;
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .step-item:hover {
    transform: none;
  }

  /* App sections */
  .app-copy-col {
    text-align: center;
  }

  .app-copy-col .section-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .check-list {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .app-visual-col {
    margin-bottom: 0;
  }

  /* App section phones hidden on mobile — shown in hero carousel */

  .store-buttons {
    justify-content: center;
  }

  .coming-soon-inline {
    justify-content: center;
    text-align: center;
  }

  .coming-soon-inline p {
    width: 100%;
  }

  /* Why section — stack header */
  #why .row.align-items-end {
    text-align: center;
  }

  #why .section-lead {
    margin: 0 auto;
  }

  /* Partners */
  #partners .section-lead {
    margin-bottom: 0.5rem;
  }

  /* Trust */
  .trust-banner {
    padding: 1.75rem 1.25rem;
    text-align: center;
    border-radius: 22px;
  }

  .trust-banner .section-title {
    font-size: 1.5rem;
  }

  .trust-item {
    justify-content: center;
    font-size: 0.9rem;
  }

  /* Contact */
  .contact-cards {
    max-width: 420px;
    margin: 0 auto;
  }

  .contact-touch-btn {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 1.5rem;
    text-align: center;
  }

  .footer-desc {
    max-width: none;
    margin: 0 auto;
  }

  .site-footer h4 {
    margin-top: 0.5rem;
  }

  .store-buttons-sm {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem !important;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }

  /* Modals */
  .modal-dialog {
    margin: 0.75rem;
  }

  .modal-glass .modal-body,
  .modal-glass .legal-modal-body {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 52px 0;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .carousel-chip-1 { display: none; }

  .carousel-chip-2 { left: 0; }

  .coming-soon-card {
    padding: 1.25rem 0.85rem 0;
  }

  .coming-soon-panel {
    padding: 1.15rem;
  }

  .feature-card {
    padding: 1.35rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .category-pill {
    padding: 1rem 0.5rem;
  }

  .category-pill span {
    font-size: 0.72rem;
  }

  .store-buttons {
    flex-direction: column;
    width: 100%;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

  .btn-outline-cyan {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  #partners .btn-brand {
    width: 100%;
    font-size: 0.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .trust-banner {
    padding: 1.35rem 1rem;
  }

  .trust-logo {
    height: 64px !important;
  }

  .step-item {
    padding: 1.1rem;
    gap: 0.85rem;
  }

  .step-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .phone-carousel-slide {
    flex: 0 0 min(200px, 76vw);
  }

  .screen-categories span {
    font-size: 0.55rem;
    padding: 0.3rem 0.45rem;
  }

  .mobile-sticky-btn {
    font-size: 0.92rem;
    min-height: 50px;
  }

  .orb-1 { width: 280px; height: 280px; }
  .orb-2 { width: 220px; height: 220px; }
  .orb-3 { width: 180px; height: 180px; }
}

@media (max-width: 380px) {
  .hero-stats-row .col-4 {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.55rem;
  }

  .zone-pill {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }
}

/* Touch devices — larger tap targets */
@media (hover: none) and (pointer: coarse) {
  .nav-link,
  .lang-btn,
  .contact-card,
  .category-pill,
  .store-btn {
    min-height: 44px;
  }

  .category-pill {
    justify-content: center;
  }

  .step-item:hover,
  .glass-card:hover,
  .feature-card:hover,
  .category-pill:hover {
    transform: none;
  }
}

/* Responsive legacy cleanup */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
