:root {
  --color-primary: #00302e;
  --color-accent: #e6ffff;
  --color-text: #1b2939;
  --color-bg: #f6fbfb;
  --color-surface: #ffffff;
  --color-border: #d7e6e6;
  --font-title: "Kumbh Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-soft: 0 10px 30px rgba(0, 48, 46, 0.08);
  --radius-lg: 20px;
  --banner-height: 48px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: radial-gradient(
    circle at top left,
    #e6ffff 0%,
    #f6fbfb 35%,
    #ffffff 100%
  );
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a:hover {
  opacity: 0.85;
}

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  padding-top: 18px;
}

.has-banner .site-header {
  top: var(--banner-height);
}

.header-inner {
  display: flex;
  justify-content: center;
}

.glass-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.glass-nav::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -120%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: rotate(18deg);
  transition: left 0.8s ease;
}

.glass-nav:hover::after {
  left: 120%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img:first-child {
  width: 26px;
  height: 26px;
}

.logo img:last-child {
  height: 20px;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: #19313a;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: #e6ffff;
  color: #0f2a2a;
  font-weight: 500;
  font-size: 0.85rem;
}

.hero {
  padding: 140px 0 120px;
  background: url("/hero-bg.png") center bottom / cover no-repeat;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hero-pill {
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: #befdf2;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0;
  color: #19313a;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1rem;
  margin: 0;
  color: #465e6d;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9rem;
}

.button-primary {
  background: #0d2b2b;
  color: #ffffff;
}

.button-secondary {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #ffffff;
}

.section {
  padding: 72px 0;
}

.section.dark {
  background: linear-gradient(
    180deg,
    rgba(0, 48, 46, 0.06),
    rgba(0, 48, 46, 0)
  );
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-weight: 600;
}

.section-subtitle {
  margin-bottom: 36px;
  color: #3f556b;
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--color-surface);
  padding: 24px;
  border-radius: 16px;
}

.card.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #49626f;
  font-weight: 500;
}

.split-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 8px 0 12px;
  color: #16323a;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
}

.segment-grid {
  display: flex;
  gap: 0;
  width: 100%;
  margin-top: 24px;
}

.segment-card {
  position: relative;
  flex: 1;
  padding: 40px 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 320px;
  will-change: flex;
}

.segment-card:first-child {
  border-radius: 18px 0 0 18px;
}

.segment-card:last-child {
  border-radius: 0 18px 18px 0;
}

.segment-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(
    120deg,
    transparent,
    transparent 40%,
    rgba(230, 255, 255, 0.9) 50%,
    transparent 60%,
    transparent
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.segment-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 100%;
  height: 300%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(230, 255, 255, 0.4),
    transparent
  );
  transform: rotate(18deg);
  transition: left 1.2s ease;
  pointer-events: none;
}

.segment-card:hover {
  flex: 1.5;
  transition-delay: 0s;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(0, 48, 46, 0.08);
}

.segment-card:hover::before {
  opacity: 1;
  animation: borderShine 2s ease-in-out infinite;
}

.segment-card:hover::after {
  left: 100%;
}

.segment-card:not(:hover) {
  transition-delay: 0.5s;
}

@keyframes borderShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.segment-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  color: #16323a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.segment-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.3rem;
  will-change: transform;
}

.segment-card:hover .segment-arrow {
  transform: translateX(6px);
}

.segment-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease 0.05s,
    transform 0.4s ease 0.05s;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.segment-card:hover .segment-content {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.segment-content p {
  margin: 0 0 16px 0;
  color: #3f556b;
  line-height: 1.6;
  font-size: 1rem;
}

.segment-link {
  display: inline-flex;
  font-weight: 500;
  color: #0f2a2a;
  text-decoration: none;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stat {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: #0f2a2a;
  font-weight: 600;
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: var(--color-accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-primary);
  border: 1px solid rgba(0, 48, 46, 0.12);
}

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

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px 20px;
}

.site-footer {
  background: #001f1e;
  color: #c8d6d6;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

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

.footer-note {
  max-width: 280px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .segment-grid {
    flex-direction: column;
    gap: 16px;
  }

  .segment-card,
  .segment-card:first-child,
  .segment-card:last-child {
    border-radius: 18px;
    height: auto;
    padding: 24px;
  }

  .segment-card:hover {
    flex: 1;
  }

  .segment-content {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
  }

  .segment-title {
    margin-bottom: 12px;
  }

  .segment-card::before,
  .segment-card::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .segment-card,
  .segment-content,
  .segment-arrow {
    transition: none;
  }

  .segment-card::before,
  .segment-card::after {
    display: none;
  }
}

[data-load] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.is-loaded [data-load] {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements show immediately, then animate in */
.hero [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}
