/* =========================================
   GLOBAL UI & TYPOGRAPHY
   ========================================= */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg-base: #000000; 
    --glass-bg: rgba(25, 25, 25, 0.6); 
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    
    --text-primary: #f5f5f7;
    --text-muted: #a1a1a6;
    --normal: #30d158;
    --warn: #ff9f0a;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', monospace;
}

body {
    background: radial-gradient(circle at 50% -20%, #1c1c1e 0%, var(--bg-base) 100%);
    background-attachment: fixed; 
    color: var(--text-primary); 
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0; padding: 0; 
    overflow-x: hidden; 
    width: 100vw; min-height: 100vh;
    font-size: 14px; 
}

/* =========================================
   THE FIXED DYNAMIC HEADER
   ========================================= */
.top-sticky-zone { position: fixed; top: 0; left: 0; width: 100vw; z-index: 9999; pointer-events: none; display: flex; flex-direction: column; align-items: center; padding-top: 15px; }

.main-outer-pill {
    position: relative; overflow: hidden;
    background: rgba(20, 20, 20, 0.85); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 40px;
    width: 95%; max-width: 1000px; height: 55px; margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); pointer-events: auto; transition: all 0.3s ease;
}

.header-view-default, .header-view-expanded {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; height: 100%; padding: 0 20px; position: absolute; top: 0; left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-view-expanded { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.header-view-expanded.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-view-default.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

.h-left { display: flex; align-items: center; gap: 8px; width: 30%; }
.h-center { display: flex; justify-content: center; align-items: center; width: 40%; }
.h-right { display: flex; justify-content: flex-end; align-items: center; width: 30%; }

.h-date { font-size: 0.7rem; color: var(--normal); font-family: var(--font-mono); font-weight: 600;}

.title-stack { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; cursor: pointer; transition: 0.2s;}
.title-stack:hover { transform: scale(1.05); }
.title-stack h1 { margin: 0; font-size: 1.1rem; line-height: 1; font-family: 'League Spartan', sans-serif; letter-spacing: 1px; color: #fff;}
.title-stack span { font-size: 0.45rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 2px;}

.hamburger-btn { background: transparent; border: none; color: #fff; cursor: pointer; display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; outline: none; }
.hamburger-btn svg { width: 20px; height: 20px; stroke: currentColor; }

.options-stack { display: flex; gap: 10px; }
.btn-green { border: 1px solid #30d158; color: #30d158; border-radius: 20px; padding: 6px 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; font-size: 0.7rem; background: rgba(48,209,88,0.1); }
.active-btn { background: #30d158; color: #000; box-shadow: 0 0 10px rgba(48,209,88,0.5); }
.close-btn-red { background: rgba(255,59,48,0.15); border: 1px solid #ff3b30; color: #ff3b30; border-radius: 50%; width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; cursor: pointer; }

.pulse { height: 6px; width: 6px; background-color: var(--normal); border-radius: 50%; display: inline-block; box-shadow: 0 0 10px var(--normal); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* =========================================
   STACKED DASHBOARD (INITIATIVE & SYSTEMS)
   ========================================= */
.stacked-dashboard { 
    position: relative; z-index: 5; display: block; 
    padding: 10px; padding-top: 90px; 
    max-width: 600px; margin: 0 auto; width: 100%; 
}

.stacked-dashboard .panel { 
    position: sticky; margin-bottom: 20px; 
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); border-radius: 16px; 
    display: flex; flex-direction: column; 
    transition: all 0.3s ease; width: 100%; overflow: hidden; 
}

.panel-glow-1 { box-shadow: 0 0 40px rgba(48, 209, 88, 0.1), inset 0 0 10px rgba(255,255,255,0.02); }
.panel-glow-2 { box-shadow: 0 0 40px rgba(10, 132, 255, 0.1), inset 0 0 10px rgba(255,255,255,0.02); }

.stacked-dashboard .panel:nth-child(1) { top: 90px; z-index: 10; }
.stacked-dashboard .panel:nth-child(2) { top: 136px; z-index: 11; }

.panel-header { 
    height: 42px; padding: 0 15px; border-bottom: 1px solid var(--glass-border); 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(0,0,0,0.4); 
    font-size: 0.8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; 
}

.panel-content { padding: 20px; position: relative; } 
.panel-content p { font-size: 0.85rem; line-height: 1.6; margin-top: 0; margin-bottom: 15px; color: #d1d1d6; }

/* Word-by-Word Glow Effect */
.glow-word {
    display: inline-block;
    color: #666; 
    margin-right: 4px; /* Ensured proper spacing between words */
    animation: wordSweep 4s infinite linear;
}
@keyframes wordSweep {
    0%, 100% { color: #666; text-shadow: none; }
    50% { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.6); }
}

.feature-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.feature-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.feature-item h3 { color: #fff; font-size: 0.9rem; margin-top: 0; margin-bottom: 5px; font-weight: 600; }
.feature-item p { margin-bottom: 0; font-size: 0.8rem; color: var(--text-muted); line-height: 1.4;}

/* =========================================
   LOWER SECTION (NON-STACKED)
   ========================================= */
.bottom-section {
    max-width: 600px; margin: 30px auto 40px auto; padding: 0 15px;
    position: relative; z-index: 12; background: transparent;
}

.instruction-text { color: #a1a1a6; font-size: 0.8rem; line-height: 1.5; text-align: center; padding: 0 10px; margin-bottom: 20px;}

/* Marquee Disclaimer Pill */
.disclaimer-ticker-pill {
    width: 100%; max-width: 600px; margin: 0 auto 30px auto;
    background: rgba(255, 159, 10, 0.1); border: 1px solid rgba(255, 159, 10, 0.5);
    border-radius: 30px; height: 35px; overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 159, 10, 0.15);
    display: flex; align-items: center; pointer-events: none;
}
.ticker-wrap { width: 100%; overflow: hidden; white-space: nowrap; display: flex; align-items: center; height: 100%;}
.ticker-move { 
    display: inline-block; padding-left: 100%; 
    animation: ticker 70s linear infinite; /* Slowed down to 70s */
    will-change: transform; /* Eliminates lag */
    transform: translateZ(0); 
} 
.ticker-item { 
    margin-right: 50px; font-family: var(--font-mono); font-size: 0.7rem; 
    color: var(--warn); font-weight: bold; letter-spacing: 0.5px;
    will-change: transform; transform: translateZ(0);
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Form Container Yellow Glows */
.form-container { display: flex; justify-content: center; width: 100%; border-radius: 20px; padding: 20px 0;}
.form-glow-yellow { box-shadow: 0 0 50px rgba(253, 216, 53, 0.15); background: rgba(253, 216, 53, 0.02);}
.form-glow-green { box-shadow: 0 0 50px rgba(48, 209, 88, 0.1); background: rgba(48, 209, 88, 0.02); padding: 30px 0; border-radius: 20px;}

/* =========================================
   USER'S EXACT CONTACT FORM CSS
   ========================================= */
.custom-form-layout { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 250px;}

.inputGroup { font-family: var(--font-sans); margin: 0.8em 0; width: 100%; position: relative; }
.inputGroup input, .inputGroup textarea {
    font-size: 0.9rem; padding: 0.8em; outline: none; border: 2px solid rgb(100, 100, 100);
    background-color: transparent; border-radius: 20px; width: 100%; color: #fff;
    font-family: var(--font-sans); box-sizing: border-box;
}
.inputGroup textarea { resize: none; overflow: hidden; min-height: 44px; border-radius: 18px; line-height: 1.4;}

.inputGroup label {
    font-size: 0.9rem; position: absolute; left: 0; padding: 0.8em; margin-left: 0.5em;
    pointer-events: none; transition: all 0.3s ease; color: rgb(150, 150, 150);
}

.inputGroup :is(input:focus, input:valid, textarea:focus, textarea:valid)~label {
    transform: translateY(-50%) scale(.9); margin: 0em; margin-left: 1.3em;
    padding: 0.4em; background-color: #1c1c1e; border-radius: 5px; color: #fff;
}

.inputGroup :is(input:focus, input:valid, textarea:focus, textarea:valid) { border-color: rgb(150, 150, 200); }

/* =========================================
   TAILWIND TRANSLATED BUTTON (NO GLOW)
   ========================================= */
.tw-submit-btn {
    cursor: pointer; position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0; border-radius: 9999px;
    min-width: 8.5rem; min-height: 2.92rem; max-width: 100%;
    display: flex; align-items: center; justify-content: flex-start;
    transition: all 0.8s cubic-bezier(0.510,0.026,0.368,1.016);
    /* Exact Tailwind shadow without the glow */
    box-shadow: inset 1px 2px 5px rgba(0,0,0,0.5);
    border: none; outline: none; font-family: var(--font-sans);
    margin-top: 15px; overflow: hidden;
}

.tw-submit-btn:hover { background-color: #4ade80; }

.tw-submit-inner-abs {
    position: absolute; display: flex; padding: 0.125rem 0.25rem;
    justify-content: flex-start; align-items: center; 
    top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
}

.tw-submit-spacer { width: 0%; transition: all 1s cubic-bezier(0.510,0.026,0.368,1.016); height: 100%;}
.tw-submit-btn:hover .tw-submit-spacer { width: 100%; }

.tw-submit-circle {
    border-radius: 9999px; flex-shrink: 0; display: flex; justify-content: center; align-items: center;
    box-shadow: inset 1px -1px 3px 0 black; height: 100%; aspect-ratio: 1 / 1;
    background-color: #4ade80; transition: all 1s cubic-bezier(0.510,0.026,0.368,1.016);
}
.tw-submit-btn:hover .tw-submit-circle { background-color: black; }

.tw-submit-icon {
    width: 0.8rem; height: 0.8rem; color: black; display: flex; justify-content: center; align-items: center;
    transition: all 1s cubic-bezier(0.510,0.026,0.368,1.016);
}
.tw-submit-btn:hover .tw-submit-icon { color: white; transform: rotate(-45deg); }

.tw-submit-text {
    padding-left: 3.4rem; padding-right: 1.1rem; transition: all 1s cubic-bezier(0.510,0.026,0.368,1.016);
    color: white; font-size: 1rem; z-index: 2; font-weight: normal; font-family: var(--font-sans);
}
.tw-submit-btn:hover .tw-submit-text { padding-left: 1.1rem; padding-right: 3.4rem; color: black; }


/* =========================================
   USER'S EXACT SUBSCRIBE FORM CSS
   ========================================= */
.newsletter-container { display: flex; justify-content: center; width: 100%; padding: 30px 15px; border-radius: 20px;}

.input-wrapper {
    width: 100%; max-width: 350px; 
    height: 45px; border-radius: 25px; padding: 5px; box-sizing: border-box;
    display: flex; align-items: center; background-color: #292524;
}

.icon { width: 25px; fill: rgb(255, 255, 255); margin-left: 8px; transition: all 0.3s; flex-shrink: 0;}

.sub-input {
    flex: 1; 
    max-width: none; height: 100%; border: none; outline: none; padding-left: 10px; padding-right: 10px;
    background-color: transparent; color: white; font-size: 0.9rem; font-family: var(--font-sans);
}
.sub-input::placeholder { color: #888; }
.sub-input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #292524 inset; -webkit-text-fill-color: #ffffff; }

.Subscribe-btn {
    height: 100%; width: 85px; flex-shrink: 0; border: none; border-radius: 20px; color: rgb(0, 0, 0);
    cursor: pointer; background-color: #ffffff; font-weight: 600; font-family: var(--font-sans);
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    position: relative; transition: all 0.3s;
}

.arrow { position: absolute; margin-right: 150px; transition: all 0.3s; width: 24px;}
.input-wrapper:active .icon { transform: scale(1.3); }
.Subscribe-btn:hover { color: white; }
.Subscribe-btn:hover .arrow { margin-right: 0; animation: jello-vertical 0.9s both; transform-origin: right; fill: #000; }
.Subscribe-btn:active { transform: scale(0.9); }

@keyframes jello-vertical {
    0% { transform: scale3d(1, 1, 1); }
    30% { transform: scale3d(0.75, 1.25, 1); }
    40% { transform: scale3d(1.25, 0.75, 1); }
    50% { transform: scale3d(0.85, 1.15, 1); }
    65% { transform: scale3d(1.05, 0.95, 1); }
    75% { transform: scale3d(0.95, 1.05, 1); }
    100% { transform: scale3d(1, 1, 1); }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    width: 100%; text-align: center; padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px;
}
.site-footer p { margin: 0; font-size: 0.75rem; color: #888; letter-spacing: 0.5px;}
.site-footer strong { color: #fff; }

@media (max-width: 600px) {
    .stacked-dashboard { padding: 10px; padding-top: 90px; }
    .panel-content { padding: 20px; }
}