:root {
  --bg: #050816;
  --bg-soft: #07111f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(0, 0, 0, 0.22);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a6adc8;
  --cyan: #7dd3fc;
  --success: #87e8c2;
  --danger: #ff9eb0;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 48%, #03060f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), transparent 20%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.06), transparent 18%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0 0;
}

.top-nav-inner,
.container,
.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.top-nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-button img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.top-nav-actions,
.hero-actions,
.form-actions,
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.top-nav-actions {
  justify-content: flex-end;
}

.nav-pill {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.nav-pill:hover,
.nav-pill.is-active {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.3);
  background: rgba(125, 211, 252, 0.1);
}

.container {
  position: relative;
  z-index: 1;
  padding: 18px 0 48px;
  flex: 1 0 auto;
}

.hero-card,
.panel {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: #c9f4ff;
  font-size: 12px;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.section-head p,
.info-card p,
.form-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy p {
  max-width: 680px;
  font-size: 16px;
}

.hero-actions {
  margin-top: 22px;
}

.button {
  border: none;
  border-radius: 18px;
  padding: 14px 22px;
  min-height: 48px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #ffffff;
  color: #060915;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #edf1ff;
  border: 1px solid var(--border);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.stat-card.wide {
  grid-column: 1 / -1;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.stat-value.small {
  font-size: 16px;
  line-height: 1.5;
}

.section-panel {
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.card-grid,
.form-grid,
.label-form {
  display: grid;
  gap: 16px;
}

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

.info-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  padding: 18px;
}

.info-card.featured {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(13, 22, 41, 0.75);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.field {
  display: grid;
  gap: 8px;
  color: #e8ecfb;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(125, 211, 252, 0.1);
}

.form-actions {
  align-items: center;
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--success);
}

.site-footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.footer-left span,
.footer-right,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a {
  text-decoration: none;
}

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

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

@media (max-width: 860px) {
  .card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .top-nav-inner,
  .container,
  .footer-inner {
    width: min(100% - 20px, 1280px);
  }

  .top-nav {
    padding-top: 12px;
  }

  .brand-button {
    width: 60px;
    height: 60px;
  }

  .brand-button img {
    width: 44px;
    height: 44px;
  }

  .nav-pill {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-card,
  .section-panel {
    border-radius: 24px;
    padding: 18px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
