:root {
  --navy: #0b1324;
  --navy-2: #111c33;
  --ink: #172033;
  --muted: #627084;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --soft-2: #eef3f8;
  --red: #e94560;
  --red-dark: #c9314a;
  --gold: #f5b84b;
  --green: #2db47d;
  --blue: #3b82f6;
  --shadow: 0 22px 55px rgba(11, 19, 36, 0.12);
  --shadow-soft: 0 12px 28px rgba(11, 19, 36, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 4px;
  background: var(--red);
  box-shadow: 0 0 22px rgba(233, 69, 96, 0.55);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 238, 0.85);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 20px;
  box-shadow: inset -8px -8px 0 rgba(233, 69, 96, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: rgba(233, 69, 96, 0.08);
}

.nav-cta {
  color: white !important;
  background: var(--red) !important;
  box-shadow: 0 12px 26px rgba(233, 69, 96, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 86px 0 72px;
  color: white;
  background:
    radial-gradient(circle at 18% 18%, rgba(233, 69, 96, 0.5), transparent 25%),
    radial-gradient(circle at 82% 24%, rgba(59, 130, 246, 0.32), transparent 26%),
    linear-gradient(135deg, #08101f 0%, #111c33 48%, #250b19 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  animation: grid-drift 18s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffd7de;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 6vw, 82px);
}

h2 {
  font-size: clamp(32px, 4vw, 38px);
}

h3 {
  font-size: clamp(23px, 2.4vw, 32px);
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d8e1ef;
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button.primary {
  color: white;
  background: var(--red);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: relative;
  min-height: 480px;
}

.portfolio-visual {
  position: relative;
  height: 480px;
}

.domain-card {
  position: absolute;
  width: 240px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: float-card 6s ease-in-out infinite;
}

.domain-card:nth-child(1) {
  top: 0;
  right: 30px;
}

.domain-card:nth-child(2) {
  top: 145px;
  left: 0;
  animation-delay: -1.8s;
}

.domain-card:nth-child(3) {
  right: 0;
  bottom: 36px;
  animation-delay: -3.2s;
}

.domain-card .label {
  color: #aebbd0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.domain-card strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.08;
}

.domain-card span {
  display: block;
  margin-top: 8px;
  color: #d6e0f0;
  font-size: 14px;
}

.stats-banner {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat-box {
  padding: 28px;
  background: white;
}

.stat-number {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--soft);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.truth-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.pullquote {
  padding: 36px;
  color: white;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.pullquote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.12;
}

.pullquote cite {
  display: block;
  margin-top: 22px;
  color: #cbd5e1;
  font-style: normal;
  font-weight: 800;
}

.prose p {
  margin: 0 0 18px;
  font-size: 18px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.case-card,
.insight-box,
.warning-box,
.pro-tip,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.42);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: white;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.feature-card h3,
.case-card h3 {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.25;
}

.feature-card p,
.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-band {
  padding: 54px;
  color: white;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 69, 96, 0.94), rgba(233, 69, 96, 0.68)),
    var(--navy);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band p {
  max-width: 680px;
  color: #ffe2e7;
  font-size: 18px;
}

.site-footer {
  padding: 48px 0;
  color: #cbd5e1;
  background: var(--navy);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  display: inline-block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 13px;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

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

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

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-links a {
    padding: 14px;
  }

  .hero-inner,
  .truth-panel,
  .section-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .portfolio-visual {
    min-height: 380px;
    height: 380px;
  }

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

@media (max-width: 640px) {
  .container,
  .narrow,
  .nav-wrap,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .nav-links {
    inset: 68px 0 auto;
  }

  .hero {
    padding: 58px 0 56px;
  }

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

  .button {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .stats-banner {
    margin-top: 0;
  }

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

  .section {
    padding: 62px 0;
  }

  .pullquote,
  .cta-band {
    padding: 26px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
