/* Wright Connector — deep navy + signal cyan */
:root {
  --bg: #0a0f1e;
  --bg2: #0e1628;
  --bg3: #131e36;
  --accent: #38bdf8;
  --accent2: #818cf8;
  --text: #eaf0fa;
  --muted: #9db0cc;
  --line: rgba(148, 178, 220, 0.14);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg2); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 750; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 650; margin-bottom: 8px; }
p { color: var(--muted); }
.lede { font-size: 1.15rem; max-width: 640px; margin: 18px 0 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06121f;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 9px 20px; font-size: 0.9rem; background: var(--bg3); color: var(--text); border-color: var(--line); }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-logo { height: 54px; margin: 0 auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06121f; font-size: 0.85rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; margin-left: auto; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 190px 0 120px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 18% 12%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(600px 420px at 85% 85%, rgba(129, 140, 248, 0.14), transparent 60%);
  pointer-events: none;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 28%, black 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 28%, black 25%, transparent 78%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center;
}
.hero h1 { margin: 10px 0 6px; }
.grad {
  background: linear-gradient(115deg, var(--accent) 10%, var(--accent2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.35));
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual img {
  width: 100%; height: auto; display: block; border-radius: 22px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 70px rgba(56, 189, 248, 0.22), 0 30px 70px rgba(0, 0, 0, 0.55);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: none; }
.strip-item strong { display: block; font-size: 1.5rem; color: var(--accent); }
.strip-item span { font-size: 0.9rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.45); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: rgba(56, 189, 248, 0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card p { font-size: 0.98rem; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 44px; align-items: center; }
.step { display: flex; gap: 20px; margin-bottom: 34px; }
.step-num {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06121f; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step p { font-size: 0.98rem; }

/* Phone mockup */
.phone {
  width: 300px; margin: 0 auto; border-radius: 36px; padding: 14px;
  background: #05080f; border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.phone-screen { background: var(--bg2); border-radius: 26px; padding: 20px 14px; min-height: 380px; }
.phone-title { text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.bubble {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; font-size: 0.82rem; color: var(--text); margin-bottom: 12px; line-height: 1.5;
}
.bubble strong { color: var(--accent); }
.bubble.urgent { border-color: rgba(248, 113, 113, 0.55); }
.bubble.urgent strong { color: #f87171; }

/* Demo */
.demo-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.demo-inner .lede { margin-left: auto; margin-right: auto; }
.demo-inner .btn { margin-top: 30px; }
.fineprint { font-size: 0.82rem; color: var(--muted); margin-top: 22px; line-height: 1.6; }

/* Contact */
.contact-inner { text-align: center; }
.contact-inner .lede { margin-left: auto; margin-right: auto; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-decoration: none; display: block; transition: border-color 0.2s ease;
}
a.contact-card:hover { border-color: rgba(56, 189, 248, 0.45); }
.contact-card strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 8px; }
.contact-card span { color: var(--text); font-size: 1.1rem; font-weight: 650; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; color: var(--text); }
.legal p { margin-bottom: 14px; font-size: 0.99rem; }
.legal a { color: var(--accent); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg2); }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; margin-bottom: 18px; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }
footer .fineprint { margin-top: 8px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img, .phone { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 860px) {
  .cards, .how-grid, .contact-cards { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: none; }
  .strip-item { border-top: 1px solid var(--line); }
  .strip-item:nth-child(-n+2) { border-top: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); flex-direction: column; padding: 18px 24px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav .btn-small { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 150px 0 90px; }
}

/* ============ HIGH-TECH PASS ============ */

/* Glowing dividers between sections */
.section { position: relative; }
.section::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), rgba(129, 140, 248, 0.5), transparent);
}

/* Faint circuit texture on alternating sections */
.section-alt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 82% 18%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 82% 18%, black 20%, transparent 75%);
}
.section-alt .container { position: relative; z-index: 1; }

/* Glowing eyebrows */
.eyebrow { text-shadow: 0 0 18px rgba(56, 189, 248, 0.55); }

/* Logo glow */
.brand-logo { filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45)); }

/* Primary buttons carry a glow at rest */
.btn-primary { box-shadow: 0 8px 28px rgba(56, 189, 248, 0.35); }

/* Cards: gradient energy edge + glow on hover */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.9;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}
.card:hover { box-shadow: 0 18px 50px rgba(56, 189, 248, 0.18); }
.card-icon { box-shadow: 0 0 24px rgba(56, 189, 248, 0.35); }

/* Strip numbers glow */
.strip-item strong { text-shadow: 0 0 22px rgba(56, 189, 248, 0.6); }

/* Step numbers glow */
.step-num { box-shadow: 0 0 26px rgba(56, 189, 248, 0.5); }

/* Phone mockup: energy frame + gentle float */
.phone {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 60px rgba(56, 189, 248, 0.18), 0 30px 70px rgba(0, 0, 0, 0.55);
  animation: float 8s ease-in-out infinite;
}

/* Demo becomes a glowing panel */
.demo-inner {
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(56, 189, 248, 0.13), transparent 70%),
    var(--bg3);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 24px;
  padding: 64px 48px;
  box-shadow: 0 0 80px rgba(56, 189, 248, 0.12), inset 0 0 60px rgba(56, 189, 248, 0.04);
}

/* Contact cards */
a.contact-card:hover { box-shadow: 0 14px 40px rgba(56, 189, 248, 0.16); }
.contact-card strong { text-shadow: 0 0 14px rgba(56, 189, 248, 0.5); }

/* Footer glow line */
footer { position: relative; }
footer::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

@media (max-width: 860px) {
  .demo-inner { padding: 44px 26px; }
}
