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

:root {
  --cyan:    #00f5ff;
  --purple:  #b040fb;
  --pink:    #ff2cf5;
  --bg:      #060812;
  --bg2:     #0b0f1e;
  --bg3:     #0f1428;
  --text:    #e2eeff;
  --text-dim: #8a9ec0;
  --border:  rgba(0,245,255,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── Glow Utilities ────────────────────────────────────────── */
.glow-cyan  { color: var(--cyan);   text-shadow: 0 0 8px var(--cyan),  0 0 20px var(--cyan); }
.glow-purple{ color: var(--purple); text-shadow: 0 0 8px var(--purple),0 0 20px var(--purple); }
.glow-pink  { color: var(--pink);   text-shadow: 0 0 8px var(--pink),  0 0 20px var(--pink); }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6,8,18,0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo__svg { height: 82px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav a:hover { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Perspective grid */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

/* Ambient glows */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,64,251,0.15) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.1) 0%, transparent 70%);
  bottom: 50px; left: -100px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.hero__left {
  min-width: 0;
}

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .qr-block {
  transform: translateX(-145px);
}

.hero__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 12px;
  background: #0a0d1a;
  box-shadow: 0 0 40px rgba(0,245,255,0.08), 0 0 80px rgba(176,64,251,0.06);
  transition: box-shadow 0.4s;
}
.hero__qr-wrap:hover {
  box-shadow: 0 0 60px rgba(0,245,255,0.18), 0 0 100px rgba(176,64,251,0.12);
}

.hero__qr {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  image-rendering: pixelated;
  filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}

.hero__qr-label {
  font-family: 'Exo 2', sans-serif;
  font-weight: 200;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
  line-height: 1.5;
  opacity: 0.75;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border: 1px solid rgba(0,245,255,0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(0,245,255,0.05);
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-family: 'Orbitron', monospace;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #e8f4ff;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 1.05rem;
  font-weight: 200;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ─── Button ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,245,255,0.2), inset 0 0 12px rgba(0,245,255,0.05);
}
.btn--primary:hover {
  background: rgba(0,245,255,0.08);
  box-shadow: 0 0 24px rgba(0,245,255,0.4), inset 0 0 20px rgba(0,245,255,0.1);
  text-shadow: 0 0 8px var(--cyan);
}

.btn--lg { padding: 16px 40px; font-size: 1rem; }

/* ─── Hero Stats ────────────────────────────────────────────── */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: 'Orbitron', monospace;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1;
}

.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stat__sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ─── Sections ──────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  font-weight: 400;
}

.section__title {
  font-family: 'Orbitron', monospace;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #e8f4ff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section__sub {
  color: var(--text-dim);
  font-weight: 200;
  max-width: 580px;
  margin-bottom: 56px;
  font-size: 0.95rem;
}

/* ─── Features ──────────────────────────────────────────────── */
.features { background: var(--bg2); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
}

.card--cyan::before  { background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 10px var(--cyan); }
.card--purple::before{ background: linear-gradient(90deg, transparent, var(--purple), transparent); box-shadow: 0 0 10px var(--purple); }
.card--pink::before  { background: linear-gradient(90deg, transparent, var(--pink), transparent); box-shadow: 0 0 10px var(--pink); }

.card--cyan:hover  { box-shadow: 0 8px 40px rgba(0,245,255,0.12); }
.card--purple:hover{ box-shadow: 0 8px 40px rgba(176,64,251,0.12); }
.card--pink:hover  { box-shadow: 0 8px 40px rgba(255,44,245,0.12); }

.card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.4));
}

.card__title {
  font-family: 'Orbitron', monospace;
  font-weight: 300;
  font-size: 1.05rem;
  color: #e8f4ff;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.card__text {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 200;
  margin-bottom: 20px;
  line-height: 1.7;
}

.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__list li {
  font-size: 0.82rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  font-weight: 200;
}
.card--cyan  .card__list li::before { content: '›'; position: absolute; left: 0; color: var(--cyan); }
.card--purple.card__list li::before { content: '›'; position: absolute; left: 0; color: var(--purple); }
.card--pink  .card__list li::before { content: '›'; position: absolute; left: 0; color: var(--pink); }
.card__list li::before { content: '›'; position: absolute; left: 0; color: var(--cyan); }

/* ─── How it works ──────────────────────────────────────────── */
.how { background: var(--bg); }

.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
}

.step__num {
  font-family: 'Orbitron', monospace;
  font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.step h4 {
  font-weight: 400;
  font-size: 0.95rem;
  color: #e8f4ff;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.step p {
  font-size: 0.83rem;
  color: var(--text-dim);
  font-weight: 200;
  line-height: 1.6;
}

.step__arrow {
  color: var(--text-dim);
  font-size: 1.4rem;
  padding-top: 36px;
  flex-shrink: 0;
}

.example {
  color: var(--cyan);
  font-style: normal;
  opacity: 0.8;
}

/* Chat Demo */
.chat-demo {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.chat-demo__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0,245,255,0.04);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 300;
}

.chat-demo__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 400;
  color: #000;
}

.chat-demo__online {
  color: #00ff88;
  font-size: 0.72rem;
  margin-left: auto;
}

.chat-demo__messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.83rem;
  line-height: 1.55;
  font-weight: 200;
}

.msg--user {
  align-self: flex-end;
  background: rgba(176,64,251,0.15);
  border: 1px solid rgba(176,64,251,0.3);
  color: var(--text);
}

.msg--bot {
  align-self: flex-start;
  background: rgba(0,245,255,0.07);
  border: 1px solid rgba(0,245,255,0.2);
  color: var(--text);
}

.msg.result { background: rgba(0,245,255,0.05); }

.msg__tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 400;
}

.price { display: block; margin-top: 6px; }
.link { display: block; font-size: 0.78rem; color: var(--purple); margin-top: 4px; }

/* ─── Tracking ──────────────────────────────────────────────── */
.tracking { background: var(--bg2); }

.tracking__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.track-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform 0.3s;
}
.track-card:hover { transform: translateY(-3px); }

.track-card__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.track-card h4 {
  font-weight: 400;
  font-size: 0.92rem;
  color: #e8f4ff;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.track-card p {
  font-size: 0.83rem;
  color: var(--text-dim);
  font-weight: 200;
  line-height: 1.65;
}

.track-card code {
  font-family: 'Orbitron', monospace;
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(0,245,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ─── CTA ───────────────────────────────────────────────────── */
.cta {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta__glow {
  position: absolute;
  width: 700px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(176,64,251,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.cta__inner { position: relative; z-index: 1; }

.cta__title {
  font-family: 'Orbitron', monospace;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #e8f4ff;
  margin-bottom: 20px;
  line-height: 1.25;
}

.cta__sub {
  color: var(--text-dim);
  font-weight: 200;
  max-width: 480px;
  margin: 0 auto 48px;
  font-size: 0.95rem;
}

/* ─── QR Block ──────────────────────────────────────────────── */
.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qr-wrap {
  position: relative;
  display: inline-block;
  padding: 16px;
  background: #0a0d1a;
  border-radius: 16px;
  border: 1px solid rgba(0,245,255,0.15);
  box-shadow: 0 0 40px rgba(0,245,255,0.08), 0 0 80px rgba(176,64,251,0.06);
  transition: box-shadow 0.4s;
}
.qr-wrap:hover {
  box-shadow: 0 0 60px rgba(0,245,255,0.18), 0 0 100px rgba(176,64,251,0.12);
}

.qr-img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 8px;
  image-rendering: pixelated;
  filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}

/* Neon corner decorations */
.qr-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--cyan);
  border-style: solid;
  border-width: 0;
  box-shadow: 0 0 6px var(--cyan);
}
.qr-corner--tl { top: 6px;  left: 6px;  border-top-width: 2px;    border-left-width: 2px;  border-top-left-radius: 4px; }
.qr-corner--tr { top: 6px;  right: 6px; border-top-width: 2px;    border-right-width: 2px; border-top-right-radius: 4px; }
.qr-corner--bl { bottom: 6px; left: 6px;  border-bottom-width: 2px; border-left-width: 2px;  border-bottom-left-radius: 4px; }
.qr-corner--br { bottom: 6px; right: 6px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }

.qr-hint {
  font-size: 0.8rem;
  font-weight: 200;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 200;
  letter-spacing: 0.03em;
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(176,64,251,0.4); border-radius: 3px; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { display: none; }
  .how__steps { flex-direction: column; }
  .step__arrow { display: none; }
  .hero__stats { gap: 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
