﻿:root {
  --bg: #eef1f5;
  --bg-alt: #e4e9f0;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-solid: #ffffff;
  --text: #172331;
  --muted: #526171;
  --line: #cfd6df;
  --line-soft: #dce2ea;
  --red: #d1101f;
  --red-dark: #ab0d18;
  --ink: #1e3448;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", "Verdana", sans-serif;
  color: var(--text);
  background:
    radial-gradient(820px 350px at 86% -5%, rgba(209, 16, 31, 0.15), transparent 65%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(23, 35, 49, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 35, 49, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000 16%, transparent 78%);
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
}

.bg-glow--left {
  background: #a8c5df;
  left: -160px;
  top: 16vh;
}

.bg-glow--right {
  background: #db4050;
  right: -180px;
  top: 8vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.topbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(18, 31, 45, 0.09);
  border-color: var(--line);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.02rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.topbar nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar nav a,
.topbar__cta {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  padding: 8px 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topbar nav a:hover {
  background: rgba(209, 16, 31, 0.08);
  color: var(--red-dark);
}

.topbar__cta {
  background: var(--red);
  color: #fff;
}

.topbar__cta:hover {
  background: var(--red-dark);
}

.hero,
main,
footer {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  padding-top: 52px;
  padding-bottom: 42px;
}

.hero__line {
  width: 122px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #f06872);
  margin-bottom: 16px;
}

.hero__tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-dark);
  font-size: 0.79rem;
  font-weight: 700;
}

h1 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  max-width: 15ch;
}

.hero__subtitle {
  margin: 20px 0 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.14rem);
  line-height: 1.64;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__actions a,
.cta a {
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero__actions a:hover,
.cta a:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.hero__actions a.ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border-color: var(--line);
}

.hero__actions a.ghost:hover {
  background: #fff;
}

.hero__stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--ink);
}

.stat span {
  color: var(--muted);
  font-size: 0.93rem;
}

main {
  padding-bottom: 42px;
}

.section {
  padding: 30px 0;
}

.section__head {
  margin-bottom: 18px;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

.section__head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
  max-width: 75ch;
}

.cards,
.direction-grid,
.growth-grid,
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.direction-card,
.growth-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 16px;
  backdrop-filter: blur(4px);
}

.card h3,
.direction-card h3,
.growth-grid h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p,
.direction-card p,
.growth-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.direction-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line-soft);
}

.section--accent {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58));
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 600;
  color: #2a3d50;
}

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

.timeline li {
  border-left: 4px solid var(--red);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  line-height: 1.55;
  color: var(--muted);
}

.timeline strong {
  color: var(--text);
}

.section--soft {
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  background: linear-gradient(165deg, rgba(217, 228, 240, 0.58), rgba(255, 255, 255, 0.73));
}

.quotes blockquote {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-solid);
  padding: 18px;
  color: #2e4359;
  line-height: 1.6;
  font-style: italic;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 237, 245, 0.86));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.cta h2 {
  margin: 0;
}

.cta p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  padding-top: 4px;
  padding-bottom: 22px;
}

footer p {
  margin: 0;
  color: #d1d6df;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .cards,
  .direction-grid,
  .growth-grid,
  .quotes,
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .topbar {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .hero,
  main,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 42px;
  }

  .section--accent,
  .section--soft,
  .cta {
    padding: 16px;
  }
}
