/* ===================================
   FUNDACIÓN MAYAR - Modern Eco System
   =================================== */

:root {
    /* Modern Earthy Palette */
    --primary: #2D5016;
    /* Deep Forest Green */
    --primary-light: #528532;
    /* Fresh Leaf */
    --accent: #D4E157;
    /* Sunlight Lime */
    --dark: #0a120c;
    /* Almost Black Green */
    --sand: #F3F1EB;
    /* Natural Paper */
    --white: #FFFFFF;

    /* UI Variables */
    --shadow-soft: 0 10px 40px -10px rgba(45, 80, 22, 0.15);
    --shadow-hover: 0 20px 60px -15px rgba(45, 80, 22, 0.25);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    --radius-md: 16px;
    --radius-lg: 32px;
}

/* Base & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--sand);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

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

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 225, 87, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
    border-color: white;
}

/* Navigation - Modern Floating Island */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.1);
    /* Initial transparency */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    /* Capsule shape */
    padding: 15px 30px;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    padding: 12px 30px;
    width: 95%;
    /* Slightly wider on scroll */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* --- LOGO STYLE --- */
.brand-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.brand-logo:hover {
    color: var(--accent);
    /* Green Hover */
}

.brand-logo i {
    color: var(--accent);
    font-size: 1.4rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar:hover .brand-logo i {
    transform: rotate(20deg) scale(1.1);
}

.navbar.scrolled .brand-logo {
    color: var(--dark);
}

.navbar.scrolled .brand-logo i {
    color: var(--primary);
}

/* --- MENU LINKS --- */
.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 50px;
    transition: 0.3s;
}

.navbar.scrolled .nav-menu {
    background: rgba(0, 0, 0, 0.03);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: var(--dark);
    background: white;
}

.navbar.scrolled .nav-link {
    color: #555;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(45, 80, 22, 0.1);
}

/* --- CTA BUTTON IN NAV --- */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: var(--accent);
}

.navbar.scrolled .nav-cta {
    background: var(--primary);
    color: white;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--dark);
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--dark);
}

/* Hero Section - FUTURISTIC ECO-TECH */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #050a06;
    /* Darker base */
}

/* Dynamic Background */
.hero-bg-wrapper {
    position: absolute;
    inset: -50px;
    /* Allow movement room */
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: contrast(1.1) saturate(1.1);
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
    /* For JS Parallax */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 20%, rgba(5, 10, 6, 0.8) 80%),
        linear-gradient(to bottom, rgba(5, 10, 6, 0.3), #0a120c);
    z-index: 1;
    pointer-events: none;
}

/* Floating Particles/Glows */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 225, 87, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    animation: pulseGlow 5s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Content Layout */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    height: 100%;
}

.hero-text-content {
    position: relative;
    padding-top: 60px;
}

/* Futuristic Typography */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 2px solid var(--accent);
}

.hero-title {
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.9;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

.hero-title .h-outline {
    display: block;
    color: transparent;
    -webkit-text-stroke: 3px rgba(255, 255, 255, 0.8);
    /* Thicker and brighter */
    opacity: 0.8;
}

.hero-title .h-solid {
    display: block;
    background: linear-gradient(to right, #fff, #d4e157);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.4s;
}

/* Action Area */
.hero-actions {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.6s;
}

.btn-glow {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(212, 225, 87, 0.2);
}

/* Glass Cards / Stats */
.hero-visuals {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    perspective: 1000px;
}

.glass-card {
    background: rgba(10, 20, 12, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 300px;
    margin-bottom: 20px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease, box-shadow 0.3s;
    opacity: 0;
    animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    cursor: default;
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
    background: rgba(20, 40, 24, 0.6);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.glass-card h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.glass-card h3 small {
    font-size: 1rem;
    color: var(--accent);
    opacity: 0.8;
}

.glass-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tech Accents */
.tech-lines {
    position: absolute;
    top: 0;
    right: 40px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotateY(-10deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotateY(-10deg);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        height: auto;
    }

    .hero-text-content {
        align-items: center;
        display: flex;
        flex-direction: column;
        padding-top: 40px;
    }

    .hero-label {
        border-left: none;
        border-bottom: 2px solid var(--accent);
        padding: 0 0 5px 0;
        margin-bottom: 30px;
    }

    .hero-visuals {
        display: none;
    }

    .hero-title {
        font-size: clamp(3.5rem, 12vw, 5.5rem);
        margin-bottom: 25px;
        letter-spacing: -2px;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin: 0 auto 40px;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.9);
        /* More readable */
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
    }

    .hero-overlay {
        background:
            radial-gradient(circle at 50% 40%, transparent 10%, rgba(5, 10, 6, 0.9) 80%),
            linear-gradient(to bottom, rgba(5, 10, 6, 0.4), #0a120c);
    }
}


/* Sections General */
section {
    padding: 120px 0;
}

.section-label {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* About / Context - FUTURISTIC REDESIGN */
.about-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    background: #080f0a;
    /* Dark background to match theme */
}

/* Big reduced opacity number background */
.about-section::before {
    content: '01';
    position: absolute;
    top: 50px;
    right: -50px;
    font-size: 25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Removing gap for overlap */
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    height: 700px;
    width: 110%;
    /* Slight overlap */
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    overflow: hidden;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.8s ease;
}

.about-section:hover .about-image img {
    transform: scale(1.05);
}

.about-text-wrapper {
    position: relative;
    z-index: 10;
    left: -50px;
    /* Overlap image */
}

.about-glass-card {
    background: rgba(20, 30, 24, 0.65);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-glass-card h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.1;
}

.about-glass-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.feature-item i {
    color: var(--accent);
    background: rgba(212, 225, 87, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        width: 100%;
        height: 400px;
        border-radius: var(--radius-lg);
        margin-bottom: -50px;
    }

    .about-text-wrapper {
        left: 0;
        padding: 0 20px;
    }

    .about-section::before {
        display: none;
    }
}

/* Programs / Initiatives - FUTURISTIC REDESIGN */
.programs-section {
    background: #050a06;
    /* Dark cinematic background */
    padding: 140px 0 60px 0;
    position: relative;
    z-index: 5;
}

/* Background glow accent */
.programs-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 80, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.program-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    /* Custom helper for interactions */
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 225, 87, 0.1);
}

.program-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.8s ease;
    filter: grayscale(80%) contrast(1.2);
}

.program-card:hover .program-bg {
    transform: scale(1.1);
    opacity: 0.8;
    filter: grayscale(0%) contrast(1.1);
}

.program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

/* Tech Number */
.program-card::before {
    content: attr(data-id);
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    transition: 0.3s;
    z-index: 10;
}

.program-card:hover::before {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212, 225, 87, 0.1);
}

.program-overlay h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1;
    transform: translateY(20px);
    transition: 0.5s;
}

.program-overlay p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s 0.1s;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s 0.2s;
}

/* Hover State Animations */
.program-card:hover h3 {
    transform: translateY(0);
}

.program-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover .program-link {
    opacity: 1;
    transform: translateY(0);
}

/* Partners - HOLOGRAPHIC NETWORK */
.partners-section {
    background: #080f0a;
    padding: 120px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cyber Grid Background */
.partners-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Scanning Light Effect */
.partners-logos::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: scanLight 4s infinite linear;
    pointer-events: none;
}

@keyframes scanLight {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.partners-logos img {
    height: 70px;
    width: auto;
    filter: grayscale(100%) brightness(10) contrast(1.5);
    /* Turn logos white */
    opacity: 0.5;
    transition: all 0.4s ease;
    mix-blend-mode: screen;
    /* Blend nicely with dark bg */
}

.partners-logos:hover img {
    opacity: 1;
    filter: grayscale(100%) brightness(10) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.partners-cta-wrapper {
    margin-top: 60px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 100px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-brand h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #666;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #888;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }

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

    .about-image {
        height: 400px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-stats-bar {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }

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

/* PARTNER TEXT LOGOS */
.partner-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -1px;
    margin: 0 50px;
    cursor: default;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.partner-logo span {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.partners-track:hover .partner-logo {
    opacity: 0.3;
    /* Dim others */
    filter: blur(2px);
}

.partners-track:hover .partner-logo:hover {
    opacity: 1;
    filter: blur(0);
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.partners-track:hover .partner-logo:hover span {
    color: var(--accent);
}

/* FOOTER ICONS UPDATE */
.footer-bottom a i {
    color: #888;
    transition: 0.3s;
}

.footer-bottom a:hover i {
    color: var(--accent);
    transform: translateY(-3px);
}

/* FOOTER - FUTURISTIC REDESIGN (FINAL V2) */
footer {
    background: #020302;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glow Effect Top */
footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(45, 80, 22, 0.3) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.footer-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.footer-header h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.9;
    color: white;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-newsletter {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 50px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    transition: 0.3s;
}

.newsletter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(212, 225, 87, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--accent);
    color: var(--dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
}

.newsletter-btn:hover {
    transform: scale(1.1) rotate(-45deg);
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
}

.footer-brand-col p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-top: 20px;
}

.footer-nav strong {
    display: block;
    color: white;
    margin-bottom: 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.social-links a {
    color: white;
    margin-left: 20px;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: 0.3s;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-3px);
}

/* JOIN MISSION - MEMBERSHIP CARDS */
.join-section {
    background: #050a06;
    padding: 60px 0 140px 0;
    position: relative;
    z-index: 10;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.join-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

/* Hover Glow Effect */
.join-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(212, 225, 87, 0.1), transparent 70%);
    opacity: 0;
    transition: 0.4s;
}

.join-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.join-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 30px;
    background: rgba(212, 225, 87, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.join-card:hover .card-icon {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 30px var(--accent);
}

.card-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.card-perks {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-perks li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.card-perks li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.join-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.join-card:hover .join-btn {
    background: white;
    color: var(--dark);
    border-color: white;
}

/* --- NEW FEATURES --- */

/* 1. LIVE STATS TICKER */
.stats-ticker {
    background: rgba(5, 10, 6, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 20;
    margin-top: 0;
    /* Adjusted for visibility */
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-top: 10px;
    display: block;
    font-weight: 600;
}

/* 2. MANIFESTO SLIDER */
.manifesto-section {
    padding: 140px 0;
    background: #050a06;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 500px;
    position: relative;
}

.manifesto-container {
    width: 100%;
    max-width: 1000px;
    height: 300px;
    /* Área del texto */
    position: relative;
    /* Eliminar margin auto si usamos flex en padre */
}

.manifesto-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    /* Start slightly lower */
    width: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    text-align: center;
    filter: blur(10px);
}

.manifesto-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%);
    /* Center */
    filter: blur(0);
}

.manifesto-text {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

.highlight {
    color: var(--accent);
    font-weight: 700;
}

.reveal-text.visible {
    color: white;
    transform: translateY(0);
}

.reveal-text .highlight {
    color: var(--accent);
    font-weight: 700;
    display: inline-block;
    position: relative;
}

/* 3. HOLOGRAPHIC MAP */
.map-section {
    padding: 100px 0;
    background: #020302;
    position: relative;
    overflow: hidden;
}

.map-header {
    text-align: center;
    margin-bottom: 60px;
}

.holo-map-container {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    background:
        radial-gradient(circle at 50% 50%, rgba(212, 225, 87, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

/* Decorative Map Lines */
.map-line {
    position: absolute;
    background: rgba(212, 225, 87, 0.2);
}

.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    animation: pulsePoint 2s infinite;
    cursor: pointer;
}

.map-point::after {
    content: attr(data-label);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 20, 10, 0.9);
    color: var(--accent);
    padding: 5px 10px;
    font-size: 10px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.map-point:hover::after {
    opacity: 1;
    bottom: 25px;
}

@keyframes pulsePoint {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 225, 87, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(212, 225, 87, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 225, 87, 0);
    }
}

/* EMERGENCY VISIBILITY FIXES */
.stats-ticker {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 120px;
    z-index: 100 !important;
}

.manifesto-section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 10;
}

/* TECH MAP STYLES */
.tech-map-frame {
    border: 0;
    /* Default: Dark Green Matrix Style */
    filter: invert(90%) hue-rotate(100deg) brightness(0.9) contrast(1.2) sepia(20%) saturate(300%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tech-map-frame:hover {
    /* Hover: Restore Colors */
    filter: invert(0%) hue-rotate(0deg) brightness(1) contrast(1);
}

/* TECH SPECS SECTION */
.tech-specs-section {
    padding: 100px 0;
    background: #0a120c;
    position: relative;
    overflow: hidden;
}

/* Background Grid Effect */
.tech-specs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 80, 22, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 80, 22, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -10px rgba(212, 225, 87, 0.15);
}

.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(212, 225, 87, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 1.5rem;
    border: 1px solid rgba(212, 225, 87, 0.2);
}

.tech-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tech-stat {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Corner Accents */
.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    opacity: 0;
    transition: 0.3s;
}

.tech-card:hover::after {
    opacity: 1;
}

/* --- Bio Catalog Redesign --- */
.bio-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.bio-category-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bio-category-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bio-category-card.highlight {
    border-top: 4px solid var(--accent);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(212, 225, 87, 0.2);
}

.category-header h4 {
    font-size: 1.5rem;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.species-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.species-item {
    position: relative;
    padding-left: 0;
    transition: 0.3s;
}

.species-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.species-name {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.species-tag {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(212, 225, 87, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
}

.species-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.5;
}

.species-item:hover .species-name {
    color: var(--accent);
}

/* --- Floating Donate Button (Global) --- */
.floating-donate {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    background: var(--accent);
    color: var(--dark);
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(212, 225, 87, 0.4);
    animation: floatHeart 3s ease-in-out infinite;
    text-decoration: none;
    border: 2px solid white;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-donate:hover {
    transform: scale(1.1) translateY(-5px);
    background: white;
    box-shadow: 0 15px 40px rgba(212, 225, 87, 0.6);
}

@keyframes floatHeart {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 20px 35px rgba(212, 225, 87, 0.6);
    }
}

@media (max-width: 768px) {
    .bio-catalog-grid {
        grid-template-columns: 1fr;
    }

    .floating-donate {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    /* --- MOBILE HERO REDESIGN --- */
    .hero {
        padding: 140px 0 80px;
        background: radial-gradient(circle at center, #0a120c 0%, #050a06 100%);
    }

    .hero-text-content {
        background: rgba(10, 18, 12, 0.6);
        backdrop-filter: blur(15px);
        padding: 40px 25px;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .hero-label {
        background: rgba(212, 225, 87, 0.15);
        color: var(--accent);
        padding: 6px 15px !important;
        border-radius: 50px;
        border: 1px solid var(--accent) !important;
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 20px;
        line-height: 1;
        text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .hero-title .h-outline {
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
        font-size: 0.8em;
    }

    .hero-desc {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 35px;
        font-weight: 300;
        color: white;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn {
        border-radius: 16px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .btn-glow {
        background: var(--accent);
        color: var(--dark);
        border: none;
        font-weight: 800;
    }

    .btn-outline {
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Small decorative elements */
    .hero::before {
        content: '';
        position: absolute;
        top: 20%;
        left: 10%;
        width: 150px;
        height: 150px;
        background: var(--accent);
        filter: blur(100px);
        opacity: 0.1;
        pointer-events: none;
    }

    /* 1. Navbar Logo Fix */
    .brand-logo {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .brand-logo span {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.1;
    }

    .brand-logo span span {
        margin-left: 0 !important;
        font-size: 0.65em !important;
        opacity: 0.8;
    }

    /* 2. Footer Optimizations */
    .footer-header h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-links a {
        margin: 0 10px;
    }

    /* 3. Global Section Adjustments */
    section {
        padding: 80px 0;
    }

    /* The original hero-title was here, but it's now overridden by the new hero-title in the redesign block */

    /* 4. No-Hover Device Optimizations (Touch) */
    @media (hover: none) {

        .tech-card,
        .bio-category-card,
        .join-card,
        .program-card {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(212, 225, 87, 0.3);
            transform: none !important;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
        }

        .tech-card::after,
        .join-card::before {
            opacity: 0.5;
        }

        .program-bg {
            opacity: 0.8 !important;
            filter: grayscale(0%) !important;
            transform: scale(1) !important;
        }

        .program-overlay {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
        }

        .species-name {
            color: var(--accent);
        }

        .species-item p {
            color: rgba(255, 255, 255, 0.8);
        }

        .program-card p {
            color: white !important;
            opacity: 1 !important;
        }

        /* Make interactive elements feel tactile instead of hover-based */
        .btn:active,
        .nav-cta:active,
        .join-btn:active {
            transform: scale(0.95);
            background: var(--accent);
            color: var(--dark);
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-text-content {
        padding: 30px 20px;
    }

    .floating-donate {
        bottom: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .hero-bg {
        object-position: 70% center;
        /* Focus on more interesting part of trees for narrow screens */
    }

    .navbar {
        width: 95%;
        padding: 5px 15px;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .brand-logo {
        gap: 8px;
    }

    .brand-logo i {
        font-size: 1.1rem;
    }
}

/* ===================================
   DEVELOPMENT DISCLAIMER POPUP
   =================================== */
.dev-disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 18, 12, 0.85); /* Matches --dark with lower opacity */
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.dev-disclaimer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dev-disclaimer-card {
    background: rgba(20, 30, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px 40px;
    border-radius: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.dev-disclaimer-overlay.active .dev-disclaimer-card {
    transform: translateY(0) scale(1);
}

.dev-disclaimer-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 30px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.dev-disclaimer-card h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dev-disclaimer-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.dev-btn {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
}

.dev-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 225, 87, 0.4);
}

@media (max-width: 600px) {
    .dev-disclaimer-card {
        padding: 40px 20px;
    }
    .dev-disclaimer-card h2 {
        font-size: 1.8rem;
    }
}