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

:root {
  --light-bg: #eef1f6;
  --light-panel: #f8fafc;
  --light-card: #ffffff;
  --light-text: #0b1220;
  --light-muted: #556076;
  --light-line: #dde3ef;

  --dark-bg: #060b16;
  --dark-panel: #0b1220;
  --dark-card: #121a2b;
  --dark-text: #f7f9ff;
  --dark-muted: #a8b3c9;
  --dark-line: #23314d;

  --brand: #3b82f6;
  --brand-strong: #2563eb;

  --radius: 12px;
  --radius-sm: 9px;
  --shadow-light: 0 14px 38px rgba(10, 16, 30, 0.08);
  --shadow-dark: 0 22px 46px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--light-text);
  background: linear-gradient(180deg, #f3f5fa 0%, #e9edf5 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--dark-line);
  backdrop-filter: blur(10px);
  background: rgba(6, 11, 22, 0.9);
}

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

.brand {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

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

.nav nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8d2e8;
  transition: color 0.25s ease;
}

.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6ea8ff, #2f6dff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav nav a:hover,
.nav nav a.is-active {
  color: #ffffff;
}

.nav nav a:hover::after,
.nav nav a.is-active::after {
  transform: scaleX(1);
}

.section,
.hero {
  padding: 64px 0;
  scroll-margin-top: 92px;
}

.tone-light {
  background: transparent;
  color: var(--light-text);
}

.tone-dark {
  color: var(--dark-text);
  background: radial-gradient(circle at 12% 8%, #162342 0%, var(--dark-bg) 45%) no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fb9ff;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 780px;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  margin-bottom: 12px;
}

.lead {
  margin-top: 16px;
  max-width: 760px;
  line-height: 1.72;
  color: var(--dark-muted);
  font-size: 1.02rem;
}

.section-subtitle {
  margin: 0 0 20px;
  color: var(--dark-muted);
  max-width: 760px;
  line-height: 1.7;
}

.tone-light .section-subtitle,
.tone-light .small-note,
.tone-light .card p {
  color: var(--light-muted);
}

.cta-row {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  color: #d7e1f5;
  border-color: rgba(215, 225, 245, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-metrics span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #dce7fe;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 12px;
}

.small-note {
  margin-top: 16px;
  font-size: 0.83rem;
  color: var(--dark-muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

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

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--light-line);
  background: var(--light-card);
  box-shadow: var(--shadow-light);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -30%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 68%);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 24, 44, 0.12);
  border-color: #bfd0f0;
}

.card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid #d9e5f7;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.card-icon svg {
  width: 21px;
  height: 21px;
  stroke: #356fed;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .card-icon {
  transform: translateY(-2px) scale(1.03);
  border-color: #9cb9f3;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  line-height: 1.72;
}

.card-dark {
  border-color: var(--dark-line);
  background: linear-gradient(180deg, #121b2f 0%, #0f1728 100%);
  box-shadow: var(--shadow-dark);
}

.card-dark .card-icon-dark {
  border-color: #2a3a5b;
  background: linear-gradient(180deg, #1a2740 0%, #132037 100%);
}

.card-dark .card-icon-dark svg {
  stroke: #9bc2ff;
}

.card-dark:hover {
  border-color: #325084;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42);
}

.card-dark p {
  color: var(--dark-muted);
}

.price-card .plan {
  margin-bottom: 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #5b6b84;
}

.price {
  margin: 0 0 10px;
  font-size: 2.25rem;
  line-height: 1;
}

.price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #687791;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: #56627a;
  line-height: 1.75;
}

.price-card.featured {
  border-color: #9bb7f0;
  background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
}

.price-card.price-free:hover {
  border-color: #c2d0ea;
}

.price-card.price-pro {
  border-width: 1.5px;
}

.price-card.price-pro:hover {
  border-color: #6d9cff;
  box-shadow: 0 24px 44px rgba(37, 99, 235, 0.18);
}

.site-footer {
  border-top: 1px solid var(--dark-line);
  background: #070d19;
  color: #aab7ce;
}

.footer-grid {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-grid nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-grid nav a {
  color: #d1dbef;
}

.legal-main {
  padding: 56px 0 70px;
}

.legal-page {
  background: linear-gradient(180deg, #f1f4fa 0%, #e8edf6 100%);
}

.legal-shell {
  width: min(980px, 92vw);
}

.legal-kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c6f8f;
}

.legal-card {
  border-radius: var(--radius);
  border: 1px solid #d7dff0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-light);
  padding: 28px;
}

.legal-card h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.legal-updated {
  margin: 0 0 12px;
  color: #667897;
  font-weight: 600;
}

.legal-card h2 {
  font-size: 1.14rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #0f1a2f;
}

.legal-card p,
.legal-card li {
  line-height: 1.8;
  color: #4b5c7a;
}

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

.legal-card a {
  color: #245ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 54px 0;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .nav nav a::after {
    bottom: -4px;
  }
}
