/* ============================================================
   Momentra Global — marketing site
   Dark premium · cyan-on-black · nightlife-grade
   ============================================================ */

:root {
  --bg:        #05070a;
  --bg-2:      #080b11;
  --panel:     #0d121b;
  --panel-2:   #111826;
  --line:      rgba(103, 232, 249, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);

  --cyan:      #22d3ee;
  --cyan-bright:#67e8f9;
  --cyan-deep: #06b6d4;

  --text:      #e8f6fb;
  --muted:     #93a7b3;
  --muted-2:   #61707c;

  --radius:    16px;
  --radius-sm: 11px;
  --maxw:      1140px;

  --shadow:    0 24px 60px -20px rgba(0,0,0,0.7);
  --glow:      0 0 0 1px rgba(34,211,238,0.18), 0 18px 50px -16px rgba(6,182,212,0.35);

  --ff-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient cyan glows on the page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(6,182,212,0.20), transparent 60%),
    radial-gradient(760px 600px at 8% 8%, rgba(34,211,238,0.10), transparent 55%),
    radial-gradient(1000px 700px at 50% 120%, rgba(6,182,212,0.12), transparent 60%),
    var(--bg);
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }

p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.accent { color: var(--cyan-bright); }

.eyebrow {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #04222a;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary {
  color: #02181d;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(34,211,238,0.5), 0 22px 46px -14px rgba(6,182,212,0.6); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-bright); }

:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5,7,10,0.92), rgba(5,7,10,0.62));
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 2px 8px rgba(34,211,238,0.4)); }
.brand-name { font-family: var(--ff-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.brand-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  vertical-align: top;
  margin-left: 6px;
  opacity: 0.85;
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) { color: var(--muted); font-size: 0.94rem; font-weight: 500; transition: color .18s ease; }
.site-nav > a:not(.btn):hover { color: var(--cyan-bright); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 30px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero-copy { max-width: 580px; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.05rem); font-weight: 700; }
.lede { color: var(--muted); font-size: 1.12rem; margin: 22px 0 28px; max-width: 35ch; }
@media (min-width: 721px) { .lede { max-width: 46ch; } }

/* Signup card */
.signup-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  max-width: 440px;
}
.signup-title { font-size: 1.08rem; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 6px;
}
input {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
input::placeholder { color: var(--muted-2); }
input:hover { border-color: rgba(255,255,255,0.16); }
input:focus { outline: none; border-color: var(--cyan); background: rgba(34,211,238,0.05); box-shadow: 0 0 0 3px rgba(34,211,238,0.14); }
input:user-invalid { border-color: rgba(255, 99, 99, 0.55); }

.signup-card .btn { margin-top: 6px; }
.signup-fine { font-size: 0.78rem; color: var(--muted-2); text-align: center; margin-top: 11px; }

.signup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 26px 12px;
}
.signup-success .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
  color: #02181d; font-size: 1.5rem; font-weight: 700;
  box-shadow: var(--glow);
}
.signup-success strong { font-size: 1.1rem; color: var(--text); }
.signup-success span { color: var(--muted); }
.is-sent .field, .is-sent .signup-title, .is-sent .btn, .is-sent .signup-fine { display: none; }

.hero-trust {
  display: flex; align-items: center; gap: 10px;
  margin-top: 30px; color: var(--muted); font-size: 0.95rem;
}
.hero-trust strong { color: var(--text); }

.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 0 rgba(103,232,249,0.7);
  animation: pulse 2.2s infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(103,232,249,0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(103,232,249,0); }
  100% { box-shadow: 0 0 0 0 rgba(103,232,249,0); }
}

/* Phone visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.glow-ring {
  position: absolute; inset: -6% 8%;
  background: radial-gradient(closest-side, rgba(6,182,212,0.35), transparent 72%);
  filter: blur(18px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 290px; max-width: 78vw;
  background: linear-gradient(165deg, #0f1722, #070b12);
  border: 1px solid rgba(103,232,249,0.22);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px -28px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-notch { width: 110px; height: 22px; background: #04070c; border-radius: 0 0 14px 14px; margin: -14px auto 10px; }
.phone-screen { background: #060a10; border-radius: 24px; padding: 14px; min-height: 380px; }
.sms-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted); font-size: 0.82rem; font-weight: 600;
}
.sms-dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); flex: none; }
.bubble {
  font-size: 0.86rem; line-height: 1.4;
  padding: 10px 13px; border-radius: 15px;
  margin-bottom: 9px; max-width: 86%;
}
.bubble.in { margin-left: auto; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); color: #04222a; font-weight: 600; border-bottom-right-radius: 5px; }
.bubble.out { background: #131c28; color: var(--text); border-bottom-left-radius: 5px; border: 1px solid var(--line-soft); }
.bubble.small { font-size: 0.8rem; color: var(--muted); }
.sms-typing { display: inline-flex; gap: 4px; padding: 9px 12px; background: #131c28; border-radius: 14px; border-bottom-left-radius: 5px; }
.sms-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.3s infinite; }
.sms-typing span:nth-child(2) { animation-delay: .2s; }
.sms-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Metric strip ---------- */
.strip { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,0.015); margin-top: 24px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line-soft); }
.strip-item:first-child { border-left: none; }
.strip-k { display: block; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; color: var(--cyan-bright); letter-spacing: -0.02em; }
.strip-v { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-sub { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }

/* Features */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--panel), rgba(13,18,27,0.5));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 22px 44px -24px rgba(6,182,212,0.5); }
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 12px;
  color: var(--cyan-bright);
  background: radial-gradient(120% 120% at 30% 20%, rgba(34,211,238,0.18), rgba(6,182,212,0.05));
  border: 1px solid var(--line);
}
.ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* How it works */
.how { background: linear-gradient(180deg, transparent, rgba(6,182,212,0.04), transparent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(13,18,27,0.4); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem;
  color: var(--cyan-bright);
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: rgba(34,211,238,0.07);
}
.step h3 { font-size: 1.2rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 0.97rem; }
.steps .step:not(:last-child)::after {
  content: "→";
  position: absolute; right: -16px; top: 44px;
  color: var(--cyan); font-size: 1.3rem; z-index: 2;
}

/* Pilot */
.pilot { text-align: center; }
.pilot-inner {
  max-width: 720px; margin-inline: auto;
  background:
    radial-gradient(600px 300px at 50% -30%, rgba(6,182,212,0.22), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 56px 36px;
  box-shadow: var(--shadow);
}
.pilot-inner .eyebrow { justify-content: center; display: inline-flex; }
.pilot h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.pilot-sub { color: var(--muted); font-size: 1.08rem; max-width: 56ch; margin: 0 auto 28px; }

/* CTA band */
.cta-band { border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(6,182,212,0.05), transparent); padding: 70px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.cta-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-copy p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.cta-form .cta-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.cta-form input:nth-child(3) { grid-column: 1 / 2; }
.cta-form .btn { grid-column: 2 / 4; }
.cta-form .signup-success { padding: 18px 0 0; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
.cta-form .signup-success .check { width: 26px; height: 26px; font-size: 0.95rem; margin: 0 4px 0 0; }
.cta-form.is-sent .cta-row { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 48px 0 30px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.footer-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color .18s ease; }
.footer-links a:hover { color: var(--cyan-bright); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: var(--muted-2); font-size: 0.84rem; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone { width: 250px; }
  .site-nav { gap: 14px; }
  .site-nav > a:not(.btn) { display: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .strip-item:nth-child(odd) { border-left: none; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%); }
  .cta-form .cta-row { grid-template-columns: 1fr; }
  .cta-form input:nth-child(3), .cta-form .btn { grid-column: auto; }
}
@media (max-width: 380px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-left: none; border-bottom: 1px solid var(--line-soft); }
}

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