/* ──────────────────────────────────────────────
   SCOUT — Ferrari Design System
   Canvas: near-black #181818
   Accent: Rosso Corsa #da291c (scarce)
   Font:   Inter (FerrariSans substitute)
   Radius: Sharp 0px on CTAs/cards, pill on badges only
────────────────────────────────────────────── */

/* ── TOKENS ── */
:root {
  /* Brand & Accent */
  --primary:           #da291c;
  --primary-active:    #b01e0a;
  --primary-hover:     #9d2211;

  /* Surface */
  --canvas:            #181818;
  --canvas-elevated:   #303030;
  --canvas-light:      #ffffff;
  --surface-card:      #303030;
  --surface-soft-light:#f7f7f7;

  /* Hairlines */
  --hairline:          #303030;
  --hairline-on-light: #d2d2d2;

  /* Text */
  --ink:               #ffffff;
  --body:              #969696;
  --body-on-light:     #181818;
  --muted:             #666666;
  --muted-soft:        #8f8f8f;
  --on-primary:        #ffffff;

  /* Semantic */
  --success:           #03904a;
  --info:              #4c98b9;

  /* Rounded */
  --r-none:  0px;
  --r-xs:    4px;
  --r-sm:    8px;
  --r-md:    12px;
  --r-lg:    16px;
  --r-xl:    20px;
  --r-full:  9999px;

  /* Spacing (8px ladder) */
  --sp-xxxs: 4px;
  --sp-xxs:  8px;
  --sp-xs:   16px;
  --sp-sm:   24px;
  --sp-md:   32px;
  --sp-lg:   48px;
  --sp-xl:   64px;
  --sp-xxl:  96px;
  --sp-super:128px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TYPOGRAPHY ── */
.display-mega {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.6px;
}
.display-xl {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.12px;
}
.display-lg {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.36px;
}
.display-md {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.195px;
}
.title-md {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.title-sm {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08px;
}
.body-md {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.body-sm {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
.caption-upper {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xxs);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  height: 48px;
  padding: 14px 32px;
  transition: background 0.2s ease, opacity 0.15s ease;
}
.btn:active { opacity: 0.9; }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover { background: var(--primary-active); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); }

.btn-outline-light {
  background: transparent;
  color: var(--body-on-light);
  border: 1px solid var(--body-on-light);
}

/* ── BADGE PILL (only pill geometry in the system) ── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--canvas-elevated);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border-radius: var(--r-full);
  padding: 4px 12px;
}

/* ── TOP NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(24,24,24,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  padding: 0 var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-xxs);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-logo-mark {
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--body);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  height: 36px;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ── HERO BAND (Octopus Mascot + Glass UI) ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--sp-super) + 40px) var(--sp-lg) calc(var(--sp-super) + 80px); /* Increased bottom padding to extend border line down */
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.14) 0%, rgba(15, 15, 18, 1) 70%);
}

/* Purple ambient glow behind octopus */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 550px;
  background: radial-gradient(ellipse at center,
    rgba(139, 92, 246, 0.25) 0%,
    rgba(124, 58, 237, 0.12) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1.0; transform: translate(-50%, -50%) scale(1.12); }
}

/* ── Octopus background layer ── */
.hero-octopus-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.octopus-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -60px; /* Shift the octopus up slightly */
  z-index: 1;
  pointer-events: none;
}

.hero-octopus-img {
  width: 850px;
  max-width: 100vw;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.45));
  animation: octo-float 7s ease-in-out infinite alternate;
}

@keyframes octo-float {
  0%   { transform: translateY(0px) scale(1) rotate(0deg); }
  50%  { transform: translateY(-10px) scale(1.02) rotate(1deg); }
  100% { transform: translateY(8px) scale(0.99) rotate(-1deg); }
}

/* ── SVG tentacle lines ── */
.tentacle-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ── Solid Red Circular Platform Logo Badges ── */
.platform-logo-node {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2e2e 0%, #da291c 100%);
  border: 3px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 28px rgba(218, 41, 28, 0.75),
    0 0 25px rgba(255, 46, 46, 0.5);
  animation: node-float 6s ease-in-out infinite alternate;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  z-index: 5;
  cursor: pointer;
  overflow: hidden;
}

.platform-logo-node:hover {
  transform: scale(1.18) translateY(-4px);
  box-shadow:
    0 16px 40px rgba(218, 41, 28, 0.95),
    0 0 35px rgba(255, 46, 46, 0.8);
}

.logo-img-red {
  width: 100%;
  height: 100%;
  display: block;
}
.logo-img-red--cover {
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.04); /* Slight scale up to eliminate any sub-pixel border gaps */
}
.logo-img-red--contain {
  object-fit: contain;
  padding: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.ajio-red-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
}

/* Removed absolute positioning - nodes now positioned via SVG foreignObject */
.node-amazon    { animation-delay: 0s; }
.node-flipkart  { animation-delay: -1s; }
.node-myntra    { animation-delay: -2s; }
.node-ajio      { animation-delay: -3s; }
.node-ajio:hover{ transform: scale(1.18) translateY(-4px); }
.node-zepto     { animation-delay: -0.5s; }
.node-blinkit   { animation-delay: -1.5s; }
.node-instamart { animation-delay: -2.5s; }

@keyframes node-float {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* ── Translucent Glassmorphism Hero Card ── */
.hero-glass-card {
  position: relative;
  z-index: 10;
  background: rgba(18, 18, 22, 0.35);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 680px;
  margin-top: -60px; /* Shift the panel upwards to reveal Ajio logo */
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(124, 58, 237, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: card-in 0.8s ease-out forwards;
}

@keyframes card-in {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.badge-pill--glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-eyebrow {
  margin-bottom: var(--sp-sm);
}
.hero-title {
  max-width: 900px;
  margin: 0 auto var(--sp-md);
  color: var(--ink);
}
/* Accent word — Rosso Corsa, scarce */
.hero-title .accent {
  color: var(--primary);
}
.hero-sub {
  max-width: 580px;
  margin: 0 auto var(--sp-lg);
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  justify-content: center;
}

/* Scan line — red accent */
.scan-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { opacity: 0; transform: scaleX(0); }
  50%      { opacity: 1; transform: scaleX(1); }
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--hairline);
}

/* ── DEMO / CHAT WINDOW ── */
.demo {
  padding: var(--sp-xxl) var(--sp-lg);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.demo-label {
  text-align: center;
  margin-bottom: var(--sp-lg);
  position: relative;
  z-index: 2;
}
.demo-label .badge-pill { margin-bottom: var(--sp-xs); }
.demo-label h2 { color: var(--ink); }

.chat-window {
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

/* ── Glow orbs — vivid colors behind the glass ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.7;
  animation: orb-float 8s ease-in-out infinite alternate;
}
.glow-orb--pink {
  width: 350px;
  height: 350px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, #e040a0 0%, rgba(224, 64, 160, 0) 70%);
  animation-delay: 0s;
}
.glow-orb--blue {
  width: 300px;
  height: 300px;
  top: 30%;
  right: -50px;
  background: radial-gradient(circle, #4080ff 0%, rgba(64, 128, 255, 0) 70%);
  animation-delay: -2s;
}
.glow-orb--orange {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: 25%;
  background: radial-gradient(circle, #ff8c20 0%, rgba(255, 140, 32, 0) 70%);
  animation-delay: -4s;
}
.glow-orb--green {
  width: 250px;
  height: 250px;
  bottom: 20%;
  right: 20%;
  background: radial-gradient(circle, #30d080 0%, rgba(48, 208, 128, 0) 70%);
  animation-delay: -6s;
}
@keyframes orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -15px) scale(1.1); }
}
.chat-header {
  background: rgba(30, 30, 30, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-xs) var(--sp-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-xxs);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  position: relative;
  z-index: 2;
}
.chat-dots span {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}
.dot-r { background: var(--primary); }
.dot-y { background: #f6e500; }
.dot-g { background: var(--success); }
.chat-header-title {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}

.chat-body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  min-height: 560px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  background: rgba(20, 20, 20, 0.2);
}
.msg-user {
  align-self: flex-end;
  background: rgba(48, 48, 48, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full) var(--r-md) var(--r-md) var(--r-full);
  padding: var(--sp-xs) var(--sp-sm);
  max-width: 70%;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── THINKING BADGES ── */
.thinking-row {
  display: flex;
  gap: var(--sp-xxs);
  flex-wrap: wrap;
}
.thinking-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(48, 48, 48, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--body);
  animation: pulse-badge 1.8s ease-in-out infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@keyframes pulse-badge {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.thinking-badge svg {
  animation: spin 2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-xs);
}
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}
.product-card {
  background: rgba(40, 40, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(50, 50, 50, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.product-platform {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
}
.product-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.product-price {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.product-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-xxs);
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
  padding-top: var(--sp-xs);
  border-top: 1px solid var(--hairline);
}
.product-stars { color: var(--primary); font-size: 13px; }
.product-delivery {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--success);
}

/* Score bar */
.score-bar-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-xxs);
}
.score-bar {
  flex: 1;
  height: 2px;
  background: var(--hairline);
  border-radius: var(--r-full);
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--primary);
}
.score-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--body);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ── AI REPLY ── */
.ai-reply {
  background: transparent;
  border-left: 2px solid var(--primary);
  padding: var(--sp-xxs) 0 var(--sp-xxs) var(--sp-sm);
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  max-width: 760px;
}
.ai-reply strong { color: var(--ink); font-weight: 600; }
.ai-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--primary);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── CHAT INPUT ── */
.chat-input-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-xs) var(--sp-sm);
  display: flex;
  gap: var(--sp-xxs);
  align-items: center;
  background: rgba(30, 30, 30, 0.4);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  position: relative;
  z-index: 2;
}
.chat-input {
  flex: 1;
  background: rgba(24, 24, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 14px var(--sp-xs);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input:focus {
  border-color: rgba(218, 41, 28, 0.5);
  box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.1);
}
.chat-input::placeholder { color: var(--muted); }
.chat-send {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-primary);
  transition: background 0.2s;
}
.chat-send:hover { background: var(--primary-active); }

/* ── LIVERY BAND (Rosso Corsa accent band) ── */
.livery-band {
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--sp-xxl) var(--sp-lg);
  text-align: center;
}
.livery-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.36px;
  margin-bottom: var(--sp-xs);
}
.livery-band p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto var(--sp-md);
  opacity: 0.9;
}
.livery-band .btn-outline {
  border-color: var(--on-primary);
  color: var(--on-primary);
}
.livery-band .btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* ── SPEC CELLS (pipeline stats) ── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-xs);
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-xxl) var(--sp-lg);
}
.spec-cell {
  padding: var(--sp-lg);
  background: rgba(18, 18, 22, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.spec-cell:hover {
  transform: translateY(-5px);
  border-color: rgba(218, 41, 28, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(218, 41, 28, 0.1);
}
.spec-value {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: var(--sp-sm);
  text-shadow: 0 2px 10px rgba(255,255,255,0.2);
}
.spec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--hairline);
  padding: var(--sp-xl) var(--sp-lg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  max-width: 1280px;
  margin: 0 auto;
}
.footer-brand {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
}
.footer-brand strong {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: var(--sp-sm);
}
.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  letter-spacing: 0.65px;
  text-transform: uppercase;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav { padding: 0 var(--sp-sm); }
  .hero { padding: calc(var(--sp-xl) + 64px) var(--sp-xs) var(--sp-lg); }
  .hero-glass-card { padding: 32px 20px; margin: 0 var(--sp-xs); max-width: 92vw; }
  .hero-octopus-img { width: 340px; opacity: 0.75; }
  .platform-logo-node { width: 52px; height: 52px; padding: 4px; }
  .brand-svg { width: 34px; }
  .ajio-logo-text { font-size: 11px; }
  .zepto-logo-text { font-size: 10px; }
  .blinkit-badge { font-size: 9px; }
  .instamart-badge { font-size: 6.5px; }
  .node-amazon    { top: 4%;   left: 2%; }
  .node-flipkart  { top: 22%;  left: 1%; }
  .node-myntra    { top: 82%;  left: 4%; }
  .node-ajio      { top: 91%;  left: 50%; }
  .node-zepto     { top: 4%;   right: 2%; }
  .node-blinkit   { top: 22%;  right: 1%; }
  .node-instamart { top: 82%;  right: 4%; }
  .demo { padding: var(--sp-lg) var(--sp-xs); }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; align-items: flex-start; }
  .livery-band { padding: var(--sp-xl) var(--sp-sm); }
}
@media (max-width: 500px) {
  .products-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero-octopus-img { opacity: 0.65; width: 280px; }
}
