/* CSS Variables for Theme */
:root {
    --bg-dark: #07090E;
    --bg-darker: #040508;
    --primary-red: #FF3B30;
    --primary-orange: #FF9500;
    --accent-blue: #0A84FF;
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-brand: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, .logo, .badge, .timeline-dot {
    font-family: var(--font-heading);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reusable Classes (Mobile First Defaults) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Background Effects */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: twinkle 10s linear infinite;
}

@keyframes twinkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.red-orb {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    top: -50px;
    right: -50px;
    animation: floatOrb 20s ease-in-out infinite alternate;
}

.blue-orb {
    width: 250px;
    height: 250px;
    background: var(--accent-blue);
    bottom: -50px;
    left: -50px;
    animation: floatOrb 25s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(4, 5, 8, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: none; /* Hidden on mobile */
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.nav-cta .btn {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--primary-orange);
    font-size: 0.75rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 300px;
}

/* CSS Hero Visual (Mars/Rocket) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    transform: scale(0.8);
}

.mars-orb {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #FF9500, #FF3B30, #5A0000);
    box-shadow: 
        inset -20px -20px 40px rgba(0,0,0,0.5),
        0 0 40px rgba(255, 59, 48, 0.4);
    position: relative;
    animation: floatMars 6s ease-in-out infinite;
}

@keyframes floatMars {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.rocket {
    position: absolute;
    font-size: 3rem;
    top: -20px;
    right: -20px;
    animation: orbitRocket 10s linear infinite;
    filter: drop-shadow(0 0 10px rgba(10, 132, 255, 0.8));
}

@keyframes orbitRocket {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

.shield {
    position: absolute;
    font-size: 2.5rem;
    bottom: 10px;
    left: 10px;
    animation: floatShield 4s ease-in-out infinite alternate;
}

@keyframes floatShield {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Features/Vision Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tokenomics */
.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.supply-card {
    padding: 40px 20px;
    text-align: center;
}

.supply-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.supply-amount {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.supply-ticker {
    font-size: 1.25rem;
    font-weight: 600;
}

.taxes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tax-card {
    padding: 32px 20px;
    text-align: center;
}

.tax-card h3 {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 1rem;
}

.tax-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-orange);
}

.allocation-wrapper {
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.allocation-wrapper h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    text-align: center;
}

.allocation-bar {
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    margin-bottom: 20px;
}

.bar {
    padding: 12px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100% !important; /* Override inline styles for mobile */
}

.bar.liquidity {
    background: var(--accent-blue);
}

.bar.marketing {
    background: var(--gradient-brand);
}

.allocation-desc {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.95rem;
}

/* Utility Section */
.utility-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
    align-items: center;
}

.utility-content h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    text-align: center;
}

.utility-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
    text-align: center;
}

.utility-list {
    list-style: none;
}

.utility-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check {
    color: var(--primary-red);
    font-weight: bold;
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px;
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
}

.chart-bar {
    flex: 1;
    background: var(--glass-border);
    border-radius: 6px 6px 0 0;
    transition: var(--transition-smooth);
}

.chart-bar.text-gradient {
    background: var(--gradient-brand);
}

.chart-bar:hover {
    transform: scaleY(1.05);
}

/* Roadmap Timeline */
.timeline {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

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

.timeline-item {
    position: relative;
    padding-left: 56px;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
    z-index: 2;
}

.timeline-content {
    padding: 24px;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.timeline-content ul {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.875rem;
}

/* Animations (Intersection Observer Targets) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Media Queries (Mobile First approach: building up to larger screens)
   ========================================================================== */

/* Tablet Devices */
@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .hero-visual {
        transform: scale(0.9);
        height: 400px;
    }
    
    .features-grid, .taxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .supply-amount {
        font-size: 3.5rem;
    }

    .tax-value {
        font-size: 3rem;
    }

    .allocation-bar {
        flex-direction: row;
        height: 40px;
        background: rgba(0,0,0,0.5);
        border-radius: 20px;
        gap: 0;
    }

    .bar {
        padding: 0;
        border-radius: 0;
        width: auto !important; /* Revert to inline styles width on desktop */
    }

    .timeline {
        max-width: 800px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-brand .logo {
        justify-content: flex-start;
    }

    .footer-brand p {
        margin-left: 0;
    }
}

/* Desktop Devices */
@media (min-width: 992px) {
    .section {
        padding: 100px 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .nav-links {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        margin: 0 0 40px 0;
        font-size: 1.25rem;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-visual {
        transform: scale(1);
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tokenomics-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .supply-card {
        grid-column: 1 / -1;
    }

    .supply-amount {
        font-size: 5rem;
    }

    .tax-value {
        font-size: 3.5rem;
    }

    .allocation-wrapper h3 {
        text-align: left;
    }

    .allocation-desc {
        text-align: left;
    }

    .utility-card {
        grid-template-columns: 1fr 1fr;
    }

    .utility-content h2, .utility-content p {
        text-align: left;
    }

    .timeline-content:hover {
        transform: translateX(10px);
    }

    .footer-container {
        grid-template-columns: 2fr 1fr;
    }
    
    .social-btn:hover {
        transform: translateX(5px);
    }

    .red-orb {
        width: 600px;
        height: 600px;
        top: -100px;
        right: -100px;
    }

    .blue-orb {
        width: 500px;
        height: 500px;
        bottom: -100px;
        left: -100px;
    }
}
