:root {
  --bg: #020812;
  --bg-soft: #071524;
  --panel: rgba(8, 22, 38, 0.76);
  --panel-border: rgba(79, 188, 255, 0.18);
  --text: #f3f8ff;
  --muted: #a6b6c9;
  --primary: #1db3ff;
  --primary-strong: #0a7ed8;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(1, 10, 20, 0.55);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(21, 116, 179, 0.24), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(29, 179, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #01060d 0%, #030914 45%, #071220 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.container {
  width: min(calc(100% - clamp(1.25rem, 4vw, 2.5rem)), var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(2, 8, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  letter-spacing: 0.18em;
}

.brand-main {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.brand-sub {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.58em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

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

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

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

.hero,
.section {
  padding: 5.6rem 0;
}

.hero-grid,
.split,
.cta-box,
.footer-content {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.8rem, 5.5vw, 4.9rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text,
.section-text,
.section-head p {
  max-width: 66ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn span {
  line-height: 1;
}

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

.btn-compact {
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.78rem 1.1rem;
  font-size: 0.94rem;
}

.btn-primary {
  color: #00131f;
  background: linear-gradient(135deg, #8ae1ff 0%, var(--primary) 45%, #0b9af6 100%);
  box-shadow: 0 16px 40px rgba(29, 179, 255, 0.24);
}

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

.btn-full {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.pill-grid span {
  padding: 0.72rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #dbeeff;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-note strong,
.contact-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}

.hero-note span,
.contact-card span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-art {
  position: relative;
}

.hero-art img,
.feature-panel img {
  width: 100%;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 10% -2rem 10%;
  height: 4rem;
  background: rgba(29, 179, 255, 0.28);
  filter: blur(40px);
  z-index: -1;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0));
}

.section-head {
  margin-bottom: 2.2rem;
}

.cards-grid,
.stats-grid,
.practice-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card,
.stat-card,
.practice-card,
.process-card,
.feature-panel,
.cta-box,
.detail-panel,
.contact-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card,
.stat-card,
.practice-card,
.process-card {
  padding: 1.5rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(29, 179, 255, 0), rgba(29, 179, 255, 0.75), rgba(29, 179, 255, 0));
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 179, 255, 0.16), rgba(29, 179, 255, 0));
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 188, 255, 0.35);
  box-shadow: 0 28px 90px rgba(1, 10, 20, 0.72);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(138, 225, 255, 0.25);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(29, 179, 255, 0.35), rgba(29, 179, 255, 0.08));
  color: #9fe8ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 32px rgba(29, 179, 255, 0.14);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-label {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d5e7f6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.28rem;
}

.card p {
  margin-bottom: 0;
  flex-grow: 1;
}

.split {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split-detail {
  margin-top: 1.5rem;
}

.feature-panel {
  padding: 0.85rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.practice-card h3,
.process-card h3 {
  margin-bottom: 1rem;
}

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

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px rgba(29, 179, 255, 0.4);
}

.detail-panel {
  padding: 2rem;
}

.stat-card strong {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 1.08rem;
}

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

.process-card {
  position: relative;
  overflow: hidden;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(29, 179, 255, 0.1);
  border: 1px solid rgba(29, 179, 255, 0.22);
  color: #9fe8ff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cta-box {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding: 2rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  color: var(--text);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(138, 225, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(29, 179, 255, 0.3), rgba(29, 179, 255, 0.06));
  color: #9fe8ff;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-copy {
  display: grid;
  gap: 0.25rem;
}

.contact-arrow {
  color: #9fe8ff;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 188, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.contact-card:hover .contact-arrow {
  transform: translateX(3px);
}

.footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-content {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.footer-brand p {
  margin: 0;
  margin-top: 1rem;
  max-width: 58ch;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

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

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

@media (max-width: 1200px) {
  .cards-grid,
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cta-box,
  .stats-grid,
  .hero-notes,
  .practice-grid,
  .process-grid,
  .cards-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .header {
    backdrop-filter: blur(14px);
  }

  .nav {
    min-height: 72px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-art {
    order: 0;
  }

  .hero-art img {
    max-width: 620px;
    margin: 0 auto;
  }

  .section-head p,
  .hero-text,
  .section-text {
    max-width: 100%;
  }

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

@media (max-width: 820px) {
  .cards-grid,
  .practice-grid,
  .process-grid,
  .stats-grid,
  .hero-notes {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 9vw, 4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(3, 12, 22, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .brand-main {
    font-size: 1.6rem;
  }

  .brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.4em;
  }

  .hero,
  .section {
    padding: 4rem 0;
  }

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

  .btn {
    width: 100%;
  }

  .btn-compact {
    min-height: 46px;
    justify-content: center;
  }

  .hero-points {
    gap: 0.75rem;
  }

  .hero-points li {
    width: 100%;
    text-align: center;
  }

  .card-top {
    align-items: flex-start;
  }

  .card-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-note,
  .practice-card,
  .process-card,
  .stat-card,
  .card,
  .detail-panel,
  .cta-box {
    padding: 1.25rem;
  }

  .contact-card {
    grid-template-columns: auto 1fr;
    padding: 1rem 1.05rem;
  }

  .contact-arrow {
    display: none;
  }

  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .header {
    top: 0;
  }

  .nav {
    min-height: 68px;
  }

  .brand-main {
    font-size: 1.35rem;
  }

  .brand-sub {
    font-size: 0.64rem;
    letter-spacing: 0.34em;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero,
  .section {
    padding: 3.4rem 0;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  p {
    font-size: 0.96rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .hero-actions {
    margin: 1.5rem 0;
  }

  .btn,
  .btn-compact {
    width: 100%;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .card,
  .practice-card,
  .process-card,
  .stat-card {
    min-height: unset;
  }

  .card-icon {
    width: 52px;
    height: 52px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }

  .footer-links {
    gap: 0.8rem 1rem;
    font-size: 0.94rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1240px;
  }

  .hero,
  .section {
    padding: 6.2rem 0;
  }
}
