/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Colors */
    --bg-color: #0B0E14;
    --bg-dark-accent: #11151E;
    
    --primary-blue: #1830ff;
    --primary-cyan: #5adda0;
    --primary-dark: #19202c;
    
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    --gradient-glow: radial-gradient(circle, rgba(24, 48, 255, 0.2) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Spacing */
    --container-padding: 5%;
}

/* =========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   3. LAYOUT HELPERS
   ========================================= */
.wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

/* Canvas Background styling */
canvas#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(24, 48, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    mix-blend-mode: screen;
}

/* =========================================
   4. COMPONENT: NAVBAR
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem var(--container-padding);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    color: var(--text-white);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
}

.status-badge:hover {
    border-color: rgba(90, 221, 160, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-cyan);
    animation: pulse-dot 2s infinite;
}

.status-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

@keyframes pulse-dot {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* =========================================
   5. COMPONENT: HERO SECTION
   ========================================= */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 var(--container-padding);
    position: relative;
    padding-top: 100px; /* Offset for navbar */
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* Tagline */
.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px 14px;
    background: rgba(24, 48, 255, 0.08);
    border: 1px solid rgba(24, 48, 255, 0.2);
    border-radius: 6px;
    color: var(--primary-cyan);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.line-icon {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Heading */
.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-white);
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 48px;
    font-weight: 300;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 420px;
    margin-bottom: 56px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.progress-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 45%; /* Match HTML value */
    background: var(--gradient-main);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 12px rgba(24, 48, 255, 0.6);
}

/* Buttons */
.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-white);
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(24, 48, 255, 0.25);
}

.btn-primary:hover {
    background: var(--primary-cyan);
    color: var(--bg-color);
    box-shadow: 0 6px 30px rgba(90, 221, 160, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(90, 221, 160, 0.1);
    transform: translateY(-2px);
}

/* =========================================
   6. COMPONENT: FOOTER
   ========================================= */
.footer {
    padding: 2rem var(--container-padding);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to top, #06080c 0%, rgba(11, 14, 20, 0) 100%);
    margin-top: auto;
}

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

.footer-content p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-icon {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.social-icon:hover {
    color: var(--primary-cyan);
    transform: translateY(-2px);
    text-shadow: 0 0 12px var(--primary-cyan);
}

/* =========================================
   7. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem var(--container-padding);
    }
    
    .status-text {
        display: none;
    }
    
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}