@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Manrope:wght@200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary: #0a48fa;
  --primary-light: #4a96f5;
  --primary-dark: #0f5cc8;
  --primary-soft: #e8f1fe;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e9f0;
  --shadow-sm:
    0 1px 3px rgba(24, 119, 242, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:
    0 4px 16px rgba(24, 119, 242, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 16px 48px rgba(24, 119, 242, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xl: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.footer-logo {
  width: 45px;
  height: 45px;
}
.footer-logo img {
  width: 100%;
  height: 100%;
}
.nav-logo .logo-icon {
  width: 45px;
  height: 45px;
}
.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("./images/ChatGPT\ Image\ 4\ апр.\ 2026\ г.\,\ 02_11_53.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at center,
      rgba(17, 49, 205, 0.35) 50%,
      rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
  }
  pointer-events: none;
}

.hero-badge,
.hero h1,
.hero p,
.hero-actions {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 241, 254, 0.92);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  border: 1px solid rgba(24, 119, 242, 0.16);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.08);
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 20px;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero h1 span {
  color: #ffffff;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(24, 119, 242, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ─── SECTION LAYOUT ──────────────────────────────────── */
.section {
  padding: 88px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ─── FEATURES GRID ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: rgba(24, 119, 242, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ─── STATS ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 52px;
}

.stat-item {
  background: white;
  padding: 40px 32px;
  text-align: center;
}

.stat-number {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ─── CTA SECTION ─────────────────────────────────────── */
.cta-section {
  padding: 88px 24px;
  text-align: center;
}

.cta-inner {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-inner::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-inner h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: all 0.25s;
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

/* ─── PROSE PAGES (Privacy / ToS / About) ────────────── */
.prose-hero {
  padding: 72px 24px 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.prose-hero .hero-badge {
  margin-bottom: 18px;
}

.prose-hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 14px;
}

.prose-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

.prose-body {
  padding: 64px 24px 96px;
}

.prose-content {
  max-width: 800px;
  margin: 0 auto;
}

.prose-content h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prose-content h2::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.prose-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}

.prose-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.96rem;
}

.prose-content ul,
.prose-content ol {
  margin: 12px 0 20px 20px;
  color: var(--text-muted);
}

.prose-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 0.96rem;
}

.prose-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.prose-content a:hover {
  text-decoration: underline;
}

.prose-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.prose-toc h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 14px;
}

.prose-toc ol {
  margin: 0;
  padding-left: 18px;
  column-count: 2;
  column-gap: 24px;
}

.prose-toc li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.info-box {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.info-box p {
  color: var(--primary-dark);
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ─── TEAM ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}

.team-card:hover {
  border-color: rgba(24, 119, 242, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
  color: white;
  font-weight: 700;
  font-family: "Syne", sans-serif;
}

.team-card h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ─── VALUE CARDS (About) ─────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  text-align: center;
}

.value-emoji {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 36px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 14px;
}

.footer-brand .nav-logo .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h5 {
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }

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

  .nav-links a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle {
    display: flex;
  }

  .navbar {
    position: relative;
  }

  .hero {
    min-height: auto;
    padding: 60px 20px 56px;
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 20px;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .prose-toc ol {
    column-count: 1;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
