:root {
    --bg-dark: #050505;
    --bg-card: #0f0f11;
    --neon-cyan: #00f2ff;
    --neon-blue: #0072ff;
    --text-gray: #a0a0a5;
    --bunker-red: #ff3e3e;
    --gold: #ffcc00;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(0, 242, 255, 0.25), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 242, 255, 0.25), transparent 50%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* --- Navbar --- */
.navbar {
    background: rgba(5, 5, 5, 0.9) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.8rem;
    color: var(--neon-cyan) !important;
    font-style: italic;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 100px;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.08), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(255, 62, 62, 0.05), transparent 25%),
        linear-gradient(to bottom, #050505, transparent);
    position: relative;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    z-index: -1;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    position: relative;
}

/* --- Hero Academy (Additional) --- */
.hero-academy {
    padding: 180px 0 100px;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.8), #050505),
        url('https://placehold.co/1920x1080/111/333?text=ACADEMIA+TACTICA') center/cover;
    position: relative;
    background-attachment: fixed;
}

.hero-academy h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero-academy .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

/* --- Accordion Custom --- */
.accordion-item {
    background-color: transparent;
    border: none;
    margin-bottom: 20px;
}

.accordion-button {
    background: var(--bg-card);
    color: white;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px !important;
    padding: 25px;
    box-shadow: none !important;
    transition: all 0.3s;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1) !important;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1) drop-shadow(0 0 5px var(--neon-cyan));
}

.accordion-body {
    background: linear-gradient(180deg, rgba(20, 20, 23, 0) 0%, rgba(20, 20, 23, 0.5) 100%);
    border-left: 2px solid var(--neon-cyan);
    margin-left: 20px;
    padding: 30px;
    color: var(--text-gray);
}

.module-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lesson-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
}

.lesson-list i {
    margin-top: 5px;
    margin-right: 15px;
    color: var(--neon-blue);
}

.lesson-list strong {
    color: white;
}

/* --- Buttons --- */
.btn-omega {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    border: none;
    color: black;
    font-weight: 800;
    padding: 16px 45px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-omega::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: white;
    z-index: -1;
    transition: all 0.3s;
    opacity: 0.3;
}

.btn-omega:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 242, 255, 0.4);
    color: black;
}

.btn-omega:hover::before {
    width: 100%;
}

.btn-demo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    padding: 16px 45px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-demo:hover {
    background: white;
    color: black;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-return {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 30px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-return:hover {
    background: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* --- Cards & Features --- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    background: rgba(20, 20, 23, 0.8);
}

.feature-icon {
    font-size: 2.5rem;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* --- Visual Showcase --- */
.showcase-img {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.showcase-img:hover {
    transform: scale(1.02);
    border-color: var(--neon-cyan);
}

/* --- Course Section --- */
.course-section {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.module-item {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}

.module-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* --- Pricing --- */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card-content {
    flex-grow: 1;
}

.pricing-card.exclusive {
    border: 1px solid rgba(0, 242, 255, 0.5);
    box-shadow: 0 0 60px rgba(0, 242, 255, 0.05);
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.02), var(--bg-card));
}

.badge-bunker {
    position: absolute;
    top: 35px;
    right: -35px;
    background: var(--bunker-red);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 62, 62, 0.4);
}

.price-tag {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 20px 0;
    letter-spacing: -2px;
}

/* --- Lead Form --- */
.lead-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px;
    border-radius: 8px;
}

.lead-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
    color: white;
}

/* --- Footer --- */
footer {
    background: #020202;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin: 0 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--neon-cyan);
    color: black;
    transform: translateY(-3px);
}

/* --- Video Gradient Border --- */
.video-gradient-border {
    position: relative;
    border: 2px solid transparent;
    border-radius: 2rem !important;
    /* Matches rounded-5 approx */
    background-image: linear-gradient(#000, #000),
        linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.15);
    overflow: hidden;
}

/* --- Video Backlight Effect --- */
.video-backlight {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Gray subtle border */
    border-radius: 2rem;
    background: #000;
    z-index: 1;
    /* Ensure video stays on top */
}

/* The Glow Behind */
.video-backlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-cyan));
    z-index: -1;
    filter: blur(60px);
    /* Strong disperse glow */
    opacity: 0.4;
    /* Subtle but visible */
    border-radius: 2rem;
}

/* Ensure video matches rounded corners on parent */
.video-backlight video {
    border-radius: 2rem;
    display: block;
}

/* --- Social Proof Toast --- */
#social-proof-toast {
    position: fixed;
    z-index: 9999;
        transform: translateY(300%);

    /* Hidden by default */
    width: 320px;
    max-width: 90vw;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Default desktop positioning */
    left: 1rem;
    bottom: 1rem;
}

#social-proof-toast.toast-visible {
    transform: translateY(0);
}

@media (max-width: 576px) {
    #social-proof-toast {
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        width: 90vw;
        max-width: 350px;
        /* Ensure it clears the home indicator on iOS and bottom nav bars */
        /* Using a larger base value ensures visibility even if browser UI overlaps partially */
        bottom: calc(2.5rem + env(safe-area-inset-bottom)) !important;
    }

    /* We don't need #social-proof-toast.toast-visible override here because
       the JS sets translateY(0) inline, which is what we want.
       The margin: auto handles the horizontal centering.
    */

    /* Navbar Adjustments for Mobile */

    /* Navbar Adjustments for Mobile */
    .navbar-brand {
        font-size: 1.4rem;
        /* Slightly smaller logo text */
    }

    .navbar .btn-omega {
        padding: 10px 20px !important;
        /* Smaller button padding */
        font-size: 0.7rem !important;
        /* Smaller text */
    }

    .navbar .btn-omega i {
        margin-right: 5px !important;
        /* Less icon gap */
    }
}