:root {
  --cs-blue: #25c4d8;
  --cs-blue-dark: #0b3c4a;
  --cs-orange: #f2a24a;
  --cs-text: #0e1a2b;
  --cs-muted: #6b7280;
  --cs-bg: #f7f9fb;
  --cs-white: #ffffff;
}
:root {
  --font-body: "Inter", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;

  /* Light theme */
  --bg-main: #f8fafc;
  --bg-alt: #eef2f7;
  --bg-card: #ffffff;

  --text-main: #0f172a;
  --text-muted: #475569;

  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --accent: #22d3ee;

  --border-soft: #e2e8f0;
  --shadow-soft: 0 10px 30px rgba(2, 8, 23, 0.08);
}
 /* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #020617;
    --bg-alt: #020617;
    --bg-card: #020617;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --accent: #22d3ee;

    --border-soft: #1e293b;
    --shadow-soft: 0 20px 40px rgba(56, 189, 248, 0.12);
  }
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--cs-text);
  background: var(--cs-bg);
  line-height: 1.7;
}
body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  border-radius: 14px;
  margin: 24px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}



/* ---------- HEADER ---------- */

.header {
  background: var(--cs-white);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  height: 44px;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--cs-text);
  font-weight: 500;
}

/* ---------- HERO ---------- */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef8fb 100%);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--cs-muted);
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--cs-white);
}

.section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  margin-bottom: 24px;
}

.section h4 {
  margin-top: 32px;
}

.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-cta {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  color: white;
  text-align: center;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--cs-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cs-blue-dark);
}

.btn-outline {
  border: 2px solid var(--cs-blue);
  color: var(--cs-blue);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

/* ---------- CARD ---------- */

.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

/* ---------- CTA ---------- */

.section-cta {
  background: var(--cs-blue-dark);
  color: #fff;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
}
.footer {
  background: linear-gradient(135deg, #0b0d12, #111827);
  color: #e5e7eb;
  padding: 80px 20px 30px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-nav a,
.footer-links a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: #38bdf8;
}

.footer-audience ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-audience li {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.footer-contacts p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.footer-cta {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  text-align: center;
  color: #ffffff;
}

.footer-cta h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.footer-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #ffffff;
  color: #0b0d12;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* Адаптив */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-cta h3 {
    font-size: 22px;
  }
}
