/* ===========================================================
   AIWebTrade.io — Luxury Tech Light Theme
   =========================================================== */

:root {
  --primary: #00D4FF;
  --secondary: #0099FF;
  --accent: #4A7DFF;
  --neon: #00F0FF;

  --bg-light: #050811;
  --bg-white: #0d1321;
  --bg-gradient: linear-gradient(135deg, #050811 0%, #0c1222 100%);

  --text-dark: #F8FAFC;
  --text-gray: #94A3B8;

  --grad-brand: linear-gradient(135deg, #00D4FF, #4A7DFF);
  --grad-brand-h: linear-gradient(90deg, #00D4FF, #0099FF);
  --grad-soft: linear-gradient(180deg, #0d1321, #050811);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 50px -20px rgba(0, 153, 255, 0.35);
  --shadow-card: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(0, 212, 255, 0.25), 0 24px 60px -24px rgba(0, 153, 255, 0.5);

  --border-glass: 1px solid rgba(255, 255, 255, 0.08);
  --container: 1200px;

  --font-display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

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

/* Custom modern scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

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

ul {
  list-style: none;
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  padding: 60px 0;
}

.section-head {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--neon);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
}

.section-sub {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--text-gray);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 16px 36px -14px rgba(0, 153, 255, 0.7);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -14px rgba(0, 153, 255, 0.85);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.08rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 153, 255, 0.35));
}

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

.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-gray);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Background FX ---------- */
.fx-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  animation: float-blob 14s ease-in-out infinite;
}

.fx-blob.b1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.55), transparent 70%);
  top: -120px;
  left: -120px;
}

.fx-blob.b2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(74, 125, 255, 0.45), transparent 70%);
  bottom: -160px;
  right: -140px;
  animation-delay: -5s;
}

.fx-blob.b3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.4), transparent 70%);
  top: 40%;
  animation-delay: -9s;
}

@keyframes float-blob {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -30px) scale(1.08);
  }

  66% {
    transform: translate(-30px, 25px) scale(0.95);
  }
}

/* Mouse-follow light */
#cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--bg-gradient);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero .hero-lines {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 260px;
  background-image: url(../images/contour.fdd43acf.svg);
  background-size: 100% 200%;
  background-position: 50%;
  background-repeat: no-repeat;
  z-index: 2;
  opacity: .5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 153, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 9px 18px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 26px;
  box-shadow: var(--shadow-soft);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16c98d;
  box-shadow: 0 0 0 4px rgba(22, 201, 141, 0.2);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 201, 141, 0.45);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(22, 201, 141, 0);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero .lead {
  margin-top: 22px;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 560px;
}

.hero .desc {
  margin-top: 16px;
  font-size: 1.02rem;
  color: var(--text-gray);
  max-width: 540px;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-highlights {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  max-width: 540px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-gray);
}

.hero-highlights .check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  box-shadow: 0 4px 10px -3px rgba(0, 153, 255, 0.7);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual video {
  mix-blend-mode: screen;
  will-change: transform;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(13, 19, 33, 0.45);
  border: var(--border-glass);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.hero-card .ring-logo {
  width: 90px;
  margin: 0 auto 18px;
  animation: spin-slow 22s linear infinite;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hc-title {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 6px;
}

.hc-sub {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 18px;
}

#mini-chart {
  width: 100%;
  height: 150px;
  display: block;
}

.hc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.hc-stat {
  text-align: center;
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 153, 255, 0.12);
}

.hc-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--secondary);
}

.hc-stat span {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.floating-pill {
  position: absolute;
  background: rgba(13, 19, 33, 0.85);
  border: 1px solid rgba(0, 153, 255, 0.18);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}

.floating-pill i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
}

.floating-pill.fp1 {
  top: 10px;
  left: -28px;
}

.floating-pill.fp2 {
  bottom: 30px;
  right: -30px;
  animation-delay: -2.5s;
}

@keyframes floaty {

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

  50% {
    transform: translateY(-14px);
  }
}

/* Hero stat strip */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(13, 19, 33, 0.1);
  border: var(--border-glass);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

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

.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
}

.hero-stat .label {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 600;
}

/* ---------- Trust bar ---------- */
.trustbar {
  padding: 40px 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(0, 153, 255, 0.08);
  border-bottom: 1px solid rgba(0, 153, 255, 0.08);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-gray);
  white-space: nowrap;
}

.trust-item svg {
  color: var(--secondary);
}

/* ---------- Cards / Grids ---------- */
.glass-card {
  background: rgba(13, 19, 33, 0.45);
  border: var(--border-glass);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.glass-card video {
  mix-blend-mode: screen;
  will-change: transform;
  transform: translateZ(0);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 212, 255, 0.4);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 14px 28px -12px rgba(0, 153, 255, 0.8);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.glass-card p {
  color: var(--text-gray);
  font-size: 0.98rem;
}

/* Why choose grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- About / AI sphere split ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.sphere-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.ai-sphere {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #6fe6ff, #0099FF 55%, #2a4bd6 100%);
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(0, 153, 255, 0.8), inset 0 0 60px rgba(255, 255, 255, 0.35);
  animation: floaty 6s ease-in-out infinite;
}

.ai-sphere::before,
.ai-sphere::after {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 153, 255, 0.4);
  animation: spin-slow 18s linear infinite;
}

.ai-sphere::after {
  inset: -54px;
  border-color: rgba(74, 125, 255, 0.3);
  animation-duration: 26s;
  animation-direction: reverse;
}

.sphere-orbit {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px var(--neon);
  top: 50%;
  left: 50%;
  transform-origin: -150px center;
  animation: orbit 9s linear infinite;
}

.sphere-orbit.o2 {
  transform-origin: -190px center;
  animation-duration: 13s;
  animation-direction: reverse;
  background: var(--primary);
}

@keyframes orbit {
  to {
    transform: rotate(360deg) translateX(0);
  }
}

.about-list {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-list .ai-dot {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--secondary);
  display: grid;
  place-items: center;
}

.about-list b {
  font-family: var(--font-head);
}

.about-list span {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: left;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}

/* ---------- AI Engine section ---------- */
.ai-engine {
  background: linear-gradient(180deg, var(--bg-light), #0b0f19);
  overflow: hidden;
}

.engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.engine-visual {
  width: 600px;
  max-width: 100%;
}

#neural-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.engine-points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.engine-points li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 500;
  color: var(--text-gray);
}

.engine-points .chev {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* ---------- Compensation ---------- */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.comp-card {
  text-align: center;
  padding: 38px 28px;
}

.comp-card .big {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comp-card .lbl {
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.comp-card .note {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-gray);
}

.multiplier-table {
  margin-top: 40px;
  background: rgba(13, 19, 33, 0.45);
  border: var(--border-glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 18px 30px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mt-row:last-child {
  border-bottom: none;
}

.mt-row.head {
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}

.mt-row .val {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--secondary);
}

.mt-row.head .val {
  color: #fff;
}

/* ---------- Live statistics ---------- */
.live-stats {
  color: #fff;
  overflow: hidden;
}

.live-stats-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  filter: hue-rotate(196deg);
}

.live-stats .section-title,
.live-stats .section-sub {
  color: #fff;
}

.live-stats .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.live-stats .eyebrow::before {
  background: #fff;
  box-shadow: 0 0 12px #fff;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.counter-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 36px 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease;
}

.counter-card:hover {
  transform: translateY(-8px);
}

.counter-card .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.counter-card .label {
  margin-top: 6px;
  font-weight: 600;
  opacity: 0.92;
}

/* ---------- Roadmap ---------- */
.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(74, 125, 255, 0.6));
  border-radius: 3px;
}

.road-node {
  position: relative;
  text-align: center;
}

.road-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  margin: 28px auto 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.18);
}

.road-q {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
}

.road-card {
  margin-top: 14px;
  background: rgba(13, 19, 33, 0.55);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.road-card h4 {
  margin-bottom: 8px;
}

.road-card p {
  color: var(--text-gray);
  font-size: 0.92rem;
}

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 22px;
}

.bento .glass-card.span2 {
  grid-column: span 2;
}

.bento-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(0, 212, 255, 0.12);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ---------- Why AI / Community / Security split lists ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 500;
  color: var(--text-dark);
}

.check-list .c {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.visual-panel {
  border-radius: var(--radius);
  background: rgba(13, 19, 33, 0.45);
  border: var(--border-glass);
  box-shadow: var(--shadow-card);
  padding: 36px;
  min-height: 340px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* ---------- Testimonials ---------- */
.testi-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testi-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.testi-track:hover {
  animation-play-state: paused;
}

.testi-card {
  width: 360px;
  flex: none;
  background: rgba(13, 19, 33, 0.55);
  border: var(--border-glass);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.testi-card .stars {
  color: #ffb020;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testi-card p {
  color: var(--text-gray);
  font-style: italic;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.testi-who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-head);
}

.testi-who b {
  display: block;
  font-family: var(--font-head);
}

.testi-who span {
  font-size: 0.82rem;
  color: var(--text-gray);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: rgba(13, 19, 33, 0.55);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(0, 212, 255, 0.45);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-q .icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--grad-brand);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 26px;
  color: var(--text-gray);
}

.faq-item.open .faq-a {
  padding: 0 26px 24px;
  max-height: 320px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
}

.cta-panel {
  position: relative;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #000000, #000000);
    box-shadow: 0 40px 90px -30px rgba(115, 171, 255, 0.452);
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: radial-gradient(circle at 30% 30%, rgb(37 158 222 / 12%), transparent 40%), radial-gradient(circle at 70% 70%, rgb(14 85 137 / 41%), transparent 40%);
  animation: spin-slow 3s linear infinite;
}

.cta-panel>* {
  position: relative;
  z-index: 2;
}

.cta-panel h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 760px;
  margin: 0 auto;
}

.cta-panel p {
  margin: 18px auto 32px;
  max-width: 600px;
  opacity: 0.95;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--secondary);
}

.cta-panel .btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #0b0f19, #04070e);
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-gray);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-gray);
  font-size: 0.92rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--secondary);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.2);
  color: var(--secondary);
  transition: 0.3s;
}

.socials a:hover {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-3px);
}

.disclaimer {
  border-top: 1px solid rgba(0, 153, 255, 0.1);
  padding: 30px 0;
}

.disclaimer h5 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.disclaimer p {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 153, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.2, .8, .2, 1), transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: 0.1s;
}

.reveal.d2 {
  transition-delay: 0.2s;
}

.reveal.d3 {
  transition-delay: 0.3s;
}

.reveal.d4 {
  transition-delay: 0.4s;
}

/* ===========================================================
   Interactive Skewed Features Showcase (Why Choose Section)
   =========================================================== */
.skewed-features-showcase {
  width: 100%;
  max-width: 1200px;
  position: relative;
  min-height: 500px;
  z-index: 10;
  transform: translate(0, 0) rotate(0) skewX(0deg) skewY(0) scaleX(1) scaleY(1);
}

.skewed-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Vertical Divider in the center */
.skewed-divider,
.dashed-line {
  display: none;
}

.skewed-item {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.left-item {
  justify-content: flex-end;
}

.right-item {
  justify-content: flex-start;
}

/* Inner block to unskew the elements back to upright */
.skewed-item .item-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 500px;
  padding: 24px;
  border-radius: 20px;
  transform: skew(0deg);
}

@media (min-width: 1100px) {
  .skewed-features-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0, 0) rotate(0) skewX(-20deg) skewY(0) scaleX(1) scaleY(1);
    /* Skew the container */
  }

  .skewed-divider {
    display: block;
    width: 1px;
    height: 450px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 5.58%, hsla(0, 0%, 100%, .381) 51.38%, hsla(0, 0%, 100%, 0) 100.89%);
  }

  .dashed-line {
    display: block;
  }

  .skewed-item .item-inner {
    transform: skew(20deg);
  }
}


.skewed-video {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  mix-blend-mode: screen;
  flex-shrink: 0;
}

.item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* Beautiful custom dashed line bridge */
.dashed-line {
  height: 1px;
  flex-grow: 1;
  background-image: linear-gradient(to right, rgba(0, 212, 255, 0.4) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  align-self: center;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.left-item .dashed-line {
  width: 90px;
}

.right-item .dashed-line {
  width: 70px;
  margin-top: 40px;
  /* Align with video center vertically */
  margin-right: 12px;
}

.skewed-item:hover .dashed-line {
  opacity: 1;
  background-image: linear-gradient(to right, var(--neon) 50%, transparent 50%);
  transform: scaleX(1.05);
}

.item-desc {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
  transition: color 0.3s ease;
}

.skewed-item:hover .item-desc {
  color: var(--text-dark);
}

.left-item .item-desc {
  padding-right: 15px;
}

/* Open App Button Styling */
.skewed-btn-wrapper {
  margin-top: 8px;
  width: fit-content;
}

.skewed-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.3);
  color: #F9F9FF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(8px);
}

.skewed-btn:hover {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
  color: #fff;
}


/*-------------------plan------------*/
#plan {
  background: url(../images/particles.jpg);
  background-size: cover;
  background-position: bottom;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento .glass-card.span2 {
    grid-column: span 2;
  }

  .about-grid,
  .engine-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  section {
    padding: 80px 0;
  }

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: rgba(13, 19, 33, 0.96);
    backdrop-filter: blur(18px);
    padding: 22px;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .feature-grid,
  .steps-grid,
  .comp-grid,
  .counter-grid,
  .roadmap-track,
  .bento {
    grid-template-columns: 1fr;
  }

  .bento .glass-card.span2 {
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .floating-pill {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}