:root {
  --bg: #0a0d16;
  --surface: #10131e;
  --card: #141826;
  --card-hover: #1a1f30;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --blue: #3d63ff;
  --blue-soft: rgba(61, 99, 255, 0.12);
  --violet: #9b7cff;
  --white: #f5f7fa;
  --text: #f5f7fa;
  --text-dim: #98a0b3;
  --text-faint: #565d6e;
  --text-muted: #454c5e;
  --green: #34d399;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max: 1280px;
  --font-display: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}
.muted {
  color: var(--text-muted);
  font-weight: 800;
  font-style: italic;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-top: 14px;
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
  margin-top: 16px;
  max-width: 520px;
}
.section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #3f79ff 0%, #2a5fee 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 24px -8px rgba(47, 107, 255, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 14px 32px -10px rgba(47, 107, 255, 0.85);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14px;
}
.btn-ghost:hover {
  color: var(--white);
}
.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0px 0;
  transition:
    padding 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  padding: 0px 0;
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  max-width: 82px;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.logo-mark svg {
  width: 16px;
  height: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: none;
}
.burger {
  width: 20px;
  height: 14px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}
.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 6px;
}
.burger span:nth-child(3) {
  top: 12px;
}
.nav-toggle.open .burger span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-toggle.open .burger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .burger span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(5, 7, 11, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 100px 28px 40px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--white);
}
.mobile-menu .btn {
  margin-top: 24px;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .nav-right .btn-secondary {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* ---------- Background chart signature ---------- */
.chart-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.chart-bg svg {
  position: absolute;
}
.price-path {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(61, 99, 255, 0.35));
}
.price-path.draw {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: drawline 3.6s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes drawline {
  to {
    stroke-dashoffset: 0;
  }
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 55% at 65% 35%,
    black 10%,
    transparent 70%
  );
  mask-image: radial-gradient(
    ellipse 70% 55% at 65% 35%,
    black 10%,
    transparent 70%
  );
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 100px;
  background:
    radial-gradient(
      ellipse 60% 50% at 78% 8%,
      rgba(47, 107, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 15% 90%,
      rgba(61, 99, 255, 0.06),
      transparent 60%
    ),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 0.98;
  margin-top: 22px;
}
.hero h1 span {
  display: block;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--blue), var(--violet) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .muted {
  font-style: italic;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  margin-top: 22px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.stat-item .stat-label {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 960px) {
  .hero-stats {
    gap: 16px 28px;
  }
}
@media (max-width: 520px) {
  .stat-item .stat-num {
    font-size: 22px;
  }
}

.hero-portrait {
  position: absolute;
  right: -320px;
  top: -230px;
}
@media (min-width: 961px) {
  .hero-portrait {
    margin-top: -52px;
    margin-bottom: -72px;
    margin-right: -32px;
  }
}
.portrait-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #151a24, #0a0d13 70%);
}
.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 0%, transparent 26%),
    linear-gradient(200deg, var(--bg) 0%, transparent 20%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
  pointer-events: none;
}
.portrait-glow {
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(61, 99, 255, 0.2), transparent 40%);
  pointer-events: none;
  mix-blend-mode: screen;
}
@media (max-width: 960px) {
  .portrait-fade {
    background:
      linear-gradient(
        90deg,
        var(--bg) 0%,
        transparent 14%,
        transparent 86%,
        var(--bg) 100%
      ),
      linear-gradient(0deg, var(--bg) 0%, transparent 22%);
  }
}
.float-card {
  position: absolute;
  background: rgba(16, 19, 26, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.float-card.fc1 {
  top: 8%;
  left: -8%;
  animation-delay: 0.2s;
}
.float-card.fc2 {
  bottom: 10%;
  right: -6%;
  animation-delay: 1.1s;
}
.fc-title {
  font-size: 11px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fc-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fc-value.up {
  color: var(--green);
}
.fc-spark {
  width: 70px;
  height: 24px;
  margin-top: 6px;
}

@media (max-width: 960px) {
  .hero {
    padding: 140px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .hero-portrait {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }
  .float-card {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Telegram section ---------- */
.telegram-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.telegram-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .telegram-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.phone-mock {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  background: #0d1017;
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.phone-screen {
  background: linear-gradient(180deg, #0f1420, #0a0d13);
  border-radius: 24px;
  padding: 18px 14px;
  height: 100%;
  min-height: 420px;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.phone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.phone-name {
  font-size: 13.5px;
  font-weight: 600;
}
.phone-sub {
  font-size: 11px;
  color: var(--text-faint);
}
.chat-bubble {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
  max-width: 88%;
  line-height: 1.45;
}
.chat-bubble b {
  color: var(--white);
}
.chat-bubble.mono {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: 11.5px;
}

.signal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}
.signal-tag {
  padding: 9px 13px;
  font-size: 10.5px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.signal-tag b {
  color: var(--blue);
  font-weight: 600;
}
.signal-action {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 14px 12px 10px;
}
.signal-action.buy {
  color: var(--green);
  background: rgba(47, 209, 128, 0.08);
}
.signal-action.sell {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}
.signal-levels {
  padding: 4px 14px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.signal-levels b {
  color: var(--white);
  font-weight: 600;
}
.signal-reactions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-faint);
}
.signal-reactions span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.signal-reactions .time {
  margin-left: auto;
}

.telegram-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.telegram-lead-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.telegram-lead-icon svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.telegram-lead span {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--white);
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 24px 0 32px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}
.feature-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 7px;
}
@media (max-width: 520px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Curriculum timeline ---------- */
.timeline {
  position: relative;
  margin-top: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--blue),
    var(--violet) 40%,
    transparent
  );
  opacity: 0.35;
}
@media (max-width: 640px) {
  .timeline::before {
    left: 19px;
  }
}
.t-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 28px;
}
@media (max-width: 640px) {
  .t-item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }
}
.t-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .t-num {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }
}
.t-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  transition:
    border-color 0.25s,
    transform 0.25s,
    background 0.25s;
}
.t-item:hover .t-body {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateX(4px);
}
.t-body h4 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--white);
}
.t-body p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 6px;
}
.center-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- Live class ---------- */
.live-section {
  position: relative;
  overflow: hidden;
}
.live-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(61, 99, 255, 0.22);
  background:
    radial-gradient(
      ellipse 70% 60% at 20% 0%,
      rgba(47, 107, 255, 0.16),
      transparent 60%
    ),
    var(--surface);
  padding: 56px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .live-card {
    padding: 32px 24px;
  }
}
.live-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .live-grid {
    grid-template-columns: 1fr;
  }
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 99, 255, 0.1);
  border: 1px solid rgba(61, 99, 255, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.live-card h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 16px;
}
.live-card p.desc {
  color: var(--text-dim);
  margin-top: 14px;
  max-width: 460px;
}
.learn-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.learn-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  align-items: flex-start;
}
.learn-list svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.live-info-card {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 28px;
}
.live-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.live-info-row:last-of-type {
  border-bottom: none;
}
.live-info-label {
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.live-info-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.seats-bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 10px;
  overflow: hidden;
}
.seats-fill {
  height: 100%;
  width: 76%;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  border-radius: 100px;
}
.live-info-card .btn {
  margin-top: 22px;
}

/* ---------- Ebooks ---------- */
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .ebook-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ebook-grid {
    grid-template-columns: 1fr;
  }
}
.ebook-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}
.ebook-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
}
.ebook-cover {
  aspect-ratio: 3/4;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
}
.ebook-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5));
}
.ebook-cover .cover-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.ebook-cover .cover-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  color: #fff;
  margin-top: 8px;
}
.cover-1 {
  background: linear-gradient(150deg, #12233f, #0a101c 65%);
}
.cover-1 .chartline {
  stroke: var(--blue);
}
.cover-2 {
  background: linear-gradient(150deg, #1b1230, #0a0d1c 65%);
}
.cover-2 .chartline {
  stroke: #8c7bff;
}
.cover-3 {
  background: linear-gradient(150deg, #0f2a22, #090f0d 65%);
}
.cover-3 .chartline {
  stroke: var(--green);
}
.ebook-cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.ebook-body {
  padding: 20px 22px 24px;
}
.ebook-body p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 8px;
  min-height: 40px;
}
.ebook-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.ebook-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.ebook-price span {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 6px;
}
.ebook-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid rgba(61, 99, 255, 0.3);
  transition:
    background 0.2s,
    transform 0.2s;
}
.ebook-buy:hover {
  background: rgba(61, 99, 255, 0.1);
  transform: translateX(2px);
}

/* ---------- Testimonials ---------- */
.results-grid {
  column-count: 2;
  column-gap: 22px;
}
@media (max-width: 800px) {
  .results-grid {
    column-count: 1;
  }
}
.result-card {
  break-inside: avoid;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 22px;
  transition:
    border-color 0.25s,
    transform 0.25s,
    background 0.25s;
}
.result-card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateY(-3px);
}
.result-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.t-name {
  font-size: 14.5px;
  font-weight: 600;
}
.t-role {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 1px;
}
.result-card p.quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(47, 209, 128, 0.1);
  border: 1px solid rgba(47, 209, 128, 0.3);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}
.result-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding: 140px 0;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.12;
}
.final-cta p {
  color: var(--text-dim);
  font-size: 17px;
  margin: 20px auto 40px;
  max-width: 480px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 260px;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 12.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-faint);
}
.socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.social-icon:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.social-icon svg {
  width: 16px;
  height: 16px;
  color: var(--text-dim);
}
