:root {
  --bg: #020617;
  --surface: #020F2F;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #38BDF8;
  --secondary: #A3E635;
  --accent: #F472B6;
  --border: rgba(229, 231, 235, 0.12);
  --eco-leaf: #4ade80;
  --nature-earth: #78716c;
  --green-soft: rgba(163, 230, 53, 0.15);
  --sustainable-glow: rgba(56, 189, 248, 0.08);
  --organic-radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--sustainable-glow), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, var(--green-soft), transparent),
    linear-gradient(165deg, var(--bg) 0%, #031025 50%, var(--surface) 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 15% 85%, rgba(74, 222, 128, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

.disclosure-bar {
  position: relative;
  z-index: 100;
  width: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text);
  font-size: 11px;
  text-align: center;
  padding: 10px 16px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(2, 6, 23, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text);
  font-size: 14px;
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  z-index: 200;
  padding: 80px 0 24px;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer a {
  display: block;
  color: var(--text);
  padding: 14px 24px;
  border-left: 3px solid transparent;
  font-size: 15px;
}

.nav-drawer a:hover {
  border-left-color: var(--accent);
  background: rgba(244, 114, 182, 0.08);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 199;
}

.drawer-overlay.open {
  display: block;
}

.site-footer {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 48px 24px 32px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--eco-leaf), var(--primary), transparent);
  border-radius: 0 0 8px 8px;
  opacity: 0.5;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-badges a {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover {
  opacity: 1;
}

.footer-badges img {
  height: 48px;
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--organic-radius);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-inner p {
  flex: 1;
  min-width: 240px;
  font-size: 14px;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--muted);
}

.legal-content ul {
  margin: 12px 0 16px 24px;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: var(--accent);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  background: var(--green-soft);
  border: 1px solid var(--eco-leaf);
  border-radius: var(--organic-radius);
  padding: 24px;
  text-align: center;
}

.form-success h3 {
  color: var(--secondary);
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}
