:root {
  --bg-main: #eef3f8;
  --bg-alt: #f6fbf4;
  --text-main: #102033;
  --text-soft: #51657a;
  --line: #d5e0ea;
  --card: rgba(255, 255, 255, 0.82);
  --brand: #28c33b;
  --brand-soft: #a5f26f;
  --accent: #2f7be8;
  --shadow-lg: 0 24px 64px rgba(15, 38, 60, 0.16);
  --shadow-md: 0 12px 30px rgba(15, 38, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background: linear-gradient(165deg, var(--bg-alt) 0%, var(--bg-main) 100%);
  font-family: Manrope, "Segoe UI", sans-serif;
  min-height: 100%;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
}

.ambient-a {
  width: 520px;
  height: 520px;
  top: -220px;
  left: -140px;
  background: rgba(70, 210, 90, 0.28);
}

.ambient-b {
  width: 460px;
  height: 460px;
  top: -120px;
  right: -120px;
  background: rgba(62, 138, 236, 0.2);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(248, 252, 255, 0.86);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-family: Sora, Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 27px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-weight: 900;
  font-size: 15px;
  color: #0d2a14;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  color: #08220e;
  background: linear-gradient(135deg, var(--brand) 0%, #7fed4b 100%);
  box-shadow: 0 10px 24px rgba(38, 194, 58, 0.28);
}

.btn-soft {
  color: #163856;
  background: rgba(47, 123, 232, 0.1);
  border-color: rgba(47, 123, 232, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 28px;
  align-items: stretch;
  padding: 78px 0 52px;
}

.hero-copy {
  padding-top: 16px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #173c57;
  background: rgba(16, 32, 51, 0.08);
}

h1 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -1px;
}

h2 {
  margin: 0 0 10px;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.5vw, 28px);
}

.hero-subtitle,
.section-subtitle {
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: clamp(16px, 1.9vw, 21px);
}

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

.hero-list li {
  position: relative;
  padding-left: 28px;
  color: #1f3850;
  font-weight: 700;
  line-height: 1.36;
}

.hero-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b4ff8f 0%, #2ac43c 65%);
  box-shadow: 0 0 0 4px rgba(38, 194, 58, 0.13);
}

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

.sample {
  background: var(--card);
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sample-head h2 {
  margin: 0;
  font-size: 38px;
}

.sample-chip {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 11px;
  color: #113215;
  background: rgba(40, 195, 59, 0.2);
  white-space: nowrap;
}

.sample-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
}

.media-card img {
  display: block;
  width: 100%;
  height: auto;
}

.media-card figcaption {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #2a445c;
}

.metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
}

.metric span {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

.metric strong {
  font-family: Sora, Manrope, sans-serif;
  font-size: 29px;
}

.section {
  padding: 34px 0;
}

.feature-grid,
.steps {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

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

.feature-card,
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: #2e4a62;
  line-height: 1.45;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-num {
  display: inline-flex;
  margin-bottom: 10px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: rgba(47, 123, 232, 0.72);
}

.security-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.security-box p {
  margin: 0;
  color: #2d4962;
  line-height: 1.45;
}

.security-actions {
  display: grid;
  gap: 10px;
}

.footer {
  border-top: 1px solid rgba(16, 32, 51, 0.09);
  padding: 24px 0 36px;
  color: #5f7388;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-wrap {
  padding: 46px 0 54px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.legal-card h1 {
  margin: 0;
}

.legal-card h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
  scroll-margin-top: 100px;
}

.legal-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: clamp(20px, 2.5vw, 26px);
}

.legal-card p,
.legal-card li {
  color: #254057;
  line-height: 1.5;
  font-size: 16px;
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.privacy-lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.legal-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

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

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

  .security-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1140px, calc(100% - 24px));
  }

  .topbar-inner {
    min-height: 66px;
  }

  .sample-media,
  .metrics {
    grid-template-columns: 1fr;
  }

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