:root {
  --bg: #07111f;
  --bg-2: #0f172a;
  --surface: rgba(15, 23, 42, 0.76);
  --surface-solid: #111827;
  --surface-light: #172033;
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.11);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --accent: #22c55e;
  --accent-2: #a78bfa;
  --warning: #facc15;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.28), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(167, 139, 250, 0.18), transparent 28%),
    radial-gradient(circle at 50% 95%, rgba(34, 197, 94, 0.10), transparent 35%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 80%);
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 104px 0;
}

.section-pad-sm {
  padding: 74px 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--primary);
  color: #00111f;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 720;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding-top: 88px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -18%;
  top: 18%;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  filter: blur(30px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.77rem;
  font-weight: 900;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.085em;
  margin-bottom: 24px;
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  max-width: 760px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--primary), #7dd3fc 45%, #5eead4);
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(56, 189, 248, 0.35);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 760;
}

.hero-panel {
  position: relative;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-glow {
  position: absolute;
  inset: -30% -30% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.22);
  filter: blur(45px);
}

.status-card {
  position: relative;
  z-index: 2;
  background: rgba(7, 17, 31, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 18px;
}

.status-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 790;
  margin-bottom: 18px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.status-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.status-card p,
.check-list,
.service-card p,
.mini-card p,
.package-card p,
.step p,
.about-card p,
.about-copy p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.hero-diagram {
  position: relative;
  z-index: 2;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

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

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.problem-section,
.process-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.problem-grid,
.services-grid,
.packages-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.mini-card,
.service-card,
.package-card,
.about-card,
.contact-form,
.step {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

.mini-card,
.service-card,
.package-card {
  padding: 24px;
}

.mini-card {
  min-height: 210px;
}

.icon-dot {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  font-weight: 920;
  margin-bottom: 24px;
}

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

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.34);
  background: var(--card-strong);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.20), rgba(167, 139, 250, 0.15));
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 24px;
}

.packages-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.12), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.09), transparent 34%);
}

.package-card {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border-color: rgba(56, 189, 248, 0.45);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0.07)),
    var(--card);
}

.featured-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.22);
  font-size: 0.73rem;
  font-weight: 880;
}

.package-top {
  padding-right: 96px;
  margin-bottom: 12px;
}

.price {
  color: var(--primary) !important;
  font-weight: 900;
  margin: 0;
}

.package-card ul {
  color: var(--muted);
  padding-left: 20px;
  margin: 16px 0 24px;
}

.package-card li + li {
  margin-top: 8px;
}

.text-link {
  margin-top: auto;
  color: #7dd3fc;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1fr);
  gap: 56px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--primary);
  font-weight: 940;
}

.step p,
.step h3 {
  margin-bottom: 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.about-card {
  padding: 30px;
  background:
    linear-gradient(160deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0.06)),
    var(--card);
}

.about-headshot {
  width: 132px;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 24px;
  box-shadow: 0 18px 38px rgba(56, 189, 248, 0.28);
}

.about-copy {
  align-self: center;
}

.fit-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.fit-list div {
  padding-left: 18px;
  border-left: 2px solid rgba(56, 189, 248, 0.45);
}

.fit-list p,
.fit-list h3 {
  margin-bottom: 0;
}

.contact-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05)),
    var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.88fr);
}

.contact-copy {
  align-self: center;
}

.contact-copy h2 {
  max-width: 680px;
}

.contact-copy p {
  font-size: 1.06rem;
  max-width: 630px;
}

.small-note {
  margin-top: 16px;
  color: var(--soft) !important;
  font-size: 0.9rem !important;
}

.contact-form {
  padding: 28px;
  background: rgba(7, 17, 31, 0.62);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 790;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row select option {
  color: #0f172a;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
  background: rgba(255, 255, 255, 0.09);
}

.hidden-field {
  display: none;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.site-footer {
  padding: 42px 0 26px;
  background: #050b14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-contact {
  margin-top: 14px;
}

.footer-contact a {
  color: var(--text);
  font-weight: 760;
  word-break: break-word;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  padding: 8px 10px;
  font-weight: 720;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thanks-wrap {
  width: min(100% - 40px, 720px);
}

.thanks-card {
  margin-top: 24px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

@media (max-width: 1120px) {
  .hero-grid,
  .process-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .about-card,
  .contact-form {
    max-width: 760px;
  }

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

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

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-pad {
    padding: 76px 0;
  }

  .section-pad-sm {
    padding: 58px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 14px auto 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 12px 14px;
  }

  .brand span {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    letter-spacing: -0.072em;
  }

  h2 {
    letter-spacing: -0.052em;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .problem-grid,
  .services-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
  }

  .package-top {
    padding-right: 0;
  }

  .featured-badge {
    position: static;
    display: inline-flex;
    width: max-content;
    margin-bottom: 18px;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
