/* Mobile Menu Additions - Add this to your style.css */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #003366; /* Matches --bg-secondary */
    border-top: 1px solid #004080; /* Matches --border */
    flex-direction: column;
    padding: 1rem 5%;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 1rem 0;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
    font-size: 1.1rem;
}

.mobile-menu a:hover {
    color: #FFD700; /* Matches --accent */
    border-bottom-color: #FFD700;
}

.mobile-menu .cta-button {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #FFD700;
    color: #001f3f;
}

/* Responsive - Hide desktop nav on mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .donations-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 5% !important;
    }
}

/* Freedom-inspired colors */
:root {
    --bg-primary: #001f3f;
    --bg-secondary: #003366;
    --accent: #FFD700;
    --text-primary: #ffffff;
    --text-secondary: #b8d9e8;
    --border: #004080;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header */
header {
    background-color: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 40%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.cta-button {
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ffed4e;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10% 5% 5%;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
    margin-bottom: 0;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-button.primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    white-space: nowrap;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.cta-button.secondary:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

/* Hero Image con botón superpuesto */
.hero-image {
    position: relative;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
    border-radius: 20px;
}

.overlay-button {
    position: absolute;
    top: -60px; /* Ajusta este valor para moverlo más arriba o abajo */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Responsive - Móvil */
@media (max-width: 768px) {
       .overlay-button {
        position: absolute;
        top: -50px; /* Ajusta este valor para moverlo más arriba o abajo */
        left: 16%;
        transform: translateY(1100%);
        z-index: 2;
        }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20% 5% 10%;
        min-height: auto;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 14px;
        max-height: 21px;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 6%;
    }

    .hero-image img {
        max-width: 80vw;
        height: auto;
    }

    .overlay-button {
        top: -45px; /* Un poco más cerca en móvil */
    }
}

/* Resto del CSS (sin cambios) */
.section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

/* Vision/Mission Section */
.vision-mission {
    background-color: var(--bg-secondary);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vm-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.vm-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Tokenomics Section */
.tokenomics {
    background-color: var(--bg-secondary);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tokenomics-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
}

.tokenomics-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Use Cases Section */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.use-case-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Roadmap Section */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border: 4px solid var(--bg-primary);
    top: 30px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -15px;
}

.timeline-item:nth-child(odd)::after {
    right: -15px;
}

.timeline-content {
    padding: 1.5rem 2rem;
    background-color: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.timeline-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }

    .timeline-item::after {
        left: 5px !important;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0 !important;
    }
}

/* Security Section */
.security {
    background-color: var(--bg-secondary);
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent);
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
    line-height: 1.4;
}

/* Responsive general */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.0rem;
    }

    h1 {
        font-size: 2.0rem;
    }

    .hero {
        margin-top: 20%;
    }

    .section.tokenomics h2 {
        font-size: 1.3rem;
        margin-top: 1%;
    }

    .use-cases,
    .tokenomics-grid,
    .vision-mission-grid,
    .donations-grid {
        grid-template-columns: 1fr;
    }
}