

/* =========================================================
   1. ROOT VARIABLES & GLOBAL THEME
   ========================================================= */
:root {
    --neon-gold: #ffb703;
    --cyber-blue: #00e5ff;
    --power-glow: rgba(255, 183, 3, 0.5);
    --blue-glow: rgba(0, 229, 255, 0.4);
    --circuit-line: rgba(255, 183, 3, 0.07);
    --bg-dark: #010409;
}

* { box-sizing: border-box; }

/* FIX: overflow-x: clip instead of hidden — prevents breaking position:sticky on header
   while still hiding horizontal overflow. clip does NOT create a new stacking context. */
body {
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: #e0faff;
    scroll-behavior: smooth;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: clip; /* FIX: was 'hidden' which breaks sticky positioning */
    transition: background-color 1s ease;
    /* UPGRADE: Smoother font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* UPGRADE: Custom text selection color */
::selection {
    background: rgba(0, 229, 255, 0.3);
    color: #fff;
}

/* UPGRADE: Focus-visible outline for keyboard navigation accessibility */
:focus-visible {
    outline: 2px solid var(--cyber-blue);
    outline-offset: 3px;
    border-radius: 3px;
}

/* THEME MODIFIERS */
body.mode-red  { --cyber-blue: #ff2a2a; --neon-gold: #ff4d4d; --blue-glow: rgba(255,0,0,0.4); background-color: #1a0000; }
body.mode-red  .particle { background: #ff2a2a; box-shadow: 0 0 15px #ff2a2a; }
body.mode-gold { --cyber-blue: #ffb703; --neon-gold: #ffe600; --blue-glow: rgba(255,183,3,0.4); background-color: #1a1300; }
body.mode-gold .particle { background: #ffb703; box-shadow: 0 0 15px #ffb703; }

/* =========================================================
   2. BACKGROUND EFFECTS
   ========================================================= */
.cad-background { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; perspective: 1000px; z-index: -2; overflow: hidden; background: radial-gradient(circle at center, #0a192f 0%, #04080f 100%); }

/* UPGRADE: will-change for GPU-composited animation */
.cad-grid {
    position: absolute; width: 200%; height: 200%; bottom: -50%; left: -50%;
    background-image: linear-gradient(rgba(0, 229, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg);
    animation: cadMove 8s linear infinite;
    will-change: transform; /* UPGRADE: GPU acceleration hint */
}
@keyframes cadMove { 0% { transform: rotateX(60deg) translateY(0); } 100% { transform: rotateX(60deg) translateY(50px); } }
.cad-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(8,16,24,1) 0%, transparent 40%, rgba(8,16,24,1) 100%); pointer-events: none; }

.particle-container { position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; z-index: -1; pointer-events: none; }
.particle {
    position: absolute; background: var(--cyber-blue); border-radius: 50%;
    box-shadow: 0 0 10px var(--cyber-blue); opacity: 0;
    animation: floatUp 10s infinite linear;
    transition: background 1s, box-shadow 1s;
    will-change: transform, opacity; /* UPGRADE: GPU acceleration hint */
}
.p1 { left: 10%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 0s; }
.p2 { left: 30%; width: 3px; height: 3px; animation-duration: 12s; animation-delay: 2s; background: var(--neon-gold); box-shadow: 0 0 10px var(--neon-gold); }
.p3 { left: 60%; width: 5px; height: 5px; animation-duration: 9s; animation-delay: 4s; }
.p4 { left: 85%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: 1s; }
.p5 { left: 50%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: 5s; background: var(--neon-gold); box-shadow: 0 0 15px var(--neon-gold); }
@keyframes floatUp { 0% { transform: translateY(100vh) scale(0.5); opacity: 0; } 20% { opacity: 0.8; } 80% { opacity: 0.8; } 100% { transform: translateY(-10vh) scale(1.5); opacity: 0; } }

.energy-line { position: fixed; top: 0; width: 2px; height: 300px; background: linear-gradient(to bottom, transparent, var(--cyber-blue), var(--neon-gold), transparent); opacity: 0.6; z-index: -1; animation: flowBolt 7s cubic-bezier(0.4, 0, 0.2, 1) infinite; filter: drop-shadow(0 0 10px var(--cyber-blue)); will-change: transform, opacity; }
@keyframes flowBolt { 0% { transform: translateY(-300px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(120vh); opacity: 0; } }

/* =========================================================
   3. TECH BAR & HEADER NAVIGATION
   ========================================================= */
.tech-bar { height: 35px; background: #010409; border-bottom: 1px solid var(--blue-glow); position: relative; z-index: 1001; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 20px rgba(0,229,255,0.3); }
.tech-bar-content { display: flex; align-items: center; justify-content: center; font-family: 'Share Tech Mono', monospace; }
.electric-text { color: var(--cyber-blue); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; text-shadow: 0 0 10px var(--cyber-blue); }
.electric-icon { color: var(--cyber-blue); margin-right: 10px; font-size: 14px; animation: pulseBolt 1s infinite; }
@keyframes pulseBolt { 0%, 100% { text-shadow: 0 0 8px var(--cyber-blue); opacity: 1; } 50% { text-shadow: 0 0 25px #fff; opacity: 0.4; } }
.tech-cursor { color: var(--cyber-blue); font-weight: bold; animation: blink .8s step-end infinite; }
@keyframes blink { from, to { opacity: 1; } 50% { opacity: 0; } }

/* UPGRADE: Scroll progress bar — Add <div id="scroll-progress"></div> after <header> */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-gold), var(--cyber-blue));
    z-index: 9999;
    box-shadow: 0 0 10px var(--cyber-blue);
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

header {
    background: rgba(8, 16, 24, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--cyber-blue);
    -webkit-backdrop-filter: blur(15px); /* FIX: Safari prefix */
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: box-shadow 0.3s ease, border-bottom-color 0.3s ease;
}
/* UPGRADE: Enhanced shadow when scrolled */
header.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px rgba(0,229,255,0.15); border-bottom-color: var(--neon-gold); }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.3s; }
.logo:hover { transform: scale(1.02); }
.logo img { height: 38px; width: 38px; border-radius: 4px; object-fit: cover; border: 1px solid var(--cyber-blue); box-shadow: 0 0 15px rgba(0,229,255,0.6); }
.logo-text { font-size: 22px; margin: 0; font-weight: 900; color: #fff; display: inline-block; font-family: 'Segoe UI', sans-serif; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.logo-text span { color: var(--neon-gold); text-shadow: 0 0 15px var(--power-glow); }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--cyber-blue); z-index: 1001; background: none; border: none; padding: 5px; }

.nav-links { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 30px; transition: 0.3s ease; }
.nav-links li.dropdown { position: relative; }
.nav-links li a { color: #e0faff; text-decoration: none; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 10px 5px; font-family: 'Share Tech Mono', monospace; transition: 0.3s; display: flex; align-items: center; gap: 6px; position: relative; }
.nav-links li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--cyber-blue); transition: 0.3s; box-shadow: 0 0 8px var(--cyber-blue); }
.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: var(--cyber-blue); text-shadow: 0 0 12px var(--cyber-blue); }

/* UPGRADE: Active nav link style (set by IntersectionObserver in JS) */
.nav-links li a.nav-active { color: var(--neon-gold); text-shadow: 0 0 10px var(--power-glow); }
.nav-links li a.nav-active::after { width: 100%; background: var(--neon-gold); box-shadow: 0 0 8px var(--neon-gold); }

.dropdown-content { display: none; position: absolute; background: rgba(8,16,24,0.98); min-width: 180px; box-shadow: 0px 10px 40px rgba(0,0,0,0.8); z-index: 1001; top: 100%; left: 50%; transform: translateX(-50%); border-top: 3px solid var(--cyber-blue); border-bottom: 1px solid var(--blue-glow); border-radius: 0 0 8px 8px; -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); } /* FIX: Added -webkit-backdrop-filter */
.nav-links li.dropdown:hover .dropdown-content { display: block; animation: dropIn .3s ease; }
@keyframes dropIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dropdown-content a { color: #fff !important; padding: 12px 15px; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: left; }
.dropdown-content a::after { display: none; }
.dropdown-content a:hover { background: rgba(0,229,255,0.1); color: var(--cyber-blue) !important; padding-left: 22px; border-left: 3px solid var(--cyber-blue); }
.caret { transition: transform 0.3s ease; }

/* MOBILE NAVIGATION */
@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: calc(100% + 10px); left: 25%; width: 50%;
        background: rgba(8, 16, 24, 0.97);
        padding: 5px 0; margin: 0;
        border: 1px solid var(--cyber-blue); border-top: 3px solid var(--neon-gold);
        border-radius: 8px; max-height: 40vh; overflow-y: auto;
        box-shadow: 0 15px 40px rgba(0,0,0,0.9);
        -webkit-backdrop-filter: blur(15px); /* FIX: Safari prefix */
        backdrop-filter: blur(15px);
        z-index: 9999;
    }
    .nav-links.active { display: flex; animation: menuFadeIn 0.4s ease forwards; }
    @keyframes menuFadeIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
    .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); margin: 0; }
    .nav-links li a { font-size: 13px; width: 100%; padding: 15px; justify-content: center; text-align: center; }
    .nav-links li.dropdown:hover .dropdown-content { display: none; }
    .nav-links li.dropdown.open .dropdown-content { display: block; animation: dropInMobile 0.3s ease; }
    .nav-links li.dropdown.open .caret { transform: rotate(180deg); color: var(--neon-gold); }
    .dropdown-content { position: static !important; display: none; background: rgba(0,0,0,0.5) !important; width: 100% !important; border: none !important; transform: none !important; left: 0 !important; box-shadow: inset 0 5px 15px rgba(0,0,0,0.8); -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

    /* FIX: was animating max-height (janky). Now uses transform + opacity for smooth performance */
    @keyframes dropInMobile {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .dropdown-content a { padding: 12px !important; color: #cbd5e1 !important; font-size: 12px !important; border-bottom: 1px solid rgba(255,255,255,0.02); justify-content: center; text-align: center !important; }
}

/* =========================================================
   4. CORE LAYOUT CONTAINERS
   ========================================================= */
.content-section { padding: 80px 10%; text-align: center; overflow: hidden; position: relative; z-index: 2; }
.content-section h2 { font-size: 22px; color: #f8fafc; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; font-weight: 900; position: relative; display: inline-block; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.content-section h2::after { content: ''; width: 60px; height: 4px; background: var(--neon-gold); position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 15px var(--neon-gold); border-radius: 2px; }
.section-subtitle, .sub-text { max-width: 800px; margin: 30px auto 50px; font-size: 13px; line-height: 1.8; color: #94a3b8; text-align: center; }

/* =========================================================
   5. HERO SECTION BASE
   ========================================================= */
.hero { background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(1, 4, 9, 0.95)), url('logo.jpg') no-repeat center center; background-size: cover; padding: 120px 10%; text-align: center; color: white; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-inner { max-width: 850px; margin: 0 auto; position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: 26px; color: var(--neon-gold); margin-bottom: 25px; text-transform: uppercase; font-weight: 900; letter-spacing: 2px; line-height: 1.5; min-height: 80px; text-shadow: 0 0 25px var(--power-glow); }
.txt-type > .txt { border-right: 3px solid var(--neon-gold); padding-right: 5px; animation: blink 0.7s infinite; color: #ffffff; text-shadow: 0 0 15px var(--neon-gold); }
.hero p { font-size: 14px; max-width: 750px; margin: 0 auto 35px; line-height: 1.9; font-weight: 400; color: #cbd5e1; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

/* BUTTONS */
.cta-button { position: relative; padding: 14px 28px; font-size: 11px; border-radius: 4px; display: inline-block; text-decoration: none; font-weight: 900; margin: 8px; transition: 0.4s; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 6px 15px rgba(0,0,0,0.4); border: none; cursor: pointer; overflow: hidden; font-family: 'Share Tech Mono', monospace; }
.cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0)); transform: skewX(-25deg); transition: all 0.6s ease; }
.cta-button:hover::before { left: 200%; }
.btn-primary { background: var(--neon-gold); color: #0d1b2a; border: 2px solid var(--neon-gold); box-shadow: 0 0 20px var(--power-glow); }
.btn-primary:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 0 35px var(--neon-gold), inset 0 0 10px rgba(255,255,255,0.5); color: #000; }
.btn-outline { background: rgba(0,0,0,0.7); color: var(--neon-gold); border: 2px solid var(--neon-gold); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); } /* FIX: Added -webkit- prefix */
.btn-outline:hover { background: var(--neon-gold); color: #000; box-shadow: 0 0 20px var(--neon-gold); }

/* =========================================================
   6. SHARED COMPONENT GRIDS & CARDS
   ========================================================= */
.stats-bar { display: flex; justify-content: space-around; background: rgba(8,16,24,0.9); padding: 40px 10%; border-top: 1px solid var(--blue-glow); border-bottom: 1px solid var(--blue-glow); flex-wrap: wrap; gap: 20px; box-shadow: 0 0 30px rgba(0,229,255,0.1); position: relative; z-index: 10; }
.stat-item { text-align: center; transition: transform 0.3s; }
.stat-item:hover { transform: scale(1.1); }
.stat-item strong { display: block; font-size: 28px; color: var(--neon-gold); margin: 0; text-shadow: 0 0 15px var(--power-glow); font-weight: 900; font-family: 'Share Tech Mono', monospace; }
.stat-item p { font-size: 10px; text-transform: uppercase; color: #94a3b8; margin-top: 8px; font-weight: bold; letter-spacing: 1px; }

.trust-bar { background: rgba(255,255,255,0.02); padding: 20px; display: flex; justify-content: center; gap: 35px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,183,3,0.15); position: relative; z-index: 10; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); } /* FIX: Added -webkit- prefix */
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 11px; color: #f8fafc; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; }
.trust-item:hover { color: var(--cyber-blue); }
.trust-item i { color: var(--neon-gold); font-size: 18px; filter: drop-shadow(0 0 5px var(--neon-gold)); }

.intro-text { max-width: 750px; margin: -20px auto 45px; font-size: 14px; color: #e0faff; line-height: 1.9; text-align: center; font-style: italic; border-left: 4px solid var(--neon-gold); border-right: 4px solid var(--neon-gold); padding: 10px 25px; background: rgba(255,183,3,0.03); border-radius: 8px; }
.text-block { max-width: 900px; margin: 0 auto; text-align: justify; font-size: 13px; line-height: 2; color: #cbd5e1; background: rgba(8,16,24,0.7); padding: 50px; border-radius: 12px; border: 1px solid var(--power-glow); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); } /* FIX: -webkit- prefix */
.text-block h3 { color: var(--neon-gold); font-size: 16px; margin: 35px 0 15px 0; border-left: 4px solid var(--neon-gold); padding-left: 15px; text-transform: uppercase; font-weight: 900; text-shadow: 0 0 10px var(--power-glow); }

/* Generic Cards */
.cards-container { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; align-items: stretch; width: 100%; max-width: 1200px; margin: 0 auto; }
.card { background: rgba(8,16,24,0.7); width: 100%; max-width: 320px; padding: 40px 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-radius: 12px; border-top: 4px solid var(--neon-gold); text-align: left; transition: 0.4s cubic-bezier(0.175,0.885,0.32,1.275); position: relative; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); overflow: hidden; z-index: 1; } /* FIX: -webkit- prefix */
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: radial-gradient(circle at top right, rgba(0,229,255,0.1), transparent 70%); z-index: -1; opacity: 0; transition: 0.4s; }
.card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--cyber-blue); transform: scaleX(0); transition: 0.4s; transform-origin: left; }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card:hover { transform: translateY(-15px) scale(1.03); border-top-color: var(--cyber-blue) !important; box-shadow: 0 20px 50px rgba(0,229,255,0.25), inset 0 0 30px rgba(0,229,255,0.05); }
.card i { font-size: 32px; color: var(--neon-gold); margin-bottom: 20px; display: inline-block; transition: 0.4s; filter: drop-shadow(0 0 8px var(--power-glow)); }
.card:hover i { transform: scale(1.2) rotate(5deg); color: var(--cyber-blue); filter: drop-shadow(0 0 12px var(--blue-glow)); }
.card h3 { font-size: 15px; margin-bottom: 12px; color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.card:hover h3 { color: var(--neon-gold); text-shadow: 0 0 10px var(--power-glow); }
.card p { font-size: 12px; color: #cbd5e1; line-height: 1.7; margin-bottom: 20px; flex-grow: 1; }

.tech-list { padding-left: 0; list-style: none; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
.tech-list li { font-size: 11px; color: #e0faff; margin-bottom: 10px; font-weight: 600; display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; transition: 0.3s; }
.card:hover .tech-list li { color: #fff; }
.tech-list li i { font-size: 10px; color: var(--cyber-blue); margin-top: 3px; text-shadow: 0 0 5px var(--cyber-blue); }

/* Workflow Grid */
.workflow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 30px; width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.workflow-step { text-align: left; padding: 30px; background: rgba(8,16,24,0.6); border-top: 3px solid var(--neon-gold); border-radius: 8px; transition: 0.4s; position: relative; overflow: hidden; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); border-bottom: 1px solid rgba(255,255,255,0.05); } /* FIX: -webkit- prefix */
.workflow-step::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,183,3,0.1), transparent); transition: 0.5s; }
.workflow-step:hover::before { left: 100%; }
.workflow-step:hover { background: rgba(13,27,42,0.9); border-top-color: var(--cyber-blue); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 20px rgba(0,229,255,0.1); }
.step-num { font-size: 40px; font-weight: 900; color: var(--neon-gold); opacity: 0.1; position: absolute; top: 15px; right: 20px; line-height: 1; transition: 0.4s; font-family: 'Share Tech Mono', monospace; }
.workflow-step:hover .step-num { opacity: 0.5; color: var(--cyber-blue); transform: scale(1.1); text-shadow: 0 0 15px var(--cyber-blue); }
.workflow-step h3 { font-size: 14px; text-transform: uppercase; margin-bottom: 12px; color: #fff; font-weight: 900; letter-spacing: 1px; transition: 0.3s; }
.workflow-step:hover h3 { color: var(--neon-gold); }
.workflow-step p { font-size: 12px; line-height: 1.7; color: #cbd5e1; }
.deliverable { font-size: 10px; text-transform: uppercase; font-weight: 900; color: var(--cyber-blue); padding: 6px 12px; background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3); border-radius: 4px; display: inline-block; margin-top: 15px; font-family: 'Share Tech Mono'; letter-spacing: 1px; box-shadow: 0 0 10px rgba(0,229,255,0.1); }

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 30px; }
.feature-box { background: rgba(8,16,24,0.8); padding: 30px; border-radius: 8px; border-left: 4px solid var(--cyber-blue); transition: 0.4s; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.feature-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, transparent, rgba(0,229,255,0.05), transparent); z-index: 0; transition: 0.4s; }
.feature-box:hover::before { background: linear-gradient(45deg, transparent, rgba(0,229,255,0.1), transparent); }
.feature-box:hover { background: rgba(13,27,42,1); transform: translateX(10px); box-shadow: 0 10px 25px rgba(0,229,255,0.15), inset 0 0 15px rgba(0,229,255,0.05); border-left-width: 8px; }
.feature-box strong { color: var(--neon-gold); display: block; font-size: 13px; margin-bottom: 10px; text-transform: uppercase; font-weight: 900; position: relative; z-index: 1; letter-spacing: 1px; }
.feature-box p, .feature-box ul { position: relative; z-index: 1; }

/* VIP Advisory Container */
.vip-advisory { background: linear-gradient(135deg, rgba(8,16,24,0.95), rgba(13,27,42,0.98)); border-left: 6px solid var(--cyber-blue); padding: 40px; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 850px; margin: 0 auto 50px; border-top: 1px solid rgba(0,229,255,0.3); border-right: 1px solid rgba(0,229,255,0.1); border-bottom: 1px solid rgba(0,229,255,0.1); box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 30px rgba(0,229,255,0.1); box-sizing: border-box; position: relative; overflow: hidden; }
.vip-advisory::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(0,229,255,0.05) 0%, transparent 60%); pointer-events: none; animation: rotateGlow 20s linear infinite; }
@keyframes rotateGlow { 100% { transform: rotate(360deg); } }
.adv-tag { background: rgba(0,229,255,0.15); border: 1px solid var(--cyber-blue); color: var(--cyber-blue); font-size: 11px; padding: 6px 15px; border-radius: 4px; font-weight: 900; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 2; letter-spacing: 1px; box-shadow: 0 0 15px rgba(0,229,255,0.2); }
.adv-tag::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; border: 1px solid var(--cyber-blue); animation: pulse-ring 2s cubic-bezier(0.215,0.61,0.355,1) infinite; box-sizing: border-box; pointer-events: none; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }
.vip-header-row { display: flex; gap: 20px; align-items: center; width: 100%; border-bottom: 1px solid rgba(0,229,255,0.2); padding-bottom: 20px; margin-bottom: 25px; box-sizing: border-box; position: relative; z-index: 2; }
.vip-content-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; width: 100%; align-items: center; box-sizing: border-box; position: relative; z-index: 2; }
.vip-text-col { flex: 1; min-width: 0; box-sizing: border-box; overflow-wrap: break-word; }
.vip-btn-col { text-align: center; box-sizing: border-box; }
.btn-vip { white-space: normal; font-size: 13px; padding: 16px 20px; width: 100%; box-sizing: border-box; display: inline-block; text-align: center; box-shadow: 0 0 25px var(--power-glow); animation: breatheGlow 3s infinite alternate; }
@keyframes breatheGlow { 0% { opacity: 0.8; } 100% { opacity: 1; } }

/* FAQ & Dropdown Details */
.faq-container { max-width: 850px; margin: 0 auto; text-align: left; }
details { background: rgba(8,16,24,0.6); margin-bottom: 15px; border: 1px solid rgba(255,183,3,0.2); border-radius: 6px; overflow: hidden; transition: all 0.3s ease; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); } /* FIX: -webkit- prefix */
details[open] { background: rgba(13,27,42,0.9); border-color: var(--cyber-blue); box-shadow: 0 5px 20px rgba(0,229,255,0.15); }
summary { padding: 20px 25px; color: var(--neon-gold); font-weight: 800; cursor: pointer; outline: none; border-left: 5px solid var(--neon-gold); text-align: left; font-size: 14px; transition: 0.3s; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--neon-gold); transition: 0.3s; font-family: monospace; }
details[open] summary::after { content: '−'; color: var(--cyber-blue); transform: translateY(-50%) rotate(180deg); }
details:hover summary { background: rgba(255,255,255,0.02); }
details[open] summary { border-left-color: var(--cyber-blue); color: #fff; border-bottom: 1px solid rgba(0,229,255,0.1); }
details p { padding: 20px 25px; margin: 0; color: #e0faff; font-size: 13px; line-height: 1.8; animation: fadeInDown 0.4s ease-out; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* SHOP GRID (Solar & Tools) */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; justify-content: center; width: 100%; max-width: 1200px; margin: 0 auto; }
.product-image-wrap { width: 100%; height: 200px; background: rgba(0,0,0,0.6); border-radius: 8px; margin-bottom: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,229,255,0.2); padding: 10px; }
.product-image-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); transition: transform 0.3s; }
.card:hover .product-image-wrap img { transform: scale(1.05); }
.pro-note { font-size: 11px; background: rgba(0,229,255,0.1); color: var(--cyber-blue); padding: 10px 15px; border-radius: 6px; font-weight: 800; margin-bottom: 20px; display: block; border-left: 4px solid var(--cyber-blue); text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 0 10px rgba(0,229,255,0.1); }
.btn-lazada { display: block; width: 100%; text-align: center; padding: 14px 0; font-size: 12px; border-radius: 4px; text-decoration: none; font-weight: 900; background: transparent; color: var(--neon-gold); transition: 0.3s; letter-spacing: 1px; border: 2px solid var(--neon-gold); font-family: 'Share Tech Mono', monospace; position: relative; overflow: hidden; z-index: 1; }
.btn-lazada::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0)); transform: skewX(-25deg); transition: all 0.6s ease; z-index: -1; }
.btn-lazada:hover::before { left: 200%; }
.btn-lazada:hover { background: var(--neon-gold); color: #000; transform: translateY(-3px); box-shadow: 0 0 20px var(--power-glow); }

/* PRO-TIPS ACCORDION & CALCULATOR */
.tip-grid { max-width: 800px; margin: 0 auto; text-align: left; }
details.tip-card { background: rgba(13, 27, 42, 0.6); padding: 0; border-radius: 8px; border-left: 5px solid var(--neon-gold); box-shadow: 0 8px 25px rgba(0,0,0,0.3); margin-bottom: 15px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; position: relative; overflow: hidden; } /* FIX: -webkit- prefix */
details.tip-card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: linear-gradient(90deg, rgba(0,229,255,0.1), transparent); transition: width 0.4s ease; z-index: -1; }
details.tip-card:hover::before, details.tip-card[open]::before { width: 100%; }
details.tip-card:hover { border-left-color: var(--cyber-blue); box-shadow: 0 10px 30px rgba(0,229,255,0.2); transform: translateX(5px); }
.tip-content { padding: 0 20px 20px; font-size: 13px; color: #cbd5e1; line-height: 1.8; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; animation: fadeSlideDown 0.4s ease-out forwards; transform-origin: top; }
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-10px) scaleY(0.9); } to { opacity: 1; transform: translateY(0) scaleY(1); } }
.tip-content strong { color: var(--cyber-blue); }

.calc-section { background: rgba(13, 27, 42, 0.8); color: white; padding: 40px; border-radius: 8px; margin: 50px auto; max-width: 650px; box-shadow: 0 10px 40px rgba(0,229,255,0.1); text-align: center; border: 1px solid rgba(0,229,255,0.2); border-top: 4px solid var(--cyber-blue); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } /* FIX: -webkit- prefix */
.calc-section h3 { font-size: 16px; color: var(--neon-gold); margin-bottom: 20px; text-transform: uppercase; font-weight: 900; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.calc-grid div { text-align: left; }
.calc-grid label { display: block; font-size: 11px; color: var(--cyber-blue); margin-bottom: 8px; text-transform: uppercase; font-weight: bold; }
.calc-grid input { width: 100%; padding: 12px; border-radius: 4px; border: 1px solid rgba(0,229,255,0.3); font-size: 13px; background: rgba(0,0,0,0.6); color: #fff; transition: 0.3s; font-family: 'Share Tech Mono', monospace; }
.calc-grid input:focus { outline: none; border-color: var(--neon-gold); box-shadow: 0 0 10px rgba(255,183,3,0.3); }
.calc-btn { width: 100%; background: var(--neon-gold); color: #0d1b2a; border: 2px solid var(--neon-gold); padding: 15px; border-radius: 4px; font-weight: 900; cursor: pointer; font-size: 13px; text-transform: uppercase; transition: 0.3s; letter-spacing: 1px; box-shadow: 0 0 15px var(--power-glow); }
.calc-btn:hover { background: transparent; color: var(--neon-gold); box-shadow: 0 0 25px rgba(255,183,3,0.5); transform: translateY(-2px); }
.calc-results-wrap { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.res-box { background: rgba(0, 0, 0, 0.4); padding: 15px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.05); }
.res-label { font-size: 10px; color: #94a3b8; display: block; text-transform: uppercase; margin-bottom: 5px; font-weight: bold; }
.res-value { font-size: 18px; font-weight: 900; color: var(--cyber-blue); font-family: 'Share Tech Mono', monospace; }

.cta-box { background: rgba(13, 27, 42, 0.8); color: white; padding: 40px; border-radius: 8px; margin-top: 50px; text-align: center; border-top: 4px solid var(--neon-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-left: 1px solid rgba(255,183,3,0.2); border-right: 1px solid rgba(255,183,3,0.2); border-bottom: 1px solid rgba(255,183,3,0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: relative; overflow: hidden; } /* FIX: -webkit- prefix */
.cta-box::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(0,229,255,0.1), transparent 50%); pointer-events: none; }
.cta-box h2 { color: var(--cyber-blue); font-size: 18px; margin-top: 0; margin-bottom: 10px; text-transform: uppercase; font-weight: 900; position: relative; z-index: 2; }
.cta-box p { font-size: 13px; color: #cbd5e1; line-height: 1.8; margin-bottom: 25px; position: relative; z-index: 2; }
.cta-buttons-container { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 25px; position: relative; z-index: 2; }
.btn-whatsapp { background: #25d366; color: white; border: 1px solid #25d366; }
.btn-whatsapp:hover { background: transparent; color: #25d366; box-shadow: 0 0 15px #25d366; transform: translateY(-3px); }
.btn-messenger { background: #0084ff; color: white; border: 1px solid #0084ff; }
.btn-messenger:hover { background: transparent; color: #0084ff; box-shadow: 0 0 15px #0084ff; transform: translateY(-3px); }

/* =========================================================
   7. FLOATING CONTACT BUTTONS & FOOTER
   ========================================================= */
.floating-container { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column; gap: 12px; z-index: 10000; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; text-decoration: none; font-size: 22px; box-shadow: 0 5px 20px rgba(0,0,0,0.6); transition: all .3s cubic-bezier(.175,.885,.32,1.275); position: relative; border: none; cursor: pointer; }
.float-btn::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: inherit; z-index: -1; filter: blur(10px); opacity: 0.6; transition: 0.3s; }
.float-btn:hover { transform: scale(1.15) translateY(-5px); outline: none; }
.float-btn:hover::before { opacity: 1; filter: blur(15px); }

/* UPGRADE: Scroll-to-top button — Add <button id="scrollTopBtn"> to HTML */
#scrollTopBtn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(8,16,24,0.9);
    border: 1px solid var(--cyber-blue);
    color: var(--cyber-blue);
    font-size: 16px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0,229,255,0.2);
}
#scrollTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scrollTopBtn:hover {
    background: var(--cyber-blue);
    color: #000;
    box-shadow: 0 0 20px var(--cyber-blue);
}

footer { background: #000; color: #fff; text-align: center; padding: 70px 20px 90px; border-top: 2px solid var(--neon-gold); position: relative; z-index: 2; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); }
footer a { color: var(--neon-gold); text-decoration: none; transition: 0.3s; font-weight: bold; border-bottom: 1px dashed rgba(255,183,3,0.5); }
footer a:hover { color: var(--cyber-blue); border-bottom-color: var(--cyber-blue); text-shadow: 0 0 10px var(--cyber-blue); outline: none; }
.footer-links { font-size: 12px; color: #94a3b8; margin-top: 20px; line-height: 2.5; }

/* =========================================================
   8. LEXIE CHATBOT UI
   ========================================================= */
.kohmz-bot-wrapper { position: fixed; bottom: 25px; left: 20px; z-index: 999999; font-family: 'Share Tech Mono', monospace; display: flex; flex-direction: column; align-items: flex-start; touch-action: none; }
.kohmz-bot-toggle { width: 130px; height: 130px; background: transparent; cursor: grab; position: relative; display: flex; justify-content: center; align-items: center; transition: transform 0.2s; filter: drop-shadow(0 0 10px rgba(0,229,255,0.5)); }
.kohmz-bot-toggle:hover { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(0,229,255,0.8)); }
.kohmz-bot-toggle:active { cursor: grabbing; }
lottie-player { width: 100% !important; height: 100% !important; pointer-events: none; }

.bot-value-tag { background: rgba(0,229,255,0.15); border: 1px solid var(--cyber-blue); color: var(--cyber-blue); font-size: 11px; padding: 8px 14px; border-radius: 4px; font-weight: 900; text-transform: uppercase; cursor: pointer; margin-bottom: 8px; transition: 0.3s; letter-spacing: 1px; box-shadow: 0 0 10px rgba(0,229,255,0.1); }
.bot-value-tag:hover { background: var(--cyber-blue); color: #000; box-shadow: 0 0 20px var(--cyber-blue); }
.god-mode-tag { background: var(--neon-gold) !important; color: #000 !important; border-color: var(--neon-gold) !important; box-shadow: 0 0 20px var(--neon-gold); animation: pulseGod 2s infinite alternate; }
@keyframes pulseGod { 0% { box-shadow: 0 0 10px var(--power-glow); } 100% { box-shadow: 0 0 30px var(--neon-gold); } }

/* FIX: display:none + flex-direction:column conflict resolved.
   Use .kohmz-chat-window.open { display: flex } in JS via classList.toggle('open')
   instead of directly setting style.display */
.kohmz-chat-window {
    display: none;
    width: 320px;
    /* FIX: dvh fallback for Safari < 15.4 and older Android */
    height: 75vh;
    height: 75dvh;
    max-height: 550px;
    max-width: calc(100vw - 30px);
    background: rgba(8,16,24,0.98);
    border: 1px solid var(--cyber-blue);
    border-top: 4px solid var(--cyber-blue);
    box-shadow: 0 15px 50px rgba(0,0,0,0.9), 0 0 20px rgba(0,229,255,0.2);
    margin-bottom: 12px;
    flex-direction: column;
    -webkit-backdrop-filter: blur(15px); /* FIX: Safari prefix */
    backdrop-filter: blur(15px);
    box-sizing: border-box;
    border-radius: 8px;
}
/* FIX: Use this class (toggle via JS) instead of style.display to avoid display conflict */
.kohmz-chat-window.open { display: flex; }

.kohmz-chat-header { background: #000; color: var(--cyber-blue); padding: 15px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; font-size: 13px; border-bottom: 1px solid rgba(0,229,255,0.3); box-sizing: border-box; letter-spacing: 1px; }
.kohmz-chat-body { padding: 15px; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.kohmz-chat-body::-webkit-scrollbar { width: 4px; }
.kohmz-chat-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
.kohmz-chat-body::-webkit-scrollbar-thumb { background: var(--cyber-blue); border-radius: 4px; }

.chat-bubble { background: rgba(255,255,255,0.05); color: #e0faff; padding: 12px; border-radius: 0 12px 12px 12px; margin-bottom: 5px; border-left: 3px solid var(--cyber-blue); font-size: 12px; word-wrap: break-word; white-space: pre-wrap; line-height: 1.6; font-family: 'Share Tech Mono', monospace; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: rgba(8,16,24,0.98); border-top: 1px solid rgba(0,229,255,0.15); width: 100%; box-sizing: border-box; justify-content: center; }
.quick-replies button { white-space: nowrap; background: rgba(0,229,255,0.1); border: 1px solid var(--cyber-blue); color: var(--cyber-blue); border-radius: 20px; padding: 8px 14px; font-size: 11px; cursor: pointer; transition: 0.3s; font-family: 'Share Tech Mono', monospace; font-weight: 800; flex: 1 1 auto; letter-spacing: 0.5px; }
.quick-replies button:hover { background: var(--cyber-blue); color: #000; box-shadow: 0 0 10px var(--cyber-blue); }

#cf-turnstile-container { padding: 8px 10px; background: #000; border-top: 1px solid rgba(0,229,255,0.2); display: flex; justify-content: center; }

.chat-input-area { display: grid; grid-template-columns: 35px 35px 35px 1fr 45px; gap: 6px; padding: 12px; background: #000; border-top: 1px solid rgba(0,229,255,0.2); align-items: center; border-radius: 0 0 8px 8px; }
.chat-tool-btn { height: 35px; background: transparent; border: 1px solid rgba(0,229,255,0.5); color: var(--cyber-blue); border-radius: 4px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.chat-tool-btn:hover { background: rgba(0,229,255,0.2); border-color: var(--cyber-blue); box-shadow: 0 0 8px rgba(0,229,255,0.3); }
.chat-input-field { height: 35px; background: rgba(255,255,255,0.05); border: 1px solid rgba(0,229,255,0.5); color: #fff; padding: 0 12px; font-family: 'Share Tech Mono'; font-size: 12px; outline: none; border-radius: 4px; width: 100%; box-sizing: border-box; transition: 0.3s; }
.chat-input-field:focus { border-color: var(--cyber-blue); background: rgba(0,229,255,0.05); box-shadow: inset 0 0 5px rgba(0,229,255,0.2); }
.chat-send-btn { height: 35px; background: var(--cyber-blue); border: none; border-radius: 4px; color: #000; cursor: pointer; font-weight: bold; font-size: 14px; transition: 0.3s; display: flex; justify-content: center; align-items: center; }
.chat-send-btn:hover { background: #fff; box-shadow: 0 0 15px var(--cyber-blue); }

#vision-preview { display: none; padding: 8px 12px; background: rgba(0,229,255,0.1); border-top: 1px solid var(--cyber-blue); align-items: center; gap: 12px; font-size: 11px; color: var(--cyber-blue); font-family: 'Share Tech Mono', monospace; }
#vision-preview img { height: 35px; width: 35px; border: 1px solid var(--cyber-blue); object-fit: cover; border-radius: 4px; }
.code-red-active { border-color: #e11d48 !important; box-shadow: 0 0 30px rgba(225,29,72,0.6) !important; }

/* =========================================================
   9. MOBILE RESPONSIVE TWEAKS (GLOBAL)
   ========================================================= */
@media (max-width: 768px) {
    .hero { background-size: 100% auto; background-position: center top; padding: 120px 5%; }
    .feature-grid { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; gap: 10px; }
    .calc-section { padding: 25px; margin: 30px 10px; }
    .calc-results-wrap { grid-template-columns: 1fr; }
    .res-box[style*="grid-column"] { grid-column: span 1 !important; }

    .vip-advisory { margin: 0 15px 50px; padding: 25px 20px; width: auto; box-sizing: border-box; }
    .vip-header-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .vip-content-grid { flex-direction: column; align-items: stretch; }
    .vip-text-col, .vip-btn-col { width: 100%; }

    .floating-container {
        flex-direction: row !important; flex-wrap: nowrap !important;
        bottom: 15px !important; right: 50% !important; transform: translateX(50%) !important;
        gap: 10px !important; width: auto !important; justify-content: center !important;
        background: rgba(8,16,24,0.9); padding: 10px 15px; border-radius: 30px;
        border: 1px solid rgba(0,229,255,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.9);
        -webkit-backdrop-filter: blur(15px); /* FIX: Safari prefix */
        backdrop-filter: blur(15px);
    }
    .float-btn { width: 42px !important; height: 42px !important; font-size: 18px !important; }

    .kohmz-bot-wrapper { bottom: 90px !important; left: 15px !important; right: auto !important; }
    .kohmz-bot-toggle { width: 65px !important; height: 65px !important; }
    .kohmz-chat-window {
        width: calc(100vw - 30px) !important;
        margin-bottom: 15px;
        /* FIX: dvh fallback */
        height: 75vh;
        height: 75dvh;
        max-height: 500px;
    }

    #scrollTopBtn { bottom: 80px; right: 15px; }
   
}
/* 🚨 PERFORMANCE FIXES: CLS (Cumulative Layout Shift) 🚨 */

/* 1. Pigilan ang pag-usog ng layout kapag nag-load si Lexie */
#kohmz-chatbot-container {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
    pointer-events: none; /* Papayagan ang click na lumusot sa background */
}

/* 2. Bigyan ng reserbang espasyo ang Cloudflare Turnstile para hindi mag-jump ang chatbox */
#cf-turnstile-container {
    min-height: 65px; 
    padding: 8px 10px; 
    background: #000; 
    border-top: 1px solid rgba(0,229,255,0.2); 
    display: flex; 
    justify-content: center; 
    align-items: center;
}
