@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Cabinet+Grotesk:wght@300;400;500;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ════════════════════════════════════════
   TOKENS & RESET
════════════════════════════════════════ */
:root {
  --navy: #030d1a;
  --navy-2: #061428;
  --navy-3: #0a1f3a;
  --blue-mid: #0d2d52;
  --green: #00d4a0;
  --green-dim: #00a87d;
  --green-glow: rgba(0, 212, 160, .45);
  --cyan: #3db8fc;
  --cyan-glow: rgba(61, 184, 252, .35);
  --gold: #f5c842;
  --red: #ff5a6e;
  --white: #ffffff;
  --white-60: rgba(255, 255, 255, .6);
  --white-30: rgba(255, 255, 255, .3);
  --white-10: rgba(255, 255, 255, .1);
  --white-05: rgba(255, 255, 255, .05);
  --glass: rgba(255, 255, 255, .04);
  --glass-b: rgba(61, 184, 252, .14);
  --glass-g: rgba(0, 212, 160, .18);
  --r-xs: 10px;
  --r-s: 14px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 40px;
  --blur: blur(28px);
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Cabinet Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
  cursor: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

img {
  max-width: 100%;
  display: block
}

a {
  text-decoration: none;
  color: inherit
}

button {
  font-family: inherit;
  cursor: none
}

ul {
  list-style: none
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s, opacity .2s;
  mix-blend-mode: screen;
  box-shadow: 0 0 16px var(--green-glow);
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 160, .4);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, width .25s, height .25s, opacity .2s;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--navy)
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--green), var(--cyan));
  border-radius: 4px
}

/* ── Background Elements ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(61, 184, 252, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 184, 252, .028) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Step 5 — Prevent overflow shift globally */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* ════════════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════════════ */
/* Step 1 — Global centered container */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.sec {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.sec-sm {
  padding: 60px 0;
  position: relative;
  z-index: 2
}

/* ── Labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--glass-g);
  background: rgba(0, 212, 160, .07);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: blink-dot 1.4s ease infinite
}

@keyframes blink-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px var(--green)
  }

  50% {
    opacity: .3;
    box-shadow: none
  }
}

/* ── Headings ── */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em
}

.h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3
}

.grad {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.grad-green {
  background: linear-gradient(90deg, var(--green), #00ffc4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.muted {
  color: var(--white-60)
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 12px 28px;
  border-radius: 60px;
  border: none;
  cursor: none;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background .25s
}

.btn:hover::after {
  background: rgba(255, 255, 255, .06)
}

.btn-glow {
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: var(--navy);
  box-shadow: 0 0 20px var(--green-glow);
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px var(--green-glow)
}

.btn-ghost {
  background: var(--white-05);
  color: var(--white);
  border: 1px solid var(--white-10);
  backdrop-filter: var(--blur);
}

.btn-ghost:hover {
  border-color: rgba(0, 212, 160, .5);
  transform: translateY(-2px)
}

.btn-lg {
  padding: 15px 36px;
  font-size: 14px
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px
}

/* ── Glass panels ── */
.glass {
  background: rgba(6, 20, 40, .55);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-m);
  backdrop-filter: var(--blur);
  position: relative;
  overflow: hidden;
}

/* ── Glow blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: .15;
}

.blob-g {
  background: radial-gradient(circle, var(--green), transparent 70%)
}

.blob-c {
  background: radial-gradient(circle, var(--cyan), transparent 70%)
}

/* ── Animations ── */
@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

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

@keyframes scan {

  0%,
  100% {
    transform: translateY(-100%)
  }

  50% {
    transform: translateY(100vh)
  }
}

/* ════════════════════════════════════════
   TICKER BAR
════════════════════════════════════════ */
.ticker-wrap {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(3, 13, 26, .88);
  border-bottom: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  overflow: hidden;
  padding: 8px 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite
}

.t-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.t-name {
  color: var(--white-60);
  letter-spacing: .05em
}

.t-up {
  color: var(--green)
}

.t-dn {
  color: var(--red)
}

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all .4s;
}

header.solid {
  background: rgba(3, 13, 26, .92);
  backdrop-filter: blur(32px);
  border-bottom: 1px solid rgba(61, 184, 252, .12);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 95px; /* Perfect balance for the new unique logo */
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
  transform: scale(1.04) rotate(-1deg);
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--white-60);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--white-05)
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--white);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Navigation refined in Responsive section below */

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

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 160, .4), transparent);
  animation: scan 8s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-sub {
  color: var(--white-60);
  font-size: 16px;
  max-width: 460px;
  margin: 20px 0 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-chips {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap
}

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 20, 40, .7);
  border: 1px solid var(--glass-b);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
}

/* ════════════════════════════════════════
   DASHBOARD / PANELS
════════════════════════════════════════ */
.dash-shell {
  background: rgba(4, 14, 28, .75);
  border: 1px solid rgba(61, 184, 252, .2);
  border-radius: var(--r-m);
  backdrop-filter: blur(40px);
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.win-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.dash-body {
  padding: 20px
}

/* ════════════════════════════════════════
   PERFORMANCE / STATS
════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px
}

.stat-tile {
  background: rgba(6, 20, 40, .6);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-m);
  padding: 22px 20px;
  backdrop-filter: var(--blur);
}

.st-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.st-lbl {
  font-size: 12px;
  color: var(--white-60);
  margin-top: 4px
}

.traders-card {
  background: linear-gradient(135deg, rgba(0, 212, 160, .08) 0%, rgba(61, 184, 252, .05) 100%);
  border: 1px solid var(--glass-g);
  border-radius: var(--r-m);
  padding: 50px 40px;
  margin-top: 16px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Balanced 1fr 1fr grid for demo */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

/* Equal width columns */
.demo-layout > div {
  width: 100%;
}

/* Keep left text column balanced with the form */
.demo-layout > div:first-child {
  max-width: 420px;
}

/* Step 4 — Center the form card inside right column */
.demo-form-col {
  display: flex;
  justify-content: center;
}

.demo-form-inner {
  width: 100%;
  max-width: 500px;
}

.t-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ════════════════════════════════════════
   FEATURES / CARDS
════════════════════════════════════════ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: rgba(6, 20, 40, .55);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-m);
  padding: 28px 24px;
  backdrop-filter: var(--blur);
  transition: all .3s ease;
}

.feat-card:hover {
  border-color: var(--green);
  transform: translateY(-5px)
}

.feat-card h3 {
  font-size: 16px;
  margin-bottom: 8px
}

.feat-card p {
  font-size: 13px;
  color: var(--white-60);
  line-height: 1.6
}

/* ════════════════════════════════════════
   HOW TO START
════════════════════════════════════════ */
.start-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  justify-content: center;
}

.s-card {
  background: rgba(6, 20, 40, .55);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-m);
  padding: 24px 18px;
  text-align: center;
}

.s-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 auto 16px;
  box-shadow: 0 0 15px var(--green-glow);
}

.s-card h3 {
  font-size: 14px;
  margin-bottom: 6px
}

.s-card p {
  font-size: 12px;
  color: var(--white-60)
}

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: rgba(6, 20, 40, .5);
  border: 1px solid var(--glass-b);
  border-radius: 12px;
  overflow: hidden;
}

.faq.open {
  border-color: var(--green)
}

.faq-q {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: all .4s ease;
}

.faq.open .faq-a {
  max-height: 200px;
  padding-bottom: 16px
}

.faq-a p {
  font-size: 13px;
  color: var(--white-60)
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: rgba(0, 0, 0, .25);
  border-top: 1px solid var(--glass-b);
  padding: 70px 0 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding-bottom: 50px;
}

.foot-about {
  max-width: 280px;
}

.foot-about .logo-img {
  height: 55px; /* Smaller in footer */
}

.foot-copy {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: var(--white-30);
  letter-spacing: 0.03em;
}

.foot-about p {
  font-size: 13px;
  color: var(--white-60);
  margin-top: 12px;
  line-height: 1.6
}

.foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white-60);
  text-transform: uppercase
}

.foot-col a {
  display: block;
  font-size: 13px;
  color: var(--white-60);
  margin-bottom: 8px
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease
}

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

/* ── Strategy Slideshow ── */
.strategy-slideshow {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.strategy-slideshow .slide {
  grid-area: stack;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  z-index: 1;
}

.strategy-slideshow .slide.active {
  opacity: 1;
  z-index: 2;
}

/* ── 3D Holographic Model Scene ── */
.hero-3d-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
}

.model-container {
  position: relative;
  width: 80%;
  height: 80%;
  transform-style: preserve-3d;
  animation: float-model 6s ease-in-out infinite;
  z-index: 5;
}

.hero-model {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0, 212, 160, 0.4));
  transform: translateZ(50px);
}

.model-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 212, 160, 0.1) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.3;
  pointer-events: none;
  animation: scan-lines 4s linear infinite;
  border-radius: 20px;
}

.hologram-base {
  position: absolute;
  bottom: 0;
  width: 300px;
  height: 60px;
  background: radial-gradient(ellipse at center, var(--green-glow) 0%, transparent 70%);
  transform: rotateX(75deg);
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
}

.hologram-ring {
  position: absolute;
  border: 2px solid var(--green);
  border-radius: 50%;
  opacity: 0.2;
  transform-style: preserve-3d;
}

.ring-1 {
  width: 400px;
  height: 400px;
  transform: rotateX(75deg);
  animation: rotate-ring-1 8s linear infinite, glow-pulse 4s ease-in-out infinite;
  border-style: dashed;
}

.ring-2 {
  width: 350px;
  height: 350px;
  transform: rotateX(75deg) rotateY(15deg);
  animation: rotate-ring-2 12s linear reverse infinite, glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.2; box-shadow: 0 0 5px var(--green); }
  50% { opacity: 0.5; box-shadow: 0 0 20px var(--green); }
}

@keyframes float-model {
  0%, 100% { transform: translateY(0) rotateY(25deg) rotateX(10deg); }
  50% { transform: translateY(-40px) rotateY(-25deg) rotateX(-10deg); }
}

@keyframes rotate-ring-1 {
  from { transform: rotateX(75deg) rotateZ(0); }
  to { transform: rotateX(75deg) rotateZ(360deg); }
}

@keyframes rotate-ring-2 {
  from { transform: rotateX(75deg) rotateY(15deg) rotateZ(0); }
  to { transform: rotateX(75deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes scan-lines {
  from { background-position: 0 0; }
  to { background-position: 0 40px; }
}

.data-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--green) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.1;
  animation: particles-drift 20s linear infinite;
}

@keyframes particles-drift {
  from { background-position: 0 0; }
  to { background-position: 100px 100px; }
}

/* ════════════════════════════════════════
   RESPONSIVE DESIGN (Steps 1-9)
   ════════════════════════════════════════ */

/* Step 1 — Tablet Breakpoint */
@media (max-width: 1024px) {
  .hero-grid,
  .perf-layout,
  .feat-grid,
  .start-grid,
  .demo-layout,
  .stats-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    align-items: center;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-chips {
    justify-content: center;
  }

  .sec {
    padding: 80px 0;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .traders-card {
    padding: 40px 24px;
    text-align: center;
  }

  .hero-panel {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .stats-grid {
    justify-content: center;
    gap: 16px;
  }
}

/* Step 1 — Mobile Breakpoint */
@media (max-width: 768px) {
  /* Global Resets */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    width: 100%;
  }

  /* Step 2 — Stack all grid layouts */
  .grid-2,
  .feat-grid,
  .start-grid,
  .perf-layout,
  .demo-layout,
  .stats-grid,
  .demo-form-inner .dash-shell > div {
    grid-template-columns: 1fr !important;
  }

  /* Step 3 — Fix container padding */
  .wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Step 4 — Fix large headings */
  .h1,
  .h2 {
    font-size: clamp(28px, 7vw, 40px) !important;
  }

  /* Step 5 — Fix buttons */
  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  /* Step 6 — Fix navigation */
  .nav {
    padding: 0 16px !important; /* Standard padding */
    height: 60px; /* More compact header */
    width: 100%;
    margin: 0 !important;
    justify-content: space-between;
  }

  .logo-img {
    height: 38px !important; /* Slimmer logo */
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-right .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    padding: 6px; /* Slimmer button */
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(3, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 110px 40px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    border-left: 1px solid var(--glass-b);
  }

  .nav-links.active {
    display: flex;
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--white-05);
  }

  /* Step 7 — Fix feature cards */
  .feat-grid {
    gap: 16px;
  }

  /* Step 8 — Fix forms */
  input {
    width: 100% !important;
  }

  /* Additional mobile refinements */
  .hero {
    padding-top: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .h1, .h2, .hero-sub, .eyebrow {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-cta,
  .hero-chips {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
  }

  .ticker-wrap {
    top: 60px; /* Attach to compact header */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-bottom: 1px solid var(--glass-b);
    padding: 4px 0 !important; /* Slimmer ticker */
  }

  .foot-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .foot-about {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-3d-scene {
    aspect-ratio: auto;
    min-height: 350px;
  }

  .hologram-ring {
    display: none;
  }
}

/* Step 1 — Small mobile Breakpoint */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .sec {
    padding: 60px 0;
  }

  .st-num {
    font-size: 28px;
  }

  .traders-card {
    padding: 30px 16px !important;
  }

  #demo .dash-shell {
    padding: 20px !important;
  }
  
  .hero-chips {
    gap: 8px;
  }

  .chip {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* Step 9 — Fix images (Global) */
img {
  max-width: 100%;
  height: auto;
}

/* Floating Contact Button */
.contact-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--green);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 212, 160, 0.35);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: fabEntrance 0.8s ease-out forwards;
}

.contact-fab:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 212, 160, 0.45);
  background: #00f0b5;
}

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

.contact-fab span {
  white-space: nowrap;
}

@keyframes fabEntrance {
  from { opacity: 0; transform: translateY(50px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .contact-fab {
    bottom: 20px;
    right: 20px;
    padding: 8px 14px;
  }
}

/* Product Detail Page Styles */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding: 60px 0;
}

.product-image-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.product-box-glow {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: rgba(0, 212, 160, 0.05);
  box-shadow: 0 0 80px rgba(0, 212, 160, 0.15);
  border: 1px solid rgba(0, 212, 160, 0.15);
}

.product-img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  display: block;
}

.payment-methods {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0.6;
}

.payment-methods img {
  height: 20px;
  filter: grayscale(1) invert(1);
}

.product-info-side {
  color: white;
}

.breadcrumb {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 25px;
}

.breadcrumb .active {
  color: white;
  font-weight: 700;
}

.product-title {
  font-size: 42px;
  line-height: 1.1;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.03em;
}

.product-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  margin-bottom: 35px;
}

.price-tag {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  font-size: 32px;
}

.old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

.new-price {
  color: var(--green);
  font-weight: 800;
}

.btn-pay {
  background: var(--green);
  color: var(--navy);
  padding: 18px 50px;
  border-radius: 4px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 45px;
  display: inline-block;
}

.btn-pay:hover {
  background: var(--cyan);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 212, 160, 0.4);
}

.product-specs h4 {
  font-size: 15px;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-specs ul {
  list-style: none;
  padding: 0;
}

.product-specs li {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.product-specs li::before {
  content: "■";
  position: absolute;
  left: 0;
  font-size: 10px;
  top: 4px;
  color: var(--green);
}

@media (max-width: 992px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .price-tag, .product-specs li {
    justify-content: center;
    padding-left: 0;
  }
  .product-specs li::before {
    display: none;
  }
  .product-title {
    font-size: 34px;
  }
}

.pink-grad {
  background: linear-gradient(135deg, #E91E63 0%, #ff85a1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-pink {
  background: #E91E63 !important;
  color: white !important;
  box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3) !important;
}

.btn-pink:hover {
  background: #ff2573 !important;
  box-shadow: 0 12px 25px rgba(233, 30, 99, 0.4) !important;
}

/* Standalone Buy Page Optimizations */
.buy-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .buy-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-layout {
    padding: 30px 0;
  }

  .product-img {
    max-width: 300px;
    margin: 0 auto;
  }

  .product-title {
    font-size: 28px;
    margin-top: 20px;
  }
  
  .buy-page .nav-right {
    display: none; /* Hide 'Back to Home' on very small screens to save space, or use home icon */
  }

  .buy-page .logo-img {
    height: 60px;
  }
  
  .traders-card {
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  
  .traders-card h2 {
    font-size: 22px !important;
  }

  .traders-card p {
    font-size: 13px !important;
  }

  .dash-shell {
    padding: 25px 15px !important;
  }

  .buy-form-grid input {
    padding: 10px !important;
    font-size: 14px !important;
  }

  #buyBtn {
    padding: 14px !important;
    font-size: 14px !important;
  }

  #buy-form-section {
    padding: 40px 0 !important;
  }

  .traders-card h2 {
    font-size: 20px !important;
    line-height: 1.2;
    padding: 0 10px;
  }
}

/* Comprehensive fix for clipping in traders-card */
.traders-card {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.traders-card h2, .traders-card p {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .traders-card {
    border-radius: 12px;
    margin-left: 10px;
    margin-right: 10px;
  }
}