:root {
  --bg: #07080c;
  --bg-2: #0e1118;
  --card: #121722;
  --line: rgba(255,255,255,.08);
  --text: #f4f1ea;
  --muted: #9aa3b5;
  --accent: #ff4d1c;
  --accent-2: #ffb703;
  --ok: #3dd68c;
  --warn: #f5c451;
  --danger: #ff5d73;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --font: Inter, system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 700;
}
h1, h2, .display {
  font-family: var(--display);
  letter-spacing: .04em;
  line-height: .92;
  margin: 0;
}
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s transform, .2s background, .2s box-shadow;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(255,77,28,.28); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-dark { background: #fff; color: #111; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: rgba(7,8,12,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff8a3d);
  font-family: var(--display); font-size: 22px;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,8,12,.2), rgba(7,8,12,.88)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-copy { width: min(920px, calc(100% - 40px)); padding: 80px 0 60px; }
.hero h1 { font-size: clamp(56px, 10vw, 118px); max-width: 14ch; }
.hero p.lead { max-width: 46ch; font-size: 18px; color: #d7dbe6; margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-stats strong { display: block; font-family: var(--display); font-size: 36px; }

.section { padding: 92px 0; }
.section h2 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 12px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 36px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.program-card { min-height: 220px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.program-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}
.program-card span { position: relative; z-index: 1; font-family: var(--display); font-size: 32px; }

.plan { position: relative; }
.plan.featured { outline: 2px solid var(--accent); transform: translateY(-8px); }
.plan .price { font-family: var(--display); font-size: 52px; margin: 8px 0; }
.plan ul { padding: 0; list-style: none; color: var(--muted); }
.plan li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ribbon {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 4px 10px; font-weight: 700;
}

.coach { text-align: left; padding: 0; overflow: hidden; }
.coach .photo {
  height: 220px;
  background: #222 center/cover no-repeat;
}
.coach .pad { padding: 16px 18px 20px; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: #0c1018; }
tr:hover td { background: rgba(255,255,255,.02); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: #0b0e14; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
textarea { min-height: 120px; resize: vertical; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 20px; background: #05060a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.legal { text-align: center; color: var(--muted); font-size: 12px; margin-top: 28px; }

.auth-body { min-height: 100vh; display: grid; place-items: center; background:
  linear-gradient(160deg, rgba(7,8,12,.75), rgba(7,8,12,.92)),
  url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1600&q=80") center/cover; }
.auth-card { width: min(440px, calc(100% - 32px)); background: rgba(12,16,24,.92); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 48px; margin-bottom: 8px; }

.alert { padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
.alert.ok { background: rgba(61,214,140,.12); color: var(--ok); }
.alert.danger { background: rgba(255,93,115,.12); color: var(--danger); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge.ok { background: rgba(61,214,140,.15); color: var(--ok); }
.badge.warn { background: rgba(245,196,81,.15); color: var(--warn); }
.badge.danger { background: rgba(255,93,115,.15); color: var(--danger); }
.badge.muted { background: rgba(255,255,255,.08); color: var(--muted); }

.app-body { background: #080a10; }
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar {
  background: #0b0e16; border-right: 1px solid var(--line);
  padding: 22px 16px; display: flex; flex-direction: column; gap: 6px;
}
.sidebar a { padding: 10px 12px; border-radius: 10px; color: var(--muted); }
.sidebar a.on, .sidebar a:hover { background: rgba(255,77,28,.12); color: #fff; }
.sidebar .brand { margin-bottom: 18px; }
.sidebar-foot { margin-top: auto; color: var(--danger) !important; }
.app-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px 8px; }
.app-top h1 { font-size: 42px; }
.app-content { padding: 8px 28px 40px; }
.who { color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat strong { font-family: var(--display); font-size: 40px; display: block; }
.toolbar { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin: 8px 0 16px; }
.search { min-width: 240px; margin: 0; }
.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.pager { display: flex; gap: 8px; margin-top: 14px; }
.pager a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }

.cta-band {
  margin: 0 20px 80px; border-radius: 28px; padding: 48px;
  background: linear-gradient(120deg, #ff4d1c, #ff8a3d);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-band h2 { font-size: 56px; }

@media (max-width: 960px) {
  .grid-3, .grid-4, .hero-stats, .stats, .contact-grid, .split, .footer-grid, .app-shell { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #0c1018; padding: 16px; }
  .nav-links.open { display: flex; }
  .hero { min-height: 80vh; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .plan.featured { transform: none; }
}
