:root {
  color-scheme: dark;
  --bg: #05070d;
  --ink: #e7f3ff;
  --muted: #b7c7d9;
  --accent: #7ef7d9;
  --accent-2: #7cb8ff;
  --panel: rgba(8, 14, 24, 0.72);
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(1, 8, 20, 0.6);
  --radius: 28px;
}

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

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at top left, #132042, transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(124, 184, 255, 0.2), transparent 55%),
    linear-gradient(180deg, #04070e 0%, #070b18 40%, #05070d 100%);
}

.bg-aurora {
  position: absolute;
  inset: -20% 0 0 0;
  background: radial-gradient(circle at 20% 20%, rgba(126, 247, 217, 0.25), transparent 55%),
    radial-gradient(circle at 70% 10%, rgba(124, 184, 255, 0.22), transparent 60%),
    radial-gradient(circle at 50% 40%, rgba(120, 210, 255, 0.15), transparent 60%);
  filter: blur(20px);
  opacity: 0.8;
  animation: float 16s ease-in-out infinite;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='460' viewBox='0 0 460 460'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230c1b2f'/%3E%3Cstop offset='1' stop-color='%23161b2b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='460' height='460' fill='url(%23g)'/%3E%3Cg stroke='%232a3c54' stroke-width='0.6' opacity='0.6'%3E%3Cpath d='M0 120 H460'/%3E%3Cpath d='M0 240 H460'/%3E%3Cpath d='M0 360 H460'/%3E%3Cpath d='M120 0 V460'/%3E%3Cpath d='M240 0 V460'/%3E%3Cpath d='M360 0 V460'/%3E%3C/g%3E%3Cg stroke='%234f6b8a' stroke-width='0.8' opacity='0.35'%3E%3Ccircle cx='140' cy='120' r='80' fill='none'/%3E%3Ccircle cx='320' cy='250' r='110' fill='none'/%3E%3Cpath d='M80 300 C180 260 240 380 360 330' fill='none'/%3E%3Cpath d='M40 60 C160 30 240 110 420 90' fill='none'/%3E%3C/g%3E%3Cg stroke='%237ef7d9' stroke-width='1' opacity='0.18'%3E%3Cpath d='M60 210 L140 150 L220 210 L300 140 L380 200' fill='none'/%3E%3Ccircle cx='140' cy='150' r='3'/%3E%3Ccircle cx='220' cy='210' r='3'/%3E%3Ccircle cx='300' cy='140' r='3'/%3E%3Ccircle cx='380' cy='200' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 520px;
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: drift 30s linear infinite;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise 1.2s ease-out both;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(126, 247, 217, 0.35), transparent 60%),
    rgba(255, 255, 255, 0.08);
  padding: 10px;
  box-shadow: 0 22px 60px rgba(7, 18, 36, 0.6), 0 0 40px rgba(126, 247, 217, 0.18);
  filter: drop-shadow(0 0 18px rgba(124, 184, 255, 0.35));
}

.wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subtitle {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}

.headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  max-width: 740px;
}

.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
}

.panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-text h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.panel-text p {
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 247, 217, 0.4);
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(126, 247, 217, 0.6);
  box-shadow: 0 0 0 3px rgba(126, 247, 217, 0.18);
}

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta {
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  color: #02050a;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(126, 247, 217, 0.25);
}

.form-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--accent);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(231, 243, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes drift {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-80px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .page {
    padding-top: 48px;
  }

  .logo-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
