:root {
  --bg: #0e141b;
  --bg-elev: #151d27;
  --bg-card: #182230;
  --border: #243244;
  --text: #e6edf3;
  --text-muted: #93a1b3;
  --accent: #35d0ba;
  --accent-2: #4aa8ff;
  --accent-3: #5bd67a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(74, 168, 255, 0.12), transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, rgba(53, 208, 186, 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(14, 20, 27, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(53, 208, 186, 0.35);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07121a;
  box-shadow: 0 10px 26px rgba(53, 208, 186, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-title {
  font-size: 1.7rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 560px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
}

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

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 0 28px;
}

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

/* Phone mockup */
.phone {
  justify-self: center;
  width: 270px;
  height: 550px;
  border-radius: 44px;
  background: linear-gradient(180deg, #0b1119, #0f1620);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 0 0 6px #0a0f16;
  padding: 18px;
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0a0f16;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(74, 168, 255, 0.14), transparent 70%),
    #101823;
  padding: 40px 20px 22px;
  display: flex;
  flex-direction: column;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.level-pill {
  background: rgba(91, 214, 122, 0.14);
  color: var(--accent-3);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.72rem;
}

.task-card {
  margin: auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.task-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.task-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.task-start {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07121a;
  font-weight: 700;
  padding: 11px 34px;
  border-radius: 999px;
}

.xp-wrap {
  margin-top: auto;
}

.xp-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.xp-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.xp-fill {
  height: 100%;
  width: 60%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
}

/* Features */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 208, 186, 0.4);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: rgba(74, 168, 255, 0.12);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}

.step .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #07121a;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Support / CTA panel */
.panel {
  background: linear-gradient(135deg, rgba(53, 208, 186, 0.12), rgba(74, 168, 255, 0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.panel p {
  color: var(--text-muted);
  margin: 0 0 22px;
}

.email-link {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Content pages */
.page {
  padding: 56px 0;
  max-width: 760px;
}

.page h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.page .meta {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.page h2 {
  font-size: 1.2rem;
  margin: 34px 0 8px;
}

.page p {
  color: var(--text);
}

.faq {
  margin-top: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.back-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
}

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

.footer-brand {
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  section {
    padding: 52px 0;
  }
  .nav-links {
    gap: 14px;
    font-size: 0.9rem;
  }
  .nav-links a {
    font-size: 0.88rem;
  }
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 36px 22px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand span.name {
    font-size: 1.05rem;
  }
}
