:root {
  --bg: #02020a;
  --surface: #07111f;
  --surface-2: #0b1830;
  --panel: rgba(10, 22, 40, .74);
  --panel-strong: rgba(15, 29, 50, .9);
  --line: rgba(0, 212, 255, .18);
  --line-soft: rgba(255, 255, 255, .08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --soft: #64748b;
  --cyan: #00d4ff;
  --neon-cyan: #00fff7;
  --blue: #2563eb;
  --violet: #a855f7;
  --pink: #ec4899;
  --green: #10b981;
  --radius: 24px;
  --radius-sm: 12px;
  --glow: 0 0 20px rgba(0, 212, 255, .4);
  --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 10%, rgba(42, 27, 105, .3), transparent 34rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 212, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, .045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(2, 2, 10, .5) 45%, var(--bg));
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(0, 212, 255, .75);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1248px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 18, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  position: relative;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--violet));
  box-shadow: 0 0 5px var(--cyan), 0 0 20px rgba(0,212,255,.5), 0 0 40px rgba(0,212,255,.3);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 10px 13px;
  background: #fff;
  clip-path: polygon(52% 0, 94% 0, 57% 40%, 100% 40%, 28% 100%, 43% 55%, 0 55%);
}
.nav-links { display: flex; align-items: center; gap: 32px; color: var(--muted); font-size: 16px; }
.nav-links a { position: relative; transition: color .25s ease; white-space: nowrap; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.045);
  font-weight: 800;
  line-height: 1.1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, .48);
  background: rgba(0, 30, 60, .55);
  box-shadow: var(--glow);
}
.btn.primary {
  color: #fff;
  border-color: rgba(255,255,255,.18);
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 24px rgba(0,212,255,.28), 0 14px 36px rgba(37,99,235,.22);
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: transform .7s ease;
}
.btn.primary:hover::before { transform: translateX(110%); }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 950;
  max-width: 920px;
}
h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 930; }
h3 { font-size: 24px; font-weight: 850; }
h1 span, h2 span, .gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(241,245,249,.62);
  font-size: clamp(18px, 2vw, 22px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 128px 0 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("img/happ-hero.jpg") center / cover no-repeat;
  opacity: .09;
  filter: saturate(1.2) contrast(1.05);
}
.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  width: 1200px;
  height: 700px;
  transform: translateX(-50%);
  z-index: -2;
  background: conic-gradient(from 90deg at 50% 0%, #1e40af 0deg, #7c3aed 120deg, #06b6d4 240deg, #1e40af 360deg);
  opacity: .15;
  filter: blur(120px);
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle, transparent calc(50% - 1px), rgba(255,255,255,.045) 50%, transparent calc(50% + 1px)),
    radial-gradient(circle, transparent calc(43% - 1px), rgba(255,255,255,.03) 43%, transparent calc(43% + 1px)),
    radial-gradient(circle, transparent calc(36% - 1px), rgba(255,255,255,.018) 36%, transparent calc(36% + 1px));
}
.hero-grid {
  display: block;
  text-align: center;
}
.hero-center {
  max-width: 930px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(16,185,129,.8);
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; justify-content: center; flex-wrap: wrap; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin: 64px auto 0;
  max-width: 960px;
}
.trust-item {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}
.trust-item strong { display: block; font-size: clamp(24px, 3vw, 42px); font-weight: 950; line-height: 1; }
.trust-item strong span { color: var(--cyan); }
.trust-item small { color: var(--muted); font-size: 14px; }
.hero-strip {
  position: relative;
  margin-top: 72px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.02));
}
.hero-chips {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: rgba(255,255,255,.5);
  font-size: 14px;
}
.chip::before {
  content: "✓";
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--green);
  background: transparent;
  box-shadow: none;
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.section.alt {
  background:
    radial-gradient(circle at 25% 0, rgba(0,212,255,.05), transparent 30rem),
    radial-gradient(circle at 75% 100%, rgba(168,85,247,.05), transparent 28rem),
    linear-gradient(180deg, rgba(10,22,40,.68), rgba(2,2,10,.2));
  border-block: 1px solid rgba(255,255,255,.06);
}
.section-head {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head p { color: var(--muted); margin: 18px auto 0; max-width: 680px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,.22);
  color: var(--cyan);
  background: rgba(255,255,255,.045);
  font-size: 14px;
  font-weight: 800;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 250px; }
.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 20px rgba(0,212,255,.28);
  font-weight: 950;
}
.search-clusters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 38px auto 0;
  max-width: 920px;
}
.search-clusters a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(241,245,249,.72);
  background: rgba(255,255,255,.035);
  font-size: 14px;
  font-weight: 800;
}
.search-clusters a:hover {
  color: #fff;
  border-color: rgba(0,212,255,.36);
  background: rgba(0,30,60,.42);
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15,29,50,.88), rgba(10,22,40,.92));
  padding: 28px;
  box-shadow: var(--glass-shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 0%, rgba(0,212,255,.14), transparent 17rem);
  opacity: .75;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,255,.34);
  box-shadow: 0 28px 70px rgba(0,0,0,.54), 0 0 26px rgba(0,212,255,.16), inset 0 1px 0 rgba(255,255,255,.07);
}
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 12px; }
.card p, .card li { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.num {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 24px rgba(0,212,255,.28);
  font-weight: 950;
}

.check-list { padding: 0; margin: 0 0 28px; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin: 13px 0;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(0,212,255,.16);
  border: 1px solid rgba(0,212,255,.26);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: .62em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { text-align: center; }
.step-card .num { margin-left: auto; margin-right: auto; width: 78px; height: 78px; font-size: 24px; }
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.location-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.location-list h3 { color: var(--cyan); margin-bottom: 16px; }
.location-list ul { list-style: none; margin: 0; padding: 0; }
.location-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.device-card { min-height: 150px; }
.device-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(0,212,255,.16), rgba(168,85,247,.14));
  border: 1px solid rgba(0,212,255,.18);
}

.route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.route-panel {
  border-radius: var(--radius);
  padding: 36px;
  background:
    radial-gradient(circle at 0 0, rgba(0,212,255,.17), transparent 18rem),
    linear-gradient(180deg, rgba(15,29,50,.9), rgba(7,17,31,.72));
  border: 1px solid rgba(0,212,255,.18);
  box-shadow: var(--glass-shadow);
}
.route-panel p { color: var(--muted); }
.list-clean { padding-left: 20px; margin-bottom: 0; color: var(--muted); }
.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,.2);
  color: rgba(241,245,249,.86);
  background: rgba(255,255,255,.04);
  font-weight: 800;
  font-size: 14px;
}
.topic-links a:hover {
  color: #fff;
  border-color: rgba(0,212,255,.46);
  background: rgba(0,30,60,.48);
}
.info-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 22px;
  background: rgba(255,255,255,.04);
}
.info-panel h3 { margin-bottom: 10px; }
.info-panel p { color: var(--muted); margin: 0; }

.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(15,29,50,.72);
  padding: 20px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.faq details + details { margin-top: 14px; }
.faq summary { cursor: pointer; font-weight: 850; color: var(--text); }
.faq p { color: var(--muted); margin: 12px 0 0; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 58px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(110deg, rgba(0,212,255,.16), transparent 34rem),
    linear-gradient(250deg, rgba(245,158,11,.1), transparent 30rem),
    rgba(7,17,31,.7);
}
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); max-width: 900px; }
.page-hero .lead { margin-left: 0; max-width: 820px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 96px; }
.sidebar .card + .card { margin-top: 16px; }
.site-footer {
  position: relative;
  padding: 44px 0;
  color: rgba(255,255,255,.58);
  background: linear-gradient(180deg, rgba(7,17,31,.35), rgba(2,2,10,1));
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.legal p { margin-top: 0; }
.mobile-only { display: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-soft { animation: float 7s ease-in-out infinite; }

@media (max-width: 980px) {
  .nav { align-items: flex-start; padding: 16px 0; flex-direction: column; }
  .nav-links, .actions { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: auto; padding: 72px 0 0; }
  .hero-strip { margin-top: 60px; }
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .grid-3, .grid-2, .features-grid, .steps-grid, .locations, .route, .content { grid-template-columns: 1fr; }
  .location-list, .device-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 48px); }
  .nav-links { gap: 16px; font-size: 14px; }
  .actions, .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  h1 { font-size: clamp(29px, 7.8vw, 30px); overflow-wrap: anywhere; }
  h1 span { display: block; }
  h2 { font-size: clamp(27px, 7.8vw, 30px); }
  h2, h3, p { overflow-wrap: anywhere; }
  .lead { font-size: 17px; }
  .eyebrow { align-items: flex-start; font-size: 13px; line-height: 1.35; }
  .section { padding: 68px 0; }
  .card, .route-panel { padding: 22px; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 18px 28px; max-width: 300px; }
  .trust-item strong { font-size: 28px; }
  .trust-item small { font-size: 12px; }
  .hero-strip { margin-top: 42px; }
  .hero-chips { flex-direction: column; gap: 14px; }
  .chip { max-width: 100%; }
  .section-head { max-width: 300px; }
  .section-head h2 { text-wrap: balance; }
}

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