/* ═══════════════════════════════════════════════════════
   Erasmus Section — Premium LLM Showcase
   ═══════════════════════════════════════════════════════ */

.erasmus-section {
    width: 100%;
    background: #05050a;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* ── Visibility ────────────────────────────────────────── */
.erasmus-section { display: none !important; }
body.nav-erasmus .erasmus-section { display: block !important; }

/* ── Section appear animation ────────────────────────── */
body.nav-erasmus .erasmus-section {
    animation: er-section-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes er-section-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Top transition fade from page bg ─────────────────── */
.er-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, var(--bg-primary, #000), transparent);
    z-index: 3;
    pointer-events: none;
}


/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.er-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 80px;
    overflow: hidden;
}

/* Animated gradient mesh background */
.er-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.22) 0%, transparent 70%),
                radial-gradient(ellipse 50% 50% at 80% 80%, rgba(168,85,247,0.12) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 20% 90%, rgba(59,130,246,0.10) 0%, transparent 55%),
                #05050a;
}

/* Floating orbs */
.er-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    will-change: transform;
    transition: transform 0.12s ease-out;
}
.er-orb-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 70%);
    top: -120px; left: 50%;
    transform: translateX(-50%);
}
.er-orb-2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(168,85,247,0.22) 0%, transparent 70%);
    bottom: 60px; right: -80px;
}
.er-orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
    top: 40%; left: -60px;
}

/* Particle dots grid */
.er-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.er-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.er-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid rgba(99,102,241,0.35);
    background: rgba(99,102,241,0.10);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(165,180,252,0.9);
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}
.er-badge-dot {
    width: 6px; height: 6px;
    background: #818cf8;
    border-radius: 50%;
    animation: er-pulse 2s ease-in-out infinite;
}
@keyframes er-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

.er-hero-title {
    font-size: clamp(64px, 10vw, 128px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    margin: 0 0 24px;
    background: linear-gradient(135deg,
        #ffffff 0%,
        rgba(199,210,254,0.95) 30%,
        rgba(167,139,250,0.9) 60%,
        rgba(139,92,246,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: er-title-shimmer 6s ease-in-out infinite alternate;
    background-size: 200% 200%;
}
@keyframes er-title-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.er-hero-tagline {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    margin: 0 0 16px;
    letter-spacing: 0.2px;
}

.er-hero-sub {
    font-size: clamp(14px, 1.8vw, 17px);
    color: rgba(255,255,255,0.35);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.er-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.er-btn-primary {
    padding: 14px 34px;
    border-radius: 100px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 32px rgba(99,102,241,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.er-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(99,102,241,0.55);
}
.er-btn-primary:active { transform: translateY(0); }

.er-btn-ghost {
    padding: 13px 28px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.2px;
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.er-btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.30);
    color: #fff;
    transform: translateY(-1px);
}

/* Scroll hint */
.er-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    animation: er-bounce 2.4s ease-in-out infinite;
}
@keyframes er-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}
.er-scroll-hint svg { color: rgba(255,255,255,0.7); }
.er-scroll-hint span {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════════════════
   STAT BAR
══════════════════════════════════════════════════════ */
.er-stats {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(4px);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.er-stat-item {
    flex: 1;
    text-align: center;
    padding: 0 32px;
    position: relative;
}
.er-stat-item + .er-stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 10%; height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.06);
}
.er-stat-num {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #e0e7ff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.er-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
    margin-top: 6px;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════════════ */
.er-section {
    padding: 120px 48px;
    max-width: 1160px;
    margin: 0 auto;
}
.er-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #818cf8;
    margin-bottom: 16px;
}
.er-section-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 18px;
}
.er-section-title span {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.er-section-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

/* Scroll reveal — no-op, everything visible immediately */
.er-reveal, .er-reveal.er-visible { opacity: 1; transform: none; }
.er-reveal-delay-1, .er-reveal-delay-2,
.er-reveal-delay-3, .er-reveal-delay-4 { transition-delay: 0s; }

/* ══════════════════════════════════════════════════════
   ARCHITECTURE — 4 PILLARS
══════════════════════════════════════════════════════ */
.er-arch-section {
    padding: 120px 48px;
    background: linear-gradient(180deg, #05050a 0%, rgba(10,8,20,1) 100%);
    position: relative;
    overflow: hidden;
}
.er-arch-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
}

.er-arch-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.er-arch-header {
    text-align: center;
    margin-bottom: 72px;
}

.er-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.er-pillar {
    position: relative;
    padding: 36px 28px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
    backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: default;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.er-pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: var(--pillar-glow, rgba(99,102,241,0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.er-pillar:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--pillar-shadow, 0 0 40px rgba(99,102,241,0.12));
}
.er-pillar:hover::before { opacity: 1; }

.er-pillar-1 { --pillar-glow: rgba(99,102,241,0.08); --pillar-shadow: 0 0 40px rgba(99,102,241,0.15); --pillar-color: #818cf8; }
.er-pillar-2 { --pillar-glow: rgba(168,85,247,0.08); --pillar-shadow: 0 0 40px rgba(168,85,247,0.15); --pillar-color: #c084fc; }
.er-pillar-3 { --pillar-glow: rgba(236,72,153,0.06); --pillar-shadow: 0 0 40px rgba(236,72,153,0.12); --pillar-color: #f472b6; }
.er-pillar-4 { --pillar-glow: rgba(59,130,246,0.08); --pillar-shadow: 0 0 40px rgba(59,130,246,0.15); --pillar-color: #60a5fa; }

.er-pillar-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pillar-color);
    margin-bottom: 20px;
    opacity: 0.7;
}
.er-pillar-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    transition: background 0.3s, transform 0.3s;
}
.er-pillar:hover .er-pillar-icon {
    background: rgba(255,255,255,0.09);
    transform: scale(1.08);
}

.er-pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.er-pillar-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    margin: 0;
}

/* Gradient line accent at top of each card */
.er-pillar-accent {
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pillar-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.er-pillar:hover .er-pillar-accent { opacity: 0.7; }

/* ══════════════════════════════════════════════════════
   BEYOND TRANSFORMERS — BIG STATEMENT
══════════════════════════════════════════════════════ */
.er-beyond {
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
}
.er-beyond-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.er-beyond-left .er-section-sub { max-width: 480px; }

.er-beyond-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
}

/* Animated rings */
.er-rings {
    position: relative;
    width: 280px; height: 280px;
}
.er-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(99,102,241,0.2);
    animation: er-ring-spin linear infinite;
}
.er-ring:nth-child(1) { animation-duration: 12s; border-color: rgba(99,102,241,0.25); }
.er-ring:nth-child(2) {
    inset: 30px;
    border-color: rgba(168,85,247,0.2);
    animation-duration: 9s;
    animation-direction: reverse;
}
.er-ring:nth-child(3) {
    inset: 60px;
    border-color: rgba(59,130,246,0.2);
    animation-duration: 7s;
}
@keyframes er-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* Ring dots */
.er-ring::before {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    background: rgba(165,180,252,0.7);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(165,180,252,0.5);
}

.er-rings-core {
    position: absolute;
    inset: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.3), rgba(99,102,241,0.05));
    border: 1px solid rgba(99,102,241,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(4px);
}

.er-beyond-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}
.er-feat-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.er-feat-check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 10px;
    color: #818cf8;
}
.er-feat-text { font-size: 14.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.er-feat-text strong { color: rgba(255,255,255,0.88); font-weight: 600; }

/* ══════════════════════════════════════════════════════
   FEDERATED LEARNING
══════════════════════════════════════════════════════ */
.er-fed {
    padding: 120px 48px;
    background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.04) 50%, transparent 100%);
    position: relative;
}
.er-fed::before, .er-fed::after {
    content: '';
    position: absolute;
    left: 50%; transform: translateX(-50%);
    height: 1px;
    width: 600px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), transparent);
}
.er-fed::before { top: 0; }
.er-fed::after  { bottom: 0; }

.er-fed-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Network nodes visualization */
.er-network {
    position: relative;
    height: 340px;
}
.er-node {
    position: absolute;
    border-radius: 50%;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    color: rgba(165,180,252,0.7);
    font-weight: 600;
    animation: er-node-float ease-in-out infinite alternate;
    transition: transform 0.3s;
    cursor: default;
}
.er-node:hover {
    background: rgba(99,102,241,0.22);
    border-color: rgba(165,180,252,0.5);
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
@keyframes er-node-float {
    from { transform: translateY(0px); }
    to   { transform: translateY(-8px); }
}
.er-node-center {
    width: 80px; height: 80px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99,102,241,0.2);
    border-color: rgba(165,180,252,0.4);
    font-size: 13px;
    animation-duration: 4s;
    box-shadow: 0 0 30px rgba(99,102,241,0.2);
}
.er-node-1 { width: 56px; height: 56px; top: 8%; left: 15%; animation-duration: 3.5s; animation-delay: 0.3s; }
.er-node-2 { width: 48px; height: 48px; top: 8%; right: 20%; animation-duration: 4.2s; animation-delay: 0.7s; }
.er-node-3 { width: 52px; height: 52px; top: 50%; left: 5%; transform: translateY(-50%); animation-duration: 3.8s; animation-delay: 0.1s; }
.er-node-4 { width: 52px; height: 52px; top: 50%; right: 5%; transform: translateY(-50%); animation-duration: 4.5s; animation-delay: 0.9s; }
.er-node-5 { width: 48px; height: 48px; bottom: 8%; left: 20%; animation-duration: 3.2s; animation-delay: 0.5s; }
.er-node-6 { width: 56px; height: 56px; bottom: 8%; right: 15%; animation-duration: 4s; animation-delay: 0.2s; }

/* SVG connecting lines */
.er-network-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   PRIVACY SECTION
══════════════════════════════════════════════════════ */
.er-privacy {
    padding: 120px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.er-privacy-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.er-privacy-icon {
    width: 80px; height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
    border: 1px solid rgba(99,102,241,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 32px;
    font-size: 34px;
    box-shadow: 0 12px 40px rgba(99,102,241,0.2);
    backdrop-filter: blur(8px);
}

.er-privacy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.er-privacy-pill {
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    text-align: left;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.er-privacy-pill:hover {
    border-color: rgba(99,102,241,0.25);
    background: rgba(99,102,241,0.06);
    transform: translateY(-3px);
}
.er-privacy-pill-icon {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}
.er-privacy-pill-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
}
.er-privacy-pill-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.38);
    line-height: 1.55;
}

/* Background glow for privacy section */
.er-privacy::before {
    content: '';
    position: absolute;
    width: 600px; height: 400px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   FOOTER BANNER
══════════════════════════════════════════════════════ */
.er-footer-banner {
    position: relative;
    padding: 100px 48px;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.er-footer-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(99,102,241,0.15), transparent);
}
.er-footer-content {
    position: relative;
    z-index: 1;
}
.er-footer-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff, rgba(199,210,254,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px;
}
.er-footer-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.4);
    margin: 0 0 40px;
}
.er-footer-model-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    margin-top: 48px;
}

/* ══════════════════════════════════════════════════════
   LIGHT THEME
══════════════════════════════════════════════════════ */
[data-theme="light"] .erasmus-section,
[data-theme="system"] .erasmus-section {
    background: #fafafa;
    color: #0a0a0f;
}
[data-theme="light"] .er-hero-bg,
[data-theme="system"] .er-hero-bg {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.10) 0%, transparent 70%),
                #fafafa;
}
[data-theme="light"] .er-hero-title,
[data-theme="system"] .er-hero-title {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
[data-theme="light"] .er-hero-tagline,
[data-theme="system"] .er-hero-tagline { color: rgba(0,0,0,0.5); }
[data-theme="light"] .er-hero-sub,
[data-theme="system"] .er-hero-sub { color: rgba(0,0,0,0.38); }
[data-theme="light"] .er-stats,
[data-theme="system"] .er-stats { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .er-stat-label,
[data-theme="system"] .er-stat-label { color: rgba(0,0,0,0.38); }
[data-theme="light"] .er-pillar,
[data-theme="system"] .er-pillar {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .er-pillar-desc,
[data-theme="system"] .er-pillar-desc { color: rgba(0,0,0,0.5); }
[data-theme="light"] .er-section-sub,
[data-theme="system"] .er-section-sub { color: rgba(0,0,0,0.5); }
[data-theme="light"] .er-section-title,
[data-theme="system"] .er-section-title { color: #0a0a0f; }
[data-theme="light"] .er-feat-text,
[data-theme="system"] .er-feat-text { color: rgba(0,0,0,0.55); }
[data-theme="light"] .er-feat-text strong,
[data-theme="system"] .er-feat-text strong { color: rgba(0,0,0,0.85); }
[data-theme="light"] .er-arch-section,
[data-theme="system"] .er-arch-section { background: #f5f5f8; }
[data-theme="light"] .er-privacy-pill,
[data-theme="system"] .er-privacy-pill { background: rgba(0,0,0,0.025); border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .er-privacy-pill-desc,
[data-theme="system"] .er-privacy-pill-desc { color: rgba(0,0,0,0.45); }
[data-theme="light"] .er-privacy-pill-title,
[data-theme="system"] .er-privacy-pill-title { color: rgba(0,0,0,0.78); }
[data-theme="light"] .er-footer-title,
[data-theme="system"] .er-footer-title { background: linear-gradient(135deg, #0a0a0f, rgba(67,56,202,0.9)); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .er-footer-sub,
[data-theme="system"] .er-footer-sub { color: rgba(0,0,0,0.42); }
[data-theme="light"] .er-node,
[data-theme="system"] .er-node { color: rgba(67,56,202,0.7); border-color: rgba(67,56,202,0.25); background: rgba(67,56,202,0.07); }
[data-theme="light"] .er-btn-ghost,
[data-theme="system"] .er-btn-ghost { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.04); color: rgba(0,0,0,0.6); }
[data-theme="light"] .er-btn-ghost:hover,
[data-theme="system"] .er-btn-ghost:hover { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.22); color: #000; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .er-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .er-beyond-inner,
    .er-fed-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .er-beyond-visual { height: 260px; }
    .er-stats { flex-wrap: wrap; gap: 24px; padding: 32px 24px; }
    .er-stat-item + .er-stat-item::before { display: none; }
    .er-privacy-pillars { grid-template-columns: repeat(2, 1fr); }
    .er-section, .er-arch-section, .er-beyond, .er-fed, .er-privacy, .er-footer-banner {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 580px) {
    .er-pillars { grid-template-columns: 1fr; }
    .er-privacy-pillars { grid-template-columns: 1fr; }
    .er-cta-row { flex-direction: column; align-items: center; }
    .er-hero { padding: 100px 20px 60px; }
    .er-network { height: 240px; }
    .er-rings { width: 200px; height: 200px; }
}
