/* assets/css/style.css */
:root {
    --bg-color: #050505;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #3b82f6; /* Modern Blue, NO Gold */
    --accent-hover: #2563eb;
    --glass-bg: rgba(25, 30, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.p-0 { padding: 0 !important; }
.max-w-800 { max-width: 800px; }
.max-w-600 { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--text-secondary); }
.text-sm { font-size: 0.875rem; }

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.glass-panel-top {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
}

.glass-input {
    width: 100%;
    padding: 16px;
    background: rgba(10, 15, 25, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    margin-top: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.glass-input:focus {
    border-color: var(--accent);
    background: rgba(15, 20, 30, 0.8);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}
p {
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background-color: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo a {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}
.nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav-list a:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-switcher {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 6px 12px;
    outline: none;
    cursor: pointer;
}
.lang-switcher option { background: var(--bg-color); }

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}
.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 991px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: left 0.3s ease;
        padding: 40px 24px;
        overflow-y: auto;
    }
    .nav.active { left: 0; }
    .nav-list {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    .nav-list a { font-size: 1.25rem; }
    .hidden-mobile { display: none; }
    .burger-menu { display: flex; }
    .burger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Sections */
.section { padding: 100px 0; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 40, 60, 0.4) 0%, rgba(5,5,5,1) 100%);
    z-index: -1;
}
/* Abstract world map placeholder */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 150vw; height: 150vw;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 60%);
    z-index: -1;
}
.hero-content {
    max-width: 800px;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 2px;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    font-weight: 400;
}
.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Campaigns */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.campaign-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.campaign-img {
    height: 250px;
    position: relative;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
}
/* Placeholder background for Colombia campaign */
.bg-colombia {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="%232563eb"><rect width="100" height="100" fill="%231e293b"/></svg>');
}
.campaign-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    backdrop-filter: blur(4px);
}
.campaign-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.campaign-location {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.campaign-content a.btn { margin-top: auto; }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.step-card {
    padding: 32px 24px;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 24px auto;
}

/* Transparency */
.transparency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.trans-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.trans-percent {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}
@media (max-width: 600px) {
    .transparency-grid { grid-template-columns: 1fr; }
}

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.form-msg {
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}
.msg-success { background: rgba(16, 185, 129, 0.1); border: 1px solid #10b981; color: #34d399; }
.msg-error { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #f87171; }

/* Footer */
.footer {
    padding: 80px 0 24px 0;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-links-col h4 {
    margin-bottom: 20px;
}
.footer-links-col ul {
    list-style: none;
}
.footer-links-col ul li {
    margin-bottom: 12px;
}
.footer-links-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links-col ul a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* PWA Modal */
.pwa-modal {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 400px;
    z-index: 2000;
    padding: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards ease-out;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}
