/* ========================================
   VARIABLES Y RESET
   ======================================== */
:root {
    --primary-dark: #0a2540;
    --primary-accent: #0055ff;
    --primary-light: #eef2ff;
    --secondary-accent: #14b8a6;
    --gray-bg: #f9fafb;
    --gray-border: #e5e7eb;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --text-light: #6b7280;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --gradient-primary: linear-gradient(135deg, #0a2540 0%, #0055ff 100%);
    --gradient-hover: linear-gradient(135deg, #0055ff 0%, #0a2540 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* ========================================
   TIPOGRAFÍA CENTRADA Y COHERENTE
   ======================================== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: left;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   CONTENEDOR GENERAL
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-border);
}

.bg-light {
    background-color: var(--gray-bg);
}

.section-subhead {
    text-align: center;
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* ========================================
   BOTONES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 85, 255, 0.3);
    background: var(--gradient-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-border);
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.logo-dot {
    color: var(--primary-accent);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    background: linear-gradient(120deg, #ffffff 0%, var(--primary-light) 100%);
    padding: 80px 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    flex: 0.8;
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-accent);
}

.stat-number.small {
    font-size: 1.5rem;
    margin-top: 16px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   CARDS Y GRIDS
   ======================================== */
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* ========================================
   CONTRATO Y COPIAR
   ======================================== */
.contract-address {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.address-label {
    font-weight: 600;
    color: var(--text-muted);
}

.address-value {
    font-family: monospace;
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.copy-btn, .copy-btn-footer, .copy-btn-small {
    background: var(--primary-accent);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.copy-btn:hover, .copy-btn-footer:hover, .copy-btn-small:hover {
    background: var(--primary-dark);
}

/* ========================================
   SITE MUSIC SHOWCASE
   ======================================== */
.site-music-showcase {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
    border-radius: 32px;
    padding: 48px;
    color: white;
    margin-top: 32px;
    text-align: center;
}

.site-music-showcase p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.music-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .music-features {
        grid-template-columns: 1fr;
    }
}

.music-feature {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.music-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.music-feature p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ========================================
   WALLET SECTION
   ======================================== */
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .wallet-grid {
        grid-template-columns: 1fr;
    }
}

.wallet-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-border);
}

.wallet-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.wallet-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.store-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.store-btn {
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.store-btn:hover {
    background: var(--primary-accent);
}

.token-contract {
    font-family: monospace;
    background: var(--gray-bg);
    padding: 8px;
    border-radius: 8px;
    display: block;
    margin: 12px auto;
    font-size: 0.75rem;
    word-break: break-all;
    max-width: 90%;
}

.platform-link {
    color: var(--primary-accent);
    text-decoration: none;
    word-break: break-all;
    font-weight: 500;
}

.energy-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ========================================
   SUNSWAP SECTION
   ======================================== */
.sunswap-showcase {
    background: var(--gray-bg);
    border-radius: 32px;
    padding: 48px;
    margin-top: 32px;
    text-align: center;
}

.sunswap-showcase p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sunswap-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .sunswap-advantages {
        grid-template-columns: 1fr;
    }
}

.advantage {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.advantage strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.text-center {
    text-align: center;
}

/* ========================================
   STAKING GRID
   ======================================== */
.staking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .staking-grid {
        grid-template-columns: 1fr;
    }
}

.staking-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.staking-card.highlight {
    border: 2px solid var(--primary-accent);
    transform: scale(1.02);
}

.staking-type {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.staking-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.staking-percentage {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-accent);
    margin: 20px 0;
}

.staking-period {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ========================================
   FEATURES THREE COLUMN
   ======================================== */
.features-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .features-three-col {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.feature-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   TOKENOMICS TABLE
   ======================================== */
.tokenomics-table {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--gray-border);
    margin: 40px auto;
    max-width: 800px;
}

.token-row {
    display: flex;
    border-bottom: 1px solid var(--gray-border);
}

.token-row:last-child {
    border-bottom: none;
}

.token-label {
    width: 200px;
    padding: 16px 24px;
    background: var(--gray-bg);
    font-weight: 600;
    color: var(--text-dark);
}

.token-value {
    flex: 1;
    padding: 16px 24px;
    color: var(--text-muted);
}

.token-value.contract {
    font-family: monospace;
    color: var(--primary-accent);
}

@media (max-width: 768px) {
    .token-row {
        flex-direction: column;
    }
    .token-label {
        width: 100%;
        padding: 12px 20px;
    }
    .token-value {
        padding: 12px 20px;
    }
}

/* ========================================
   ROADMAP TIMELINE
   ======================================== */
.roadmap-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-accent);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary-accent);
}

.timeline-year {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.timeline-item ul {
    list-style: none;
    padding-left: 0;
}

.timeline-item li {
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.timeline-item li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
}

@media (max-width: 768px) {
    .roadmap-timeline {
        padding-left: 20px;
    }
    .timeline-item {
        padding-left: 25px;
    }
    .timeline-item::before {
        left: -23px;
    }
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-container {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--gray-border);
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    color: var(--text-dark);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-accent);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--text-muted);
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-answer ol, .faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 6px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--primary-accent);
}

.footer-description {
    max-width: 400px;
    margin: 0 auto 24px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contract {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 500px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-contract code {
    font-family: monospace;
}

.footer-copyright {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ========================================
   RESPONSIVE GENERAL
   ======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 56px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--gray-border);
        gap: 16px;
        text-align: center;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .site-music-showcase {
        padding: 32px 24px;
    }
    
    .staking-card.highlight {
        transform: none;
    }
    
    .footer-contract {
        flex-direction: column;
        gap: 8px;
    }
}