/* ================================================
   XAEA AI — Design System
   ================================================ */

/* === TOKENS === */
:root {
  --bg: #06060f;
  --bg-s: rgba(255, 255, 255, .025);
  --bg-c: rgba(255, 255, 255, .04);
  --bg-ch: rgba(255, 255, 255, .08);
  --tx: #f1f5f9;
  --tx2: #cbd5e1;
  --txm: #64748b;
  --ac: #818cf8;
  --ach: #6366f1;
  --acg: rgba(129, 140, 248, .15);
  --gr: linear-gradient(135deg, #818cf8, #a78bfa 40%, #c084fc 70%, #f472b6);
  --grs: linear-gradient(135deg, rgba(129, 140, 248, .12), rgba(196, 132, 252, .06));
  --nb: rgba(6, 6, 15, .75);
  --bd: rgba(255, 255, 255, .06);
  --bdh: rgba(255, 255, 255, .15);
  --sh: 0 12px 40px rgba(0, 0, 0, .4);
  --r: 12px;
  --rm: 20px;
  --rl: 32px
}

[data-theme=light] {
  --bg: #f8fafc;
  --bg-s: rgba(0, 0, 0, .02);
  --bg-c: #fff;
  --bg-ch: #f1f5f9;
  --tx: #0f172a;
  --tx2: #334155;
  --txm: #94a3b8;
  --ac: #6366f1;
  --ach: #4f46e5;
  --acg: rgba(99, 102, 241, .08);
  --gr: linear-gradient(135deg, #6366f1, #8b5cf6 50%, #d946ef);
  --grs: linear-gradient(135deg, rgba(99, 102, 241, .06), rgba(139, 92, 246, .03));
  --nb: rgba(248, 250, 252, .85);
  --bd: rgba(0, 0, 0, .06);
  --bdh: rgba(0, 0, 0, .12);
  --sh: 0 12px 40px rgba(0, 0, 0, .06)
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .5s, color .3s
}

h1,
h2,
h3,
h4,
h5,
.logo {
  font-family: 'Outfit', sans-serif
}

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

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

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

/* === LAYOUT === */
.ct {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px
}

/* Animated BG */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(129, 140, 248, .08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(196, 132, 252, .06), transparent 50%);
  pointer-events: none;
  z-index: 0
}

/* Language toggle */
[lang=en] .ru,
[lang=ru] .en {
  display: none !important
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(24px);
  background: var(--nb);
  border-bottom: 1px solid var(--bd)
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gr);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.nl {
  display: flex;
  gap: 6px;
  align-items: center
}

.nl a {
  padding: 7px 14px;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 500;
  color: var(--tx2);
  transition: .2s
}

.nl a:hover {
  color: var(--tx);
  background: var(--acg)
}

.ctrls {
  display: flex;
  gap: 6px;
  margin-left: 12px
}

.bu {
  background: var(--bg-s);
  border: 1px solid var(--bd);
  color: var(--tx2);
  padding: 6px 12px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .75rem;
  transition: .2s
}

.bu:hover {
  border-color: var(--ac);
  color: var(--ac)
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: all .3s
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px)
}

/* === BUTTONS === */
.bp,
.bs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  font-size: .92rem;
  font-weight: 700;
  transition: all .25s
}

.bp {
  background: var(--gr);
  color: #fff;
  box-shadow: 0 8px 24px rgba(129, 140, 248, .25)
}

.bp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(129, 140, 248, .35)
}

.bs {
  background: var(--bg-s);
  color: var(--tx2);
  border: 1px solid var(--bd)
}

.bs:hover {
  border-color: var(--ac);
  color: var(--ac)
}

/* === SECTIONS === */
.sec {
  padding: 100px 0;
  position: relative;
  z-index: 1
}

.sh {
  text-align: center;
  margin-bottom: 56px
}

.sh h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px
}

.sh p {
  color: var(--txm);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto
}

.sd {
  width: 40px;
  height: 3px;
  background: var(--gr);
  border-radius: 10px;
  margin: 0 auto 16px
}

/* === HERO === */
.hero {
  position: relative;
  padding: 160px 0 100px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center
}

.ht {
  position: relative;
  z-index: 2
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--grs);
  border: 1px solid var(--bd);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ac);
  margin-bottom: 24px
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
  animation: pd 2s infinite
}

@keyframes pd {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1.5px
}

.hero h1 span {
  background: var(--gr);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.hero p {
  font-size: 1.1rem;
  color: var(--txm);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px
}

.hc {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hi {
  position: relative
}

.hi img {
  width: 100%;
  border-radius: var(--rl);
  box-shadow: var(--sh);
  animation: hf 8s ease-in-out infinite
}

@keyframes hf {

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

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

/* === TRUST BAR (MARQUEE) === */
.trust {
  padding: 32px 0;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  overflow: hidden;
  position: relative
}

.trust::before,
.trust::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none
}

.trust::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent)
}

.trust::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent)
}

.trust-track {
  display: flex;
  gap: 56px;
  animation: marquee 30s linear infinite;
  width: max-content
}

.trust-track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--txm);
  white-space: nowrap;
  opacity: .6;
  transition: opacity .3s
}

.trust-track span:hover {
  opacity: 1
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

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

/* === STATS === */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px
}

.st {
  text-align: center;
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 28px 16px;
  transition: .3s
}

.st:hover {
  border-color: var(--bdh);
  transform: translateY(-4px)
}

.sv {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ac);
  display: block;
  margin-bottom: 4px
}

.sl {
  font-size: .78rem;
  color: var(--txm);
  text-transform: uppercase;
  letter-spacing: 1px
}

/* === SERVICE CARDS === */
.sg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.sc {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 28px 24px;
  transition: all .35s;
  position: relative;
  overflow: hidden
}

.sc::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gr);
  opacity: 0;
  transition: opacity .3s
}

.sc:hover {
  transform: translateY(-5px);
  border-color: var(--bdh);
  background: var(--bg-ch);
  box-shadow: var(--sh)
}

.sc:hover::after {
  opacity: 1
}

.si {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block
}

.sc h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px
}

.sc p {
  color: var(--txm);
  font-size: .85rem;
  line-height: 1.6
}

/* === DEV SECTION === */
.dev-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-s);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 56px 48px
}

.dev-panel h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px
}

.dev-panel>div>p {
  color: var(--txm);
  margin-bottom: 24px;
  line-height: 1.7
}

.code-block {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r);
  padding: 24px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  line-height: 1.8;
  color: #c9d1d9
}

.code-block .kw {
  color: #ff7b72
}

.code-block .str {
  color: #a5d6ff
}

.code-block .cm {
  color: #8b949e
}

.sdk-list {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap
}

.sdk-tag {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  padding: 6px 14px;
  border-radius: var(--r);
  font-size: .8rem;
  font-weight: 600;
  color: var(--tx2)
}

/* === MARKETPLACE CTA === */
.mcta {
  background: var(--grs);
  border: 1px dashed var(--bdh);
  border-radius: var(--rl);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.mcta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--acg), transparent, var(--acg), transparent);
  animation: sg 12s linear infinite;
  opacity: .3
}

@keyframes sg {
  to {
    transform: rotate(360deg)
  }
}

.mcta>* {
  position: relative;
  z-index: 1
}

.mcta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 20px 0 10px
}

.mcta p {
  color: var(--txm);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7
}

/* === HOST === */
.hp {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-s);
  border: 1px solid var(--bd);
  border-radius: 48px;
  padding: 64px 48px
}

.hp img {
  width: 100%;
  border-radius: var(--rm);
  box-shadow: var(--sh)
}

.hp h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px
}

.hp>div>p {
  color: var(--txm);
  margin-bottom: 28px;
  line-height: 1.7
}

.stp {
  margin-bottom: 28px
}

.sti {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start
}

.sn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gr);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0
}

.stx h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px
}

.stx p {
  color: var(--txm);
  font-size: .88rem
}

/* Earnings Calc */
.calc-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px
}

.calc-item {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 24px;
  text-align: center
}

.calc-item h4 {
  font-size: .85rem;
  color: var(--txm);
  margin-bottom: 8px;
  font-weight: 600
}

.calc-item .cv {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #10b981
}

/* === PRICING === */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.price-card {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 36px 28px;
  transition: .3s;
  position: relative
}

.price-card.pop {
  border-color: var(--ac);
  box-shadow: 0 0 0 1px var(--ac)
}

.price-card.pop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gr);
  border-radius: var(--rm) var(--rm) 0 0
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh)
}

.price-badge {
  display: inline-block;
  background: var(--gr);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px
}

.price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px
}

.price-card .price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px
}

.price-card .price small {
  font-size: .9rem;
  font-weight: 400;
  color: var(--txm)
}

.price-card .price-desc {
  color: var(--txm);
  font-size: .88rem;
  margin-bottom: 20px
}

.price-feat {
  list-style: none;
  margin-bottom: 24px
}

.price-feat li {
  padding: 6px 0;
  font-size: .88rem;
  color: var(--tx2);
  border-bottom: 1px solid var(--bd)
}

.price-feat li::before {
  content: '✓ ';
  color: var(--ac);
  font-weight: 700
}

/* === COMPARISON TABLE === */
.compare-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--rm);
  border: 1px solid var(--bd)
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--bd)
}

.compare-table thead th {
  background: var(--bg-c);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--txm)
}

.compare-table thead th.highlight {
  background: var(--acg);
  color: var(--ac);
  position: relative
}

.compare-table thead th.highlight::before {
  content: '★';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gr);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: .6rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--tx2)
}

.compare-table tbody tr:hover {
  background: var(--bg-ch)
}

.compare-table .col-xaea {
  color: var(--ac);
  font-weight: 700
}

.compare-table .yes {
  color: #10b981
}

.compare-table .no {
  color: #ef4444;
  opacity: .6
}

/* === TECH PANEL === */
.tp {
  background: var(--bg-s);
  border: 1px solid var(--bd);
  border-radius: 48px;
  padding: 64px 48px;
  margin: 0 32px
}

.tg {
  display: flex;
  align-items: center;
  gap: 56px
}

.tp img {
  width: 40%;
  border-radius: var(--rm)
}

.ti {
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--bd);
  transition: border-color .3s
}

.ti:hover {
  border-color: var(--ac)
}

.ti h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px
}

.ti p {
  color: var(--txm);
  font-size: .88rem;
  line-height: 1.6
}

/* === USE CASES === */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.uc {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 32px 24px;
  transition: .3s
}

.uc:hover {
  border-color: var(--bdh);
  transform: translateY(-4px)
}

.uc-icon {
  font-size: 2rem;
  margin-bottom: 16px
}

.uc h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px
}

.uc p {
  color: var(--txm);
  font-size: .88rem;
  line-height: 1.6
}

/* === TESTIMONIALS === */
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: relative
}

.testimonial-card {
  min-width: 360px;
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 32px 28px;
  flex-shrink: 0;
  transition: .3s
}

.testimonial-card:hover {
  border-color: var(--bdh);
  transform: translateY(-3px)
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px
}

.testimonial-text {
  color: var(--tx2);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: #fff
}

.testimonial-name {
  font-weight: 700;
  font-size: .9rem
}

.testimonial-role {
  color: var(--txm);
  font-size: .78rem
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px
}

.testimonial-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-c);
  border: 1px solid var(--bd);
  color: var(--tx2);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s
}

.testimonial-nav button:hover {
  border-color: var(--ac);
  color: var(--ac)
}

/* === ROADMAP === */
.roadmap {
  position: relative;
  max-width: 800px;
  margin: 0 auto
}

.roadmap::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bd)
}

.roadmap-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 40px
}

.roadmap-dot {
  position: absolute;
  left: 11px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-c);
  border: 2px solid var(--bd);
  transition: .3s
}

.roadmap-item.active .roadmap-dot {
  background: var(--gr);
  border-color: var(--ac);
  box-shadow: 0 0 12px rgba(129, 140, 248, .4)
}

.roadmap-item.completed .roadmap-dot {
  background: #10b981;
  border-color: #10b981
}

.roadmap-item.completed .roadmap-dot::after {
  content: '✓';
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%
}

.roadmap-quarter {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ac);
  margin-bottom: 6px
}

.roadmap-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px
}

.roadmap-item p {
  color: var(--txm);
  font-size: .88rem;
  line-height: 1.6
}

.roadmap-tag {
  display: inline-block;
  background: var(--acg);
  color: var(--ac);
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px
}

/* === FAQ === */
.faq-item {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  margin-bottom: 8px;
  overflow: hidden
}

.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s
}

.faq-q:hover {
  background: var(--bg-ch)
}

.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--txm);
  transition: transform .3s
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s;
  padding: 0 24px
}

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

.faq-a p {
  color: var(--txm);
  font-size: .9rem;
  line-height: 1.7
}

/* === ADV === */
.ag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.ai {
  background: var(--bg-c);
  padding: 24px;
  border-radius: var(--rm);
  border: 1px solid var(--bd);
  transition: .3s
}

.ai:hover {
  border-color: var(--bdh);
  background: var(--bg-ch);
  transform: translateY(-4px)
}

.ai h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px
}

.ai p {
  color: var(--txm);
  font-size: .88rem;
  line-height: 1.6
}

/* === CTA FINAL === */
.cta-final {
  text-align: center;
  background: var(--grs);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 72px 40px
}

.cta-final h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px
}

.cta-final p {
  color: var(--txm);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto
}

.cta-final .contact-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap
}

.contact-tag {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 600;
  color: var(--tx2);
  transition: .2s
}

.contact-tag:hover {
  border-color: var(--ac);
  color: var(--ac)
}

/* === MODAL === */
.mo {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s
}

.mo.active {
  opacity: 1;
  pointer-events: auto
}

.mb {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  width: 100%;
  max-width: 540px;
  padding: 36px;
  position: relative;
  box-shadow: var(--sh);
  transform: translateY(20px) scale(.97);
  transition: transform .3s
}

.mo.active .mb {
  transform: translateY(0) scale(1)
}

.mc {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-s);
  border: 1px solid var(--bd);
  color: var(--txm);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s
}

.mc:hover {
  color: var(--tx)
}

.mb h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px
}

.msub {
  color: var(--txm);
  font-size: .85rem;
  margin-bottom: 24px
}

.fg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.fg label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--txm);
  margin-bottom: 5px
}

.fg input {
  width: 100%;
  background: var(--bg-s);
  border: 1px solid var(--bd);
  padding: 11px 12px;
  border-radius: var(--r);
  color: var(--tx);
  font-size: .88rem;
  outline: none;
  transition: border .2s, box-shadow .2s
}

.fg input:focus {
  border-color: var(--ac);
  box-shadow: 0 0 0 3px var(--acg)
}

.fg input::placeholder {
  color: var(--txm);
  opacity: .5
}

.ff {
  grid-column: span 2
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--bd);
  padding: 40px 0;
  position: relative;
  z-index: 1
}

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

.fc {
  color: var(--txm);
  font-size: .82rem
}

.fl {
  display: flex;
  gap: 20px
}

.fl a {
  color: var(--txm);
  font-size: .82rem;
  transition: color .2s
}

.fl a:hover {
  color: var(--ac)
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gr);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(129, 140, 248, .3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s;
  z-index: 999;
  pointer-events: none
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(129, 140, 248, .45)
}

/* === COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-c);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--bd);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.cookie-banner.visible {
  transform: translateY(0)
}

.cookie-banner p {
  color: var(--tx2);
  font-size: .85rem;
  max-width: 600px;
  line-height: 1.6
}

.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.cookie-accept {
  background: var(--gr);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: .2s
}

.cookie-accept:hover {
  transform: translateY(-1px)
}

.cookie-decline {
  background: transparent;
  color: var(--txm);
  border: 1px solid var(--bd);
  padding: 10px 16px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: .2s
}

.cookie-decline:hover {
  border-color: var(--bdh);
  color: var(--tx2)
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .6s, visibility .6s
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.preloader-inner {
  text-align: center
}

.preloader-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 16px;
  animation: preloader-pulse 1.5s ease-in-out infinite
}

.preloader-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--gr);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: var(--bd);
  border-radius: 10px;
  margin: 16px auto 0;
  overflow: hidden
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gr);
  border-radius: 10px;
  animation: preloader-slide 1s ease-in-out infinite
}

@keyframes preloader-pulse {

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

  50% {
    transform: scale(1.05);
    opacity: .8
  }
}

@keyframes preloader-slide {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(350%)
  }
}

/* === PARTICLES CANVAS === */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5
}

/* === ACTIVE NAV === */
.nl a.active {
  color: var(--ac) !important;
  background: var(--acg)
}

/* === TYPED CURSOR === */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--ac);
  margin-left: 4px;
  animation: cursor-blink .8s step-end infinite;
  vertical-align: text-bottom
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* === SECTION DIVIDERS === */
.sec-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bd), rgba(129, 140, 248, .2), var(--bd), transparent);
  margin: 0 auto;
  max-width: 800px
}

/* === HIDE SCROLLBAR (testimonials & compare) === */
.testimonials-track {
  scrollbar-width: none;
  -ms-overflow-style: none
}

.testimonials-track::-webkit-scrollbar {
  display: none
}

.compare-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--ac) var(--bg-c)
}

.compare-wrapper::-webkit-scrollbar {
  height: 4px
}

.compare-wrapper::-webkit-scrollbar-track {
  background: var(--bg-c);
  border-radius: 4px
}

.compare-wrapper::-webkit-scrollbar-thumb {
  background: var(--ac);
  border-radius: 4px
}

/* === GPU CALCULATOR === */
.gpu-calc {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 40px;
  margin-top: 48px
}

.gpu-calc h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center
}

.gpu-calc .calc-subtitle {
  color: var(--txm);
  text-align: center;
  font-size: .9rem;
  margin-bottom: 32px
}

.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px
}

.calc-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--txm);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.calc-group select,
.calc-group input[type=range] {
  width: 100%;
  background: var(--bg-s);
  border: 1px solid var(--bd);
  padding: 12px 14px;
  border-radius: var(--r);
  color: var(--tx);
  font-size: .92rem;
  font-family: inherit;
  outline: none;
  transition: border .2s;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none
}

.calc-group select:focus {
  border-color: var(--ac)
}

.calc-group select option {
  background: var(--bg);
  color: var(--tx)
}

.calc-range-wrap {
  display: flex;
  align-items: center;
  gap: 12px
}

.calc-range-wrap input[type=range] {
  flex: 1;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: var(--bd);
  cursor: pointer
}

.calc-range-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gr);
  border: 2px solid var(--ac);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(129, 140, 248, .3)
}

.calc-range-wrap input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gr);
  border: 2px solid var(--ac);
  cursor: pointer
}

.calc-range-val {
  min-width: 48px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ac)
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--bd)
}

.calc-result-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-s);
  border-radius: var(--rm);
  border: 1px solid var(--bd);
  transition: .3s
}

.calc-result-item:hover {
  border-color: var(--bdh);
  transform: translateY(-2px)
}

.calc-result-label {
  font-size: .75rem;
  color: var(--txm);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px
}

.calc-result-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #10b981
}

/* === LIVE STATUS === */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .2);
  font-size: .75rem;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 16px
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: live-pulse 2s infinite
}

@keyframes live-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .4)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0)
  }
}

/* === NAV SCROLL SHADOW === */
nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .15);
  border-bottom-color: transparent
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media(max-width:1200px) {

  .sg,
  .price-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:1024px) {

  .hero,
  .dev-panel,
  .hp {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 28px
  }

  .hero {
    padding: 140px 0 60px;
    gap: 32px
  }

  .hero p,
  .hc {
    margin-left: auto;
    margin-right: auto;
    justify-content: center
  }

  .hi {
    max-width: 400px;
    margin: 0 auto
  }

  .hp img,
  .dev-panel img {
    max-width: 360px;
    margin: 0 auto
  }

  .tg {
    flex-direction: column-reverse
  }

  .tp img {
    width: 100%;
    max-width: 360px;
    margin: 0 auto
  }

  .tp {
    margin: 0 16px;
    padding: 48px 28px
  }

  .ag,
  .uc-grid,
  .stats,
  .calc-bar {
    grid-template-columns: 1fr
  }

  .sti {
    text-align: left
  }

  .testimonial-card {
    min-width: 300px
  }

  .calc-controls {
    grid-template-columns: 1fr
  }

  .calc-result {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {
  .ct {
    padding: 0 16px
  }

  /* Hamburger visible */
  .hamburger {
    display: flex
  }

  .nl {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--bd);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 999
  }

  .nl.open {
    transform: translateY(0)
  }

  .nl a {
    display: block !important;
    padding: 12px 16px;
    width: 100%;
    text-align: center
  }

  .ctrls {
    margin: 12px 0 0;
    justify-content: center
  }

  .sg,
  .price-grid {
    grid-template-columns: 1fr
  }

  .fg {
    grid-template-columns: 1fr
  }

  .ff {
    grid-column: span 1
  }

  .sec {
    padding: 64px 0
  }

  .fi {
    flex-direction: column;
    text-align: center
  }

  .testimonial-card {
    min-width: 280px
  }

  .roadmap::before {
    left: 16px
  }

  .roadmap-item {
    padding-left: 46px
  }

  .roadmap-dot {
    left: 7px
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px
  }

  /* mcta responsive grid */
  .mcta>div>div {
    grid-template-columns: 1fr !important
  }

  /* GPU Calculator mobile */
  .gpu-calc {
    padding: 24px 16px
  }

  .calc-controls {
    grid-template-columns: 1fr
  }

  .calc-result {
    grid-template-columns: 1fr
  }

  /* Hero typed text mobile */
  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem)
  }

  /* Stats 2-col on mobile */
  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  /* Back to top smaller */
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 24px;
    right: 16px;
    font-size: 1rem
  }
}

@media(max-width:480px) {
  .stats {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 1.5rem
  }

  .hero p {
    font-size: .95rem
  }

  .sh h2 {
    font-size: 1.4rem
  }

  .price-card .price {
    font-size: 1.6rem
  }

  .dev-panel .code-block {
    font-size: .72rem;
    padding: 16px
  }
}