:root {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --surface: rgba(16, 24, 42, 0.78);
  --surface-strong: #111a2e;
  --border: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(0, 229, 153, 0.35);

  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --emerald: #00e599;
  --emerald-dark: #00b87a;
  --cyan: #00d1ff;
  --gold: #f5b700;
  --danger: #ff5c7c;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

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

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* Background decorations */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 25%, transparent 80%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.32;
}

.bg-glow--top {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -100px;
  background: radial-gradient(circle, var(--emerald), transparent 70%);
}

.bg-glow--mid {
  width: 480px;
  height: 480px;
  bottom: 10%;
  left: -160px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.2;
}

/* Typography helpers */
.text-gradient {
  background: linear-gradient(135deg, #00e599 0%, #5effc8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00d1ff 0%, #6ee7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gold {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 16px 26px;
  font-size: 1.02rem;
}

.btn--full {
  width: 100%;
  padding: 14px 20px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--emerald) 0%, #00c48c 100%);
  color: #03150e;
  box-shadow: 0 10px 30px rgba(0, 229, 153, 0.24);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 229, 153, 0.38);
}

.btn--glow {
  animation: softGlow 3s ease-in-out infinite;
}

@keyframes softGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 229, 153, 0.26); }
  50% { box-shadow: 0 14px 44px rgba(0, 229, 153, 0.45); }
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon--lg {
  width: 22px;
  height: 22px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 153, 0.3);
}

.brand__text span {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 4% 24px;
  background: #0a101d;
  border-top: 1px solid var(--border);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--text-muted);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.28);
  color: var(--emerald);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(0, 229, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); }
}

/* Hero */
.hero {
  padding: 68px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero__title {
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 26px;
}

.hero__subtitle strong {
  color: var(--text);
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.highlight-pill .icon {
  color: var(--emerald);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero__note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Large Logo Showcase */
.hero__visual {
  display: flex;
  justify-content: center;
}

.logo-showcase {
  position: relative;
  width: min(460px, 100%);
}

.logo-showcase__ring {
  position: absolute;
  inset: -16px;
  border-radius: 32px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(0, 229, 153, 0.45), rgba(0, 209, 255, 0.35), rgba(245, 183, 0, 0.25), rgba(0, 229, 153, 0.45));
  filter: blur(26px);
  opacity: 0.55;
  z-index: 0;
}

.logo-showcase__card {
  position: relative;
  z-index: 1;
  background: #070b14;
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.logo-showcase__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
  background: #070b14;
}

.logo-showcase__bar {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

.snr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald);
  font-weight: 700;
}

.snr-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

.snr-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.snr-metrics .free-tag {
  color: var(--gold);
  font-weight: 700;
}

/* Stats strip */
.stats-strip {
  padding: 20px 0 40px;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}

.stat-card__value {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-card__label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 84px 0;
}

.section--alt {
  background: rgba(11, 17, 32, 0.72);
  border-block: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.04rem;
}

/* Grids & Cards */
.cards-grid {
  display: grid;
  gap: 24px;
}

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

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

.feature-card,
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.tool-card:hover {
  transform: translateY(-4px);
}

.feature-card--emerald:hover {
  border-color: rgba(0, 229, 153, 0.45);
}

.feature-card--cyan:hover {
  border-color: rgba(0, 209, 255, 0.45);
}

.feature-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon,
.tool-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 153, 0.12);
  color: var(--emerald);
}

.feature-icon--cyan {
  background: rgba(0, 209, 255, 0.12);
  color: var(--cyan);
}

.feature-icon svg,
.tool-card__icon svg {
  width: 26px;
  height: 26px;
}

.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.pill--emerald {
  background: rgba(0, 229, 153, 0.12);
  color: var(--emerald);
}

.pill--cyan {
  background: rgba(0, 209, 255, 0.12);
  color: var(--cyan);
}

.feature-card h3,
.tool-card h3 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}

.feature-card__desc,
.tool-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tool-card__icon {
  margin-bottom: 18px;
}

.tool-card p {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: #dbe4f0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.feature-card--cyan .check-list li::before {
  color: var(--cyan);
}

/* Workbench: Calculator + Sessions */
.workbench {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.workbench__panel {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.panel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(7, 11, 20, 0.7);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 22px;
}

.panel-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.panel-tab.is-active {
  background: rgba(0, 229, 153, 0.16);
  color: var(--emerald);
}

.calc-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row.is-hidden {
  display: none;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
}

.form-row input:focus {
  outline: none;
  border-color: var(--emerald);
}

.calc-results {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(7, 11, 20, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.calc-metric span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-metric strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.08rem;
}

/* Sessions panel */
.sessions-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.sessions-head h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.sessions-head p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.utc-clock {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 209, 255, 0.12);
  color: var(--cyan);
  white-space: nowrap;
}

.sessions-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid var(--border);
}

.session-item__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.session-item__hours {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.session-status {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.session-status--open {
  background: rgba(0, 229, 153, 0.14);
  color: var(--emerald);
}

.session-status--closed {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.sessions-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Live Classes Box */
.live-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.live-box__content h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.live-box__content > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.03rem;
}

.steps-list {
  display: grid;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-item__num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.25);
  color: var(--emerald);
}

.step-item h4 {
  font-size: 1.03rem;
  margin-bottom: 2px;
}

.step-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.live-box__cta-card {
  background: linear-gradient(160deg, #10192e 0%, #090e1a 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 20px;
  object-fit: contain;
  background: #070b14;
  border: 1px solid rgba(0, 229, 153, 0.28);
}

.live-box__cta-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.live-box__cta-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.cta-card__free {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
}

.cta-card__support {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  font-size: 0.86rem !important;
  color: var(--text-muted);
}

.cta-card__support a {
  color: var(--cyan);
  font-weight: 700;
}

.cta-card__support a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 44px 0 80px;
  border-top: 1px solid var(--border);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__links a {
  color: var(--cyan);
  font-weight: 600;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--emerald);
}

.footer__disclaimer {
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 860px;
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 0.82rem;
  color: #64748b;
}

/* Floating Telegram button */
.floating-tg {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 32px rgba(34, 158, 217, 0.4);
  transition: transform 0.2s ease;
}

.floating-tg svg {
  width: 20px;
  height: 20px;
}

.floating-tg:hover {
  transform: translateY(-3px);
}

/* Promotional Banner */
.promo-banner-section {
  padding: 0 0 34px;
}

.promo-banner {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 153, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 209, 255, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.promo-banner:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.65), 0 0 54px rgba(0, 229, 153, 0.28);
}

.promo-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .workbench,
  .live-box {
    grid-template-columns: 1fr;
  }

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

  .cards-grid--3 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 680px) {
  .cards-grid--2,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .navbar__actions .btn--sm {
    display: none;
  }

  .hero {
    padding: 44px 0 40px;
  }
}
