/* ===================================
   PASSIVE ALTITUDE - Bootstrap Custom Styles
   Using Bootstrap 5 + Custom Effects
   =================================== */

:root {
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-body-font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===================================
   CUSTOM COLORS
   =================================== */

.text-primary-custom {
    color: #007AFF !important;
}

.btn-primary-custom {
    background-color: #007AFF;
    color: #ffffff;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #0066DD;
    color: #ffffff;
}

.text-gray {
    color: #9CA3AF;
}

.text-info {
    color: #007AFF !important;
}

/* ===================================
   GLASS MORPHISM
   =================================== */

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    border-color: rgba(0, 122, 255, 0.5);
    transform: translateY(-5px);
}

.hover-float {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 122, 255, 0.2) !important;
}

/* ===================================
   GRADIENT TEXT
   =================================== */

.gradient-text {
    background: linear-gradient(90deg, #64FFDA, #007AFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 122, 255, 0.3);
    background-color: transparent;
    color: #007AFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-title {
    line-height: 1.1;
}

.hero-description {
    max-width: 700px;
}

/* ===================================
   BADGES & TAGS
   =================================== */

.badge-custom-sm {
    display: inline-block;
    color: #007AFF;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-tag {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===================================
   ICON BOXES
   =================================== */

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   SECTION BACKGROUNDS
   =================================== */

.bg-section {
    background: rgba(255, 255, 255, 0.01);
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    /* Navigation bar top parent no longer turns black */
}

.navbar.scrolled .nav-wrapper {
    background: rgba(255, 255, 255, 0.05); /* High transparency instead of black tint */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    letter-spacing: -0.5px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-link.active {
    color: #007AFF !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    transition: all 0.3s ease;
}

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

/* ===================================
   UTILITIES
   =================================== */

.rounded-4 {
    border-radius: 1.5rem !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.solution-description {
    max-width: 800px;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-link {
    transition: color 0.3s ease;
}

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

/* ===================================
   SMOOTH SCROLLING
   =================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ===================================
   SCROLLBAR
   =================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 255, 218, 0.5);
}

/* ===================================
   SELECTION
   =================================== */

::selection {
    background: rgba(100, 255, 218, 0.3);
    color: #ffffff;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 768px) {
    .hero-section {
        padding-top: 8rem;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* ===================================
   BOOTSTRAP OVERRIDES
   =================================== */

.container-fluid {
    max-width: 1400px;
}

.lead {
    font-size: 1.125rem;
    color: #9CA3AF;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

.btn-lg {
    font-size: 1.125rem;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
}

/* Dynamic unified nav wrapper handling */
.nav-wrapper {
    border-radius: 50rem;
    transition: border-radius 0.3s ease;
}

@media (max-width: 767px) {
    .nav-wrapper {
        border-radius: 1.5rem !important;
    }
}
