:root {
    --bg-color: #0d0f12;
    --text-primary: #f0f4f8;
    --text-secondary: #a0aec0;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

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

body {
    font-family: 'Inter', 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    z-index: 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-family: 'Sankofa Display', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    background: linear-gradient(45deg, #facc15, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

li::before {
    content: "•";
    color: var(--accent-secondary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Sankofa Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(to right, #fff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: none; /* Hide on mobile if space is tight */
}

@media (min-width: 768px) {
    .tagline {
        display: block;
    }
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #facc15;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #facc15;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 5rem;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero .logo-mark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.wordmark {
    font-family: 'Sankofa Display', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    background: linear-gradient(45deg, #facc15, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 300;
}

/* Glass Cards (General) */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Section Cards */
.section-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .section-card {
        padding: 2.5rem 1.5rem;
    }
}


/* Problems & Solutions */
.ps-item {
    margin-bottom: 4rem;
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--glass-border);
}

.ps-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.problem {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.problem h3 {
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-right: 2rem;
    user-select: none;
}

.problem h3::before {
    content: "✕";
    font-size: 1.2rem;
}

.solution {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.solution h3 {
    color: #34d399;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-right: 2rem;
    user-select: none;
}

.solution h3::before {
    content: "✓";
    font-size: 1.2rem;
}

/* Accordion Specifics */
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.accordion-header.active::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.accordion-content.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Governance */
.governance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .governance-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tokenomics */
.allocation-diagram {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.pie-chart-wrapper {
    margin: 2rem 0;
}

.pie-chart {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: conic-gradient(
        #3b82f6 0% 35%, 
        #f59e0b 35% 70%, 
        #10b981 70% 100%
    );
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.pie-chart:hover {
    transform: scale(1.05);
}

.pie-chart::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--bg-color);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
    .allocation-diagram {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto;
        gap: 2rem 3rem;
        align-items: center;
    }

    .pie-chart-wrapper {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
    }

    .label-treasury {
        grid-column: 1;
        grid-row: 1;
        text-align: right;
    }

    .label-early {
        grid-column: 3;
        grid-row: 1;
        text-align: left;
    }

    .label-presale {
        grid-column: 1 / span 3;
        grid-row: 2;
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }
}

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

.allocation-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Roadmap */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--glass-border);
}

@media (min-width: 768px) {
    .roadmap-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.roadmap-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

@media (min-width: 768px) {
    .roadmap-item {
        width: 50%;
    }

    .roadmap-item:nth-child(odd) {
        padding-right: 3rem;
        left: 0;
        text-align: right;
    }

    .roadmap-item:nth-child(even) {
        padding-left: 3rem;
        left: 50%;
    }
}

.roadmap-marker {
    position: absolute;
    top: 0;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-secondary);
    z-index: 1;
}

@media (min-width: 768px) {
    .roadmap-marker {
        left: auto;
        right: -7px;
    }

    .roadmap-item:nth-child(even) .roadmap-marker {
        left: -7px;
        right: auto;
    }
}

.roadmap-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-left: 3rem;
}

.roadmap-content li {
    padding-left: 0;
}

.roadmap-content li::before {
    content: none;
}

@media (min-width: 768px) {
    .roadmap-content {
        margin-left: 0;
    }
}

/* Notification Area */
.notification {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

/* Call to Action */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}