:root {
  --bg: #0c1020;
  --panel: #141a2f;
  --text: #ebefff;
  --muted: #b6bfd9;
  --accent: #6ee7b7;
  --accent-2: #60a5fa;
  --border: #26304f;
  --card: #1a2240;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 10% -20%, #1e2750 0%, transparent 60%),
    radial-gradient(1200px 800px at 100% 0%, #1f4d73 0%, transparent 50%),
    var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 4rem 0 2.5rem;
}

.hero__content h1 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: 0.3px;
}

.subtitle {
  color: var(--muted);
  max-width: 75ch;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.65rem;
  border: 1px solid #2d3c68;
  border-radius: 999px;
  color: #d9e8ff;
  background: #15213f;
  font-size: 0.85rem;
}

.hero__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.62rem 1rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 600;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), #86efac);
  color: #052814;
}

.btn--ghost {
  border: 1px solid #35508f;
  color: #d8e7ff;
  background: rgba(96, 165, 250, 0.08);
}

.panel {
  background: color-mix(in srgb, var(--panel), #fff 2%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.quick-guide article,
.grid article { background: transparent; }

h2 { margin-top: 0; }
h3 { margin: 0.2rem 0 0.6rem; }

.grid {
  display: grid;
  gap: 0.9rem;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.plan-head p { color: var(--muted); margin-top: 0; }

.day-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 0.8rem;
}

.tab {
  white-space: nowrap;
  border: 1px solid #344269;
  background: #101732;
  color: #d8e4ff;
  border-radius: 0.7rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}
.tab.active {
  background: linear-gradient(120deg, #1e3a8a, #2563eb);
  border-color: #4d78ff;
}

.day-content { display: none; }
.day-content.active { display: block; }

.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0.8rem;
}

.card {
  background: var(--card);
  border: 1px solid #2b3a62;
  border-radius: 0.85rem;
  padding: 0.8rem;
}

.card img {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  background: #0f1731;
  border: 1px solid #324678;
  padding: 6px;
}

.card h4 { margin: 0.5rem 0 0.35rem; }
.meta {
  margin: 0;
  color: #b5cdfa;
  font-size: 0.92rem;
}
.card p { margin: 0.45rem 0 0.55rem; color: #c7d3f0; }
.card label { font-size: 0.9rem; color: #ccf4df; }

.demo-link {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #8fd6ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.demo-link:hover { text-decoration: underline; }

.video-library-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.video-card {
  background: #131c39;
  border: 1px solid #2d3f6f;
  border-radius: 0.8rem;
  padding: 0.8rem;
}

.video-card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.video-card iframe {
  width: 100%;
  border: 0;
  border-radius: 0.6rem;
  aspect-ratio: 16 / 9;
  background: #091229;
}

.rules {
  margin: 0;
  padding-left: 1.1rem;
}
.rules li { margin: 0.45rem 0; color: #d0d9f0; }

.disclaimer {
  margin-top: 0.75rem;
  color: #9db0da;
  font-size: 0.9rem;
}

.footer {
  text-align: center;
  color: #a8b7d9;
  padding: 1rem 0 2rem;
}

@media (max-width: 680px) {
  .panel { padding: 1rem; }
  .hero { padding-top: 2.5rem; }
}
