:root {
    --navy: #0d1b2e;
    --blue: #1a4faa;
    --sky: #3b82f6;
    --gold: #f0a500;
    --red: #c0392b;
    --white: #f8f6f0;
    --cream: #ede9df;
    --gray: #8a8a8a;
    --dark: #060e1a;
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--dark);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
}

/* Accessibility: Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 16px;
    z-index: 2000;
    font-weight: bold;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* Focus outline for accessibility */
*:focus-visible {
    outline: 2px dashed var(--gold);
    outline-offset: 4px;
}

/* Navigation */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 5%;
    background: rgba(6, 14, 26, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: var(--white);
    text-decoration: none;
    z-index: 1001;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    color: rgba(248, 246, 240, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
    background: var(--gold);
    color: var(--dark) !important;
    padding: 0.7rem 1.6rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.3);
    font-weight: 700;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}
.menu-toggle span { width: 25px; height: 2px; background: var(--white); transition: var(--transition); display: block; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    padding: 140px 5% 80px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(26, 79, 170, 0.2), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(240, 165, 0, 0.1), transparent 50%),
        linear-gradient(135deg, #060e1a 0%, #0d1b2e 100%);
    z-index: -1;
}
.hero-stars { position: absolute; inset: 0; pointer-events: none; }
.star {
    position: absolute; background: white; border-radius: 50%;
    animation: twinkle var(--d) ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 1;
}
.hero-label {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.5rem; display: block;
}
.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    line-height: 0.85;
    margin-bottom: 2rem;
}
.hero-title .accent { color: var(--gold); }
.hero-title .outline { -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4); color: transparent; }
.hero-sub {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem; max-width: 550px;
}

/* Hero Stats */
.hero-stats {
    display: flex; 
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem; 
    margin-top: 6rem;
    width: 100%;
    max-width: 1400px;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.hero-stat { flex: 1; min-width: 200px; text-align: left; }
.hero-stat .num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem); 
    color: var(--gold); 
    line-height: 1;
}
.hero-stat .label {
    font-size: 0.85rem; color: var(--gray); text-transform: uppercase; 
    letter-spacing: 0.15em; margin-top: 0.5rem; line-height: 1.4;
}

/* Buttons */
.btn-group { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.btn {
    padding: 1.1rem 2.5rem;
    font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    text-decoration: none; border-radius: 4px;
    transition: var(--transition); display: inline-block;
    text-align: center; min-width: 180px;
}
.btn-primary { background: var(--gold); color: var(--dark); border: none; cursor: pointer; }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white); cursor: pointer; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }

/* Video Container */
.video-wrapper {
    position: relative; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    aspect-ratio: 16 / 9; 
    width: 100%;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Ticker */
.ticker { background: var(--gold); padding: 0.8rem 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: scroll 40s linear infinite; }
.ticker-track span { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--dark); margin: 0 3rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections General */
section { padding: 8rem 5%; position: relative; }
.section-header { margin-bottom: 4.5rem; max-width: 800px; }
.section-label {
    color: var(--gold); font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; font-size: 0.75rem; margin-bottom: 1rem; display: block;
}
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 0.95; margin-bottom: 1.5rem; }
.section-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.6); max-width: 650px; line-height: 1.7; }

/* Why We Exist */
.mission-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: flex-start; margin-top: 4rem; }
.mission-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35;
    color: var(--white); border-left: 4px solid var(--gold); padding-left: 2.5rem;
}
.mission-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 2.5rem; transition: var(--transition);
    will-change: transform, border-color;
}
.stat-card:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(255,255,255,0.06); }
.stat-card .big { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: var(--gold); line-height: 1; display: inline-block; }
.stat-card p { font-size: 0.9rem; color: var(--gray); margin-top: 0.8rem; }

/* Features Section */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.feature-card {
    padding: 2.5rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; transition: var(--transition); display: flex; flex-direction: column; height: 100%;
    will-change: transform, border-color;
}
.feature-card:hover { background: rgba(26, 79, 170, 0.08); border-color: var(--gold); transform: translateY(-5px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.feature-card h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 1rem; font-weight: 700; }
.feature-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); line-height: 1.6; flex-grow: 1; margin-bottom: 1.5rem; }
.feature-tag-container { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.feature-tag {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sky); border: 1px solid rgba(59, 130, 246, 0.3); padding: 0.35rem 0.8rem; border-radius: 4px;
}
.feature-tag.state { color: var(--gold); border-color: rgba(240, 165, 0, 0.3); }
.feature-tag.new { color: #4ade80; border-color: rgba(74,222,128,0.3); }

/* Interactive Roadmap */
.roadmap-container { position: relative; margin-top: 6rem; padding: 2rem 0; }
.roadmap-line { position: absolute; top: 45px; left: 5%; right: 5%; height: 2px; background: rgba(255,255,255,0.05); z-index: 0; }
.roadmap-progress { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--sky)); width: 25%; transition: width 1s ease; }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.roadmap-step { cursor: pointer; transition: var(--transition); }
.step-marker {
    width: 90px; height: 90px; background: var(--navy); border: 2px solid rgba(255,255,255,0.1); border-radius: 50%;
    margin: 0 auto 2.5rem; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; color: var(--white); transition: var(--transition);
}
.roadmap-step.active .step-marker { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 25px rgba(240, 165, 0, 0.4); }
.step-info { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 2rem; opacity: 0.7; transition: var(--transition); }
.roadmap-step:hover .step-info, .roadmap-step.active .step-info { opacity: 1; background: rgba(255,255,255,0.05); border-color: rgba(240,165,0,0.3); }
.step-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--white); }
.step-date { color: var(--gold); font-weight: 700; font-size: 0.8rem; margin-bottom: 1.2rem; display: block; }
.step-tasks { list-style: none; text-align: left; }
.step-tasks li { font-size: 0.8rem; color: rgba(255,255,255,0.5); padding-left: 1.2rem; position: relative; margin-bottom: 0.4rem; }
.step-tasks li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }

/* Dual Entity Showroom */
.structure-container { display: grid; grid-template-columns: 1fr 1.8fr; gap: 5rem; align-items: center; margin-top: 4rem; }
.entity-panel {
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 3rem; margin-bottom: 2rem;
    position: relative; overflow: hidden; transition: var(--transition);
    will-change: transform;
}
.entity-panel:hover { border-color: rgba(255,255,255,0.2); transform: scale(1.01); background: rgba(255,255,255,0.03); }
.entity-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--gold); }
.entity-panel.c4::before { background: var(--sky); }
.panel-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 700; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; }
.c4 .panel-badge { color: var(--sky); }
.panel-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.panel-list li { font-size: 0.85rem; color: rgba(255,255,255,0.6); padding: 1rem; background: rgba(0,0,0,0.2); border-radius: 8px; display: flex; align-items: center; gap: 0.8rem; }
.panel-list li::before { content: "✓"; color: var(--gold); font-weight: bold; }
.c4 .panel-list li::before { color: var(--sky); }

/* Go-Live Targets */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 4rem; }
.kpi-card { 
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 3.5rem 2rem; 
    text-align: center; transition: var(--transition);
    will-change: transform, border-color;
}
.kpi-card:hover { border-color: var(--gold); transform: translateY(-8px); background: rgba(255, 255, 255, 0.04); }
.kpi-num { font-family: 'Bebas Neue', sans-serif; font-size: 4.5rem; color: var(--gold); line-height: 0.9; margin-bottom: 0.8rem; }
.kpi-unit { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; color: var(--sky); text-transform: uppercase; margin-bottom: 1.5rem; }
.kpi-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); line-height: 1.6; max-width: 240px; margin: 0 auto; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--blue) 0%, #0d1b2e 60%); text-align: center; padding: 10rem 5%; position: relative; overflow: hidden; }
.cta-section::before { content: 'VOTE'; position: absolute; font-family: 'Bebas Neue', sans-serif; font-size: 45vw; color: rgba(255,255,255,0.03); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }

/* Footer */
footer {
    background: #02060c;
    padding: 8rem 5% 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-brand .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}
.footer-brand .logo span.gold { color: var(--gold); }
.footer-brand .logo span.white { color: var(--white); }

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-pills { display: flex; gap: 0.8rem; }
.footer-pill {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08); padding: 0.4rem 0.8rem; border-radius: 4px;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--white); margin-bottom: 2.5rem; letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1.2rem; }
.footer-col a {
    color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 0.95rem; transition: var(--transition); display: inline-block;
}
.footer-col a:hover { color: var(--gold); transform: translateX(5px); }

.footer-bottom {
    margin-top: 8rem; padding-top: 3rem; border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center; color: rgba(255, 255, 255, 0.2); font-size: 0.8rem; letter-spacing: 0.05em;
}

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive Fixes */
@media (max-width: 1100px) {
    .hero-content, .structure-container, .mission-grid, .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-stats { justify-content: center; }
    .mission-quote { border-left: none; border-bottom: 4px solid var(--gold); padding: 0 0 2rem 0; margin-bottom: 3rem; }
    .panel-list { grid-template-columns: 1fr; }
    .roadmap-grid { grid-template-columns: 1fr; gap: 4rem; }
    .roadmap-line { display: none; }
    .footer-brand p { margin: 0 auto 2.5rem; }
    .footer-pills { justify-content: center; }
    .footer-grid { gap: 4rem; }
}

@media (max-width: 768px) {
    nav { padding: 1rem 5%; }
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(6, 14, 26, 0.98); padding: 2rem 5%;
        flex-direction: column; align-items: flex-start;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links a { font-size: 1.1rem; padding: 0.5rem 0; width: 100%; display: block; }
    .menu-toggle { display: flex; }
    section { padding: 5rem 5%; }
    .hero-stats { gap: 2rem; }
}

/* =========================================
   INTERNAL PAGES & FORMS
   ========================================= */
.hero-internal {
    min-height: 50vh;
    padding: 180px 5% 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.content-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Contact Form UI */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--sky);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

textarea.form-input {
    min-height: 180px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-form { padding: 2rem 1.5rem; }
}
