:root {
  --bg: #030504;
  --surface: #080d0a;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #f5f7f2;
  --muted: #b4bbb2;
  --line: rgba(255, 255, 255, 0.13);
  --green: #22d66f;
  --green-soft: rgba(34, 214, 111, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(1, 2, 1, 0.66), rgba(1, 2, 1, 0.9)),
    url("galaxy-background.png") center top / cover fixed,
    linear-gradient(180deg, #010201 0%, #031008 48%, #010201 100%);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 12%, rgba(34, 214, 111, 0.12), transparent 32rem),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.05), transparent 22rem);
  content: "";
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  min-height: 82px;
  padding: 0 34px;
  background: rgba(3, 5, 4, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
}

.brand-wordmark {
  display: inline-block;
  color: #f7faf5;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 142px;
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(24px, 5vw, 58px);
  justify-content: center;
  padding: 0;
  color: rgba(245, 247, 242, 0.82);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav a:hover {
  color: #fff;
  border-color: var(--green);
}

main {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.hero {
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 82px);
  padding: 0;
  text-align: center;
}

.hero-card {
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  min-height: calc(100vh - 82px);
  align-content: center;
  padding: 0;
}

.presenting {
  margin: 0 0 8px;
  color: rgba(245, 247, 242, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-product-logo {
  display: block;
  width: min(820px, 94%);
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 24px rgba(34, 214, 111, 0.14));
}

.logo-byline {
  margin: 0;
  color: rgba(245, 247, 242, 0.58);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 18px;
  color: rgba(245, 247, 242, 0.58);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.green {
  color: var(--green);
}

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

h1,
h2 {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.96;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  line-height: 1.02;
}

h3 {
  font-family: "Poppins", Arial, sans-serif;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  letter-spacing: -0.01em;
}

.hero-actions,
.input-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #041007;
  background: var(--green);
  border-color: var(--green);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.product-panel,
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 68px;
  align-items: center;
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.product-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.product-copy h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.product-copy h2 {
  max-width: 760px;
  color: rgba(245, 247, 242, 0.86);
  font-size: clamp(1.55rem, 3.2vw, 3.25rem);
}

.product-copy p,
.contact-section p {
  max-width: 560px;
  margin-bottom: 0;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.12rem;
  letter-spacing: -0.005em;
}

.product-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, max-content));
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.product-points span {
  padding: 9px 12px;
  color: rgba(245, 247, 242, 0.82);
  border-top: 1px solid rgba(34, 214, 111, 0.32);
  border-bottom: 1px solid rgba(34, 214, 111, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-points .approval-point {
  grid-column: auto;
  justify-self: center;
}

.growth-graph {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
}

.growth-graph svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.graph-axis path {
  fill: none;
  stroke: rgba(245, 247, 242, 0.72);
  stroke-linecap: round;
  stroke-width: 2;
}

.growth-bar {
  fill: rgba(34, 214, 111, 0.16);
  stroke: rgba(34, 214, 111, 0.72);
  stroke-width: 2;
  cursor: pointer;
  transition: fill 180ms ease, filter 180ms ease, transform 180ms ease;
  transform-origin: bottom;
}

.growth-bar:hover,
.growth-bar:focus-visible,
.growth-bar.active {
  fill: var(--green);
  filter: drop-shadow(0 0 18px rgba(34, 214, 111, 0.45));
  outline: none;
  transform: translateY(-6px);
}

.growth-arrow {
  fill: none;
  stroke: rgba(245, 247, 242, 0.86);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.growth-dots circle {
  fill: var(--green);
  filter: drop-shadow(0 0 10px rgba(34, 214, 111, 0.55));
}

.signal-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.signal-caption strong {
  color: #fff;
}

.feature-strip,
.trust-grid {
  display: grid;
  gap: 0;
  margin: 56px 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(2px);
}

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

.feature-strip article,
.trust-grid div {
  min-height: 170px;
  padding: 36px 28px;
  background: transparent;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child,
.trust-grid div:last-child {
  border-right: 0;
}

.feature-strip span {
  display: block;
  margin-bottom: 40px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-strip p,
.trust-grid span {
  color: var(--muted);
  font-size: 0.96rem;
}

.modes-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 118px 0;
  border-bottom: 1px solid var(--line);
}

.modes-copy h2 {
  max-width: 620px;
}

.modes-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.phone-visual {
  position: relative;
  display: grid;
  justify-items: center;
  perspective: 1200px;
}

.os-phone {
  width: min(405px, 100%);
  position: relative;
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(145deg, #1a1d1b, #020302 58%, #111512);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 46px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 46px 120px rgba(0, 0, 0, 0.58),
    0 0 80px rgba(34, 214, 111, 0.13);
  transform: rotateX(var(--phone-tilt-y, 5deg)) rotateY(var(--phone-tilt-x, 18deg)) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
  will-change: transform;
}

.phone-visual:hover .os-phone {
  transform: rotateX(var(--phone-tilt-y, 0deg)) rotateY(var(--phone-tilt-x, 0deg)) rotateZ(0deg);
}

.portrait-phone {
  aspect-ratio: 9 / 18.5;
}

.phone-island {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100px;
  height: 29px;
  background: #020302;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transform: translateX(-50%);
  z-index: 2;
}

.os-screen {
  height: 100%;
  overflow: hidden;
  padding: 66px 18px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 214, 111, 0.16), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%),
    #050907;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
}

.os-topline,
.mode-panel,
.mode-buttons button {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.os-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-width: 0 0 1px;
}

.os-topline strong {
  color: var(--green);
}

.os-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 14px;
}

.mode-panel {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  text-align: left;
  background:
    radial-gradient(circle at 95% 15%, rgba(34, 214, 111, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.035);
  border-radius: 20px;
}

.mode-panel p {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-panel strong {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.12;
}

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

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.capability-grid span {
  display: grid;
  min-height: 60px;
  place-items: center;
  color: #f5f7f2;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 214, 111, 0.15), transparent 70%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.os-feature-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.os-feature-list span {
  position: relative;
  padding: 10px 12px 10px 32px;
  color: rgba(245, 247, 242, 0.82);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.os-feature-list span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(34, 214, 111, 0.72);
  transform: translateY(-50%);
}

.mode-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 0;
}

.mode-button {
  min-height: 48px;
  color: rgba(245, 247, 242, 0.78);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mode-button:hover,
.mode-button:focus-visible,
.mode-button.active {
  color: #041007;
  background: var(--green);
  border-color: var(--green);
  outline: none;
  transform: translateY(-2px);
}

.trust-section {
  padding: 124px 0 86px;
  text-align: center;
}

.trust-section h2 {
  margin-right: auto;
  margin-left: auto;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  text-align: left;
}

.trust-grid strong {
  display: block;
  margin-bottom: 14px;
}

.trust-grid span {
  display: block;
  line-height: 1.6;
}

.contact-section {
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin: 56px 0 110px;
  padding: 92px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.contact-form {
  width: min(100%, 520px);
  justify-self: center;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

input {
  width: min(100%, 360px);
  min-height: 58px;
  padding: 0 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font: inherit;
  outline: none;
}

input::placeholder {
  color: rgba(245, 247, 242, 0.45);
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.form-note {
  min-height: 22px;
  margin: 18px 0 0;
  color: rgba(245, 247, 242, 0.68);
  font-size: 0.95rem;
}

.form-note.success {
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 24px;
  }

  .brand {
    justify-self: center;
  }

  .nav {
    gap: 24px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 58px;
  }

  .product-panel,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 86px 0;
    text-align: center;
  }

  .product-copy {
    justify-items: center;
    text-align: center;
  }

  .product-copy p,
  .contact-section p {
    margin-right: auto;
    margin-left: auto;
  }

  .product-points {
    grid-template-columns: repeat(3, minmax(150px, max-content));
    justify-content: center;
  }

  .feature-strip,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .modes-section {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 86px 0;
    text-align: center;
  }

  .modes-copy h2,
  .modes-copy p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .os-phone {
    width: min(390px, 100%);
    transform: none;
  }

  .phone-visual:hover .os-phone {
    transform: none;
  }

  .os-workspace,
  .mode-buttons {
    grid-template-columns: 1fr;
  }

  .feature-strip article,
  .trust-grid div {
    min-height: auto;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-strip article:last-child,
  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .feature-strip span {
    margin-bottom: 20px;
  }

  .input-row {
    align-items: stretch;
    flex-direction: column;
  }

  input,
  .input-row .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  main,
  .site-footer {
    width: calc(100% - 32px);
  }

  .brand-logo {
    width: 128px;
  }

  h1 {
    font-size: 3rem;
  }

  .nav {
    gap: 18px;
  }

  .product-points {
    grid-template-columns: 1fr;
  }

  .product-points .approval-point {
    grid-column: auto;
  }

  .product-panel,
  .contact-section {
    padding: 72px 0;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
