:root {
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --bg-color: #0f172a;
    --bg-darker: #020617;
    --text-main: #f8fafc;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}


body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 0;
}
.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

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

/* Utilities */
.bg-purple-subtle {
    background-color: rgba(168, 85, 247, 0.1) !important;
}
.text-purple {
    color: #c084fc !important;
}
.border-purple {
    border-color: rgba(168, 85, 247, 0.3) !important;
}
.tracking-wide {
    letter-spacing: 0.05em;
}

/* Gradients */
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
}

.bg-glow {
    position: absolute;
    top: 30%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.05) 40%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* Animations */
.floating-anim {
    animation: float 6s ease-in-out infinite;
}

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

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c084fc;
    border: 1px solid rgba(255,255,255,0.05);
}

.bg-darker {
    background-color: var(--bg-darker);
}

.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(168, 85, 247, 0.3);
}

/* Observer states */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Blue Button */
.btn-glass-blue {
    background: rgba(59, 130, 246, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    color: #60a5fa !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.btn-glass-blue:hover, .btn-glass-blue:focus {
    background: rgba(59, 130, 246, 0.35) !important;
    border-color: rgba(96, 165, 250, 0.8) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.45) !important;
    transform: translateY(-2px);
}

/* 3x2 Aspect Ratio Buttons */
.btn-3x2 {
    width: 150px !important;
    height: 100px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    border-radius: 14px !important;
    padding: 10px 15px !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
}

/* ========================================
   Mobile & Tablet Responsiveness Overrides
   ======================================== */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 70px;
    }
    
    .hero-section h1.display-3 {
        font-size: 3rem !important;
    }
    
    .feature-card.glass-card {
        padding: 3rem 2rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section h1.display-3 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-section p.lead {
        font-size: 1.05rem !important;
        margin-bottom: 2.2rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .feature-card.glass-card {
        padding: 2.5rem 1.5rem !important;
    }
    
    .btn-3x2 {
        width: 135px !important;
        height: 90px !important;
        font-size: 0.85rem !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.35rem !important;
    }
    
    .hero-section h1.display-3 {
        font-size: 2rem !important;
    }
    
    .hero-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }
}

/* Mobile Navbar dropdown layout and readability */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        margin: 0.5rem -1rem -0.5rem -1rem;
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}



