/* ===== PyBot Lab Landing ===== */
:root {
  --bg: #050810;
  --bg-alt: rgba(10, 14, 28, 0.65);
  --card: rgba(14, 20, 40, 0.55);
  --card-hover: rgba(20, 28, 55, 0.75);
  --border: rgba(120, 140, 255, 0.15);
  --border-glow: rgba(88, 166, 255, 0.35);
  --text: #f0f4ff;
  --muted: #8b9dc3;
  --accent: #5b8def;
  --accent-2: #ffd43b;
  --accent-3: #a78bfa;
  --accent-4: #22d3ee;
  --accent-grad: linear-gradient(135deg, #3776ab 0%, #5b8def 35%, #a78bfa 65%, #22d3ee 100%);
  --green: #34d399;
  --radius: 20px;
  --code-bg: rgba(5, 8, 16, 0.9);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== Quantum background ===== */
#quantum-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.quantum-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.orb--1 {
  width: 520px; height: 520px;
  background: rgba(91, 141, 239, 0.22);
  top: -10%; left: -8%;
}
.orb--2 {
  width: 440px; height: 440px;
  background: rgba(167, 139, 250, 0.18);
  top: 40%; right: -12%;
  animation-delay: -6s;
}
.orb--3 {
  width: 380px; height: 380px;
  background: rgba(34, 211, 238, 0.14);
  bottom: -8%; left: 30%;
  animation-delay: -12s;
}

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

.float-symbols {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-sym {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 600;
  color: rgba(167, 139, 250, 0.18);
  animation: sym-float 14s ease-in-out infinite;
  animation-delay: var(--d);
  text-shadow: 0 0 20px rgba(91, 141, 239, 0.3);
}

@keyframes sym-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
  25% { transform: translate(18px, -24px) rotate(6deg); opacity: 0.35; }
  50% { transform: translate(-12px, -40px) rotate(-4deg); opacity: 0.2; }
  75% { transform: translate(24px, -16px) rotate(3deg); opacity: 0.3; }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn--primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 32px rgba(91, 141, 239, .4), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .5s;
}
.btn--primary:hover::after { transform: translateX(100%); }
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(91, 141, 239, .55), 0 0 24px rgba(167, 139, 250, .25);
}

.btn--ghost {
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 141, 239, .15);
}

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(91, 141, 239, .12);
  border: 1px solid rgba(167, 139, 250, .3);
  font-size: 13px;
  font-weight: 600;
  color: #c4d4ff;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(91, 141, 239, .15);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
}
.badge:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(167, 139, 250, .55);
  box-shadow: 0 4px 24px rgba(91, 141, 239, .3);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 16, .72);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}

.header,
.hero,
.section,
.cta,
.footer { position: relative; z-index: 1; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  transition: transform .2s, filter .2s;
}
.logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(91, 141, 239, .45));
}
.logo span { color: var(--accent-2); }

.logo__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 0 20px rgba(91, 141, 239, .45);
}
.logo__icon svg { width: 20px; height: 20px; }

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s, text-shadow .2s;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav a:hover {
  color: var(--text);
  text-shadow: 0 0 12px rgba(91, 141, 239, .4);
}
.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91, 141, 239, .08) 0%, transparent 70%);
  pointer-events: none;
  animation: hero-pulse 6s ease-in-out infinite alternate;
}

@keyframes hero-pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  margin: 22px 0 18px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}
.hero__subtitle strong { color: var(--text); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 36px;
}

.hero__price-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.price-tag {
  font-size: 28px;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-tag small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  -webkit-background-clip: unset;
  background-clip: unset;
  background: none;
}

.hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  transition: color .2s, background .2s, transform .2s;
  cursor: default;
}
.meta-item:hover {
  color: var(--text);
  background: rgba(91, 141, 239, .1);
  transform: translateY(-2px);
}
.meta-item svg { color: var(--accent-2); flex-shrink: 0; transition: transform .2s; }
.meta-item:hover svg { transform: scale(1.15); }

/* Hero visual — code editor */
.hero__visual {
  position: relative;
  z-index: 2;
}

.editor {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(91, 141, 239, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .5),
    0 0 40px rgba(91, 141, 239, .12),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative;
  z-index: 1;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.editor:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(91, 141, 239, 0.45);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, .55),
    0 0 60px rgba(91, 141, 239, .22),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.editor::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(91,141,239,.3), rgba(167,139,250,.1), rgba(34,211,238,.2));
  z-index: -1;
  opacity: 0.6;
}

.editor__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #161b22;
  border-bottom: 1px solid var(--border);
}

.editor__dots {
  display: flex;
  gap: 7px;
}
.editor__dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.editor__dots span:nth-child(1) { background: #ff5f57; }
.editor__dots span:nth-child(2) { background: #febc2e; }
.editor__dots span:nth-child(3) { background: #28c840; }

.editor__filename {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-family: "JetBrains Mono", "Fira Code", monospace;
}

.editor__run {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.editor__run::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.editor__tabs {
  display: flex;
  background: #0d1117;
  border-bottom: 1px solid var(--border);
}

.editor__tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  border-right: 1px solid var(--border);
  border-top: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.editor__tab:hover:not(.editor__tab--active) {
  color: var(--text);
  background: rgba(91, 141, 239, .08);
}
.editor__tab--active {
  color: var(--text);
  background: var(--code-bg);
  border-top-color: var(--accent);
}

.editor__body {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 280px;
}

.editor__lines {
  padding: 16px 0;
  text-align: right;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #484f58;
  user-select: none;
  border-right: 1px solid var(--border);
}
.editor__lines span {
  display: block;
  padding: 0 12px;
}

.editor__code {
  padding: 16px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre;
  color: var(--text);
}

.editor__code .cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--accent-2);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: blink .9s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Syntax highlighting */
.syn-kw { color: #ff7b72; }
.syn-fn { color: #d2a8ff; }
.syn-str { color: #a5d6ff; }
.syn-dec { color: #ffa657; }
.syn-cmt { color: #8b949e; font-style: italic; }
.syn-cls { color: #79c0ff; }
.syn-num { color: #79c0ff; }
.syn-op  { color: #ff7b72; }
.syn-self { color: #ff7b72; }

.editor__terminal {
  border-top: 1px solid var(--border);
  background: #0d1117;
  padding: 12px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.editor__terminal-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.terminal-line { color: var(--muted); }
.terminal-line--ok { color: var(--green); }
.terminal-line--info { color: #58a6ff; }
.terminal-line--user { color: var(--accent-2); }

.floating-badge {
  position: absolute;
  z-index: 20;
  background: rgba(14, 20, 40, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(91, 141, 239, .25);
  animation: float 5s ease-in-out infinite;
  cursor: default;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.floating-badge:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.06);
  border-color: rgba(255, 212, 59, 0.5);
  background: rgba(20, 28, 55, 0.95);
  box-shadow: 0 12px 40px rgba(91, 141, 239, .4), 0 0 24px rgba(255, 212, 59, .15);
}

.floating-badge--1 {
  top: -22px;
  left: -18px;
  right: auto;
  z-index: 25;
  border-color: rgba(255, 212, 59, 0.4);
  box-shadow: 0 10px 36px rgba(91, 141, 239, .3), 0 0 16px rgba(255, 212, 59, .12);
}
.floating-badge--1:hover {
  border-color: rgba(255, 212, 59, 0.7);
  box-shadow: 0 14px 44px rgba(91, 141, 239, .45), 0 0 28px rgba(255, 212, 59, .25);
}
.floating-badge--2 {
  bottom: 20px;
  right: -18px;
  left: auto;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(-5px) rotate(-1deg); }
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-alt);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section__header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section__header p {
  color: var(--muted);
  font-size: 17px;
}

/* Modules grid */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.module::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity .25s;
}

.module:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 48px rgba(91, 141, 239, .18), 0 0 24px rgba(167, 139, 250, .08);
}
.module:hover::before { opacity: 1; }

.module__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91,141,239,.2), rgba(167,139,250,.15));
  color: #a5c4ff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
  border: 1px solid rgba(91, 141, 239, .2);
}

.module h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.module p {
  color: var(--muted);
  font-size: 15px;
}

.module__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 212, 59, .1);
  color: #ffd43b;
  border: 1px solid rgba(255, 212, 59, .25);
  transition: transform .2s, background .2s, box-shadow .2s;
  cursor: default;
}
.tag:hover {
  transform: scale(1.08);
  background: rgba(255, 212, 59, .2);
  box-shadow: 0 0 12px rgba(255, 212, 59, .25);
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit {
  text-align: center;
  padding: 32px 22px;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 141, 239, .12);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(91,141,239,.15), rgba(167,139,250,.1));
  color: #a5c4ff;
  border: 1px solid rgba(91, 141, 239, .2);
  box-shadow: 0 0 20px rgba(91, 141, 239, .1);
}
.benefit__icon svg { width: 26px; height: 26px; }

.benefit h3 { font-size: 16px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pricing__card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(91, 141, 239, 0.35);
  border-radius: 28px;
  padding: 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(91, 141, 239, .15), inset 0 1px 0 rgba(255,255,255,.06);
}

.pricing__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(91, 141, 239, .2), transparent 55%);
  pointer-events: none;
}
.pricing__card::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(167,139,250,.06), transparent 30%);
  animation: card-spin 12s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.pricing__card > * { position: relative; z-index: 1; }

@keyframes card-spin {
  to { transform: rotate(360deg); }
}

.pricing__label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .3);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing__amount {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing__amount span {
  font-size: 28px;
  font-weight: 700;
}

.pricing__old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 18px;
  margin: 8px 0 24px;
}

.pricing__features {
  list-style: none;
  text-align: left;
  margin: 28px 0 32px;
}

.pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  border-radius: 8px;
  transition: background .2s, transform .2s;
}
.pricing__features li:hover {
  background: rgba(91, 141, 239, .08);
  transform: translateX(4px);
}
.pricing__features li:last-child { border-bottom: none; }

.pricing__features svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform .2s;
}
.pricing__features li:hover svg { transform: scale(1.15); }

.pricing__info h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
}

.pricing__info p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: background .2s, transform .2s, padding-left .2s;
}
.check-list li:hover {
  background: rgba(91, 141, 239, .08);
  transform: translateX(6px);
  padding-left: 16px;
}
.check-list svg { color: var(--accent-2); flex-shrink: 0; transition: transform .2s; }
.check-list li:hover svg { transform: scale(1.2); }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s, box-shadow .25s;
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 141, 239, .1);
}

.review__stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
  font-style: italic;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.review:hover .review__avatar {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(91, 141, 239, .45);
}

.review__name { font-weight: 700; font-size: 15px; }
.review__role { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.is-open {
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(91, 141, 239, .1);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.faq-item__q:hover {
  background: rgba(91, 141, 239, .06);
  color: #c4d4ff;
}
.faq-item.is-open .faq-item__q {
  color: #a5c4ff;
}

.faq-item__q svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .25s;
}
.faq-item.is-open .faq-item__q svg { transform: rotate(180deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item__a-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
}

.faq-item.is-open .faq-item__a { max-height: 200px; }

/* CTA */
.cta {
  padding: 80px 0;
}

.cta__box {
  background: var(--accent-grad);
  border-radius: 32px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(91, 141, 239, .35);
}

.cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}

.cta__box h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}

.cta__box p {
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  margin-bottom: 28px;
  position: relative;
}

.cta__box .btn--light {
  position: relative;
  background: #fff;
  color: #312e81;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.cta__box .btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 48px rgba(91, 141, 239, .15);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(91,141,239,.15), rgba(167,139,250,.1));
  color: #a5c4ff;
  border: 1px solid rgba(91, 141, 239, .2);
  flex-shrink: 0;
}

.contact-card__icon--tg {
  background: linear-gradient(135deg, rgba(42,171,238,.2), rgba(34,211,238,.1));
  color: #2AABEE;
  border-color: rgba(42, 171, 238, .25);
}

.contact-card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.contact-card__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 520px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy { color: var(--muted); font-size: 14px; }

.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s, text-shadow .2s;
}
.footer__links a:hover {
  color: var(--text);
  text-shadow: 0 0 10px rgba(91, 141, 239, .35);
}

/* ===== Mobile nav ===== */
@media (max-width: 900px) {
  .float-sym { display: none; }
  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 8, 15, .97);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .header .btn--sm { display: none; }
  .burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .floating-badge--1 { top: -18px; left: 0; }
  .floating-badge--2 { bottom: 16px; right: 0; }

  .modules { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .modules { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cta__box { padding: 40px 24px; }
  .pricing__amount { font-size: 52px; }
}
