:root {
    /* Primary Color Palette */
    --bg-dark: #05070a;
    --bg-card: #0d1117;
    --accent-blue: #00d2ff;
    --accent-purple: #9d50bb;
    --text-main: #e6edf3;
    --text-muted: #c9d1d9;
    /* High Contrast Grey */
    /* Lightened for better contrast */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

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

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    opacity: 0.8;
}

/* Custom Overrides & Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.3));
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.border-accent {
    border: 2px solid var(--accent-blue) !important;
}

/* Custom Buttons (Bootstrap Override) */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
    border: none;
    color: white !important;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.bg-accent-blue {
    background-color: var(--accent-blue) !important;
}

/* Navbar Customization */
.navbar {
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile First Typography */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

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

    .hero-subtext {
        font-size: 1.25rem;
    }
}