:root {
  --color-primary: #1a56db;
  --color-primary-dark: #1444b0;
  --color-primary-light: #e8effd;
  --color-accent: #059669;
  --color-accent-dark: #047857;
  --color-accent-light: #ecfdf5;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 8px 32px rgba(26, 86, 219, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --max-width: 720px;
  --max-width-wide: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-width);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  gap: 16px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
  min-width: 0;
}

.header__logo:hover {
  text-decoration: none;
}

.header__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 10px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header__logo-name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.header__logo-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.header__logo-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-switch {
  display: flex;
  gap: 3px;
  background: var(--color-border-light);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all 0.18s ease;
  letter-spacing: 0.02em;
}

.lang-switch__btn:hover {
  color: var(--color-text);
}

.lang-switch__btn--active {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.lang-switch__btn[hidden] {
  display: none;
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(26, 86, 219, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.hero__badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.7;
}

.trust-bar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.trust-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Download Card */
.download-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.download-card--hero {
  position: relative;
}

.download-card--hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.15), rgba(5, 150, 105, 0.1));
  z-index: -1;
}

.download-card--cta {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.download-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.download-card__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.download-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.download-card__text {
  color: var(--color-text-muted);
  margin-bottom: 22px;
  font-size: 0.925rem;
  line-height: 1.6;
}

.download-card__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

.btn--download {
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.975rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
  text-decoration: none;
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--lg {
  max-width: 360px;
  margin: 0 auto;
  padding: 16px 28px;
  font-size: 1rem;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--color-bg);
  transform: none;
  box-shadow: none;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.section__eyebrow--light {
  color: rgba(255, 255, 255, 0.65);
}

.section__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section__subtitle {
  color: var(--color-text-muted);
  margin: -20px 0 32px;
  font-size: 1.05rem;
}

/* Pain points */
.pain-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-point {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.pain-point:hover {
  box-shadow: var(--shadow-md);
}

.section--alt .pain-point,
.section .pain-point {
  background: var(--color-surface);
}

.pain-point__question {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.pain-point__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.pain-point__answer {
  color: var(--color-text-muted);
  padding-left: 40px;
  font-size: 0.925rem;
  line-height: 1.65;
}

.pain-point__answer strong {
  color: var(--color-text);
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.section--alt .feature {
  background: var(--color-bg);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 8px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.feature__text {
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature__text strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.925rem;
  color: var(--color-text);
}

/* CTA section */
.cta-section {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0f2744 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section__title {
  color: #fff;
}

.cta-section .section__subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.cta-section .download-card {
  position: relative;
  z-index: 1;
}

/* Sources */
.sources {
  padding: 64px 0;
  background: var(--color-bg);
}

.sources__text {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.sources__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.sources__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.18s ease;
}

.sources__pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.sources__official {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.sources__official-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.sources__official-links,
#sources-official-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sources__official-links a,
#sources-official-links a {
  font-size: 0.85rem;
  font-weight: 600;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq__item--open {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.section--alt .faq__item {
  background: var(--color-bg);
}

.faq__question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  color: var(--color-text);
  transition: background 0.2s;
}

.faq__question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-border-light);
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: transform 0.3s ease, background 0.2s ease;
  flex-shrink: 0;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}

.faq__item--open .faq__answer {
  max-height: 500px;
  padding: 0 22px 20px;
}

.faq__answer p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

/* Urgency */
.urgency {
  text-align: center;
  padding: 72px 0;
  background: var(--color-surface);
}

.urgency__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: -16px auto 32px;
  line-height: 1.65;
}

/* Footer */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 32px;
  font-size: 0.85rem;
}

.footer__top {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 11px;
}

.footer__logo-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.footer__logo-tag {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer__heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.footer__text {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 18px 24px;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  min-width: 240px;
  line-height: 1.55;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  width: auto;
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay--visible {
  display: flex;
}

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-bg);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.modal__close:hover {
  background: var(--color-border);
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.modal__content {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .download-card--hero {
    max-width: 480px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .download-card {
    padding: 24px 20px;
  }

  .pain-point__answer {
    padding-left: 0;
    margin-top: 8px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }

  .header__logo-name {
    font-size: 0.9rem;
  }

  .header__logo-tag {
    font-size: 0.72rem;
  }
}
