/* 
    Firewalls & Flashpoints - Custom Styling
    Theme: Cyber-Premium Dark Mode
*/

:root {
    --bg-dark: #05070a;
    --surface-dark: #0d1117;
    --primary-accent: #00d4ff;
    /*--secondary-accent: #00ffaa;*/
    --secondary-accent: #FFD700;
    /*--text-main: #e6edf3;*/
    --text-main: #FFD700;
    --text-muted: #8b949e;
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(13, 17, 23, 0.7);
    --nav-height: 80px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Selection & Scrollbar */
::selection {
    background: var(--primary-accent);
    color: #000;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-dark);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Typography Helpers */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-50 {
    opacity: 0.5;
}

/* Navigation */
#mainNav {
    height: var(--nav-height);
    transition: all 0.4s ease;
    background-color: rgba(5, 7, 10, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

#mainNav.navbar-scrolled {
    background-color: rgba(5, 7, 10, 0.96) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    height: 68px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* Brand */
#mainNav .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

#mainNav .navbar-brand span.text-primary {
    color: var(--primary-accent) !important;
}

/* Nav Links — high specificity to beat Bootstrap navbar-dark */
#mainNav .navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 14px !important;
    margin: 0 2px;
    position: relative;
    transition: color 0.3s ease;
}

#mainNav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-accent);
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
    color: var(--primary-accent) !important;
}

#mainNav .navbar-nav .nav-link:hover::after,
#mainNav .navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Toggler Button */
#mainNav .navbar-toggler {
    border: 1px solid rgba(0, 212, 255, 0.5) !important;
    border-radius: 6px;
    padding: 6px 10px;
    background-color: rgba(0, 212, 255, 0.06);
    transition: all 0.3s ease;
    outline: none !important;
}

#mainNav .navbar-toggler:hover {
    background-color: rgba(0, 212, 255, 0.15);
    border-color: var(--primary-accent) !important;
}

#mainNav .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25) !important;
}

/* Hamburger icon lines drawn in logo blue */
#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 22px;
    height: 22px;
}

/* Mobile Dropdown Panel */
@media (max-width: 991.98px) {
    #mainNav #navbarNav {
        background-color: rgba(5, 7, 10, 0.98);
        border: 1px solid rgba(0, 212, 255, 0.15);
        border-radius: 12px;
        padding: 12px 8px;
        margin-top: 8px;
    }

    #mainNav .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 10px 18px !important;
        border-radius: 8px;
        margin: 2px 0;
        font-size: 0.9rem;
    }

    #mainNav .navbar-nav .nav-link:hover,
    #mainNav .navbar-nav .nav-link.active {
        color: var(--primary-accent) !important;
        background-color: rgba(0, 212, 255, 0.08);
    }

    #mainNav .navbar-nav .nav-link::after {
        display: none;
    }
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(5, 7, 10, 0.8), rgba(5, 7, 10, 0.95)),
        url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.btn-primary {
    background-color: var(--primary-accent);
    border: none;
    color: #000;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 170, 0.4);
    color: #000;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Section Spacing */
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Trust Cards */
.trust-card {
    background: var(--surface-dark);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.trust-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-card:hover::after {
    opacity: 1;
}

.trust-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 212, 255, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.trust-card:hover .icon-box {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Intelligence Section */
.intel-number {
    font-family: 'Outfit', sans-serif;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.intel-item:hover .intel-number {
    opacity: 1;
    text-shadow: 0 0 15px var(--primary-accent);
}

.intel-item h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Product Cards */
.product-card {
    background: var(--surface-dark);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::before {
    opacity: 0.5;
}

.product-card.featured {
    border: 1px solid var(--primary-accent);
    background: linear-gradient(145deg, var(--surface-dark), #161b22);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: scale(1.05) translateY(0px);
    }

    50% {
        transform: scale(1.05) translateY(-10px);
    }

    100% {
        transform: scale(1.05) translateY(0px);
    }
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.product-card.featured:hover {
    transform: scale(1.08) translateY(-15px);
}

/* Video Container */
.video-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--surface-dark);
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.15);
    color: var(--text-main);
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

/* =====================
   Footer
   ===================== */
.footer {
    background-color: #020408;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    position: relative;
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-accent) 40%, var(--secondary-accent) 60%, transparent 100%);
    opacity: 0.6;
}

/* Brand */
.footer-brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.footer-brand-secondary {
    color: var(--text-main);
}

.footer-desc {
    color: rgba(230, 237, 243, 0.45);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Column Headings */
.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-accent);
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-accent);
}

/* Quick Links & Services */
.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: rgba(230, 237, 243, 0.5) !important;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link i {
    font-size: 0.6rem;
    color: var(--primary-accent);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-accent) !important;
    transform: translateX(4px);
}

.footer-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.footer-contact li {
    font-size: 0.875rem;
    color: rgba(230, 237, 243, 0.5);
}

.footer-contact .fa-solid,
.footer-contact .fa-brands {
    font-size: 1rem;
}

/* Social Icons */
.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.06);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.15);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-accent) !important;
    border-color: var(--primary-accent);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #010204;
}

.footer-copyright {
    font-size: 0.825rem;
    color: rgba(230, 237, 243, 0.35);
}

.footer-bottom-link {
    font-size: 0.8rem;
    color: rgba(230, 237, 243, 0.35) !important;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-accent) !important;
}



.footer h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    border-left: 2px solid var(--primary-accent);
    padding-left: 15px;
}

.opacity-10 {
    opacity: 0.1;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .product-card.featured {
        transform: scale(1);
        margin-bottom: 2rem;
    }

    .product-card.featured:hover {
        transform: translateY(-10px);
    }

    .hero-section {
        text-align: center;
    }

    .hero-section .d-flex {
        justify-content: center;
    }
}