@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --border: #dbe7ff;
  --shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
}



* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  overflow-x: hidden;
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8f0ff;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}

.nav-links { display: flex; gap: 26px; font-weight: 500; color: #334155; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }

.btn {
  border: 0;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.28);
}
.btn-outline {
  border: 1px solid #c7dcff;
  background: #fff;
  color: var(--primary);
}

/* Home hero: vertical stack so headline never fights a side column */
.hero-home {
  padding: 56px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.hero-intro {
  width: min(100%, 1080px);
  margin: 0 auto;
  text-align: center;
  animation: heroIntroIn 700ms ease-out both;
}

.hero-title {
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-title-accent {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.hero-home .lead {
  margin: 0 0 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-panel {
  width: 100%;
  animation: heroPanelIn 850ms ease-out both;
  animation-delay: 120ms;
}

.hero-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px 40px;
  align-items: start;
}

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

.hero-side-note {
  padding: 24px 26px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-side-note h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.hero-side-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.hero-side-note strong {
  color: var(--text);
}

.hero-side-note:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 0;
}

@media (min-width: 640px) {
  .kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  min-height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.kpi h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.kpi p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.kpi:hover {
  transform: translateY(-4px);
  border-color: #bdd5ff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
}

.hero-card, .card {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.8; margin: 0 0 26px; }

h1:not(.hero-title) {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
}

.section { padding: 48px 0 80px; }
.section.section--tight-top { padding-top: 0; }
.section h2 { font-size: clamp(1.8rem, 2.3vw, 2.8rem); margin: 0 0 12px; }
.section p.section-sub { color: var(--muted); margin: 0 0 28px; max-width: 740px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { padding: 24px; }
.card h3 { margin: 8px 0 10px; font-size: 1.22rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.7; }

.feature-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eef4ff; color: var(--primary);
  border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem;
}

.hero-intro .feature-pill {
  margin: 0 auto 22px;
}

.footer {
  border-top: 1px solid #d6e5ff;
  background: linear-gradient(180deg, #eef4ff 0%, #e4efff 100%);
  padding: 26px 0;
  color: #64748b;
  font-size: .92rem;
  text-align: center;
}

.footer-legal {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-legal a {
  color: #475569;
  font-weight: 500;
  transition: color 180ms ease;
}

.footer-legal a:hover {
  color: var(--primary);
}

form .field { margin-bottom: 14px; }
label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .92rem; }
input, textarea {
  width: 100%;
  border: 1px solid #cfe1ff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.status { margin-top: 12px; font-size: .93rem; font-weight: 500; }

.detail-page h1.page-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 12px;
}

.legal-page {
  max-width: 980px;
}

.legal-updated {
  display: inline-block;
  margin: 4px 0 26px;
  color: #64748b;
  font-weight: 500;
  font-size: 0.94rem;
}

.detail-lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 900px;
  margin: 0 0 40px;
}

.detail-section {
  margin-bottom: 52px;
}

.detail-section > h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin: 0 0 8px;
  color: var(--text);
}

.detail-section > .section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.detail-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 18px;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.06);
}

.detail-block h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--text);
}

.detail-block p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-block p:last-child { margin-bottom: 0; }

ul.detail-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.85;
}

ul.detail-list li { margin-bottom: 10px; }
ul.detail-list li:last-child { margin-bottom: 0; }

.split-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .split-highlight { grid-template-columns: 1fr; }
}

.footer-brand {
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 1100px) {
  .container { width: min(1160px, 94%); }
  .hero-title-main { font-size: clamp(2.15rem, 6vw, 3.4rem); }
  .hero-home .lead { max-width: 760px; }
  .hero-panel-top { gap: 22px; }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; font-size: .9rem; }
}

@media (max-width: 768px) {
  .container { width: min(1160px, 95%); }
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .hero-home {
    padding: 44px 0 36px;
    gap: 28px;
  }
  .hero-title-main {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
    line-height: 1.08;
  }
  .hero-title-accent {
    font-size: clamp(1rem, 4.5vw, 1.24rem);
    line-height: 1.45;
  }
  .hero-home .lead {
    font-size: 1rem;
    line-height: 1.7;
  }
  .hero-actions {
    gap: 10px;
  }
  .btn {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }
  .hero-side-note,
  .hero-card {
    padding: 20px;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .section {
    padding: 38px 0 60px;
  }
}

@media (max-width: 520px) {
  .brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand { font-size: .95rem; }
  .hero-title-main { letter-spacing: -0.02em; }
  .kpis { grid-template-columns: 1fr; }
  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }
}

@keyframes heroIntroIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

