/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary: #06b6d4;
    --accent: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --dark: #0c1222;
    --dark-light: #151d2e;
    --gray-900: #0f172a;
    --gray-800: #1a2332;
    --gray-700: #2d3a4a;
    --gray-600: #4a5568;
    --gray-500: #718096;
    --gray-400: #a0aec0;
    --gray-300: #cbd5e0;
    --gray-200: #e2e8f0;
    --gray-100: #edf2f7;
    --gray-50: #f7fafc;
    --white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
    --radius: 0.5rem;
    --radius-lg: 0.625rem;
    --radius-xl: 0.75rem;
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===========================
   Buttons
   =========================== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

#frequencyCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 70%, rgba(13, 148, 136, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(13, 148, 136, 0.2);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(13, 148, 136, 0.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===========================
   Sections
   =========================== */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
}

/* ===========================
   Mission Section
   =========================== */
.mission-section {
    background: var(--gray-50);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.mission-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.objectives h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.objectives-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 750px;
    margin: 0 auto;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.15rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.objective-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.objective-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.objective-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.objective-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===========================
   Pillars Section
   =========================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.pillar-number {
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.5;
}

.pillar-title-group h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.pillar-lead {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.pillar-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.pillar-list {
    margin-bottom: 1rem;
}

.pillar-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}

.pillar-initiatives {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.initiative-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===========================
   Metrics Section
   =========================== */
.metrics-section {
    background: var(--gray-50);
}

.metrics-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
}

.metrics-table th,
.metrics-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.metrics-table th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metrics-table th:first-child {
    border-radius: var(--radius-xl) 0 0 0;
}

.metrics-table th:last-child {
    border-radius: 0 var(--radius-xl) 0 0;
}

.metrics-table tr:last-child td {
    border-bottom: none;
}

.metrics-table tr:hover {
    background: var(--gray-50);
}

.metric-name {
    font-weight: 600;
    color: var(--dark);
}

.metric-target {
    font-weight: 500;
    color: var(--gray-700);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    transition: width 1s ease;
}

/* ===========================
   Roadmap Section
   =========================== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.roadmap-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.roadmap-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.roadmap-icon {
    width: 56px;
    height: 56px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.roadmap-icon svg {
    width: 28px;
    height: 28px;
}

.roadmap-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.roadmap-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.roadmap-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-planned {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
}

.status-future {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* ===========================
   Financial Section
   =========================== */
.financial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.financial-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.financial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.financial-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.financial-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.financial-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

.financial-card.highlight ul li {
    color: rgba(255, 255, 255, 0.9);
}

.financial-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.financial-card.highlight ul li::before {
    background: var(--white);
}

.funding-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.financial-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===========================
   Governance Section
   =========================== */
.governance-section {
    background: var(--gray-50);
}

.governance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.governance-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.governance-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.governance-icon {
    width: 56px;
    height: 56px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.governance-icon svg {
    width: 28px;
    height: 28px;
}

.governance-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.governance-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===========================
   Next Steps Section
   =========================== */
.nextsteps-list {
    max-width: 700px;
    margin: 0 auto;
}

.nextstep-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nextstep-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.nextstep-item p {
    font-size: 1.05rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contact-actions .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.contact-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand .logo-icon {
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray-300);
    font-weight: 500;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-note {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .governance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .financial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .governance-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .pillar-header {
        flex-direction: column;
        text-align: center;
    }

    .pillar-content {
        padding: 1.25rem;
    }
}
