:root {
  --bg: #0a0d14;
  --bg-soft: #111723;
  --card: #121a2a;
  --line: #1f2a3f;
  --text: #e6edff;
  --text-soft: #9aa7c7;
  --accent: #59e3ff;
  --accent-2: #7c8cff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 540px at 85% -10%, rgba(89, 227, 255, 0.12), transparent 60%),
    radial-gradient(800px 520px at -10% 20%, rgba(124, 140, 255, 0.15), transparent 60%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== Layout ===== */

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

section {
  padding: 64px 0;
}

/* ===== Typography ===== */

h1, h2 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(28px, 6vw, 52px);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(22px, 4vw, 36px);
  margin-bottom: 14px;
}

h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

p.lead {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 680px;
}

.section-intro {
  color: var(--text-soft);
  margin-bottom: 22px;
  max-width: 680px;
}

/* ===== Label / badge ===== */

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(89, 227, 255, 0.3);
  background: rgba(89, 227, 255, 0.08);
  color: var(--accent);
  margin-bottom: 18px;
}

/* ===== Visit counter (floating badge) ===== */

.visit-counter {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 100;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* ===== Buttons ===== */

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #081219;
  background: linear-gradient(90deg, var(--accent), #8cf0ff);
  box-shadow: 0 10px 24px rgba(89, 227, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(89, 227, 255, 0.45);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid rgba(124, 140, 255, 0.4);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s;
}

.ghost-btn:hover {
  border-color: rgba(124, 140, 255, 0.75);
}

/* ===== Hero ===== */

.hero {
  padding: 72px 0 56px;
}

.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(18, 26, 42, 0.92), rgba(10, 13, 20, 0.92));
  border-radius: 22px;
  padding: clamp(22px, 6vw, 44px);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.hero-metrics {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hero-metric {
  border: 1px solid rgba(89, 227, 255, 0.2);
  background: rgba(18, 26, 42, 0.6);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-soft);
}

.hero-metric strong {
  color: var(--text);
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

/* ===== Hero media ===== */

.hero-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 22px;
  min-height: 280px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 13, 20, 0.5));
  pointer-events: none;
}

/* ===== Section image ===== */

.section-img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  margin-top: 22px;
}

.section-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 360px;
}

/* ===== Cards grid ===== */

.grid {
  display: grid;
  gap: 14px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* ===== Icon card ===== */

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(89, 227, 255, 0.1);
  border: 1px solid rgba(89, 227, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

/* ===== Steps ===== */

.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(89, 227, 255, 0.4);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ===== List ===== */

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}

.check-list li::before {
  content: "◆";
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 12px;
  color: var(--accent);
}

/* ===== Motivational highlight block ===== */

.motivate-block {
  border: 1px solid rgba(124, 140, 255, 0.35);
  background: linear-gradient(130deg, rgba(124, 140, 255, 0.14), rgba(89, 227, 255, 0.09));
  border-radius: 20px;
  padding: clamp(22px, 5vw, 40px);
  box-shadow: var(--shadow);
}

.motivate-block .section-intro {
  margin-top: 10px;
}

/* ===== Final CTA ===== */

.final-cta {
  padding: 64px 0 80px;
}

.final-cta .wrap {
  text-align: center;
  border: 1px solid rgba(89, 227, 255, 0.3);
  background: linear-gradient(130deg, rgba(89, 227, 255, 0.1), rgba(124, 140, 255, 0.12));
  border-radius: 22px;
  padding: clamp(24px, 6vw, 48px);
  box-shadow: var(--shadow);
}

.final-cta .wrap h2 {
  margin-bottom: 12px;
}

.final-cta .wrap p {
  color: var(--text-soft);
  margin-bottom: 26px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  text-align: center;
  font-size: 14px;
  color: #8e9abc;
}

/* ===== Tablet+ ===== */

@media (min-width: 640px) {
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Desktop ===== */

@media (min-width: 900px) {
  section {
    padding: 86px 0;
  }

  .hero {
    padding: 108px 0 86px;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: stretch;
  }

  .hero-media {
    margin-top: 0;
    min-height: 420px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
  }

  .split .section-img {
    margin-top: 0;
  }
}
