:root {
  --bg: #050910;
  --text: #e8efff;
  --text-dim: #96a8c8;
  --accent: #63e3ff;
  --accent-soft: #3cffd2;
  --danger: #ff7094;
  --ok: #3ff1b5;
  --border: rgba(167, 192, 255, 0.2);
  --border-strong: rgba(138, 232, 255, 0.38);
  --panel-bg: rgba(9, 15, 29, 0.84);
  --shadow: 0 24px 72px rgba(8, 16, 34, 0.65);
  --radius-lg: 1.2rem;
  --radius-md: 0.8rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(60, 123, 255, 0.2) 0%, rgba(60, 123, 255, 0) 42%),
    radial-gradient(circle at 84% 88%, rgba(42, 255, 212, 0.15) 0%, rgba(42, 255, 212, 0) 45%),
    linear-gradient(165deg, #04070f 0%, #081222 48%, #040810 100%);
  color: var(--text);
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(88px);
  z-index: -1;
  opacity: 0.72;
  pointer-events: none;
}

.bg-shape--one {
  width: min(50vw, 30rem);
  height: min(50vw, 30rem);
  background: rgba(66, 126, 255, 0.34);
  top: -11rem;
  left: -9rem;
  animation: driftA 15s ease-in-out infinite alternate;
}

.bg-shape--two {
  width: min(45vw, 26rem);
  height: min(45vw, 26rem);
  background: rgba(66, 255, 223, 0.25);
  bottom: -10rem;
  right: -9rem;
  animation: driftB 17s ease-in-out infinite alternate;
}

.page {
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.1rem, 2.6vh, 2.2rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(0.95rem, 3vh, 1.7rem) clamp(1.1rem, 3.9vw, 3.8rem);
}

.hero {
  animation: fadeUp 720ms ease-out both;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.25rem;
  align-items: start;
  align-content: start;
}

.brand,
.eyebrow,
h1,
.subline {
  grid-column: 1 / 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.66rem 0.32rem 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(149, 232, 255, 0.3);
  background: rgba(7, 15, 30, 0.65);
}

.brand img {
  width: 2.22rem;
  height: 2.22rem;
  display: block;
  border-radius: 0.62rem;
}

.brand span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #daf7ff;
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.78rem;
  margin: 0;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 5.1vw, 3.55rem);
  line-height: 1.06;
  margin: 0.58rem 0 1.15rem;
  max-width: 14ch;
}

.subline {
  color: var(--text-dim);
  font-size: clamp(1.03rem, 2.2vw, 1.2rem);
  max-width: 44ch;
  line-height: 1.62;
  margin: 0 0 1.05rem;
}

.phone-stage {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 1 / span 4;
  width: min(22vw, 208px);
  margin: 0 0.3rem 0 0;
}

.phone-aura {
  position: absolute;
  inset: 4% -12% -8%;
  background:
    radial-gradient(circle at 38% 24%, rgba(112, 232, 255, 0.5), rgba(112, 232, 255, 0)),
    radial-gradient(circle at 72% 82%, rgba(64, 255, 214, 0.4), rgba(64, 255, 214, 0));
  filter: blur(35px);
  z-index: -1;
}

.phone-device {
  margin: 0;
  position: relative;
  border-radius: 2.35rem;
  padding: 0.44rem;
  background:
    linear-gradient(165deg, #20293b 0%, #0e141f 32%, #1d283d 100%),
    linear-gradient(45deg, #89efff, #34f7d2);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 18px 50px rgba(5, 10, 23, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  animation: phoneFloat 5s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 1.95rem;
  background: #03070e;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 0.34rem;
  left: 50%;
  transform: translateX(-50%);
  width: 39%;
  height: 1.08rem;
  border-radius: 0 0 0.95rem 0.95rem;
  background: #01050b;
  z-index: 3;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.panel-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.meta-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius-md);
  padding: 0.96rem 1.06rem;
  backdrop-filter: blur(8px);
}

.meta-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.meta-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.34rem;
}

.panel {
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01)),
    var(--panel-bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 3.2vw, 2.05rem);
  box-shadow: var(--shadow);
  animation: fadeUp 940ms 120ms ease-out both;
  display: flex;
  flex-direction: column;
}

.panel-header h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 0.42rem;
  font-size: 1.52rem;
}

.panel-header p {
  margin: 0 0 1.18rem;
  color: var(--text-dim);
  line-height: 1.55;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

input {
  width: 100%;
  min-height: 3rem;
  padding: 0.78rem 0.9rem;
  border-radius: 0.76rem;
  border: 1px solid rgba(185, 206, 255, 0.26);
  background: rgba(8, 16, 31, 0.93);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus {
  border-color: rgba(82, 236, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(82, 236, 255, 0.17);
}

button {
  margin-top: 0.3rem;
  min-height: 3rem;
  border: none;
  border-radius: 0.82rem;
  padding: 0.88rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  color: #04131f;
  background: linear-gradient(100deg, #84eaff, #42ffd5);
  transition: transform 120ms ease, filter 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 11px 32px rgba(58, 249, 232, 0.32);
}

button:hover:enabled {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

button:active:enabled {
  transform: translateY(1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.76;
}

.consent-note {
  margin: -0.15rem 0 0;
  color: var(--text-dim);
  font-size: 0.81rem;
  line-height: 1.5;
}

.form-message {
  min-height: 1.2rem;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.form-message.success {
  color: var(--ok);
}

.form-message.error {
  color: var(--danger);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, 42px, 0) scale(1.08);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-25px, -32px, 0) scale(1.08);
  }
}

@keyframes phoneFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  body {
    overflow: hidden;
  }

  .page {
    grid-template-columns: 1fr;
    max-width: 760px;
    align-items: start;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    gap: 0.95rem;
  }

  h1 {
    max-width: 18ch;
  }

  .phone-stage {
    width: min(24vw, 126px);
  }

  .panel-meta {
    margin-top: 0.5rem;
  }
}

@media (min-width: 1041px) {
  html {
    zoom: 1.1;
  }

  body {
    overflow-y: hidden;
  }

  .page {
    width: min(1320px, 100%);
    max-width: 1320px;
    grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
    align-items: center;
    gap: clamp(2.5rem, 4.9vw, 5.4rem);
    padding-top: clamp(0.8rem, 2.6vh, 1.8rem);
    padding-bottom: clamp(0.8rem, 2.6vh, 1.8rem);
    padding-left: clamp(2rem, 4.8vw, 5.6rem);
    padding-right: clamp(2rem, 4.8vw, 5.6rem);
  }

  .hero {
    column-gap: 1.55rem;
  }

  h1 {
    font-size: clamp(2.35rem, 4.95vw, 3.9rem);
    margin-bottom: 1.25rem;
  }

  .subline {
    font-size: clamp(1.08rem, 1.55vw, 1.28rem);
    margin-bottom: 1.2rem;
  }

  .phone-stage {
    width: min(18.5vw, 194px);
    margin-right: 0.4rem;
  }

  .panel {
    max-width: 560px;
    width: 100%;
    justify-self: end;
    padding: clamp(1.25rem, 3.1vw, 2.25rem);
  }

  .panel-meta {
    margin-top: 1.3rem;
  }

  .meta-card {
    padding: 1.08rem 1.18rem;
  }

  .panel-header p {
    margin-bottom: 1.24rem;
  }

  form {
    gap: 1.04rem;
  }

  input,
  button {
    min-height: 3.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page {
    gap: 1rem;
    padding: 0.95rem 0.88rem;
  }

  .brand {
    margin-bottom: 0.5rem;
  }

  .brand img {
    width: 1.75rem;
    height: 1.75rem;
  }

  h1 {
    font-size: clamp(1.64rem, 7.7vw, 2.24rem);
    margin-top: 0.36rem;
    margin-bottom: 0.8rem;
    max-width: 16ch;
  }

  .subline {
    font-size: 0.96rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .phone-stage {
    width: clamp(126px, 34vw, 164px);
  }

  .panel {
    padding: 1.04rem 0.95rem;
    border-radius: 1rem;
  }

  .panel-header h2 {
    font-size: 1.24rem;
    margin-bottom: 0.3rem;
  }

  .panel-header p {
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  form {
    gap: 0.78rem;
  }

  label {
    gap: 0.35rem;
    font-size: 0.85rem;
  }

  input,
  button {
    min-height: 2.9rem;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .consent-note {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .form-message {
    font-size: 0.84rem;
    min-height: 1rem;
  }

  .panel-meta {
    display: none;
  }

  .meta-card {
    padding: 0.74rem 0.82rem;
  }

  .meta-card strong {
    font-size: 1.2rem;
  }

  .meta-label {
    font-size: 0.76rem;
  }
}

@media (max-width: 460px) {
  .panel-meta {
    grid-template-columns: 1fr;
  }

  .phone-device {
    border-radius: 1.82rem;
    padding: 0.3rem;
  }

  .phone-screen {
    border-radius: 1.5rem;
  }

  .phone-notch {
    height: 0.82rem;
  }
}

@media (max-height: 760px) and (max-width: 900px) {
  .page {
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
    gap: 0.62rem;
  }

  h1 {
    font-size: clamp(1.42rem, 4.5vw, 2.2rem);
    margin-bottom: 0.42rem;
  }

  .subline {
    display: none;
  }

  .phone-stage {
    width: clamp(118px, 30vw, 150px);
  }

  .panel-meta .meta-card:nth-child(2) {
    display: none;
  }

  .panel-meta {
    margin-top: 0.2rem;
  }

  .panel-header p {
    display: none;
  }

  .panel {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  form {
    gap: 0.52rem;
  }

  input,
  button {
    min-height: 2.58rem;
  }

  .consent-note {
    font-size: 0.74rem;
    line-height: 1.3;
  }
}

@media (max-height: 740px) and (max-width: 900px) {
  .brand {
    margin-bottom: 0.36rem;
  }

  .brand span {
    font-size: 0.75rem;
  }

  .eyebrow {
    display: none;
  }

  h1 {
    font-size: clamp(1.2rem, 3.7vw, 1.6rem);
    margin-top: 0;
    margin-bottom: 0.28rem;
  }

  .phone-stage {
    width: clamp(110px, 28vw, 138px);
  }

  .panel-meta {
    display: none;
  }

  .panel {
    padding: 0.64rem 0.72rem;
  }

  .panel-header h2 {
    font-size: 1.03rem;
    margin-bottom: 0.2rem;
  }

  form {
    gap: 0.44rem;
  }

  label {
    font-size: 0.78rem;
    gap: 0.25rem;
  }

  input,
  button {
    min-height: 2.3rem;
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
    font-size: 0.87rem;
  }

  .consent-note {
    font-size: 0.69rem;
    line-height: 1.25;
  }

  .form-message {
    min-height: 0.8rem;
    font-size: 0.74rem;
  }
}
