:root {
  color-scheme: dark;
  --bg: #040b13;
  --panel: rgba(5, 17, 30, 0.78);
  --text: #f3f8fc;
  --muted: #a9bdd0;
  --line: rgba(94, 195, 255, 0.24);
  --blue: #067eb6;
  --cyan: #2fc9ff;
  --shadow: 0 28px 80px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(30, 155, 226, .22), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(0, 111, 176, .18), transparent 38%),
    linear-gradient(145deg, #02070d 0%, #071522 52%, #02060b 100%);
}

.grid {
  position: absolute;
  inset: -20%;
  z-index: -3;
  background-image:
    linear-gradient(rgba(65, 183, 244, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 183, 244, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(600px) rotateX(64deg) translateY(30%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 78%, transparent);
}

.glow {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(12px);
  opacity: .65;
}
.glow--one { width: 280px; height: 280px; left: -80px; top: 12%; background: rgba(31, 164, 232, .18); }
.glow--two { width: 360px; height: 360px; right: -120px; bottom: -80px; background: rgba(0, 116, 184, .16); }

.card {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(9, 26, 44, .84), rgba(3, 11, 20, .72));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: rise .8s ease both;
}

.brand {
  display: block;
  width: min(540px, 100%);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 14px 25px rgba(0, 126, 183, .22));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: clamp(.72rem, 1.8vw, .9rem);
  font-weight: 800;
  letter-spacing: .18em;
}

h1 {
  max-width: 650px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.lead {
  max-width: 610px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.actions { display: flex; justify-content: center; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  color: #001018;
  background: linear-gradient(135deg, #64ddff, #0b96d0);
  box-shadow: 0 14px 30px rgba(0, 142, 204, .28);
}
.phone { margin: 18px 0 0; color: #d7e9f4; font-weight: 700; letter-spacing: .03em; }

.footer {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(217, 233, 244, .58);
  font-size: .78rem;
}

.cookie {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(920px, calc(100% - 28px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  border: 1px solid rgba(108, 201, 250, .24);
  border-radius: 18px;
  background: rgba(3, 12, 21, .94);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}
.cookie.is-visible { display: flex; animation: cookieIn .45s ease both; }
.cookie__text { display: grid; gap: 6px; }
.cookie__text strong { color: #fff; }
.cookie__text span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie__button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cookie__button--secondary { color: #eaf7ff; background: transparent; }
.cookie__button--primary { border-color: transparent; color: #001018; background: linear-gradient(135deg, #64ddff, #0b96d0); }

@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 700px) {
  .hero { padding: 22px 16px 120px; align-items: center; }
  .card { border-radius: 22px; padding: 30px 20px; }
  .brand { margin-bottom: 18px; }
  h1 { line-height: 1.04; }
  .footer { position: absolute; flex-direction: column; align-items: center; text-align: center; gap: 4px; bottom: 18px; }
  .cookie { align-items: stretch; flex-direction: column; gap: 14px; }
  .cookie__actions { display: grid; grid-template-columns: 1fr; }
  .cookie__button { width: 100%; }
}

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