:root {
  color-scheme: dark;
  --black-deep: #050505;
  --black-premium: #101012;
  --dark: #202024;
  --graphite: #303036;
  --red: #ff3b1f;
  --red-glow: #ff5a3d;
  --orange: #ff6a2a;
  --white: #ffffff;
  --light: #cfcfcf;
  --glass: rgba(34, 34, 38, 0.78);
  --line: rgba(255, 90, 61, 0.38);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 90, 61, 0.26), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(255, 106, 42, 0.12), transparent 22rem),
    linear-gradient(180deg, #161619 0%, #202024 42%, #121214 100%);
  color: var(--white);
  font-family: Inter, Roboto, Arial, sans-serif;
}

body.app-page {
  padding-bottom: 78px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 7px;
  opacity: 0.22;
}

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

button,
input,
select {
  font: inherit;
}

button,
.btn {
  border: 1px solid rgba(255, 90, 61, 0.7);
  border-radius: 8px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  box-shadow: 0 0 26px rgba(255, 59, 31, 0.32);
  cursor: pointer;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand,
.kicker {
  font-family: Montserrat, Inter, sans-serif;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 12vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 8vw, 54px);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
}

p {
  color: var(--light);
  line-height: 1.6;
}

.mobile-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 59, 31, 0.18);
  padding: 10px 14px;
  background: rgba(22, 22, 25, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 59, 31, 0.58));
  box-shadow: none;
}

.menu-toggle {
  padding: 10px 12px;
  background: rgba(255, 59, 31, 0.12);
}

.main-nav {
  position: fixed;
  inset: 64px 12px auto;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(28, 28, 32, 0.96);
  box-shadow: var(--shadow);
}

.main-nav.open {
  display: grid;
}

.main-nav a {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  color: var(--light);
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.bottom-nav {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  border: 1px solid rgba(255, 90, 61, 0.34);
  border-radius: 18px;
  padding: 8px;
  background: rgba(32, 32, 36, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  border-radius: 12px;
  padding: 10px 4px;
  color: var(--light);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.bottom-nav a:hover,
.bottom-nav a:focus {
  background: rgba(255, 59, 31, 0.16);
  color: var(--white);
}

.hero,
.section,
.footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 22px;
  min-height: calc(100vh - 66px);
  padding: 28px 0 42px;
  align-items: center;
}

.app-hero {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 16px;
  align-items: center;
}

.app-hero h1 {
  font-size: clamp(34px, 10vw, 72px);
}

.app-home {
  display: grid;
  gap: 12px;
  width: min(1180px, calc(100% - 28px));
  margin: -18px auto 26px;
}

.app-home article,
.reservation-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.app-home strong,
.reservation-list strong {
  display: block;
  margin: 6px 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 22px;
}

.premium-app {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0 18px;
}

.app-showcase {
  display: grid;
  gap: 16px;
}

.phone-mock {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 90, 61, 0.42);
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 50% 0%, rgba(255, 59, 31, 0.3), transparent 18rem),
    #202024;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.phone-mock::before {
  content: "";
  width: 74px;
  height: 5px;
  border-radius: 999px;
  margin: 0 auto 4px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-status,
.unlock-slider,
.ops-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-status span,
.unlock-card span,
.ops-table span,
.ops-table em {
  color: var(--light);
  font-size: 13px;
}

.unlock-card {
  border: 1px solid rgba(255, 90, 61, 0.5);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 59, 31, 0.28), rgba(255, 106, 42, 0.09));
}

.unlock-card strong {
  display: block;
  margin: 8px 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(34px, 12vw, 48px);
  letter-spacing: 0.02em;
  text-shadow: 0 0 26px rgba(255, 59, 31, 0.8);
}

.unlock-slider {
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.09);
}

.unlock-slider b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 0 20px rgba(255, 59, 31, 0.42);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-grid button {
  padding: 11px 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  font-size: 11px;
}

.premium-copy {
  display: grid;
  gap: 12px;
}

.premium-copy article {
  border: 1px solid rgba(255, 90, 61, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow);
}

.mini-label {
  color: var(--red-glow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-card {
  width: min(68vw, 250px);
  border: 0;
  border-radius: 0;
  margin-bottom: 22px;
  background: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 59, 31, 0.42));
  box-shadow: none;
  overflow: hidden;
}

.logo-card img,
.login-panel img {
  display: block;
  width: 100%;
}

.kicker {
  margin-bottom: 10px;
  color: var(--red-glow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 620px;
  font-size: 18px;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.hero-device,
.access-panel,
.login-panel,
.steps article,
.room,
.ops-grid article,
.admin-grid article,
.integration-grid article,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
}

.hero-device {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.device-top,
.room-body div,
.total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.device-top span,
.access-code span,
.room-body span,
.admin-grid span,
small {
  color: var(--light);
}

.access-code {
  border: 1px solid rgba(255, 59, 31, 0.42);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 59, 31, 0.2), rgba(255, 106, 42, 0.08));
}

.access-code strong,
.access-panel strong {
  display: block;
  margin: 8px 0;
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 34px;
  text-shadow: 0 0 22px rgba(255, 59, 31, 0.72);
}

.signal-grid,
.chip-grid,
.phone-board,
.access-log {
  display: grid;
  gap: 10px;
}

.signal-grid span,
.chip-grid span,
.phone-board a,
.access-log span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--light);
}

.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 36px;
}

.strip span {
  border: 1px solid rgba(255, 59, 31, 0.24);
  border-radius: 8px;
  padding: 13px 10px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--red-glow);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: 40px 0;
}

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

.steps,
.rooms,
.ops-grid,
.admin-grid,
.integration-grid,
.booking-grid {
  display: grid;
  gap: 14px;
}

.steps article,
.ops-grid article,
.admin-grid article,
.integration-grid article {
  padding: 18px;
}

.steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--red);
  box-shadow: 0 0 28px rgba(255, 59, 31, 0.56);
}

.room {
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.room.selected {
  border-color: rgba(255, 90, 61, 0.84);
  transform: translateY(-2px);
}

.room-photo {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(255, 59, 31, 0.62), transparent 44%),
    radial-gradient(circle at 72% 32%, rgba(255, 106, 42, 0.42), transparent 26%),
    linear-gradient(145deg, #2a2a2a, #090909);
}

.studio-b {
  background:
    linear-gradient(120deg, rgba(255, 90, 61, 0.44), transparent 45%),
    repeating-linear-gradient(90deg, #101010 0 18px, #181818 18px 36px);
}

.studio-c {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 59, 31, 0.72), transparent 24%),
    linear-gradient(150deg, #050505, #262626);
}

.room-body {
  padding: 18px;
}

.room-select {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 11px 12px;
  background: rgba(255, 59, 31, 0.12);
  box-shadow: none;
  border: 1px solid rgba(255, 90, 61, 0.7);
  border-radius: 8px;
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  border: 1px solid rgba(255, 90, 61, 0.55);
  border-radius: 999px;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--red-glow);
  background: rgba(255, 59, 31, 0.1);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-form,
.access-panel {
  display: grid;
  gap: 12px;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.booking-steps span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 4px;
  color: var(--light);
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.booking-steps .done {
  border-color: rgba(255, 90, 61, 0.5);
  color: var(--white);
  background: rgba(255, 59, 31, 0.18);
}

.booking-form {
  border: 1px solid rgba(255, 59, 31, 0.32);
  border-radius: 8px;
  padding: 16px;
  background: rgba(32, 32, 36, 0.82);
}

label {
  display: grid;
  gap: 8px;
  color: var(--light);
  font-size: 14px;
}

input,
select {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 13px 12px;
  background: #18181c;
  color: var(--white);
}

.total {
  border-top: 1px solid rgba(255, 59, 31, 0.24);
  padding-top: 14px;
}

.access-panel {
  padding: 18px;
}

.phone-board a {
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
}

.reservation-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.tag.muted {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--light);
  background: rgba(255, 255, 255, 0.06);
}

.admin-grid article strong {
  display: block;
  margin: 8px 0;
  font-size: 30px;
}

.ops-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ops-table div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.ops-table strong {
  flex: 1;
}

.ops-table em {
  border: 1px solid rgba(255, 90, 61, 0.34);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--white);
  font-style: normal;
  background: rgba(255, 59, 31, 0.12);
  white-space: nowrap;
}

.login-panel {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
}

.login-panel img {
  width: 130px;
  border-radius: 0;
  margin: 0 auto 10px;
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 59, 31, 0.48));
}

.login-panel a {
  color: var(--red-glow);
  text-align: center;
}

details {
  margin-bottom: 10px;
  padding: 16px;
}

summary {
  cursor: pointer;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
}

.footer {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 59, 31, 0.2);
  padding: 28px 0 42px;
  color: var(--light);
}

.footer strong,
.footer a {
  color: var(--white);
}

@media (min-width: 720px) {
  .hero-actions,
  .strip,
  .steps,
  .ops-grid,
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms,
  .admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-grid {
    grid-template-columns: 1fr 0.8fr;
    align-items: start;
  }

  .chip-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .app-home,
  .reservation-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-showcase {
    grid-template-columns: 360px 1fr;
    align-items: center;
  }
}

@media (min-width: 1020px) {
  .mobile-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    background: rgba(22, 22, 25, 0.78);
  }

  .menu-toggle {
    display: none;
  }

  body.app-page {
    padding-bottom: 0;
  }

  .bottom-nav {
    display: none;
  }

  .main-nav {
    position: sticky;
    top: 64px;
    display: flex;
    justify-content: center;
    width: min(760px, calc(100% - 28px));
    margin: 10px auto 0;
    inset: auto;
    border-radius: 999px;
    padding: 8px;
  }

  .main-nav a {
    border-radius: 999px;
    padding: 10px 16px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 56px;
    padding-top: 44px;
  }

  .app-hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    padding-top: 54px;
  }

  .hero-actions {
    grid-template-columns: max-content max-content;
  }

  .steps,
  .ops-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .featured {
    grid-column: span 1;
  }
}
