@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-glow: #3b82f6;
    --accent-purple: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a { text-decoration: none; }

/* The Neon Glow */
.glow-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
}

/* Glass Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

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

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

.logo span { color: var(--accent-glow); }

.nav-links a {
    color: var(--text-muted);
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: #fff; }

/* Buttons */
.btn-login { 
    color: #fff; 
    margin-right: 15px; 
    font-weight: 600; 
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-purple));
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover { transform: translateY(-2px); }

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    margin-top: 100px;
}

/* =========================================
   MOBILE RESPONSIVENESS (Phones & Tablets)
   ========================================= */
@media (max-width: 768px) {
    /* Force Header to stay in one line */
    .nav-container {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    /* Force hide the middle links so they don't overlap */
    .nav-links {
        display: none !important; 
    }
    
    /* Make the logo fit better and prevent breaking */
    .logo {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    /* Hide the text 'Log In' link to save space for the main CTA */
    .btn-login {
        display: none !important;
    }

    /* Prevent the 'Get Started' button text from breaking into two lines */
    header .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap !important;
        margin: 0;
    }

    /* Hero Section Adjustments */
    .hero {
        padding: 140px 20px 60px !important;
    }
    
    .hero h1 {
        font-size: 2.8rem !important;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }
    
    /* Stack the buttons vertically for easy thumb tapping */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-secondary {
        margin-left: 0 !important;
        width: 100%;
        box-sizing: border-box;
        display: block;
        text-align: center;
    }
    
    .hero .btn-primary {
        width: 100%;
        box-sizing: border-box;
    }
}
/* =========================================
   HOMEPAGE SECTIONS
   ========================================= */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--accent-glow);
}

/* Glass Feature Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-glow);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Bottom CTA */
.bottom-cta {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.1), transparent);
    border-top: 1px solid var(--glass-border);
}
