:root {
  --bg: #070b12;
  --surface: #0d1626;
  --text: #f3f7ff;
  --muted: #a9b8d6;
  --brand: #ff4d6d;
  --brand2: #2dd4bf;
  --accent: #60a5fa;
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 0%, rgba(45, 212, 191, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 2%, rgba(96, 165, 250, 0.13) 0%, transparent 44%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: var(--white);
  color: #000;
  padding: 0.55rem 0.8rem;
  border-radius: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 18, 0.75);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo svg {
  flex-shrink: 0;
}

.desktop-nav {
  justify-self: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--white);
}

.btn {
  height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(130deg, var(--brand), #e72d70 70%);
  box-shadow: 0 12px 22px rgba(255, 77, 109, 0.28);
}

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

.btn-accent {
  color: #031017;
  background: linear-gradient(130deg, var(--brand2), #69f0e0 74%);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.45rem;
  border-radius: 0.6rem;
  width: 42px;
  height: 42px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(10, 17, 30, 0.95);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.mobile-panel.open {
  display: block;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav {
  padding: 0.6rem 1rem 1rem;
}

.mobile-nav .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.72rem 0.32rem;
}

.mobile-nav-cta {
  margin-top: 0.8rem;
}

.home-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 80vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(125deg, rgba(4, 8, 14, 0.78) 20%, rgba(9, 16, 26, 0.46) 55%, rgba(5, 10, 16, 0.88) 100%),
    url('/images/hero-home.jpg') center/cover no-repeat;
}

.hero-content {
  padding: clamp(4rem, 11vh, 7rem) 0 clamp(3rem, 9vh, 5.5rem);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  max-width: 14ch;
  margin: 0 0 1rem;
}

.hero-content p {
  margin: 0 0 1.5rem;
  color: #d5e2ff;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.grid-3,
.grid-2,
.grid-4,
.grid-6 {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.checklist-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  padding: 0.35rem 0;
}

.progress-track {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.4rem;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(100deg, var(--brand), var(--brand2));
  transition: width 0.24s ease;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 1px;
  color: #ffd166;
  font-size: 0.9rem;
}

.faq-item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(130deg, rgba(255, 77, 109, 0.16), rgba(45, 212, 191, 0.14));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.page-hero {
  padding-top: 4.5rem;
}

.page-hero-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: stretch;
}

.page-hero-copy {
  padding: 1.2rem;
}

.page-hero-copy h1 {
  margin: 0 0 0.8rem;
  line-height: 1.12;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.7rem 0.8rem;
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.field-error {
  color: #ff9fae;
  margin-top: 0.25rem;
  min-height: 1.1rem;
  font-size: 0.82rem;
}

.inline-options {
  display: grid;
  gap: 0.6rem;
}

.option-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text);
  font-size: 0.95rem;
}

.result-box {
  border: 1px dashed var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #0f1d2f;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}

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

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 4.4rem;
  border: 1px solid var(--line);
  background: rgba(13, 22, 38, 0.86);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 14, 0.95);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-link,
.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.social-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--white);
}

.disclaimer {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .grid-3,
  .grid-4,
  .grid-6,
  .page-hero-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .checklist-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-wrap {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-panel {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6,
  .page-hero-card {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .btn {
    height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .section {
    padding: 3.6rem 0;
  }

  .hero-content h1 {
    max-width: 100%;
  }

  .hero-actions {
    gap: 0.55rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
