/* ==========================================================================
   LUKUL ATELIER (SAAS ENGINE) - MASTER ARCHITECTURE
   ========================================================================== */
:root {
    --bg-dark-grad: linear-gradient(135deg, #022c22 0%, #011812 100%);
    --header-dark-grad: linear-gradient(180deg, #0f392f 0%, #06241e 100%);
    --text-color-dark: #E6E6E6;
    --modal-bg: rgba(1, 24, 18, 0.98);
    --accent-gold: #e6b34a;
    --tenant-primary-color: var(--accent-gold);
    --tenant-primary-gradient: linear-gradient(135deg, #e6b34a 0%, #b89643 100%);
    --font-primary: 'Manrope', sans-serif;
    --font-heading: 'Cinzel', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box !important;
}

html,
body {
    scroll-behavior: smooth !important;
    scroll-padding-top: 120px !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100%;
}

body {
    background-image: var(--bg-dark-grad) !important;
    color: var(--text-color-dark) !important;
    font-family: var(--font-primary) !important;
}

/* The Ghost Grid */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(to right, rgba(230, 179, 74, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(230, 179, 74, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 80%);
    mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 80%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    color: var(--tenant-primary-color) !important;
}

/* Z-Index Hierarchy Layering */
.site-header,
.hero-section,
.accordion-section,
.calculators-section,
.dual-core-section,
.blueprint-section,
.feature-grid,
.faq-section,
.investment-section,
.boutique-footer {
    position: relative;
    z-index: 1;
}

/* =========================================
   ARCHITECTURAL BLUEPRINT PRELOADER
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #021812 0%, #000000 100%); /* Deep Obsidian */
    z-index: 999999; display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), visibility 0.8s;
}

/* The Faint Ghost-Green Drafting Paper */
.blueprint-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(80, 250, 123, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 250, 123, 0.05) 1px, transparent 1px);
    background-size: 40px 40px; z-index: 0; opacity: 0.5;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
}

.preloader-content {
    position: relative; width: 150px; height: 150px;
    display: flex; justify-content: center; align-items: center; z-index: 1;
}

/* The Wireframe Rotation & Drawing */
.blueprint-svg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    animation: slow-spin 12s linear infinite;
}
.wireframe-path {
    stroke-dasharray: 400; stroke-dashoffset: 400; /* Prepares the line to be drawn */
    animation: draw-wireframe 2s cubic-bezier(0.4, 0, 0.2, 1) forwards, pulse-gold 2s 2s infinite alternate;
}
.wireframe-inner {
    opacity: 0; stroke-dasharray: 10 10;
    animation: fade-in-inner 1s 1s forwards; /* Fades in after outer frame is drawn */
}

/* The Crest Reveal */
.preloader-crest {
    width: 65px; height: auto; object-fit: contain; opacity: 0;
    transform: scale(0.8); z-index: 2;
    animation: reveal-crest 1.5s 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    filter: drop-shadow(0 0 15px rgba(230, 179, 74, 0.3));
}

/* System Terminal Text */
.preloader-text {
    margin-top: 40px; font-family: 'Space Mono', monospace; font-size: 0.7rem;
    color: #50fa7b; letter-spacing: 4px; z-index: 1; opacity: 0;
    animation: fade-in-text 1s 0.5s forwards;
}
.blinking-cursor { animation: blink 1s step-end infinite; color: #e6b34a; }

/* Drafting Keyframes */
@keyframes draw-wireframe { to { stroke-dashoffset: 0; } }
@keyframes pulse-gold { from { filter: drop-shadow(0 0 2px rgba(230, 179, 74, 0.2)); } to { filter: drop-shadow(0 0 12px rgba(230, 179, 74, 0.8)); } }
@keyframes fade-in-inner { to { opacity: 0.4; } }
@keyframes slow-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes reveal-crest { to { opacity: 1; transform: scale(1); } }
@keyframes fade-in-text { to { opacity: 0.8; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
/* =========================================
   HEADER (OBSIDIAN NAV)
   ========================================= */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    background: rgba(1, 12, 9, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(230, 179, 74, 0.15) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    will-change: transform, backdrop-filter !important;
    padding: 20px 5%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.main-nav {
    z-index: 999998 !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.nav-contact-btn {
    border: 1px solid var(--text-color-dark);
    padding: 10px 25px;
    border-radius: 2px;
}

.nav-contact-btn:hover {
    background-color: var(--text-color-dark);
    color: #fff !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #e6b34a !important;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(230, 179, 74, 0.4);
}

/* =========================================
   HERO VIDEO SECTION
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow-x: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-video-wrapper {
    position: absolute;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
    background-color: #010806 !important;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.96) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9) !important;
    border-radius: 8px !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2 !important;
    color: #fff;
    padding: 0 20px;
    max-width: 1200px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0 0 15px 0;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 50px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-btn {
    padding: 18px 40px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-hero-btn {
    background-color: var(--accent-gold);
    color: #1a1a1a;
}

.primary-hero-btn:hover {
    background-color: #dcb357;
    transform: translateY(-2px);
}

.secondary-hero-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.secondary-hero-btn:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   COMMAND CENTER DASHBOARD
   ========================================= */
.command-center-section {
    width: 100%;
    background-color: transparent !important;
    scroll-margin-top: 120px;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 3px solid #e6b34a !important;
    /* Golden seam */
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Ambient Gold Glow Behind Command Center */
.command-center-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 50%, rgba(230, 179, 74, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.cc-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 85vh;
    padding: 80px 5%;
    gap: 60px;
    align-items: center;
}

/* --- LEFT SIDE: TABS & INTEL --- */
.cc-sidebar {
    width: 35%;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    z-index: 5;
}

/* The Tactical Tabs */
.cc-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cc-tab {
    background: transparent;
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    color: #666;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cc-tab-num {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #555;
    transition: color 0.3s ease;
}

.cc-tab:hover {
    color: #aaa;
    border-left-color: rgba(230, 179, 74, 0.4);
    background: rgba(230, 179, 74, 0.02);
}

.cc-tab.active {
    color: #fff;
    border-left-color: #e6b34a;
    background: linear-gradient(90deg, rgba(230, 179, 74, 0.1) 0%, transparent 100%);
}

.cc-tab.active .cc-tab-num {
    color: #e6b34a;
}

/* The Intel Text */
.cc-intel-display {
    position: relative;
    min-height: 280px;
}

.cc-intel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: none;
    visibility: hidden;
}

.cc-intel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    position: relative;
}

.cc-intel p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.cc-intel ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.cc-intel ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    color: #aaa;
}

.cc-intel ul li::before {
    content: "✦";
    font-size: 10px;
    color: var(--accent-gold);
    margin-right: 12px;
    margin-top: 5px;
}

.cc-intel strong {
    color: #fff;
    font-weight: 600;
}

.highlight-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    font-style: italic;
    border-left: 2px solid var(--accent-gold);
    padding-left: 15px;
    display: block;
    margin-bottom: 20px;
}

.teaser-text {
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.therapist-badge {
    display: inline-block;
    color: #000;
    background: var(--accent-gold);
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- RIGHT SIDE: THE CANVAS --- */
.cc-canvas {
    flex: 1;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: none;
    transform: scale(0.95);
}

.cc-screen.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* IMAGERY LAYERING (DESKTOP) */
.cc-img-primary {
    position: absolute;
    width: 80%;
    max-height: 90%;
    object-fit: contain;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(230, 179, 74, 0.3);
    z-index: 2;
}

/* Superimposed, Thin, Faded Holographic effect */
.cc-img-secondary {
    position: absolute;
    width: 70%;
    max-height: 80%;
    object-fit: contain;
    left: -5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    opacity: 0.4;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 20px rgba(230, 179, 74, 0.15));
    transition: all 0.5s ease;
}

/* Subtle floating animation for secondary image */
@keyframes holo-float {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-52%);
    }
}

.cc-screen.active .cc-img-secondary {
    animation: holo-float 6s ease-in-out infinite;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .cc-container {
        flex-direction: column;
        padding: 40px 5% 60px 5%;
        gap: 40px;
        height: auto;
    }

    .cc-sidebar {
        width: 100%;
        min-width: 100%;
        gap: 30px;
    }

    /* Tabs become horizontal swipe */
    .cc-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .cc-tabs::-webkit-scrollbar {
        height: 2px;
    }

    .cc-tabs::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }

    .cc-tabs::-webkit-scrollbar-thumb {
        background: rgba(230, 179, 74, 0.3);
    }

    .cc-tab {
        scroll-snap-align: start;
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    .cc-tab.active {
        border-bottom-color: #e6b34a;
        background: linear-gradient(to top, rgba(230, 179, 74, 0.1) 0%, transparent 100%);
    }

    /* Order Shift: Tabs -> Canvas -> Intel */
    .cc-sidebar {
        display: contents;
    }

    .cc-tabs {
        order: 1;
        width: 100%;
    }

    .cc-canvas {
        order: 2;
        width: 100%;
        height: 550px;
        flex: none;
    }

    .cc-intel-display {
        order: 3;
        width: 100%;
        min-height: auto;
        margin-top: 20px;
    }

    /* MOBILE IMAGERY (4cm drop, solid, cascaded) */
    .cc-img-primary {
        width: 85%;
        left: 5%;
        right: auto;
        top: 0;
        transform: none;
        z-index: 3;
    }

    .cc-img-secondary {
        width: 85%;
        right: 5%;
        left: auto;
        top: 0;
        transform: none;
        margin-top: 140px;
        /* ~4.5cm drop */
        z-index: 2;
        opacity: 0.9;
        mix-blend-mode: normal;
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(230, 179, 74, 0.2);
        animation: none;
        /* Kill floating animation on mobile */
    }
}

/* =========================================
   CALCULATOR SECTION
   ========================================= */
.calculators-section {
    width: 100%;
    background: transparent !important;
    padding: 140px 5% !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 5;
}

.calculators-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.calc-box {
    background: var(--modal-bg);
    border: 1px solid rgba(230, 179, 74, 0.2);
    backdrop-filter: blur(15px);
    padding: 30px 40px !important;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: 550px;
}

.calc-view {
    transition: opacity 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hidden-view {
    display: none;
    opacity: 0;
}

.active-view {
    display: flex;
    opacity: 1;
}

.calc-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    text-align: left;
}

.calc-title-group h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    line-height: 1;
}

.calc-subtitle {
    font-family: var(--font-primary);
    color: var(--accent-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.calc-description {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}

.input-row {
    display: flex;
    gap: 20px;
}

.input-group {
    margin-bottom: 15px !important;
    width: 100%;
}

.input-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 8px 0 !important;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-gold);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none; /* The modern standard */
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield; /* The modern standard */
}
.simple-back-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #999;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.simple-back-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.gold-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--tenant-primary-gradient);
    color: #1a1a1a;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.gold-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

#bandwidth-calc-btn {
    background: var(--tenant-primary-gradient) !important;
    color: #1a1a1a !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    margin-top: 15px !important;
    opacity: 1 !important;
    width: 100%;
}

.result-big-display {
    text-align: center;
    margin-bottom: 40px;
}

.res-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
}

.stats-grid {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.stat-label {
    color: #666;
}

/* =========================================
   DUAL CORE ARCHITECTURE
   ========================================= */
.dual-core-section {
    padding: 140px 5% !important;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box !important;
}

.sys-badge-outline {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    color: #e6b34a;
    border: 1px solid #e6b34a;
    background: rgba(230, 179, 74, 0.05);
    margin-bottom: 25px;
}

.section-title-light {
    font-family: 'Cinzel', serif;
    color: #F9F9F9;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.core-box {
    background: rgba(2, 8, 6, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.core-box-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.core-box-accent.alpha {
    background: #50fa7b;
}

.core-box-accent.beta {
    background: #e6b34a;
}

.core-subtitle-alpha {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #50fa7b;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.core-subtitle-beta {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #e6b34a;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.core-box-title {
    font-family: 'Marcellus', serif;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.core-box-text {
    font-family: 'Manrope', sans-serif;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.core-compliance-footer {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #777;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.compliance-highlight {
    color: #e6b34a;
    font-weight: bold;
}

/* =========================================
   BLUEPRINT / TOPOGRAPHY
   ========================================= */
.blueprint-section {
    padding: 140px 5% !important;
    background: transparent !important;
    text-align: center;
    position: relative;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: none !important;
}

.blueprint-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100% !important;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(80, 250, 123, 0.03) 0%, rgba(230, 179, 74, 0.02) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.infographic-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.infographic-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(80, 250, 123, 0.4) 0%, rgba(230, 179, 74, 0.15) 45%, transparent 70%);
    z-index: 0;
    animation: somatic-pulse 4s ease-in-out infinite;
}

.infographic-container img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(230, 179, 74, 0.4);
    position: relative;
    z-index: 2;
    animation: image-breathe 4s ease-in-out infinite;
}

.bp-card {
    text-decoration: none !important;
    color: inherit !important;
}

.bp-card h3 {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.bp-card:hover {
    background: rgba(230, 179, 74, 0.05) !important;
    border-color: #fff !important;
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bp-card:hover h3 {
    color: #e6b34a !important;
}

@keyframes somatic-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes image-breathe {

    0%,
    100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 10px rgba(80, 250, 123, 0.05);
    }

    50% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(80, 250, 123, 0.4);
        border-color: rgba(80, 250, 123, 0.5);
    }
}

/* =========================================
   TECH TERMINAL & FEATURES
   ========================================= */
.tech-infrastructure-section {
    padding: 140px 5% !important;
    background: transparent !important;
    border: none !important;
    position: relative;
    z-index: 6;
    box-sizing: border-box !important;
}

.tech-content-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 80px;
    align-items: center;
}

.tech-text-side {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-heading-wrapper {
    margin-bottom: 30px;
    border-left: 2px solid var(--accent-gold);
    padding-left: 20px;
}

.tech-subtitle {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.tech-title {
    font-size: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0;
}

.tech-p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #a3a3a3;
    margin-bottom: 25px;
    text-align: justify;
}

.tech-p .premium-highlight {
    color: #ffffff;
    font-weight: 500;
    border-bottom: 1px solid rgba(230, 179, 74, 0.4);
}

.tech-image-side {
    flex: 1.2;
    min-width: 350px;
    position: relative;
}

.code-terminal {
    background: #050d0a;
    border: 1px solid rgba(230, 179, 74, 0.2);
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(184, 150, 67, 0.05);
    overflow: hidden;
    font-family: 'Space Mono', monospace;
    position: relative;
}

.code-terminal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(230, 179, 74, 0.4), transparent 40%);
    z-index: -1;
    border-radius: 12px;
}

.terminal-header {
    background: #0a1712;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 30px;
    overflow-x: auto;
}

.terminal-body pre {
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.terminal-body .comment {
    color: #5c6370;
    font-style: italic;
}

.terminal-body .key {
    color: #e06c75;
}

.terminal-body .string {
    color: #98c379;
}

.terminal-body .number {
    color: #d19a66;
}

.terminal-body .cursor {
    display: inline-block;
    color: var(--accent-gold);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* FEATURE GRID & FAQ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 140px 5% !important;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: rgba(230, 179, 74, 0.4);
    box-shadow: 0 10px 30px rgba(230, 179, 74, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 24px;
    color: #50fa7b;
    margin-bottom: 20px;
    font-family: 'Space Mono', monospace;
}

.feature-card h3 {
    color: #e6b34a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-section {
    padding: 60px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section details {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(230, 179, 74, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px;
    padding: 15px 20px;
}

.faq-section details:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(230, 179, 74, 0.3) !important;
}

.faq-summary {
    font-family: 'Cinzel', serif;
    color: #e6b34a;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-text {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   INVESTMENT / CLOSING
   ========================================= */
.investment-section {
    padding: 140px 5% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box !important;
}

.investment-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 120%;
    background: radial-gradient(circle at center bottom, rgba(230, 179, 74, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.sys-badge-green {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    color: #50fa7b;
    border: 1px solid #50fa7b;
    background: rgba(80, 250, 123, 0.05);
    margin-bottom: 30px;
}

.investment-title {
    color: #F9F9F9;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.investment-subtitle {
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.pricing-tier {
    max-width: 500px;
    margin: 40px auto;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #e6b34a;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(230, 179, 74, 0.15);
}

.tier-name {
    color: #F9F9F9;
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.tier-price {
    font-family: 'Space Mono', monospace;
    color: #e6b34a;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.tier-price span {
    font-size: 1rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

.tier-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
}

.tier-list li {
    color: #ccc;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-list li::before {
    content: '✦';
    color: #50fa7b;
    font-size: 12px;
}

.app-btn-bespoke {
    width: 100%;
    display: block;
    background: #e6b34a;
    color: #000;
    font-family: 'Space Mono', monospace;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 15px;
    transition: 0.3s;
    letter-spacing: 2px;
    border-radius: 4px;
}

.app-btn-bespoke:hover {
    background: #f1c40f;
    box-shadow: 0 0 15px rgba(230, 179, 74, 0.4);
}

/* Protocol Modal */
.protocol-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.terminal-modal-content {
    background: rgba(2, 8, 6, 0.98);
    margin: 15% auto;
    padding: 40px 35px;
    border: 1px solid rgba(230, 179, 74, 0.4);
    width: 85%;
    max-width: 420px;
    border-radius: 12px;
    font-family: 'Space Mono', monospace;
    box-shadow: 0 0 40px rgba(230, 179, 74, 0.08);
}

.terminal-modal-content.success-border {
    border-color: rgba(80, 250, 123, 0.6);
    box-shadow: 0 0 40px rgba(80, 250, 123, 0.15);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e6b34a;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(230, 179, 74, 0.2);
    padding-bottom: 10px;
}

.terminal-header.success-text {
    color: #50fa7b;
    border-bottom-color: rgba(80, 250, 123, 0.2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e6b34a;
    box-shadow: 0 0 8px #e6b34a;
    animation: terminal-pulse 1.5s infinite ease-in-out;
}

.terminal-header.success-text .pulse-dot {
    background-color: #50fa7b;
    box-shadow: 0 0 8px #50fa7b;
}

@keyframes terminal-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.terminal-title {
    color: #F9F9F9;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.terminal-title.success-text {
    color: #50fa7b;
}

.terminal-desc {
    color: #a1a1aa;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.terminal-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(230, 179, 74, 0.5);
    color: #e6b34a;
    padding: 15px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    margin-bottom: 15px;
    outline: none;
    border-radius: 8px;
}

.terminal-btn {
    width: 100%;
    background: rgba(230, 179, 74, 0.05);
    color: #e6b34a;
    border: 1px solid #e6b34a;
    padding: 14px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.terminal-btn:hover {
    background: rgba(230, 179, 74, 0.15);
    box-shadow: 0 0 15px rgba(230, 179, 74, 0.3);
}

.terminal-btn-success {
    color: #000;
    background: #50fa7b;
    border-color: #50fa7b;
}

/* =========================================
   FOOTER
   ========================================= */
.boutique-footer {
    background-color: #050a08;
    border-top: 1px solid rgba(230, 179, 74, 0.15);
    padding: 80px 5% 30px 5%;
    position: relative;
    z-index: 1;
}

.boutique-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-links-col h4 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-links-col a {
    display: block;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--accent-gold);
}

.boutique-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 2px;
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {

    .accordion-section,
    .calculators-section,
    .dual-core-section,
    .blueprint-section,
    .tech-infrastructure-section,
    .investment-section {
        padding: 60px 5% !important;
    }

    .feature-grid {
        padding: 60px 5% 15px 5% !important;
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 15px 5% 60px 5% !important;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(1, 10, 8, 0.98);
        padding: 40px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .accordion-section .gallery-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .accordion-section .card {
        min-height: 120px;
        border-right: 1px solid rgba(230, 179, 74, 0.15);
    }

    .accordion-section .card:hover,
    .accordion-section .card.active {
        min-height: 580px !important;
    }

    .accordion-section .content h2 {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.4rem;
        margin-bottom: 0;
        opacity: 0.8;
    }

    .accordion-section .card:hover h2,
    .accordion-section .card.active h2 {
        width: 100%;
        font-size: 1.8rem !important;
        text-align: center;
        border-bottom: 1px solid rgba(230, 179, 74, 0.2);
        margin-bottom: 15px !important;
    }

    .accordion-section .overlay {
        background: linear-gradient(to top, rgba(1, 10, 8, 0.98) 0%, rgba(1, 10, 8, 0.7) 45%, rgba(1, 10, 8, 0.1) 80%, transparent 100%) !important;
    }

    .accordion-section .card:nth-child(1):hover .split-top,
    .accordion-section .card:nth-child(1).active .split-top {
        transform: scale(0.98) !important;
    }

    .input-row {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .calc-box {
        padding: 30px 20px !important;
    }

    .tech-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .tech-title {
        font-size: 2.2rem;
    }

    .tech-image-side {
        width: 100%;
        min-width: 100%;
    }

    .boutique-footer-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* FUSE THE HERO AND ACCORDION */
.hero-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-video-wrapper {
    background-color: #010806 !important;
    /* Forces the void behind the video to be pitch black */
}

.accordion-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 3px solid #e6b34a !important;
    /* The golden seam */
    box-shadow: none !important;
}

/* =========================================
   COMMAND CENTER REFINEMENTS (SURGICAL FIX)
   ========================================= */

/* --- DESKTOP: MAXIMIZE PRIMARY IMAGES --- */
@media (min-width: 901px) {
    .cc-img-primary {
        width: 100% !important;
        /* Aggressively fills the space */
        max-height: 100% !important;
        right: -2% !important;
        /* Pushed slightly right for breathing room */
        transform: translateY(-50%) scale(1.05) !important;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9) !important;
    }

    .cc-img-secondary {
        width: 85% !important;
        max-height: 90% !important;
        left: -8% !important;
        /* Pulled left to peek out beautifully */
        transform: translateY(-50%) scale(0.95) !important;
    }
}

/* --- MOBILE: ERADICATE VOID & FIX LAYERING --- */
@media (max-width: 900px) {

    /* 1. Kill the massive 550px height causing the dark void */
    .cc-canvas {
        height: 280px !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }

    /* 2. Pull the text up tight against the images */
    .cc-intel-display {
        margin-top: 0 !important;
    }

    /* 3. Image 1: Takes Absolute Primacy */
    .cc-img-primary {
        width: 85% !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        z-index: 3 !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8) !important;
        border: 1px solid rgba(230, 179, 74, 0.4) !important;
    }

    /* 4. Image 2: Supporting (Visible, tucked bottom-right) */
    .cc-img-secondary {
        width: 75% !important;
        top: auto !important;
        bottom: 0 !important;
        /* Anchors to bottom right of the 280px canvas */
        right: 0 !important;
        left: auto !important;
        margin-top: 0 !important;
        /* Eradicates the old 140px downward push */
        transform: none !important;
        z-index: 2 !important;
        opacity: 0.65 !important;
        /* Slightly dimmed so Image 1 pops */
        mix-blend-mode: normal !important;
        animation: none !important;
        /* Kills floating animation on mobile */
    }
}

/* =========================================
   LUKUL REFINEMENTS: MOBILE TACTICAL TABS
   ========================================= */
@media (max-width: 900px) {

    /* 1. Kill the horizontal scroll and convert to a flexible grid */
    .cc-tabs {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        border-bottom: none !important;
        gap: 8px !important;
        /* Tight spacing between buttons */
        padding-bottom: 0 !important;
    }

    /* 2. Style tabs as sleek, clickable 'pill' buttons */
    .cc-tab {
        flex: 1 1 auto !important;
        /* Buttons will grow to fill space perfectly */
        white-space: nowrap !important;
        font-size: 0.75rem !important;
        /* Premium, compact size */
        letter-spacing: 1.5px !important;
        padding: 10px 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 6px !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.02) !important;
    }

    /* 3. Keep the numbers small and tight */
    .cc-tab-num {
        margin-right: 4px !important;
        font-size: 0.7rem !important;
    }

    /* 4. Active state makes the pill glow gold */
    .cc-tab.active {
        border-color: #e6b34a !important;
        background: rgba(230, 179, 74, 0.08) !important;
        color: #e6b34a !important;
    }

    /* 5. Snug the canvas up to the new sleek menu */
    .cc-canvas {
        margin-top: 15px !important;
    }
}

/* =========================================
   LUKUL REFINEMENTS: FAQ TOGGLE ANIMATION
   ========================================= */

/* 1. Target the '+' sign, enable smooth animation */
.faq-section details summary span {
    display: inline-block;
    /* Required for transforms to work on inline text */
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), color 0.3s ease !important;
    transform-origin: center !important;
}

/* 2. When the accordion opens, rotate it into an 'x' and turn it white */
.faq-section details[open] summary span {
    transform: rotate(45deg) !important;
    color: #ffffff !important;
}

/* =========================================
   LUKUL REFINEMENTS: QA BUG FIXES (NAV, CLICKS, MODAL)
   ========================================= */

/* --- 1. NAV BUTTON SQUISH FIX (769px to 1285px) --- */
@media (min-width: 769px) and (max-width: 1285px) {

    /* Squeezes the menu tightly and shrinks the font slightly to fit perfectly */
    .main-nav ul {
        gap: 15px !important;
    }

    .main-nav a {
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        /* Forbids text from breaking into two lines */
    }

    .nav-contact-btn {
        padding: 8px 12px !important;
    }

    /* Slightly shrinks the main logo to give the menu more room */
    .nav-logo-link span {
        font-size: 1.2rem !important;
    }
}

/* --- 2. UNCLICKABLE CARDS FIX (Z-INDEX GHOSTING) --- */
/* Forces the glowing background orb to ignore mouse clicks */
.infographic-container::before {
    pointer-events: none !important;
}

/* Elevates the cards so they sit definitively above the glow */
.bp-card {
    position: relative !important;
    z-index: 20 !important;
}

/* --- 3. MODAL CLEARANCE FIX --- */
.module-modal-content {
    margin-top: 60px !important;
    /* Pushes the image down ~1.5cm from the top */
}

/* Ensures the X button stays glued to the new image position */
#moduleImageModal span {
    top: -35px !important;
    right: 0 !important;
}

/* =========================================
   LUKUL REFINEMENTS: DOUBLE SCROLLBAR & VIDEO BLEED FIX
   ========================================= */

/* --- 1. NUKE THE DOUBLE SCROLLBAR BUG --- */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    /* Forces the main window to handle vertical scrolling */
}

body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    /* Forbids the body from creating a second internal scrollbar */
}

/* --- 2. BRUTALLY TRAP THE SCALED VIDEO --- */
.hero-section {
    overflow: hidden !important;
    /* Stops any scaled element from pushing the page width */
}

.hero-video-wrapper {
    overflow: hidden !important;
    /* Double-traps the video */
    width: 100% !important;
    left: 0 !important;
}

.hero-video {
    transform-origin: center center !important;
    /* Forces the zoom to push out evenly in all directions */
}

/* =========================================
   LUKUL REFINEMENTS: HERO TYPOGRAPHY & MOBILE OVERFLOW FIX
   ========================================= */

/* --- 1. HERO TYPOGRAPHY (SLIGHTLY SMALLER, THINNER) --- */
.hero-title {
    font-size: 4.4rem !important;
    /* Scaled down from 5rem */
    font-weight: 500 !important;
    /* Thinned out from 700 */
}

.hero-subtitle {
    font-size: 0.9rem !important;
    /* Scaled down from 1rem */
    font-weight: 500 !important;
    /* Thinned out from 600 */
}

/* --- 2. MOBILE FIXES (PREVENTING CUT-OFFS) --- */
@media (max-width: 768px) {

    /* Removes the rigid height trap, allowing the bottom button to breathe */
    .hero-section {
        height: auto !important;
        min-height: 85vh !important;
        padding-bottom: 60px !important;
    }

    /* Mobile specific text scaling */
    .hero-title {
        font-size: 2.6rem !important;
        /* Scaled down from 3rem */
    }

    .hero-subtitle {
        font-size: 0.75rem !important;
        /* Scaled down from 0.8rem */
    }
}