/* Reset & Base */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; line-height: 1.5; color: var(--text-0); background: var(--bg-0); }
img { max-width: 100%; height: auto; display: block; }
ul,ol { padding-left: 1rem; }
a { color: inherit; text-decoration: none; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; border-radius: 4px; }

:root {
  --bg-0: #0b1020;
  --bg-1: #0e152f;
  --surface: #111936;
  --card: #0f162e;
  --text-0: #e6e9f5;
  --muted: #a8afc5;
  --primary: #7c3aed; /* violet */
  --primary-600: #6d28d9;
  --primary-700: #5b21b6;
  --secondary: #06b6d4; /* cyan */
  --accent: #f59e0b; /* amber */
  --success: #10b981;
  --danger: #ef4444;
  --radius: 14px;
  --shadow-1: 0 10px 30px rgba(0,0,0,.35);
  --shadow-2: 0 20px 50px rgba(0,0,0,.5);
}

.container { max-width: 1280px; padding: 0 20px; margin: 0 auto; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus-visible { position: fixed; left: 20px; top: 20px; width: auto; height: auto; padding: .6rem 1rem; background: var(--secondary); color: #00131a; border-radius: 8px; z-index: 10000; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: linear-gradient(90deg, rgba(12,16,36,.85), rgba(10,14,28,.85)); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 48px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); transition: transform .3s ease; }
.brand-link:hover .brand-logo { transform: rotate(-6deg) scale(1.04); }

.primary-nav { display: none; }
@media (min-width: 1200px) { .primary-nav { display: block; } }
.nav-list { display: flex; gap: clamp(18px, 3.5vw, 36px); list-style: none; padding: 0; margin: 0; }
.nav-item { position: relative; }
.nav-link { font-weight: 700; color: var(--text-0); opacity: .9; position: relative; padding: 8px 2px; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--secondary), var(--primary)); transition: width .35s ease; border-radius: 2px; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

.nav-cta { display: flex; align-items: center; }
.menu-toggle { width: 40px; height: 28px; display: inline-flex; flex-direction: column; justify-content: space-between; background: transparent; border: none; cursor: pointer; position: relative; }
.menu-toggle::before, .menu-toggle::after, .menu-toggle span { content: ""; display: block; height: 3px; background: var(--text-0); border-radius: 3px; transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s; }
.menu-toggle.is-open::before { transform: translateY(12px) rotate(45deg); }
.menu-toggle.is-open::after { transform: translateY(-12px) rotate(-45deg); }
.menu-toggle.is-open span { opacity: 0; }
@media (min-width: 1200px) { .menu-toggle { display: none; } }

.mobile-drawer { position: absolute; left: 0; top: 100%; width: 100%; background: radial-gradient(120% 100% at 50% 0%, rgba(26,32,64,.96), rgba(14,20,48,.98)); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-1); }
[hidden].mobile-drawer { display: none; }
.mobile-list { list-style: none; padding: 24px 0 28px; margin: 0; display: grid; gap: 14px; justify-items: center; }
.mobile-link { font-size: 1.25rem; font-weight: 800; letter-spacing: .2px; color: var(--text-0); padding: 8px 14px; border-radius: 8px; transition: background .3s ease, color .3s ease, transform .3s ease; }
.mobile-link:hover { color: var(--secondary); transform: translateY(-1px); background: rgba(255,255,255,.06); }

/* Hero */
.hero { padding: clamp(120px, 22vh, 220px) 0 100px; background: linear-gradient(180deg, rgba(10,14,28,.75), rgba(10,14,28,.9)), url('../img/hero.webp') center/cover no-repeat; position: relative; }
.hero__inner { display: flex; justify-content: center; align-items: center; }
.hero__content { max-width: 840px; text-align: center; transform: translateY(12px); animation: upfade .8s ease-out forwards; opacity: 0; }
.hero__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: .3px; margin: 0 0 16px; }
.hero__lead { font-size: clamp(16px, 2.1vw, 20px); color: var(--muted); margin: 0 auto 26px; max-width: 720px; }
.cta-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; color: #061116; background: linear-gradient(90deg, var(--secondary), var(--accent)); font-weight: 800; letter-spacing: .3px; box-shadow: 0 10px 24px rgba(6,182,212,.35); position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.cta-pill::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 50% at 50% -20%, rgba(255,255,255,.35), transparent 60%); opacity: 0; transition: opacity .4s ease; }
.cta-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(6,182,212,.45); }
.cta-pill:hover::before { opacity: 1; }

/* Sections */
.section-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 0 0 24px; color: var(--text-0); text-align: center; position: relative; }
.section-title::after { content: ""; width: 72px; height: 4px; display: block; margin: 10px auto 0; background: linear-gradient(90deg, var(--secondary), var(--primary)); border-radius: 2px; }
.section-title--light { color: #f7f9ff; }
.section-contrast { background: linear-gradient(180deg, var(--bg-1), var(--surface)); padding: clamp(60px, 12vh, 120px) 0; }

/* About */
.about { padding: clamp(60px, 12vh, 120px) 0; background: var(--bg-0); }
.about__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 28px); }
.about__card { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: clamp(16px, 2.2vw, 24px); box-shadow: var(--shadow-1); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.about__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(255,255,255,.16); }
.about__card--wide { grid-column: 1 / -1; }
.about__text { font-size: clamp(15px, 1.9vw, 18px); color: var(--muted); margin: 0; }
.brand-accent { color: var(--secondary); font-weight: 700; }

@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* KPIs */
.kpis { padding: clamp(60px, 12vh, 120px) 0; background: radial-gradient(140% 100% at 50% 0%, #101737, #0b1020); }
.kpis__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(18px, 3vw, 30px); justify-items: center; }
.kpi { width: 280px; height: 280px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-1); transition: transform .35s ease, box-shadow .35s ease; }
.kpi:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-2); }
.kpi__center { text-align: center; }
.kpi__value { font-weight: 900; font-size: clamp(34px, 5vw, 52px); letter-spacing: .3px; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.kpi__label { margin: 8px 0 0; font-size: clamp(14px, 1.8vw, 16px); color: var(--muted); }

/* Benefits */
.benefits { padding: clamp(60px, 12vh, 120px) 0; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 28px); }
.benefit-card { background: #0f162e; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow-1); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; text-align: center; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(255,255,255,.14); }
.benefit-card img { border-radius: calc(var(--radius) - 6px); margin-bottom: 14px; }
.benefit-card__title { font-weight: 800; color: #fff; margin: 6px 0 8px; font-size: clamp(18px, 2.2vw, 22px); }
.benefit-card__text { color: var(--muted); font-size: clamp(14px, 1.8vw, 16px); margin: 0; }
@media (max-width: 992px) { .benefits__grid { grid-template-columns: 1fr; } }

/* Audiences */
.audiences { padding: clamp(60px, 12vh, 120px) 0; background: var(--bg-0); }
.audiences__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 28px); }
.audience { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow-1); transition: transform .3s ease, border-color .3s ease; }
.audience:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.audience__icon { color: var(--accent); margin-bottom: 10px; }
.audience__title { margin: 0 0 6px; font-weight: 800; font-size: clamp(18px, 2.1vw, 22px); }
.audience__text { margin: 0; color: var(--muted); font-size: clamp(14px, 1.8vw, 16px); }
@media (max-width: 900px) { .audiences__grid { grid-template-columns: 1fr; } }

/* Pledge / FAQ */
.pledge { padding: clamp(60px, 12vh, 120px) 0; }
.pledge__wrap { max-width: 1100px; margin: 0 auto; }
.pledge__flex { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.pledge__media, .pledge__content { flex: 1 1 420px; }
.pledge__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-1); }
.faq-accordion { display: grid; gap: 10px; }
.faq-item { background: #0f162e; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.faq-summary { display: block; width: 100%; text-align: left; padding: 14px 16px; background: transparent; border: none; color: #fff; font-weight: 800; font-size: 18px; cursor: pointer; position: relative; }
.faq-summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--secondary); font-weight: 800; }
.faq-item.open .faq-summary::after { content: "−"; }
.faq-panel { display: none; padding: 0 16px 14px; color: var(--muted); border-top: 1px dashed rgba(255,255,255,.12); }
.faq-item.open .faq-panel { display: block; }

/* Join / Contact & Form */
.join { padding: clamp(60px, 12vh, 120px) 0; background: var(--bg-0); }
.join__wrap { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.contact-info { flex: 1 1 420px; }
.section-subtitle { color: var(--muted); text-align: center; margin: 0 0 16px; }
@media (min-width: 992px) { .section-subtitle { text-align: left; } }
.contact-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 16px; }
.contact-item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); padding: 12px 14px; border-radius: 12px; }
.contact-item__icon { color: var(--secondary); }
.contact-item__title { margin: 0; font-weight: 700; }
.contact-item__detail { margin: 4px 0 0; color: var(--muted); }
.compliance-note { margin-top: 16px; color: var(--muted); }
.text-link { color: var(--secondary); text-decoration: underline; }

.join__form-wrap { flex: 1 1 420px; background: #0f162e; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1); }
.enroll-form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 6px; }
.form-label { font-weight: 700; color: #fff; }
.form-input, .form-textarea { width: 100%; padding: 10px 12px; color: var(--text-0); background: #0b1124; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-input::placeholder, .form-textarea::placeholder { color: #7b839b; }
.form-input:focus, .form-textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(6,182,212,.25); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: none; border-radius: 999px; font-weight: 800; color: #07131b; background: linear-gradient(90deg, var(--primary), var(--secondary)); box-shadow: 0 10px 24px rgba(124,58,237,.35); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(124,58,237,.45); }
.form-submit { justify-self: center; min-width: 160px; }
.error-message { font-size: .9rem; color: var(--danger); font-weight: 600; }
.form-live { min-height: 16px; }

/* Footer */
.site-footer { padding: clamp(50px, 9vh, 90px) 0; background: linear-gradient(180deg, #0b1020, #090e1b); border-top: 1px solid rgba(255,255,255,.06); }
.footer__legal { margin-bottom: 20px; }
.footer__text { color: var(--muted); margin: 0 0 12px; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__copy { color: var(--muted); font-size: 14px; }
.footer__nav { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.footer__link { color: #a7aee0; font-weight: 700; }
.footer__link:hover { color: var(--secondary); }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 20px; right: 20px; width: min(420px, 92vw); background: #0f162e; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; box-shadow: var(--shadow-2); z-index: 10000; transform: translateY(20px); opacity: 0; animation: slideup .6s ease forwards; }
.cookie-banner__content { padding: 18px; text-align: center; }
.cookie-banner__title { margin: 0 0 8px; font-weight: 800; color: #fff; }
.cookie-banner__text { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: center; }
.cookie-btn { padding: 10px 16px; border: none; border-radius: 999px; font-weight: 800; cursor: pointer; }
.cookie-btn--accept { background: linear-gradient(90deg, var(--secondary), var(--accent)); color: #061116; }
.cookie-btn--decline { background: #0b1124; color: var(--text-0); border: 1px solid rgba(255,255,255,.12); }
.cookie-btn--accept:hover, .cookie-btn--decline:hover { filter: brightness(1.08); }

/* Content pages */
.content { padding: clamp(60px, 12vh, 120px) 0; background: var(--bg-0); }
.content__wrap { max-width: 900px; margin: 0 auto; background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: clamp(18px,2.5vw,28px); }
.content__body { font-size: clamp(14px, 1.8vw, 16px); line-height: 1.8; color: var(--muted); }
.content__body p { margin: 0 0 16px; }
.content__body h2 { font-size: clamp(20px, 2.6vw, 24px); margin: 22px 0 10px; color: #fff; font-weight: 800; }
.content__body ul { padding-left: 1.25rem; margin: 0 0 16px; }
.content__body li { margin: 6px 0; }
.content__body a { color: var(--secondary); text-decoration: underline; }
.content__body strong { color: #fff; }

/* Utilities & animations */
@keyframes upfade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideup { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
