/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-main: #07090e;
    --bg-alt: #0c0f16;
    --bg-card: rgba(18, 22, 33, 0.65);
    --bg-card-hover: rgba(26, 32, 48, 0.8);
    
    --text-primary: #f3f6fb;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Rescue & Heterochromia Theme Colors */
    --primary-orange: #ff6f20;       /* Vibrant Rescue Orange */
    --primary-orange-hover: #e0560f;
    --primary-orange-rgb: 255, 111, 32;
    
    --accent-blue: #00d2ff;          /* Ice Blue Eye */
    --accent-blue-rgb: 0, 210, 255;
    
    --accent-brown: #cf8a4f;         /* Warm Amber/Brown Eye */
    --accent-brown-rgb: 207, 138, 79;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Glassmorphism & Shadows */
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(255, 111, 32, 0.2);
    --glass-blur: 16px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-center: center;
    text-align: center;
}

/* Section Header Styling */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-blue);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 40%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-desc {
    color: var(--text-secondary);
    margin-top: 15px;
    font-size: 1.1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), #ff8d4b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 111, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 32, 0.5);
    background: linear-gradient(135deg, #ff8d4b, var(--primary-orange));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER / NAVBAR (Glassmorphism)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(255, 111, 32, 0.2);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue));
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hamburger active animation */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .primary-navigation {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(7, 9, 14, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        transition: var(--transition-smooth);
        padding: 40px;
    }
    
    .primary-navigation.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .btn-nav {
        width: 100%;
        padding: 12px 24px;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Glowing Ambient Orbs */
.hero-bg-overlay::before, .hero-bg-overlay::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}

.hero-bg-overlay::before {
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-orange-rgb), 0.8), transparent);
}

.hero-bg-overlay::after {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.8), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

.hero-content {
    max-width: 680px;
}

.hero-content .badge {
    background: rgba(255, 111, 32, 0.1);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 111, 32, 0.2);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 111, 32, 0.2); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(255, 111, 32, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 111, 32, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 850;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, #a2b0c5 70%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

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

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

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .hero-socials {
        justify-content: center;
    }
}

.social-icon-link {
    color: var(--text-secondary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.social-icon-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

/* 3D-like Floating Logo Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-3d-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: var(--shadow-premium);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Glow behind the emblem */
.logo-3d-container::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-orange-rgb), 0.4), rgba(var(--accent-blue-rgb), 0.4));
    filter: blur(25px);
    animation: floatGlow 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatGlow {
    0% { transform: translateY(0px) scale(0.95); opacity: 0.8; }
    50% { transform: translateY(-12px) scale(1.05); opacity: 1; }
    100% { transform: translateY(0px) scale(0.95); opacity: 0.8; }
}

@media (max-width: 768px) {
    .logo-3d-container {
        width: 240px;
        height: 240px;
    }
}

/* ==========================================================================
   HISTORIA SECTION
   ========================================================================== */
.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.story-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

.story-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    transition: var(--transition-smooth);
}

.story-image-wrapper:hover .story-img {
    transform: scale(1.03);
}

.story-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.bicolor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.bicolor-dot.blue { background-color: var(--accent-blue); box-shadow: 0 0 6px var(--accent-blue); }
.bicolor-dot.brown { background-color: var(--accent-brown); box-shadow: 0 0 6px var(--accent-brown); }

.story-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.story-quote {
    position: relative;
    padding-left: 20px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-orange);
}

.story-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* ==========================================================================
   MISIÓN SECTION & CALCULATOR
   ========================================================================== */
.mision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition-smooth);
}

.mision-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-premium);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-blue));
    -webkit-background-clip: text;
    display: inline-block;
}

.mision-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.mision-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interactive Calculator Styling */
.impact-calculator {
    background: linear-gradient(135deg, rgba(18, 22, 33, 0.9), rgba(12, 15, 22, 0.9));
    border: 1px solid rgba(255, 111, 32, 0.15);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-premium);
}

.impact-calculator h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.impact-calculator p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

.calc-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.calc-inputs label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 24px;
}

.input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    width: 100px;
    text-align: center;
}

/* Remove spin buttons from input */
.input-wrapper input::-webkit-outer-spin-button,
.input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-unit {
    color: var(--primary-orange);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

@media (max-width: 768px) {
    .calc-results {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.result-item {
    text-align: center;
}

.result-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-orange);
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 8px;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================================
   TOKENOMICS SECTION
   ========================================================================= */
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

.tokenomics-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 24px;
    border-radius: 18px;
    backdrop-filter: blur(var(--glass-blur));
}

.stat-card.highlight {
    border-color: rgba(255, 111, 32, 0.3);
    background: linear-gradient(135deg, rgba(255, 111, 32, 0.05), rgba(0, 0, 0, 0));
    box-shadow: 0 4px 20px rgba(255, 111, 32, 0.05);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 850;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-card.highlight .stat-value {
    color: var(--primary-orange);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.tokenomics-chart-desc h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.tokenomics-chart-desc p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.distribution-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.distribution-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.dist-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
}

.dist-color.color-blue { background-color: var(--accent-blue); }
.dist-color.color-orange { background-color: var(--primary-orange); }

.transparency-callout {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    border-radius: 14px;
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.transparency-callout strong {
    color: var(--text-primary);
}

/* ==========================================================================
   CÓMO COMPRAR
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.step-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.step-card a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   ROADMAP (HOJA DE RUTA)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Vertical center line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* Left & Right layout */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Timeline dot */
.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--bg-main);
    border: 4px solid var(--primary-orange);
    border-radius: 50%;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 111, 32, 0.5);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

/* Completed Timeline Item */
.timeline-item.completed .timeline-dot {
    border-color: var(--accent-blue);
    background-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.timeline-item.completed .phase-tag {
    color: var(--accent-blue);
    background: rgba(45, 212, 191, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

/* Item box */
.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: scale(1.02);
}

.phase-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.timeline-content ul {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-item:nth-child(odd) ul {
    align-items: flex-end;
}

.timeline-item:nth-child(even) ul {
    align-items: flex-start;
}

.timeline-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 18px;
    padding-right: 18px;
}

/* Custom list bullet based on left/right side */
.timeline-item:nth-child(odd) li::after {
    content: '•';
    color: var(--primary-orange);
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
}

.timeline-item:nth-child(even) li::before {
    content: '•';
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

/* Responsive timeline (forces left style only) */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) ul {
        align-items: flex-start;
    }
    
    .timeline-item:nth-child(odd) li::after {
        display: none;
    }
    
    .timeline-item:nth-child(odd) li::before {
        content: '•';
        color: var(--primary-orange);
        position: absolute;
        left: 0;
        top: 0;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand .logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Wallet Copy Element */
.wallet-copy-container {
    margin-bottom: 20px;
}

.wallet-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.wallet-box {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    padding: 6px 12px;
    align-items: center;
    gap: 15px;
    max-width: 500px;
}

.wallet-address {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: all;
    flex-grow: 1;
}

.btn-copy {
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 111, 32, 0.1);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 111, 32, 0.2);
    min-width: 75px;
}

.btn-copy:hover {
    background: var(--primary-orange);
    color: #fff;
}

.email-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.email-info a {
    color: var(--text-primary);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 576px) {
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

.footer-social-links {
    display: flex;
    gap: 20px;
}

.footer-social-links a {
    color: var(--text-secondary);
}

.footer-social-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   LANGUAGE TOGGLE SWITCH (BILINGUAL SUPPORT)
   ========================================================================== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 8px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.lang-btn.active {
    color: #fff;
    background: var(--primary-orange);
    box-shadow: 0 2px 10px rgba(255, 111, 32, 0.3);
}

.lang-btn:not(.active):hover {
    color: var(--text-primary);
}

.lang-separator {
    color: var(--border-color);
    font-weight: 300;
    display: none; /* hidden for pill buttons */
}

/* Hide/Show text based on language choice */
[lang="en"] {
    display: none !important;
}

[lang="es"] {
    display: inline-block;
}

/* When English is active */
body.lang-en [lang="es"] {
    display: none !important;
}

body.lang-en [lang="en"] {
    display: inline-block;
}

/* Block elements display override */
body.lang-en p[lang="en"],
body.lang-en div[lang="en"],
body.lang-en h1[lang="en"],
body.lang-en h2[lang="en"],
body.lang-en h3[lang="en"],
body.lang-en ul[lang="en"],
body.lang-en blockquote[lang="en"] {
    display: block !important;
}

body.lang-en span[lang="en"] {
    display: inline-block !important;
}

p[lang="en"],
div[lang="en"],
h1[lang="en"],
h2[lang="en"],
h3[lang="en"],
ul[lang="en"],
blockquote[lang="en"] {
    display: none !important;
}

body:not(.lang-en) p[lang="es"],
body:not(.lang-en) div[lang="es"],
body:not(.lang-en) h1[lang="es"],
body:not(.lang-en) h2[lang="es"],
body:not(.lang-en) h3[lang="es"],
body:not(.lang-en) ul[lang="es"],
body:not(.lang-en) blockquote[lang="es"] {
    display: block !important;
}

body:not(.lang-en) span[lang="es"] {
    display: inline-block !important;
}

@media (max-width: 992px) {
    .lang-switch {
        margin-right: 0;
        margin-bottom: 15px;
        order: -1; /* place above nav links in mobile menu */
    }
}

