:root {
  --bg-1: #06101d;
  --bg-2: #0a1b31;
  --bg-3: #071827;
  --ice: #7ddcff;
  --ice-strong: #38bdf8;
  --ice-soft: rgba(125, 220, 255, 0.18);
  --text: #eaf8ff;
  --muted: #9fb4c7;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(125, 220, 255, 0.22);
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg-1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(125, 220, 255, 0.12), transparent 25%),
    radial-gradient(circle at 50% 90%, rgba(14, 165, 233, 0.12), transparent 30%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 220, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 220, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 29, 0.62);
  border-bottom: 1px solid rgba(125, 220, 255, 0.1);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.logo-mark {
  width: 18px;
  height: 18px;
  position: relative;
  border-radius: 999px;
  background: var(--ice);
  box-shadow: 0 0 16px var(--ice), 0 0 38px rgba(125, 220, 255, 0.45);
}

.logo-image-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 260px;
  height: 54px;
  overflow: visible;
}

.logo-image {
  display: block;
  width: 260px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
  user-select: none;
}

.logo-mark-overlay {
  position: absolute;
  left: 40px;
  top: 50%;
  z-index: 2;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
  background: var(--ice);
  border-radius: 999px;
  box-shadow:
    0 0 12px var(--ice),
    0 0 28px rgba(125, 220, 255, 0.7),
    0 0 52px rgba(56, 189, 248, 0.35);
}

.logo-mark-overlay::before,
.logo-mark-overlay::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(125, 220, 255, 0.42);
  animation: pulse 2.8s infinite ease-in-out;
}

.logo-mark-overlay::after {
  inset: -14px;
  animation-delay: .8s;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(125, 220, 255, 0.35);
  animation: pulse 2.8s infinite ease-in-out;
}

.logo-mark::after {
  inset: -14px;
  animation-delay: .8s;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color .25s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section {
  position: relative;
  padding: 110px clamp(20px, 6vw, 88px);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 52px;
  padding-top: 145px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-shadow: 0 0 36px rgba(125, 220, 255, 0.24);
}

.hero-subtitle {
  margin-top: 26px;
  max-width: 720px;
  color: var(--text);
  font-size: clamp(25px, 3.1vw, 48px);
  line-height: 1.12;
  font-weight: 700;
}

.hero-text {
  margin-top: 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #04101d;
  background: linear-gradient(135deg, var(--ice), var(--ice-strong));
  box-shadow: 0 14px 45px rgba(56, 189, 248, 0.22);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.frost-core-wrap {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.frost-core {
  width: clamp(190px, 24vw, 310px);
  height: clamp(190px, 24vw, 310px);
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #f7fdff 0 4%, var(--ice) 5% 10%, rgba(56, 189, 248, 0.16) 11% 46%, transparent 47%),
    conic-gradient(from 0deg, transparent, rgba(125, 220, 255, 0.55), transparent, rgba(125, 220, 255, 0.32), transparent);
  box-shadow:
    0 0 40px rgba(125, 220, 255, 0.36),
    0 0 110px rgba(56, 189, 248, 0.2);
  animation: freezePulse 5.5s ease-in-out infinite;
}

.frost-core::before,
.frost-core::after {
  content: "";
  position: absolute;
  inset: -26%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(125, 220, 255, 0.58) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(125, 220, 255, 0.42) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(125, 220, 255, 0.25) 50%, transparent 50.5%),
    linear-gradient(-45deg, transparent 49.5%, rgba(125, 220, 255, 0.25) 50%, transparent 50.5%);
  opacity: .58;
  animation: rotateSlow 20s linear infinite;
}

.frost-core::after {
  inset: -42%;
  opacity: .25;
  animation-direction: reverse;
}

.frost-points {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.frost-points span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ice);
  box-shadow: 0 0 14px rgba(125, 220, 255, .9), 0 0 34px rgba(125, 220, 255, .26);
  animation: pointFloat 4.5s ease-in-out infinite;
  animation-delay: var(--d);
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(33deg, transparent 0 44%, rgba(125, 220, 255, 0.08) 44.2%, transparent 44.8%),
    linear-gradient(145deg, transparent 0 54%, rgba(125, 220, 255, 0.075) 54.2%, transparent 54.8%),
    linear-gradient(90deg, transparent 0 64%, rgba(125, 220, 255, 0.05) 64.2%, transparent 64.5%);
  mask-image: radial-gradient(circle at 60% 50%, black, transparent 72%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.glass-card,
.stat-card,
.focus-item {
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px var(--shadow);
}

.about-card,
.service-card,
.contact-form {
  border-radius: 30px;
  padding: 32px;
}

.about-card p,
.service-card p,
.focus-item p,
.form-note {
  color: var(--muted);
  line-height: 1.75;
}

.about-card p + p {
  margin-top: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: stretch;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-card {
  border-radius: 24px;
  padding: 24px;
}

.stat-card span {
  color: var(--ice);
  font-size: 28px;
  font-weight: 800;
}

.stat-card p {
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 270px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 220, 255, .48);
  background: rgba(255, 255, 255, 0.085);
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  position: relative;
  border-radius: 50%;
  background: rgba(125, 220, 255, .14);
  border: 1px solid rgba(125, 220, 255, .35);
}

.card-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  background: var(--ice);
  box-shadow: 0 0 22px var(--ice);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 21px;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.focus-item {
  border-radius: 26px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.focus-item::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(125, 220, 255, .2), transparent 68%);
}

.focus-item span {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(125, 220, 255, 0.22);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  background: rgba(3, 10, 19, 0.56);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(125, 220, 255, 0.66);
  box-shadow: 0 0 0 4px rgba(125, 220, 255, 0.08);
}

.form-note {
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 6vw, 88px);
  color: var(--muted);
  border-top: 1px solid rgba(125, 220, 255, 0.12);
  background: rgba(6, 16, 29, 0.74);
}

.footer strong {
  color: var(--text);
}

.footer a {
  color: var(--ice);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  gap: 4px;
  width: min(340px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 22px 70px var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast strong {
  color: var(--text);
}

.toast span {
  color: var(--muted);
  font-size: 14px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(.82);
    opacity: .28;
  }
  50% {
    transform: scale(1.15);
    opacity: .78;
  }
}

@keyframes freezePulse {
  0%, 100% {
    transform: scale(.98);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.035);
    filter: brightness(1.18);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pointFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .45;
  }
  50% {
    transform: translate3d(8px, -12px, 0) scale(1.35);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .frost-core-wrap {
    min-height: 360px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(7, 17, 31, 0.96);
  }

  .nav.open {
    display: flex;
  }

  .section {
    padding: 86px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cards-grid,
  .focus-list {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .logo-image-link {
    width: 210px;
    height: 46px;

  }

  .logo-image {
    width: 210px;
    max-height: 46px;
  }

  .logo-mark-overlay {
    left: 43px;
    width: 11px;
    height: 11px;
  }
}

.contact-form-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
}

.contact-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-form {
  width: 100%;
}

.contact-form.sending {
  pointer-events: none;
  opacity: 0.78;
}

.contact-form.sending .btn {
  filter: saturate(0.8);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.toast.error {
  border-color: rgba(248, 113, 113, 0.45);
}

.toast.error strong {
  color: #fecaca;
}

.contact-form .btn {
  width: fit-content;
  min-width: 180px;
  margin-left: auto;
  margin-right: auto;
  align-self: center;

}

@media (max-width: 760px) {
  .contact-form .btn {
    width: 100%;
  }

}

.policy-page {
  min-height: 100vh;
  padding: 120px clamp(20px, 6vw, 88px) 70px;
}

.policy-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 34px;
}

.policy-header {
  margin-top: 34px;
  margin-bottom: 36px;
}

.policy-header h1 {
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -0.06em;
}

.policy-header p {
  margin-top: 14px;
  color: var(--muted);
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-content h2 {
  margin-top: 22px;
  color: var(--text);
  font-size: 24px;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.8;
}

.policy-content ul {
  padding-left: 22px;
}

.policy-content a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-btn,
.back-btn-bottom {
  width: fit-content;
}

.back-btn-bottom {
  margin-top: 38px;
}

@media (max-width: 760px) {
  .policy-page {
    padding-top: 92px;
  }

  .back-btn,
  .back-btn-bottom {
    width: 100%;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}