:root {
  color-scheme: dark;
  --black: #030303;
  --black-2: #080806;
  --panel: #0f0e0b;
  --panel-2: #15130f;
  --gold: #bf8f32;
  --gold-hot: #e5ba61;
  --text: #f2eee4;
  --muted: #aaa193;
  --line: rgba(229, 186, 97, 0.22);
  --radius: 3px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #111;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(90deg, #111 0 1px, transparent 1px calc(100% - 1px), #111 calc(100% - 1px)),
    var(--black);
}

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

button,
input {
  font: inherit;
}

svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto;
  border: 1px solid rgba(229, 186, 97, 0.18);
  background: var(--black);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(229, 186, 97, 0.16);
  background: rgba(4, 4, 3, 0.92);
}

.brand,
.nav,
.footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: min(240px, 42vw);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold-hot);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  stroke: none;
}

.brand em {
  color: #e99a3b;
  font-style: normal;
}

.nav {
  gap: clamp(16px, 2.6vw, 34px);
  color: #d8d1c4;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--gold-hot);
}

.book-small,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
}

.book-small {
  padding: 0 22px;
  color: #181207;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold));
  font-size: 0.76rem;
}

.button {
  padding: 0 26px;
  color: #181207;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold));
  font-size: 0.82rem;
  box-shadow: 0 16px 36px rgba(191, 143, 50, 0.16);
}

.button.outline {
  color: var(--gold-hot);
  background: rgba(0, 0, 0, 0.24);
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 186, 97, 0.18);
}

.hero img,
.hero-overlay,
.legacy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  filter: saturate(0.82) contrast(1.1) brightness(0.72);
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 44%, transparent 0 18%, rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.48));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, 88%);
  margin-top: 80px;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.95;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.9);
}

h1 span,
h2 {
  color: var(--gold-hot);
}

.hero-copy p {
  width: min(600px, 100%);
  margin: 22px auto 30px;
  color: #ded8cc;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.coach-flow,
.coaching,
.results,
.legacy,
.dashboard {
  padding: clamp(54px, 7vw, 92px) clamp(22px, 6vw, 72px);
  border-bottom: 1px solid rgba(229, 186, 97, 0.16);
}

h2 {
  margin-bottom: 36px;
  text-align: center;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(229, 186, 97, 0.16);
  border-bottom: 1px solid rgba(229, 186, 97, 0.16);
}

.flow-grid article {
  min-height: 164px;
  padding: 28px 22px;
  border-right: 1px solid rgba(229, 186, 97, 0.16);
  text-align: center;
}

.flow-grid article:last-child {
  border-right: 0;
}

h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  line-height: 1.15;
  font-weight: 1000;
  text-transform: uppercase;
}

.flow-grid h3 {
  color: #f2d088;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.flow-grid p {
  margin-top: 18px;
  font-size: 0.96rem;
}

.section-label {
  margin-bottom: 16px;
  color: #e99a3b;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  font-weight: 1000;
  letter-spacing: 0.34em;
  text-align: center;
  text-transform: uppercase;
}

.coaching {
  background:
    radial-gradient(circle at 50% 0, rgba(191, 143, 50, 0.08), transparent 34rem),
    #050505;
}

.coaching h2 {
  margin-bottom: clamp(38px, 5vw, 64px);
  color: var(--gold-hot);
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  letter-spacing: 0.12em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.service-card {
  min-height: 560px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(229, 186, 97, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #0b0a08;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.service-card.featured {
  border-color: rgba(229, 186, 97, 0.16);
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(229, 186, 97, 0.7);
  background:
    linear-gradient(180deg, rgba(191, 143, 50, 0.12), rgba(255, 255, 255, 0.012)),
    #0b0a08;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 30px 80px rgba(191, 143, 50, 0.12);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  border: 1px solid rgba(229, 186, 97, 0.18);
  border-radius: var(--radius);
  color: var(--gold-hot);
  background: rgba(191, 143, 50, 0.16);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.service-card h3 {
  color: var(--text);
  font-size: clamp(1.25rem, 1.7vw, 1.9rem);
  line-height: 1.05;
}

.price-block {
  margin-top: 30px;
}

.price-block small,
.price-block span {
  color: #8f8778;
  font-weight: 850;
}

.price-block small {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.price-block strong {
  color: var(--gold-hot);
  font-size: clamp(2.7rem, 4.2vw, 4.1rem);
  line-height: 0.95;
}

.price-block span {
  margin-left: 6px;
  font-size: 1rem;
}

.service-card p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 750;
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  color: #c0b8aa;
  font-weight: 850;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 24px;
}

.service-card li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold-hot);
  font-size: 1.4rem;
  line-height: 1;
}

.legacy-bg {
  background-image: url("assets/alpha-squat.png");
  background-size: cover;
  background-position: 62% 48%;
  filter: saturate(0.84) contrast(1.12);
}

.results {
  text-align: center;
  background:
    linear-gradient(180deg, #050505, #0b0a08),
    #050505;
}

.results h2 {
  width: min(980px, 100%);
  margin-inline: auto;
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: 32px;
}

.transformation-card,
.feedback-card {
  min-height: 290px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(229, 186, 97, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #0b0a08;
  text-align: left;
}

.transformation-stat strong,
.feedback-card strong {
  display: block;
  color: var(--gold-hot);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.transformation-stat span,
.feedback-card span {
  display: block;
  margin-top: 12px;
  color: #f0eadf;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.transformation-card p,
.feedback-card p {
  margin-top: 26px;
  color: #bdb5a8;
  font-weight: 750;
}

.stars {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  color: var(--gold-hot);
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.legacy {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.legacy-bg {
  background-position: 48% 62%;
  filter: saturate(0.72) contrast(1.14) brightness(0.58);
}

.legacy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at 50% 52%, rgba(191, 143, 50, 0.12), transparent 36rem);
}

.legacy-content {
  position: relative;
  z-index: 2;
  width: min(850px, 100%);
}

.legacy h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: 0.06em;
}

.legacy-content > p {
  color: #e9e1d3;
  font-size: 1.08rem;
}

.legacy-panel {
  width: min(720px, 100%);
  margin: 32px auto 26px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(229, 186, 97, 0.28);
  background: rgba(4, 4, 3, 0.68);
  backdrop-filter: blur(10px);
  text-align: left;
}

.legacy-panel span {
  color: var(--gold-hot);
}

.legacy-panel h3 {
  margin-top: 14px;
  color: var(--gold-hot);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.legacy-panel p {
  margin-top: 16px;
}

.legacy-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.legacy-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f0eadf;
  font-weight: 800;
}

.legacy-panel li svg {
  color: var(--gold-hot);
  flex: 0 0 auto;
}

.dashboard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  padding: 0;
  background: #343432;
  border-bottom: 1px solid rgba(229, 186, 97, 0.16);
}

.admin-sidebar {
  min-height: 900px;
  padding: 26px 10px;
  background: #10100f;
  border-right: 1px solid rgba(229, 186, 97, 0.12);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px 28px;
  color: #c8c2b8;
  font-weight: 1000;
  text-transform: uppercase;
}

.admin-logo {
  display: block;
  width: 168px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.admin-brand > span {
  color: #8d8b86;
}

.brand-mark-small {
  display: inline-flex;
  color: #e99a3b;
  margin-right: 8px;
  vertical-align: -3px;
}

.admin-brand em {
  color: #e99a3b;
  font-style: normal;
}

.admin-menu {
  display: grid;
  gap: 6px;
}

.admin-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  color: #aaa49a;
  background: transparent;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.admin-menu button.active,
.admin-menu button:hover {
  color: var(--text);
  background: rgba(229, 186, 97, 0.12);
}

.admin-menu button.active svg,
.admin-menu button:hover svg {
  color: #e99a3b;
}

.admin-main {
  padding: clamp(28px, 4vw, 46px);
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard h2 {
  margin-bottom: 10px;
  color: var(--text);
  text-align: left;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.admin-grid article,
.admin-panel,
.client-database {
  border: 1px solid rgba(229, 186, 97, 0.12);
  border-radius: 8px;
  background: #1d1c1a;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.admin-grid article {
  position: relative;
  min-height: 160px;
  padding: 26px;
}

.admin-grid article > span {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #e99a3b;
}

.admin-grid h3,
.admin-panel h3,
.client-database h3 {
  color: #eee8df;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-grid strong {
  display: block;
  margin-top: 38px;
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1;
}

.admin-grid p,
.admin-panel p,
.client-database p {
  color: #9f988f;
  font-weight: 750;
}

.admin-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-bottom: 24px;
}

.admin-panel {
  min-height: 220px;
  padding: 28px;
}

.wide-panel {
  grid-column: 1 / -1;
}

.admin-panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.admin-panel h3 span {
  color: #e99a3b;
}

.session-list {
  display: grid;
  gap: 12px;
}

.session-list div,
.alert-card {
  padding: 16px;
  border: 1px solid rgba(229, 186, 97, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.session-list strong,
.alert-card strong {
  display: block;
  color: var(--text);
}

.session-list span,
.alert-card span {
  display: block;
  margin-top: 6px;
  color: #aaa49a;
}

.client-database {
  padding: 28px;
  overflow: hidden;
}

.database-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.client-table {
  min-width: 980px;
}

.client-database {
  overflow-x: auto;
}

.client-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.82fr 0.55fr 1.1fr 0.7fr 0.65fr;
  gap: 14px;
  align-items: center;
  padding: 16px 14px;
  border-top: 1px solid rgba(229, 186, 97, 0.1);
  color: #c7c0b6;
  font-weight: 800;
}

.client-row.table-head {
  border-top: 0;
  color: var(--gold-hot);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-row strong,
.client-row b {
  color: var(--text);
}

.client-row small {
  display: block;
  margin-top: 4px;
  color: #8f8778;
}

mark {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #181207;
  background: var(--gold-hot);
  font-size: 0.76rem;
  font-weight: 950;
}

mark.low-credits,
mark.review-due {
  color: var(--gold-hot);
  background: rgba(229, 186, 97, 0.12);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 6vw, 72px);
  color: #8f8778;
  font-size: 0.84rem;
}

.footer div {
  gap: 22px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.login-panel {
  position: relative;
  width: min(460px, 100%);
  padding: 36px;
  border: 1px solid rgba(229, 186, 97, 0.34);
  background: #0d0c0a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72);
}

.login-panel h2 {
  margin: 16px 0 8px;
  text-align: left;
}

.login-panel form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #1b1307;
  background: var(--gold-hot);
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

input {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #070706;
  outline: none;
}

input:focus {
  border-color: var(--gold-hot);
}

.login-error {
  min-height: 20px;
  color: var(--gold-hot);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .flow-grid,
  .services-grid,
  .transformation-grid,
  .result-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .dashboard {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .admin-sidebar {
    min-height: auto;
  }

  .admin-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-panels {
    grid-template-columns: 1fr;
  }

  .flow-grid article,
  .flow-grid article:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(229, 186, 97, 0.16);
  }

  .service-card {
    min-height: auto;
  }

  .dashboard-head,
  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-logo {
    width: min(190px, 48vw);
    height: 40px;
  }

  .book-small {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 570px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .coach-flow,
  .coaching,
  .results,
  .legacy,
  .dashboard {
    padding-inline: 18px;
  }

  .dashboard {
    padding: 0;
  }

  .admin-main {
    padding: 22px 14px;
  }

  .admin-menu {
    grid-template-columns: 1fr;
  }

  .legacy {
    min-height: 760px;
  }

  .button {
    width: 100%;
  }
}
