:root {
  --bg-top: #eaf4ff;
  --bg-mid: #f5fbff;
  --bg-bottom: #ffffff;
  --brand-a: #0d5f99;
  --brand-b: #1482b8;
  --brand-c: #1bbadf;
  --text-main: #1f2d3d;
  --text-muted: #637084;
  --field-border: #cdd9ea;
  --field-focus: #1b9bc8;
  --error-bg: #fdecef;
  --error-border: #f4c4cb;
  --surface: #ffffff;
  --line-soft: #d9e7f5;
  --shadow-soft: 0 14px 45px rgba(13, 95, 153, 0.12);
  --shadow-card: 0 8px 24px rgba(20, 130, 184, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 95, 153, 0.12);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-a), var(--brand-c));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.brand-text {
  font-size: 1.08rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
}

.nav a {
  font-weight: 700;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-a);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: var(--brand-a);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0 56px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.orb-a {
  width: 260px;
  height: 260px;
  right: -70px;
  top: 38px;
  background: radial-gradient(circle at 35% 35%, rgba(27, 186, 223, 0.46), rgba(13, 95, 153, 0));
}

.orb-b {
  width: 320px;
  height: 320px;
  left: -105px;
  bottom: -160px;
  background: radial-gradient(circle at 55% 45%, rgba(20, 130, 184, 0.32), rgba(20, 130, 184, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-a);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-version-note {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.btn {
  border-radius: 12px;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--brand-a), var(--brand-b));
  box-shadow: var(--shadow-card);
}

.btn-ghost {
  color: var(--brand-a);
  border: 1px solid rgba(13, 95, 153, 0.3);
  background: rgba(255, 255, 255, 0.78);
}

.hero-panel {
  background: linear-gradient(165deg, #ffffff, #f4faff 58%, #eaf6ff);
  border: 1px solid rgba(13, 95, 153, 0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.hero-panel-head h3 {
  margin: 4px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.hero-panel-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand-a);
}

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

.hero-highlights li {
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 12px 14px;
}

.hero-highlights h4 {
  margin: 0;
  font-size: 0.95rem;
}

.hero-highlights p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-section,
.preview-section,
.plan-section {
  padding: 70px 0;
}

.feature-section h2,
.preview-section h2,
.plan-section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.feature-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(13, 95, 153, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 130, 184, 0.35);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.07rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.theme-compare {
  --split: 50%;
  margin-top: 22px;
  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 95, 153, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  cursor: ew-resize;
}

.theme-compare img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
}

.theme-compare-overlay {
  position: absolute;
  inset: 0;
  width: var(--split);
  overflow: hidden;
}

.theme-compare-overlay img {
  height: 100%;
  object-fit: cover;
}

.theme-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(13, 95, 153, 0.25), 0 0 14px rgba(13, 95, 153, 0.25);
  transform: translateX(-1px);
  pointer-events: none;
}

.theme-compare-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid rgba(13, 95, 153, 0.3);
  box-shadow: 0 4px 12px rgba(13, 95, 153, 0.22);
}

.preview-note {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.timeline {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 18px;
}

.step {
  margin: 0;
  color: var(--brand-a);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(13, 95, 153, 0.12);
  padding: 20px 0 30px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
}

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

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 4vw;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: min(220px, 92vw);
  }

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

  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}
