:root {
  --bg: #FFF7ED;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --primary: #EA580C;
  --secondary: #0EA5E9;
  --accent: #8B5CF6;
  --border: rgba(31, 41, 55, 0.12);
  --nav-bg: rgba(15, 15, 25, 0.75);
  --radius-pill: 999px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --soft-curves: 20px;
  --rounded: var(--radius-lg);
  --shadow-soft: 0 8px 32px rgba(31, 41, 55, 0.08);
  --glow-accent: 0 0 12px rgba(139, 92, 246, 0.45);
  --glow-accents: var(--glow-accent);
  --smooth: ease;
  --friendly: 1.65;
  --font-stack: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: var(--friendly);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(234, 88, 12, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(14, 165, 233, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #FFEDD5 100%);
  min-height: 100vh;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    45deg,
    var(--bg) 0,
    var(--bg) 8px,
    rgba(31, 41, 55, 0.04) 8px,
    rgba(31, 41, 55, 0.04) 16px
  );
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

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

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: var(--radius-pill);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar__links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, text-shadow 0.2s ease, color 0.2s ease;
}

.navbar__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 8px var(--accent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin-top: 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: var(--glow-accent);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 640px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #F97316);
  color: #fff;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.4);
}

.btn--secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn--link {
  background: none;
  color: var(--primary);
  padding: 8px 0;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: none;
}

.btn--link:hover {
  text-shadow: var(--glow-accent);
}

.site-footer {
  background: linear-gradient(160deg, #1F2937 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 32px;
  margin-top: 64px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
}

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

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

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges a {
  display: block;
}

.footer-badges img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

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

.footer-company {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
  line-height: 1.7;
}

.footer-disclosure {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-notice {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  line-height: 1.7;
  white-space: pre-line;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-soft), 0 0 40px rgba(139, 92, 246, 0.15);
  text-align: center;
}

.modal-card h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.modal-card p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
}

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

.modal-actions .btn {
  min-width: 120px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 -8px 32px rgba(31, 41, 55, 0.12);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cookie-banner[hidden] {
  display: none;
}

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

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

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

.legal-page {
  padding: 48px 0 64px;
}

.legal-page__content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.legal-page__content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-page__content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-page__content h3 {
  font-size: 1.05rem;
  margin: 20px 0 10px;
}

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

.legal-page__content ul {
  margin: 0 0 16px 20px;
  color: var(--muted);
}

.legal-page__content li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 16px;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

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

.form-error {
  color: #DC2626;
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 12px;
}

.form-success {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: var(--text);
}

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

@media (max-width: 900px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    inset: 0;
    top: 56px;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .navbar__links.is-open {
    transform: translateX(0);
  }

  .navbar__links a {
    font-size: 1.25rem;
    padding: 12px 24px;
  }

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

  .legal-page__content {
    padding: 28px 20px;
  }
}
