/* ==========================================================================
   Swiss Legal Advisors - Global Styles
   "Serious but Woke": Swiss precision + progressive activism
   Spec: docs/Design.md · docs/index.md · docs/Visison.md
   Typography: Montserrat (bold sans-serif headings) + Inter (body)
   Gradients: RADIAL ONLY (linear gradients prohibited per spec)
   ========================================================================== */

/* ── A. Global Variables & Reset ── */
:root {
    /* Brand palette */
    --primary-white: #ffffff;
    --accent-baby-blue: #e0f7ff;
    --accent-deep-pink: #ff1493;
    --accent-purple: #8a2be2;
    --accent-royal-purple: #6a0dad;
    --ink: #16161f;
    --text-primary: #1a1a2e;
    --text-body: #44444f;
    --text-muted: #6a6a78;

    /* Radial gradients only (Design.md §2) */
    --gradient-primary: radial-gradient(circle at 30% 20%, var(--accent-deep-pink) 0%, var(--accent-purple) 100%);
    --gradient-soft: radial-gradient(circle at center, var(--accent-baby-blue) 0%, var(--primary-white) 70%);
    --gradient-hero: radial-gradient(ellipse at 12% 0%, rgba(224, 247, 255, 1) 0%, rgba(255, 255, 255, 1) 42%, rgba(255, 20, 147, 0.06) 72%, rgba(138, 43, 226, 0.05) 100%);
    --gradient-orb-pink: radial-gradient(circle, rgba(255, 20, 147, 0.32) 0%, rgba(255, 20, 147, 0.08) 45%, transparent 72%);
    --gradient-orb-purple: radial-gradient(circle, rgba(138, 43, 226, 0.28) 0%, rgba(138, 43, 226, 0.06) 50%, transparent 72%);
    --gradient-orb-blue: radial-gradient(circle, rgba(224, 247, 255, 1) 0%, rgba(138, 43, 226, 0.08) 55%, transparent 75%);
    --gradient-orb-gold: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, transparent 70%);
    --gradient-card: radial-gradient(circle at top left, rgba(224, 247, 255, 0.6) 0%, rgba(255, 255, 255, 0.96) 58%);
    --gradient-footer: radial-gradient(ellipse at 50% -10%, rgba(138, 43, 226, 0.22) 0%, var(--ink) 50%);

    /* Typography */
    --font-main: 'Inter', system-ui, sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;

    /* Layout - generous Swiss whitespace */
    --container-max: 1200px;
    --container-padding: 0 1.5rem;
    --section-padding: 4.5rem 0;
    --section-padding-lg: 6rem 0;
    --transition-speed: 0.3s;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 50px;

    /* Glow shadows for interactive elements */
    --glow-pink: 0 6px 22px rgba(255, 20, 147, 0.35);
    --glow-purple: 0 10px 34px rgba(138, 43, 226, 0.42);
    --glow-soft: 0 12px 44px rgba(224, 247, 255, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 5.5rem;
}

::selection {
    background: rgba(255, 20, 147, 0.18);
    color: var(--text-primary);
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    background-color: var(--primary-white);
    color: var(--text-body);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p { max-width: 70ch; }

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease,
                transform var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
}

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

strong { font-weight: 700; }

/* ── C. Layout & Grid (mobile-first) ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.row { display: flex; flex-direction: column; gap: 0; }
.col { flex: 1; }

@media (min-width: 768px) {
    :root {
        --container-padding: 0 2rem;
        --section-padding: 5.5rem 0;
    }
    .grid-two { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
    .row { flex-direction: row; gap: 1rem; }
}

@media (min-width: 1024px) {
    :root { --section-padding: 6.5rem 0; }
}

/* ── Navigation ── */
.navbar {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224, 247, 255, 0.9);
    padding: 1rem 0;
    z-index: 1000;
}

.sticky-top { position: sticky; top: 0; }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.accent-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile hamburger */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.4rem;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle-label span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-speed) ease;
}

.nav-links a:not(.btn-nav):hover { color: var(--accent-deep-pink); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

@media (max-width: 767px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 84vw);
        height: 100vh;
        height: 100dvh;
        padding: 5.5rem 1.75rem 2rem;
        gap: 0.25rem;
        background: radial-gradient(circle at top right, rgba(224, 247, 255, 0.97) 0%, rgba(255, 255, 255, 0.99) 60%);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.14);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 1001;
    }
    .nav-links a:not(.btn-nav) {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(224, 247, 255, 0.9);
    }
    .nav-links .btn-primary-small {
        text-align: center;
        margin-top: 1rem;
        padding: 0.85rem 1.5rem;
    }
    .nav-toggle:checked ~ .nav-links { transform: translateX(0); }
}

@media (min-width: 768px) {
    .logo { font-size: 1.45rem; }
    .nav-links { display: flex; }
    .nav-toggle-label { display: none; }
}

/* ── Buttons - radial fill + glow halo ── */
.btn-primary,
.btn-primary-small {
    position: relative;
    display: inline-block;
    color: var(--primary-white);
    font-family: var(--font-heading);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    isolation: isolate;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.btn-primary { padding: 1rem 2.25rem; background: var(--gradient-primary); box-shadow: var(--glow-pink); }
.btn-primary-small { padding: 0.55rem 1.35rem; font-size: 0.875rem; background: var(--gradient-primary); box-shadow: 0 3px 14px rgba(255, 20, 147, 0.3); }
.btn-nav { color: var(--primary-white) !important; }

.btn-primary::before,
.btn-primary-small::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--gradient-primary);
    z-index: -2;
    opacity: 0.5;
    filter: blur(9px);
    transition: opacity var(--transition-speed) ease, filter var(--transition-speed) ease;
}

.btn-primary:hover,
.btn-primary-small:hover { transform: translateY(-3px); box-shadow: var(--glow-purple); }
.btn-primary:hover::before,
.btn-primary-small:hover::before { opacity: 0.85; filter: blur(15px); }

.btn-large { padding: 1.2rem 2.75rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.btn-secondary {
    display: inline-block;
    padding: 0.95rem 1.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-purple);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(224, 247, 255, 0.6) 100%);
    border: 2px solid rgba(138, 43, 226, 0.25);
    border-radius: var(--radius-pill);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-deep-pink);
    color: var(--accent-deep-pink);
    box-shadow: var(--glow-soft);
}

/* ── Hero - illuminated dynamic background + split layout ── */
.hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero--dynamic .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 20, 147, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 15% 85%, rgba(138, 43, 226, 0.1) 0%, transparent 45%),
        var(--gradient-soft);
    background-size: 200% 200%, 200% 200%, 200% 200%;
    animation: pulseGradient 12s ease infinite, auroraShift 20s ease-in-out infinite;
}

.hero--dynamic .hero-media::before,
.hero--dynamic .hero-media::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.hero--dynamic .hero-media::before {
    width: 58vw; height: 58vw; max-width: 560px; max-height: 560px;
    top: -18%; right: -12%;
    background: var(--gradient-orb-pink);
    animation: floatOrb 16s ease-in-out infinite, orbPulse 8s ease-in-out infinite;
}

.hero--dynamic .hero-media::after {
    width: 48vw; height: 48vw; max-width: 460px; max-height: 460px;
    bottom: -24%; left: -10%;
    background: var(--gradient-orb-purple);
    animation: floatOrb 21s ease-in-out infinite reverse, orbPulse 10s ease-in-out infinite reverse;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    animation: driftParticle linear infinite;
}

.hero-particle--1 {
    width: 120px; height: 120px; top: 12%; left: 8%;
    background: var(--gradient-orb-blue);
    animation-duration: 26s;
}

.hero-particle--2 {
    width: 80px; height: 80px; top: 55%; right: 18%;
    background: var(--gradient-orb-gold);
    animation-duration: 19s;
    animation-delay: -4s;
}

.hero-particle--3 {
    width: 64px; height: 64px; bottom: 18%; left: 42%;
    background: var(--gradient-orb-pink);
    animation-duration: 22s;
    animation-delay: -9s;
}

.hero-shimmer {
    position: absolute;
    inset: -50% -20%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.45) 0%, transparent 55%);
    animation: shimmerSweep 14s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 25%, transparent 0%, rgba(255, 255, 255, 0.72) 82%);
}

.hero .container { position: relative; z-index: 1; }

.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

.hero-copy {
    max-width: 100%;
    min-width: 0;
}

.hero-inner { max-width: 820px; }

.hero-kicker .badge {
    margin-bottom: 0;
}

.badge {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.badge-glow {
    background: radial-gradient(circle, rgba(224, 247, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 20, 147, 0.25);
    color: var(--accent-royal-purple);
    box-shadow: 0 0 26px rgba(255, 20, 147, 0.2), 0 0 52px rgba(224, 247, 255, 0.45);
}

.main-title {
    font-size: clamp(1.55rem, 3.8vw, 2.35rem);
    margin-bottom: 0.85rem;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.main-title .dramatic {
    display: block;
    margin-top: 0.35rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.35rem;
    max-width: 520px;
    line-height: 1.55;
}

.lead-text strong,
.text-dramatic {
    color: var(--accent-deep-pink);
    font-weight: 800;
}

.hero-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.6rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(224, 247, 255, 0.75) 100%);
    border: 1px solid rgba(224, 247, 255, 0.95);
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.08);
}

.flag-chip img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.flag-chip--solidarity {
    font-size: 0.64rem;
    color: var(--text-body);
}

.cta-box { margin-bottom: 1.25rem; }

.trust-bar-mini {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trust-bar-mini span { color: var(--accent-purple); }

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.trust-pill {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent-royal-purple);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(224, 247, 255, 0.65) 100%);
    border: 1px solid rgba(255, 20, 147, 0.18);
    box-shadow: 0 0 14px rgba(255, 20, 147, 0.12);
}

.trust-pill--hot {
    color: var(--primary-white);
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--glow-pink);
}

@media (min-width: 600px) {
    .cta-box { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
    .cta-box .trust-bar-mini { flex-basis: 100%; margin-top: 0.5rem; }
}

/* Hero sidebar form */
.hero-form-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 1.35rem 1.35rem 1.15rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.99) 0%, rgba(249, 251, 255, 0.98) 100%);
    border: 1px solid rgba(255, 20, 147, 0.16);
    box-shadow:
        0 24px 60px rgba(255, 20, 147, 0.14),
        0 8px 28px rgba(138, 43, 226, 0.1),
        inset 0 0 0 1px rgba(224, 247, 255, 0.95);
    box-sizing: border-box;
}

.hero-form-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.35;
    pointer-events: none;
}

.hero-form-panel__title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.hero-form-panel__sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.45;
    max-width: none;
}

.hero-form-panel .input-group { margin-bottom: 0; }

.hero-form-panel .input-group label {
    font-size: 0.72rem;
    margin-bottom: 0.3rem;
}

.hero-form-panel .input-group input,
.hero-form-panel .input-group textarea,
.hero-form-panel .input-group select {
    padding: 0.62rem 0.75rem;
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
}

.hero-form-panel .btn-primary {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.hero-form-panel .form-reassurance {
    margin-top: 0.65rem;
    font-size: 0.68rem;
}

.hero-form-panel .form-status {
    margin-top: 0.65rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.78rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(224, 247, 255, 0.95);
}

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 4.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.9rem 1rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.95) 0%, rgba(224, 247, 255, 0.4) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(224, 247, 255, 0.9);
}

.stat-item .label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9a9aa6;
    margin-bottom: 0.35rem;
}

.stat-item .val {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(0.88rem, 1.4vw, 1.05rem);
    line-height: 1.25;
    word-break: break-word;
}

.stat-item--accent {
    background: radial-gradient(circle at top left, rgba(255, 20, 147, 0.1) 0%, rgba(224, 247, 255, 0.45) 100%);
    border-color: rgba(255, 20, 147, 0.25);
}
.stat-item--accent .val { color: var(--accent-purple); }

@media (min-width: 768px) {
    .hero { padding: 5.5rem 0 4.5rem; }
    .hero-split { gap: 2rem; }
}

@media (min-width: 900px) {
    .hero-split {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
        gap: 2.5rem;
        align-items: start;
    }

    .hero-copy { max-width: 580px; }

    .hero-form-panel {
        position: sticky;
        top: 5.5rem;
    }
}

@media (min-width: 1100px) {
    .hero-split {
        grid-template-columns: minmax(0, 1.1fr) minmax(360px, 440px);
        align-items: center;
    }

    .hero-copy { max-width: 620px; }

    /* 2×2 grid reads better beside the form than 4 squeezed columns */
    .hero-split .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .stat-item {
        min-height: 5rem;
        padding: 1rem 1.15rem;
    }
}

/* ── Solidarity / Inclusion Bar ── */
.trust-bar_vibrant {
    background: radial-gradient(circle at center, rgba(224, 247, 255, 0.4) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(224, 247, 255, 0.7);
    border-bottom: 1px solid rgba(224, 247, 255, 0.7);
    text-align: center;
}

.trust-bar_vibrant__lead {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 auto 0.85rem;
}

.trust-bar_vibrant__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.trust-bar_vibrant__flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    padding: 0 0.25rem;
}

@media (max-width: 767px) {
    .trust-bar_vibrant { padding: 1rem 0; }
    .trust-bar_vibrant__lead {
        font-size: 0.68rem;
        letter-spacing: 0.07em;
        margin-bottom: 0.65rem;
        padding: 0 0.5rem;
    }
    .trust-bar_vibrant__flags {
        gap: 0.35rem;
        justify-content: flex-start;
    }
    .trust-bar_vibrant__flags .flag-chip--solidarity {
        font-size: 0.58rem;
        padding: 0.3rem 0.5rem;
    }
}

.badge-small {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.badge-small:hover { transform: scale(1.06); }

.badge-ukraine { background: radial-gradient(circle, rgba(255, 215, 0, 0.28) 0%, rgba(0, 87, 183, 0.16) 100%); border-color: rgba(0, 87, 183, 0.3); color: #0057b7; }
.badge-palestine { background: radial-gradient(circle, rgba(0, 122, 61, 0.16) 0%, rgba(206, 17, 38, 0.1) 100%); border-color: rgba(0, 122, 61, 0.35); color: #007a3d; }
.badge-pride { background: var(--gradient-primary); color: var(--primary-white); border-color: rgba(255, 20, 147, 0.4); box-shadow: 0 0 16px rgba(255, 20, 147, 0.3); }
.badge-inclusive { background: radial-gradient(circle, rgba(224, 247, 255, 0.95) 0%, rgba(138, 43, 226, 0.14) 100%); border-color: rgba(138, 43, 226, 0.25); color: var(--accent-royal-purple); }

.pulse { animation: badgePulse 2.6s ease-in-out infinite; }

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(138, 43, 226, 0); }
    50% { box-shadow: 0 0 14px rgba(138, 43, 226, 0.3); }
}

/* ── Section kickers + titles ── */
.section-kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep-pink);
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle, rgba(255, 20, 147, 0.09) 0%, rgba(224, 247, 255, 0.4) 100%);
}

.section-kicker--light {
    color: var(--accent-purple);
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.content-section { padding: var(--section-padding); }
.content-section--alt { background: radial-gradient(circle at 15% 50%, rgba(224, 247, 255, 0.4) 0%, transparent 55%); }

.sec-title {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    margin-bottom: 1.25rem;
    max-width: 900px;
}

.sec-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 5px;
    margin-top: 1.1rem;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    box-shadow: var(--glow-pink);
}

.sub-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
    max-width: 760px;
    line-height: 1.8;
}

.strike-note {
    margin-top: 2rem;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 600;
    color: var(--accent-purple);
    padding: 1rem 1.5rem;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 80%);
    border-radius: var(--radius-md);
}

.highlight-text {
    position: relative;
    font-size: 1.05rem;
    color: var(--text-primary);
    padding: 1.25rem 0 1.25rem 1.5rem;
    margin-top: 1.5rem;
    background: radial-gradient(circle at left, rgba(255, 20, 147, 0.07) 0%, transparent 70%);
}

.highlight-text::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: var(--gradient-primary);
}

.text-accent { color: var(--accent-deep-pink); font-weight: 600; }
.content-text p { margin-bottom: 1.25rem; }
.content-text p:last-child { margin-bottom: 0; }

/* ── Info Cards ── */
.info-card {
    position: relative;
    overflow: hidden;
    padding: 2.25rem;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, rgba(224, 247, 255, 0.45) 0%, #f9fbff 60%);
    border: 1px solid rgba(224, 247, 255, 0.95);
    box-shadow: var(--glow-soft);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 5px; height: 100%;
    background: var(--gradient-primary);
}

.card-gradient { background: var(--gradient-card); }
.card-title { margin-bottom: 1.35rem; font-size: 1.3rem; }

.promise-list { list-style: none; }
.promise-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(224, 247, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.65;
}
.promise-list li:last-child { border-bottom: none; padding-bottom: 0; }

/* ── Process steps (numbered) ── */
.process-info { counter-reset: step; }

.step-title {
    position: relative;
    font-size: 1.15rem;
    margin: 2rem 0 0.85rem;
    padding-left: 3.25rem;
}
.step-title:first-child { margin-top: 0; }

.step-title::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 2.2rem; height: 2.2rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 800;
    color: var(--primary-white);
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--glow-pink);
}

.process-info p { padding-left: 3.25rem; color: var(--text-muted); }

/* ── Case Hub / Wall of Justice ── */
.case-hub {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding-lg);
    background: radial-gradient(circle at 50% 0%, rgba(224, 247, 255, 0.5) 0%, rgba(255, 255, 255, 1) 65%);
}

.case-hub::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.045) 0%, transparent 70%);
    pointer-events: none;
}

.case-hub .container { position: relative; z-index: 1; }

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    .tag-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, color var(--transition-speed) ease;
    cursor: default;
}

.tag-grid.vibrant .tag {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(224, 247, 255, 0.55) 100%);
    border: 1px solid rgba(138, 43, 226, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tag:hover {
    background: radial-gradient(circle, var(--accent-baby-blue) 0%, rgba(138, 43, 226, 0.14) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(138, 43, 226, 0.2);
    color: var(--accent-royal-purple);
}

.tag--featured {
    background: radial-gradient(circle, rgba(255, 20, 147, 0.1) 0%, rgba(138, 43, 226, 0.08) 100%);
    border: 1px solid rgba(255, 20, 147, 0.35) !important;
    color: var(--accent-royal-purple);
    box-shadow: 0 0 18px rgba(255, 20, 147, 0.14) !important;
}

.tag--featured:hover {
    background: var(--gradient-primary);
    color: var(--primary-white);
    border-color: transparent !important;
}

/* ── Security banner ── */
.security-banner {
    background: radial-gradient(circle at center, rgba(255, 20, 147, 0.07) 0%, rgba(224, 247, 255, 0.32) 100%);
    border-top: 1px solid rgba(255, 20, 147, 0.16);
    border-bottom: 1px solid rgba(255, 20, 147, 0.16);
}

.security-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 0;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-body);
    max-width: none;
}

.security-banner__inner strong { color: var(--accent-deep-pink); font-family: var(--font-heading); }

.security-banner__icon {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem;
    font-size: 1.15rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--primary-white);
    box-shadow: var(--glow-pink);
}

/* ── Lead Capture Form ── */
.form-area {
    position: relative;
    padding: var(--section-padding-lg);
    background: var(--gradient-soft);
}

.form-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 80%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.form-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .form-wrap { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}

.info-pane .sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.check-list { list-style: none; margin-top: 1.75rem; }

.check-list li {
    position: relative;
    padding: 0.65rem 0 0.65rem 2rem;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.85rem;
    width: 1.25rem; height: 1.25rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 8px rgba(255, 20, 147, 0.35);
}

.check-list li::after {
    content: '✓';
    position: absolute;
    left: 0.3rem; top: 0.72rem;
    font-size: 0.7rem; font-weight: 800;
    color: var(--primary-white);
}

.form-box {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, 1) 100%);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(224, 247, 255, 0.95);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.08);
}

.shadow-glow {
    box-shadow: 0 22px 65px rgba(255, 20, 147, 0.12), 0 8px 24px rgba(138, 43, 226, 0.08), inset 0 0 0 1px rgba(255, 20, 147, 0.08);
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(224, 247, 255, 0.95);
    border-radius: var(--radius-sm);
    margin-bottom: 1.1rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, 1) 100%);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

/* Custom dropdown chevron */
.input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.75rem;
    cursor: pointer;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, 1) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ff1493' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,6 8,11 13,6'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: center, right 1rem center;
    background-size: auto, 0.9rem;
}

.input-group select:invalid {
    color: var(--text-muted);
}

.input-group select option {
    color: var(--text-primary);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--accent-deep-pink);
    box-shadow: 0 0 0 4px rgba(255, 20, 147, 0.12), 0 0 20px rgba(138, 43, 226, 0.1);
}

.form-reassurance {
    text-align: center;
    margin: 1.25rem auto 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.form-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

.form-status--success {
    background: radial-gradient(circle, rgba(224, 247, 255, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(138, 43, 226, 0.25);
    color: var(--accent-royal-purple);
}

.form-status--error {
    background: radial-gradient(circle, rgba(255, 20, 147, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: var(--accent-deep-pink);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 768px) {
    .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.faq-item {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, rgba(224, 247, 255, 0.4) 0%, rgba(250, 251, 252, 1) 70%);
    border: 1px solid rgba(224, 247, 255, 0.85);
    transition: box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.faq-item:hover { transform: translateY(-2px); box-shadow: var(--glow-soft); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.85rem; }
.faq-item p { font-size: 0.925rem; color: var(--text-muted); line-height: 1.75; max-width: none; }

.faq-item--highlight {
    border: 1px solid rgba(255, 20, 147, 0.28);
    background: radial-gradient(circle at top left, rgba(255, 20, 147, 0.09) 0%, rgba(250, 251, 252, 1) 65%);
    box-shadow: 0 0 26px rgba(255, 20, 147, 0.1);
}

/* ── Footer - light, matches the page (radial gradients, pink/purple accents) ── */
.main-footer {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(224, 247, 255, 0.55) 0%, rgba(255, 255, 255, 1) 60%);
    color: var(--text-body);
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid rgba(224, 247, 255, 0.9);
}

/* thin brand gradient strip along the very top */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-top {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(224, 247, 255, 0.9);
}

.footer-title { font-size: 1.6rem; color: var(--text-primary); margin-bottom: 0.6rem; }
.footer-title .accent-gradient { -webkit-text-fill-color: transparent; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; }

.footer-tagline { font-size: 0.95rem; color: var(--text-muted); max-width: 520px; line-height: 1.65; margin-bottom: 1.25rem; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badges .badge-small { font-size: 0.72rem; padding: 5px 13px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* footer columns styled as light cards like the rest of the page */
.footer-col {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, rgba(224, 247, 255, 0.4) 0%, rgba(250, 251, 255, 1) 70%);
    border: 1px solid rgba(224, 247, 255, 0.9);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.footer-col:hover { transform: translateY(-2px); box-shadow: var(--glow-soft); }

.footer-col h4 {
    color: var(--accent-deep-pink);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col p { font-size: 0.85rem; margin-bottom: 0.45rem; color: var(--text-muted); line-height: 1.6; }
.footer-col a { display: inline-block; margin-top: 0.6rem; color: var(--accent-purple); font-weight: 700; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-deep-pink); }

.footer-bottom { text-align: center; }
.footer-bottom > p { font-size: 0.85rem; color: var(--text-muted); margin: 0 auto 0.5rem; }

.legal-disclaimer {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    max-width: 740px;
    margin: 1.5rem auto !important;
    padding: 1.25rem 1.5rem !important;
    line-height: 1.65 !important;
    background: radial-gradient(circle, rgba(224, 247, 255, 0.4) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(224, 247, 255, 0.95);
    border-radius: var(--radius-md);
    text-align: left;
}

.legal-disclaimer strong { color: var(--accent-deep-pink); }

.footer-links { margin-top: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.footer-links a:hover { color: var(--accent-deep-pink); }

/* ── Animations ── */
@keyframes pulseGradient {
    0% { background-position: 0% 50%, 100% 50%, 0% 50%; }
    50% { background-position: 100% 50%, 0% 50%, 100% 50%; }
    100% { background-position: 0% 50%, 100% 50%, 0% 50%; }
}

@keyframes auroraShift {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(8deg) brightness(1.04); }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(4%, -5%) scale(1.08); }
    66% { transform: translate(-3%, 4%) scale(0.96); }
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

@keyframes driftParticle {
    0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(18px, -24px) scale(1.12); opacity: 0.75; }
    100% { transform: translate(-8px, 12px) scale(0.94); opacity: 0.45; }
}

@keyframes shimmerSweep {
    0%, 100% { transform: translateX(-8%) rotate(0deg); opacity: 0.35; }
    50% { transform: translateX(8%) rotate(2deg); opacity: 0.65; }
}

/* ── Responsive tweaks ── */
@media (max-width: 899px) {
    .hero-form-panel {
        margin-top: 0.25rem;
    }
}

@media (max-width: 767px) {
    .hero { padding: 3.25rem 0 2.5rem; }
    .hero-split { gap: 1.5rem; }

    .hero-kicker { gap: 0.35rem; }
    .flag-chip { font-size: 0.62rem; padding: 0.32rem 0.55rem; }
    .flag-chip img { width: 16px; height: 12px; }

    .main-title {
        font-size: clamp(1.35rem, 5.8vw, 1.85rem);
        margin-bottom: 0.65rem;
    }

    .lead-text {
        font-size: 0.88rem;
        margin-bottom: 1rem;
        max-width: none;
    }

    .trust-pills {
        gap: 0.35rem;
        margin-bottom: 0.85rem;
    }

    .trust-pill {
        font-size: 0.6rem;
        padding: 0.38rem 0.6rem;
        letter-spacing: 0.02em;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding-top: 1rem;
    }

    .stat-item {
        min-height: 4rem;
        padding: 0.75rem 0.7rem;
    }

    .stat-item .label { font-size: 0.62rem; }
    .stat-item .val { font-size: 0.82rem; }

    .hero-form-panel {
        padding: 1.15rem 1rem 1rem;
    }

    .hero-form-panel__title { font-size: 0.9rem; }
    .hero-form-panel__sub { font-size: 0.7rem; margin-bottom: 0.75rem; }

    .hero-form-panel .input-group input,
    .hero-form-panel .input-group textarea,
    .hero-form-panel .input-group select {
        padding: 0.72rem 0.8rem;
        font-size: 16px; /* prevents iOS zoom on focus */
        margin-bottom: 0.7rem;
    }

    .hero-form-panel .btn-primary {
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
    }

    .content-section,
    .case-hub,
    .form-area { padding: 3.5rem 0; }
    .sec-title::after { width: 56px; }
}

@media (max-width: 420px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .stat-item .label {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .stat-item .val {
        text-align: right;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
