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

:root {
  --primary: #1B1F3B;
  --accent: #7C3AED;
  --secondary: #06B6D4;
  --background: #F7F8FC;
  --surface: #FFFFFF;
  --text: #0B1220;
  --muted: #6B7280;
  --border: #E5E7EB;
  --success: #22C55E;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: var(--secondary);
}

.btn:hover {
  background: #5b21b6;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
}

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

.logo {
  height: 50px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.burger {
  display: none;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav a {
  font-weight: 500;
  color: var(--text);
}

.nav-close {
  display: none;
}

.hero {
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(27, 31, 59, 0.08);
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
}

.media-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.media-text {
  display: grid;
  gap: 16px;
}

.faq details {
  background: var(--surface);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.form-grid {
  display: grid;
  gap: 16px;
}

input, textarea, select {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 16px;
  background: #fff;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 0 30px;
}

.footer .logo {
  height: 100px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer p, .footer a {
  color: #fff;
}

.footer-menu ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
  color: #cbd5f5;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: none;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

.cookie-actions button {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.cookie-actions button.secondary {
  background: var(--surface);
  color: var(--text);
}

@media (max-width: 960px) {
  .nav ul {
    gap: 16px;
  }

  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav a {
    color: #fff;
    font-size: 20px;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle:checked ~ .nav {
    transform: translateX(0);
  }
}

@media (max-width: 540px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 30px;
  }
}