﻿:root {
  --bg: #07100d;
  --bg-strong: #0d1b16;
  --panel: rgba(10, 17, 14, 0.72);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #edf7f1;
  --muted: #aab9b1;
  --accent: #7be3aa;
  --error: #ff8f8f;
  --success: #8ef2b4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius-xl: 28px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(123, 227, 170, 0.16), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(75, 145, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #060c09 0%, #0b1511 100%);
}

body {
  min-height: 100vh;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.ambient {
  position: absolute;
  width: 40vw;
  height: 40vw;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-left {
  top: -8vw;
  left: -10vw;
  background: rgba(123, 227, 170, 0.16);
}

.ambient-right {
  top: 18vh;
  right: -12vw;
  background: rgba(39, 104, 255, 0.14);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.card {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-banner {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.eyebrow,
.section-kicker,
.status-label,
.feature-tag {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
strong {
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
}

.hero-copy,
.section-copy,
.feature-card p,
.message-box,
.slot-meta,
.profile-row dt {
  color: var(--muted);
}

.hero-copy {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #06100c;
  font-weight: 700;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.status-pill {
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-pill strong {
  font-size: 26px;
}

.primary-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 10px;
  border-radius: 999px;
}

.nav-chip {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.nav-chip.active {
  background: rgba(123, 227, 170, 0.12);
  border-color: rgba(123, 227, 170, 0.24);
  color: var(--text);
}

.screen-grid,
.screen-layout {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.screen-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.screen-layout {
  grid-template-columns: 1.3fr 0.9fr;
}

.hidden {
  display: none !important;
}

.feature-card,
.auth-card,
.auth-side,
.side-note {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-head,
.section-head {
  margin-bottom: 18px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.feature-list.compact {
  margin-top: 8px;
}

.stack-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 14px;
}

.field input {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.message-box {
  margin-top: 18px;
  min-height: 58px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.5;
}

.compact-box {
  min-height: auto;
}

.message-box.success {
  color: var(--success);
  border-color: rgba(142, 242, 180, 0.24);
}

.message-box.error {
  color: var(--error);
  border-color: rgba(255, 143, 143, 0.24);
}

.mini-stat {
  margin-top: 26px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(123, 227, 170, 0.08);
  border: 1px solid rgba(123, 227, 170, 0.12);
}

.mini-stat span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.mini-stat strong {
  font-size: 36px;
}

.schedule-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.legacy-snapshot {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  margin-top: 16px;
}

.empty-state {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.slot-date {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.slot-time {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
}

.slot-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.profile-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-row dd {
  margin: 0;
  text-align: right;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .hero-banner,
  .screen-grid,
  .screen-layout,
  .legacy-snapshot,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100vw - 20px, 1180px);
    padding-bottom: 28px;
  }

  .hero-banner,
  .feature-card,
  .auth-card,
  .auth-side,
  .side-note,
  .status-pill {
    padding: 20px;
  }

  .primary-nav {
    border-radius: 22px;
  }

  .nav-chip {
    width: 100%;
  }
}
