/* CSS Variables */
:root {
    --bg-primary: #0a0c16;
    --bg-secondary: #0d0f1c;
    --bg-tertiary: #111322;
    --text-primary: #ffffff;
    --text-secondary: #c0c4d4;
    --text-muted: #8a8f9e;
    --accent: #ef0027;
    --accent-gradient: linear-gradient(135deg, #ef0027, #ff7a8f);
    --surface-border: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.06);
    --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glass Sheen Effect */
.glass-sheen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(239, 0, 39, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(125, 77, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Page Layout */
.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.brand-labels {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: #d4001f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 0, 39, 0.3);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 0;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 0, 39, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #c0c4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.secondary-button {
    border: 1px solid var(--surface-border);
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.metric-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    transition: transform 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
}

.metric-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.metric-annotation {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Card */
.hero-card {
    background: rgba(13, 15, 28, 0.8);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.hero-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.progress-track {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45%;
    background: var(--accent-gradient);
    border-radius: inherit;
    transition: width 0.6s ease;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.card-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* Sections */
.section {
    margin-top: 6rem;
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--surface-border);
    background: rgba(13, 15, 28, 0.6);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-header {
    max-width: 600px;
    margin-bottom: 3rem;
    text-align: center;
}

.section-header span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Grid Layouts */
.three-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(16, 18, 32, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 0, 39, 0.2);
    box-shadow: 0 10px 30px rgba(239, 0, 39, 0.1);
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(239, 0, 39, 0.15);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Tokenomics */
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tokenomics-chart {
    position: relative;
    border-radius: 24px;
    padding: 2rem;
    background: radial-gradient(circle at 50% 30%, rgba(239, 0, 39, 0.15), transparent 70%),
                rgba(16, 18, 32, 0.8);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    max-width: 400px;
    margin: 0 auto;
}

.chart-svg {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: rotateChart 20s linear infinite;
}

@keyframes rotateChart {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.chart-svg:hover {
    animation-play-state: paused;
}

/* Fallback for older browsers */
.chart-ring {
    display: none;
}

.chart-label {
    display: none;
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legend-color {
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-row span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(239, 0, 39, 0.6), transparent);
}

.timeline-step {
    position: relative;
    padding: 2rem 2rem 2rem 2.5rem;
    border-radius: 16px;
    background: rgba(16, 18, 32, 0.8);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    top: 2rem;
    left: -1.5rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 0 15px rgba(239, 0, 39, 0.5);
}

.timeline-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Partners */
.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.partner-pill {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.2s ease;
}

.partner-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

details {
    background: rgba(16, 18, 32, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

details:hover {
    border-color: rgba(239, 0, 39, 0.3);
}

details[open] {
    border-color: rgba(239, 0, 39, 0.5);
    box-shadow: 0 0 20px rgba(239, 0, 39, 0.1);
}

summary {
    list-style: none;
    font-weight: 600;
    font-size: 1.125rem;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    margin-top: 6rem;
    padding: 4rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(239, 0, 39, 0.2), rgba(125, 77, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 2rem;
    place-items: center;
    text-align: center;
    box-shadow: 0 30px 60px rgba(239, 0, 39, 0.2);
}

.cta-banner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
}

.cta-banner p {
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-size: 1.125rem;
}

/* Buttons */
.xtr9biptgtl.xnqfltg {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.xtr9biptgtl.xnqfltg:hover {
    background: #d4001f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 0, 39, 0.4);
}

/* Footer */
footer {
    margin-top: 6rem;
    padding: 4rem 0 5rem;
    border-top: 1px solid var(--surface-border);
    text-align: center;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

footer nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer nav a:hover {
    color: var(--accent);
}

.disclaimer {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-card {
        order: -1;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .tokenomics-chart {
        max-width: 350px;
    }

    .chart-svg {
        width: 250px;
        height: 250px;
    }

    .three-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .page {
        padding: 0 1rem;
    }

    .top-nav {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .tokenomics-chart {
        max-width: 300px;
        padding: 1.5rem;
    }

    .chart-svg {
        width: 220px;
        height: 220px;
    }

    .three-grid {
        grid-template-columns: 1fr;
    }

    .section {
        margin-top: 4rem;
        padding: 2rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-step {
        padding: 1.5rem;
    }

    .partners {
        justify-content: center;
    }

    .cta-banner {
        margin-top: 4rem;
        padding: 3rem 2rem;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    footer {
        padding: 3rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-pill {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .xtr9biptgtl.xnqfltg,
    .secondary-button {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-card {
        padding: 2rem 1.5rem;
    }

    .tokenomics-chart {
        max-width: 260px;
        padding: 1rem;
    }

    .chart-svg {
        width: 180px;
        height: 180px;
    }

    .section {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .card {
        padding: 1.5rem;
    }

    .badge {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    .timeline-step::before {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
        left: -1.25rem;
        top: 1.5rem;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }
}

/* Parallax Layers */
.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.parallax-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.03;
    transition: transform 0.1s ease-out;
}

.layer-1 {
    background: radial-gradient(circle at 30% 70%, rgba(239, 0, 39, 0.1) 0%, transparent 50%);
}

.layer-2 {
    background: radial-gradient(circle at 70% 30%, rgba(125, 77, 255, 0.1) 0%, transparent 50%);
}

.layer-3 {
    background: linear-gradient(45deg, rgba(255, 123, 143, 0.05) 0%, transparent 50%);
}
