/* TycoSim Landing Page V1.3 - Premium Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #050505;
    --bg-surface: #0F0F0F;
    --primary: #FFD700;
    --primary-dim: #b39700;
    --text-white: #ffffff;
    --text-grey: #888888;
    --border-light: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Nav */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.version {
    font-size: 0.7rem;
    color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-grey);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-link:hover {
    color: #fff;
}

/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: #FFED4D;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 1rem 100px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -30%;
    left: 20%;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #444 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
    animation-duration: 15s;
}

@keyframes floatOrb {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.text-highlight {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s forwards;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.8s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-val {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-sep {
    width: 1px;
    height: 30px;
    background: var(--border-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Features */
.features-section {
    padding: 100px 1rem;
    background: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2,
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Roadmap Grid */
.roadmap-section {
    padding: 100px 1rem;
    background: #080808;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.roadmap-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.q-tag {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.roadmap-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.roadmap-card p {
    color: var(--text-grey);
}

/* CTA */
.cta-section {
    padding: 120px 1rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-section p {
    color: var(--text-grey);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Footer */
.landing-footer {
    padding: 60px 1rem 30px;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-grey);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: #444;
}

/* Mobile Menu Styles */
.landing-menu-toggle {
    display: none;
    /* Hidden by default (desktop) */
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

/* Mobile Media Query */
@media (max-width: 768px) {
    .landing-nav .nav-content {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .landing-menu-toggle {
        display: block;
        margin-left: auto;
        /* Push to right if flex */
    }

    .landing-nav .nav-links {
        display: none;
        /* Hidden by default */
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
        animation: slideDown 0.3s ease-out;
    }

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

    .btn {
        width: 100%;
    }

    /* Simplified for now */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        width: 100%;
    }

    .stat-sep {
        width: 100%;
        height: 1px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}