/* ===== CSS Variables ===== */
:root {
    --primary-navy: #0F1629;
    --primary-gold: #FFD700;
    --primary-blue: #3B9FFF;
    --text-white: #FFFFFF;
    --text-gray: #B0B8C4;
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, #1a2332 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-gold) 0%, #FFA500 100%);
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background: var(--primary-navy);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Fixed Top Navigation ===== */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 22, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-btn {
    padding: 0.75rem 2rem;
    background: var(--gradient-accent);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* ===== Side Navigation ===== */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-nav-item {
    position: relative;
    padding: 0.75rem 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.side-nav-item:hover,
.side-nav-item.active {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-gold);
    transform: translateX(-5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 159, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-navy) 0%, #1a2332 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-logo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.4);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

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

.stat-card {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-accent);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* ===== Section Styles ===== */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, var(--primary-navy) 0%, #1a2332 50%, var(--primary-navy) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== Products Timeline ===== */
.products {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 4rem);
    background: linear-gradient(180deg, var(--primary-gold) 0%, transparent 100%);
}

.timeline-card:last-child::before {
    display: none;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(59, 159, 255, 0.2);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 159, 255, 0.2);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* ===== Roadmap Section ===== */
.roadmap {
    background: linear-gradient(180deg, var(--primary-navy) 0%, #1a2332 50%, var(--primary-navy) 100%);
}

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

.roadmap-phase {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(59, 159, 255, 0.2);
    transition: all 0.3s ease;
}

.roadmap-phase:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(59, 159, 255, 0.3);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.phase-number {
    padding: 0.5rem 1rem;
    background: var(--gradient-accent);
    color: var(--primary-navy);
    border-radius: 20px;
    font-weight: 700;
}

.phase-date {
    color: var(--primary-blue);
    font-weight: 600;
}

.roadmap-phase h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.roadmap-phase ul {
    list-style: none;
}

.roadmap-phase li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-gray);
}

.roadmap-phase li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.contact-card p {
    color: var(--primary-blue);
    font-weight: 500;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.cta-section h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

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

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== Login Page Styles ===== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 159, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-navy) 0%, #1a2332 100%);
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.login-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.login-header h1 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: var(--text-gray);
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wallet-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-gold);
    transform: translateX(5px);
}

.login-info {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.login-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.back-link {
    text-align: center;
}

.back-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--primary-gold);
}

/* ===== Responsive Design ===== */
@media (max-width: 1280px) {
    .side-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-logo {
        width: 180px;
        height: 180px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .timeline-card {
        flex-direction: column;
    }

    .timeline-card::before {
        left: 15px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .login-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}