:root {
  color-scheme: dark;
  --bg: #031225;
  --panel: rgba(5, 27, 52, 0.72);
  --panel-strong: rgba(5, 29, 58, 0.86);
  --border: rgba(78, 154, 225, 0.34);
  --border-bright: rgba(38, 184, 255, 0.68);
  --text: #f4fbff;
  --muted: #b1c2d3;
  --soft: #d9e9f6;
  --cyan: #00b7ff;
  --cyan-2: #20d7ff;
  --gold: #f6b425;
  --green: #8fd968;
  --pink: #ffa3f7;
  --orange: #ffae24;
  --shadow: rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #d9edf9;
  --panel: rgba(236, 247, 255, 0.72);
  --panel-strong: rgba(244, 251, 255, 0.9);
  --border: rgba(25, 111, 171, 0.28);
  --border-bright: rgba(0, 137, 210, 0.5);
  --text: #061a2c;
  --muted: #41596d;
  --soft: #14344f;
  --shadow: rgba(8, 34, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(2, 14, 29, 0.48), rgba(2, 10, 21, 0.9)),
    url("assets/images/globe.png") center top / cover no-repeat;
  filter: saturate(1.08) contrast(1.08);
}

:root[data-theme="light"] body::before {
  background:
    linear-gradient(180deg, rgba(224, 243, 255, 0.7), rgba(205, 229, 244, 0.9)),
    url("assets/images/globe.png") center top / cover no-repeat;
  filter: saturate(1.04) contrast(0.98);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 26%, rgba(0, 183, 255, 0.28), transparent 28%),
    radial-gradient(circle at 76% 16%, rgba(246, 180, 37, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(2, 10, 21, 0.7), transparent 28%, transparent 72%, rgba(2, 10, 21, 0.74));
}

:root[data-theme="light"] body::after {
  background:
    linear-gradient(90deg, rgba(238, 249, 255, 0.65), transparent 32%, transparent 72%, rgba(224, 242, 253, 0.72)),
    rgba(227, 246, 255, 0.22);
}

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

img {
  max-width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 197, 63, 0.26) 0 1px, transparent 1.8px),
    radial-gradient(circle at 77% 39%, rgba(255, 197, 63, 0.18) 0 1px, transparent 1.8px),
    radial-gradient(circle at 66% 72%, rgba(0, 215, 255, 0.16) 0 1px, transparent 1.8px);
  background-size: 170px 150px, 230px 190px, 270px 210px;
  opacity: 0.8;
}

.page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-right: 22px;
  padding-left: 22px;
}

.glass-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--panel-strong), var(--panel)),
    linear-gradient(135deg, rgba(0, 183, 255, 0.12), rgba(246, 180, 37, 0.06));
  box-shadow:
    0 20px 54px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 26px rgba(32, 176, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 32px));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 35px;
  height: 36px;
  filter: drop-shadow(0 0 14px rgba(246, 180, 37, 0.45));
}

.brand-wordmark {
  width: 164px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(78, 154, 225, 0.18);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.28);
}

.desktop-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  background: rgba(0, 183, 255, 0.14);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 78px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(78, 154, 225, 0.28);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.42);
  color: var(--text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  align-self: center;
  justify-self: center;
}

.theme-toggle svg:first-child {
  color: var(--gold);
}

.theme-toggle svg:last-child {
  color: var(--cyan-2);
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(0, 183, 255, 0.18);
}

:root[data-theme="light"] .theme-toggle svg:first-child {
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(246, 180, 37, 0.24);
}

:root[data-theme="light"] .theme-toggle svg:last-child {
  padding: 0;
  width: 18px;
  height: 18px;
  background: transparent;
}

.header-link,
.ghost-btn,
.neon-btn {
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 800;
}

.header-link {
  padding: 9px 16px;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.section-band {
  position: relative;
  padding: 88px 0;
}

.hero-section {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 0.88fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.status-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 183, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.52);
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(143, 217, 104, 0.8);
}

.hero-copy h1 {
  margin: 28px 0 14px;
  color: #ffd86f;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(4.2rem, 7vw, 6.7rem);
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 0 0 26px rgba(246, 180, 37, 0.3);
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.neon-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
}

.neon-btn {
  border: 1px solid rgba(53, 211, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(24, 172, 240, 0.98), rgba(8, 107, 180, 0.96)),
    var(--cyan);
  box-shadow: 0 0 28px rgba(0, 183, 255, 0.28);
}

.neon-btn:hover {
  border-color: rgba(255, 216, 111, 0.7);
  background: linear-gradient(180deg, rgba(255, 183, 39, 0.98), rgba(222, 128, 14, 0.98));
}

.ghost-btn {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(4, 24, 47, 0.52);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  overflow: hidden;
}

.metric-strip article {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 16px;
  border-right: 1px solid rgba(78, 154, 225, 0.22);
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip svg {
  width: 24px;
  height: 24px;
  color: var(--cyan-2);
}

.metric-strip span,
.resource-row span,
.preview-top span,
.planner-head span,
.screenshot-card span,
.form-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-strip strong {
  color: var(--text);
  font-size: 20px;
}

.hero-preview {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-top div {
  display: grid;
  gap: 5px;
}

.preview-top strong {
  font-size: 28px;
}

.preview-top button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(78, 154, 225, 0.28);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.32);
  color: var(--text);
}

.world-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(78, 154, 225, 0.22);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.5);
}

.preview-copy {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

.world-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scan-line {
  position: absolute;
  inset: auto 0 24%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 215, 255, 0.8), transparent);
  box-shadow: 0 0 18px rgba(0, 215, 255, 0.8);
}

.world-chip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.world-chip-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(78, 154, 225, 0.22);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.38);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.world-chip-row svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-2);
}

.resource-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.resource-row article {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(78, 154, 225, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 16, 32, 0.54);
}

.resource-row svg {
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  color: var(--cyan-2);
}

.resource-row article:nth-child(2) svg {
  color: var(--green);
}

.resource-row article:nth-child(3) svg {
  color: var(--gold);
}

.resource-row strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2,
.overview-grid h2,
.signup-copy h2,
.final-cta h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
}

.section-heading p,
.overview-grid p,
.signup-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 30px;
  align-items: center;
}

.overview-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.timeline-entry {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(78, 154, 225, 0.2);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.32);
}

.timeline-entry svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--cyan-2);
}

.timeline-entry strong,
.timeline-entry span {
  display: block;
}

.timeline-entry span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 238px;
  padding: 22px;
}

.feature-card svg {
  width: 36px;
  height: 36px;
  color: var(--cyan-2);
}

.feature-card:nth-child(2) svg,
.feature-card:nth-child(6) svg {
  color: var(--gold);
}

.feature-card:nth-child(4) svg {
  color: var(--green);
}

.feature-card:nth-child(5) svg {
  color: var(--pink);
}

.feature-card h3 {
  margin: 20px 0 10px;
  font-size: 21px;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.screenshot-card,
.planner-card {
  overflow: hidden;
}

.primary-shot {
  grid-row: span 2;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(78, 154, 225, 0.2);
}

.primary-shot img {
  height: calc(100% - 92px);
  min-height: 408px;
}

.screenshot-card div {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.screenshot-card strong {
  font-size: 20px;
}

.planner-card {
  padding: 18px;
}

.planner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.planner-head strong {
  color: var(--gold);
  font-size: 22px;
}

.planner-bars {
  display: grid;
  gap: 12px;
}

.planner-bars span {
  position: relative;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(78, 154, 225, 0.18);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.4);
  color: var(--text);
}

.planner-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(0, 183, 255, 0.32), rgba(246, 180, 37, 0.16));
}

.planner-bars b,
.planner-bars strong {
  position: relative;
  z-index: 1;
}

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.7fr);
  gap: 32px;
  align-items: center;
}

.cta-panel {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 520px;
  margin-top: 24px;
  padding: 16px;
}

.cta-panel svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.cta-panel strong,
.cta-panel span {
  display: block;
}

.cta-panel span {
  color: var(--muted);
}

.signup-form {
  padding: 20px;
}

.form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.form-head img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 0 16px rgba(246, 180, 37, 0.38));
}

.form-head strong {
  display: block;
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(78, 154, 225, 0.26);
  border-radius: var(--radius);
  background: rgba(2, 14, 29, 0.46);
  color: var(--text);
  padding: 0 13px;
  outline: none;
}

:root[data-theme="light"] .signup-form input,
:root[data-theme="light"] .signup-form select,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .desktop-nav,
:root[data-theme="light"] .resource-row article,
:root[data-theme="light"] .timeline-entry,
:root[data-theme="light"] .planner-bars span {
  background: rgba(255, 255, 255, 0.56);
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: var(--border-bright);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.16);
}

.full-field {
  margin-top: 12px;
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
  margin: 16px 0;
  color: var(--muted) !important;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--cyan);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.final-cta {
  padding-top: 36px;
}

.final-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
}

.final-cta h2 {
  max-width: 820px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.site-footer {
  padding: 34px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Cinzel, Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.footer-brand img {
  width: 30px;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.footer-inner div {
  display: flex;
  gap: 14px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid,
  .overview-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .primary-shot {
    grid-row: auto;
  }

  .primary-shot img {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .page-container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 66px;
  }

  .brand-wordmark {
    width: 132px;
  }

  .header-link {
    display: none;
  }

  .theme-toggle {
    width: 70px;
  }

  .section-band {
    padding: 58px 0;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .hero-actions,
  .section-heading,
  .final-cta-panel,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .final-cta-panel .btn {
    width: 100%;
  }

  .metric-strip,
  .resource-row,
  .world-chip-row,
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip article {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid rgba(78, 154, 225, 0.22);
  }

  .metric-strip article:last-child {
    border-bottom: 0;
  }

  .hero-preview,
  .signup-form,
  .final-cta-panel {
    padding: 14px;
  }

  .preview-top strong {
    font-size: 22px;
  }

  .overview-panel,
  .feature-card {
    padding: 16px;
  }

  .footer-inner,
  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 440px) {
  .brand-lockup {
    min-width: 0;
  }

  .brand-wordmark {
    display: none;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .status-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .world-visual {
    aspect-ratio: 4 / 3;
  }
}
