/* ==========================================================================
   BENEXUS LANDING PAGE STYLESHEET
   --------------------------------------------------------------------------
   Author: Senior UI/UX & Web Developer
   Palette: Midnight Navy (#0A192F) & Electric Emerald (#00E676)
   ========================================================================== */

/* --- CSS Variables & Custom Design System Tokens --- */
:root {
    --bg-dark: #0A192F;
    --bg-dark-card: #112240;
    --bg-dark-nav: rgba(10, 25, 47, 0.85);
    
    --primary-accent: #00E676;
    --primary-accent-hover: #00b35a;
    --primary-accent-alpha: rgba(0, 230, 118, 0.15);
    
    --text-white: #FFFFFF;
    --text-slate-light: #F4F6FB;
    --text-slate: #CCD6F6;
    --text-slate-muted: #8892B0;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 230, 118, 0.3);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 8px 32px rgba(0, 230, 118, 0.12);
}

/* --- Base & Reset Rules --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-slate);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input, select, textarea, button {
    font-family: inherit;
}

/* --- Utility Layout Elements --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.accent-text { color: var(--primary-accent); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

.btn-secondary:hover {
    background-color: var(--primary-accent-alpha);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-dark-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
}

.logo-core {
    animation: coreGlow 3s infinite alternate;
}

.logo-ring-inner {
    transform-origin: center;
    animation: rotateClockwise 20s infinite linear;
}

.logo-ring-outer {
    transform-origin: center;
    animation: rotateCounterClockwise 30s infinite linear;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-slate-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    border: 1px solid var(--border-accent);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(10, 25, 47, 0.8) 0%, var(--bg-dark) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    border: 1px solid var(--border-accent);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-slate-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- The Hub Visual Graphic Concept (CSS Visualized) --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 450px;
}

.hub-system {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-nexus {
    position: relative;
    width: 60px;
    height: 60px;
    z-index: 10;
}

.core-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--primary-accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px 10px rgba(0, 230, 118, 0.6);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    animation: nexusPulse 2s infinite linear;
}

.pulse-ring-two {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    animation: nexusPulse 2s infinite linear 1s;
}

.orbit-line {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: rotateClockwise 25s infinite linear;
}

.orbit-2 {
    width: 320px;
    height: 320px;
    animation: rotateCounterClockwise 35s infinite linear;
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-accent);
    color: var(--primary-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.node:hover {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
    box-shadow: var(--shadow-accent);
    transform: scale(1.1);
}

.node-top { top: -20px; }
.node-bottom { bottom: -20px; }
.node-left { left: -20px; }
.node-right { right: -20px; }

/* Converging visual lines (data streams) using radial gradients */
.data-stream {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.3), transparent);
    height: 1px;
    width: 100%;
}

.line-1 { transform: rotate(30deg); }
.line-2 { transform: rotate(120deg); }
.line-3 { transform: rotate(210deg); }
.line-4 { transform: rotate(300deg); }

/* --- Sections Core Headers --- */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    color: var(--primary-accent);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-slate-muted);
}

/* --- Section: B.E.N.E.X.U.S. Methodology --- */
.methodology-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at center, rgba(17, 34, 64, 0.4) 0%, var(--bg-dark) 70%);
}

.tab-control-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tab-buttons {
    display: flex;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: var(--radius-lg);
    gap: 8px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-slate-muted);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.tab-btn i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.tab-sub {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.tab-btn.active {
    background-color: var(--bg-dark);
    color: var(--primary-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.tab-content-container {
    position: relative;
    min-height: 480px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.6s ease forwards;
}

.tab-panel.active {
    display: block;
}

/* Acronym Layout Grid */
.acronym-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.acronym-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.acronym-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: transparent;
    transition: var(--transition-fast);
}

.acronym-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-subtle);
}

.acronym-card:hover::before {
    background-color: var(--primary-accent);
}

.letter-badge {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(0, 230, 118, 0.1);
}

/* Tab B Badge variation to differentiate */
.letter-badge-sec {
    background-color: rgba(0, 230, 118, 0.08);
    color: #b9ffd9;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-body p {
    font-size: 0.92rem;
    color: var(--text-slate-muted);
    line-height: 1.5;
}

/* Wide layout for the 'S' Strategy/Security */
.acronym-card-wide {
    grid-column: span 3;
    display: flex;
    align-items: center;
    padding: 36px;
    background: linear-gradient(135deg, var(--bg-dark-card) 0%, rgba(17, 34, 64, 0.6) 100%);
    border: 1px solid var(--border-accent);
}

.acronym-card-wide .letter-badge {
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
}

.acronym-card-wide .card-body h3 {
    font-size: 1.5rem;
}

.acronym-card-wide .card-body p {
    font-size: 1rem;
}

/* --- Section: Services (3 Pillars) --- */
.services-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-accent);
}

/* Highlight style for the central/important card (Fractional CISO) */
.service-card.featured {
    border: 2px solid var(--primary-accent);
    box-shadow: var(--shadow-accent);
    background: linear-gradient(180deg, var(--bg-dark-card) 0%, rgba(10, 25, 47, 0.9) 100%);
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-accent);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon-container {
    width: 64px;
    height: 64px;
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-container {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-accent);
    color: var(--bg-dark);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.service-subtitle {
    color: var(--primary-accent);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card.featured .service-subtitle {
    color: var(--text-white);
}

.service-desc-text {
    font-size: 0.95rem;
    color: var(--text-slate-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card.featured .service-desc-text {
    color: var(--text-slate);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.service-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-slate);
}

.service-features li i {
    color: var(--primary-accent);
    font-size: 1rem;
}

/* --- Section: CTA / Contacts --- */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(17, 34, 64, 0.4) 100%);
}

.contact-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.contact-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: radial-gradient(circle at top left, var(--primary-accent-alpha) 0%, transparent 60%);
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info p {
    color: var(--text-slate-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item span {
    font-weight: 500;
    color: var(--text-slate);
}

.contact-form-container {
    padding: 60px;
    background-color: rgba(10, 25, 47, 0.5);
    border-left: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-slate-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.15);
}

.form-group select option {
    background-color: var(--bg-dark-card);
    color: var(--text-white);
}

/* --- Footer --- */
.site-footer {
    background-color: #071324;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-slate-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-link-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-accent);
    margin-bottom: 24px;
}

.footer-link-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link-col ul a {
    color: var(--text-slate-muted);
    font-size: 0.9rem;
}

.footer-link-col ul a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-slate-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    color: var(--text-slate-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--bg-dark);
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}

/* --- KEYFRAMES / CSS ANIMATIONS --- */
@keyframes nexusPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes coreGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(0, 230, 118, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.9));
    }
}

@keyframes rotateClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Small Desktop / Laptop (under 1200px) */
@media (max-width: 1200px) {
    .acronym-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .acronym-card-wide {
        grid-column: span 2;
    }
    .services-grid {
        gap: 20px;
    }
    .footer-container {
        gap: 40px;
    }
}

/* Tablets (under 992px) */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 24px auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
        order: -1; /* visual on top for mobile */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Mobile & Small Tablets (under 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .site-header {
        height: 80px;
    }
    
    .header-container {
        height: 80px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    /* Mobile Menu Drawer style */
    .main-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        overflow: hidden;
        transition: var(--transition-smooth);
        justify-content: center;
        align-items: flex-start;
        padding-top: 0;
        z-index: 999;
    }
    
    .main-navigation.active {
        height: calc(100vh - 80px);
        padding-top: 40px;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-btn {
        width: calc(100% - 48px);
        text-align: center;
        padding: 14px;
    }
    
    .tab-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .acronym-grid {
        grid-template-columns: 1fr;
    }
    
    .acronym-card-wide {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .contact-info, 
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Form Status Message Styles --- */
.form-status {
    display: none;
    margin-top: 16px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    animation: fadeIn var(--transition-fast) forwards;
}

.form-status.success {
    display: block;
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    border: 1px solid var(--border-accent);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 83, 80, 0.15);
    color: #ef5350;
    border: 1px solid rgba(239, 83, 80, 0.3);
}

/* --- Captcha Validation Styling --- */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-question {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-accent);
    letter-spacing: 2px;
    user-select: none;
    font-size: 1.1rem;
}

.captcha-wrapper input {
    flex-grow: 1;
}
}

/* --- Captcha Validation Styling --- */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-question {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-accent);
    letter-spacing: 2px;
    user-select: none;
    font-size: 1.1rem;
}

.captcha-wrapper input {
    flex-grow: 1;
}

/* --- Security Advisory Modal Overlay --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background-color: var(--bg-dark-card);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 960px;
    max-height: 85vh;
    padding: 40px 20px 40px 40px;
    position: relative;
    box-shadow: var(--shadow-subtle), 0 0 50px rgba(0, 230, 118, 0.08);
    transform: translateY(-30px);
    transition: transform var(--transition-smooth);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.2rem;
    color: var(--text-slate-muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 100;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-accent);
    transform: rotate(90deg);
}

.modal-content-scroll {
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    padding-right: 24px;
}

/* Custom Scrollbar for Modal content */
.modal-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-content-scroll::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: var(--radius-full);
}

.modal-content-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 230, 118, 0.3);
    border-radius: var(--radius-full);
}

.modal-content-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}

/* Modal Content Header & Quote */
.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    border: 1px solid var(--border-accent);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.modal-quote {
    background-color: rgba(10, 25, 47, 0.6);
    border-left: 3px solid var(--primary-accent);
    padding: 24px 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 40px;
    position: relative;
}

.modal-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-slate-light);
    line-height: 1.6;
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 12px;
    font-size: 2rem;
    color: rgba(0, 230, 118, 0.08);
    pointer-events: none;
}

/* Modal Sections */
.modal-section {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.modal-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-section-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

.section-icon {
    color: var(--primary-accent);
    font-size: 1.4rem;
}

.section-sub {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-slate-muted);
}

.modal-section-desc {
    color: var(--text-slate-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

/* Briefing Details (Scenario, Impact, Solution) */
.briefing-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.briefing-tag {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-slate-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.briefing-card h4 {
    font-size: 1.3rem;
    margin: 12px 0 24px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.briefing-step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 28px;
}

.briefing-step h5 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
}

.text-accent {
    color: var(--primary-accent);
}

.briefing-step p {
    font-size: 0.9rem;
    color: var(--text-slate-muted);
    line-height: 1.5;
}

.briefing-actions {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.briefing-actions li {
    font-size: 0.9rem;
    color: var(--text-slate);
    line-height: 1.4;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.briefing-actions li i {
    color: var(--primary-accent);
    font-size: 0.85rem;
    margin-top: 3px;
}

/* Compliance Framework Cards Grid */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.framework-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-fast);
}

.framework-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.framework-badge {
    background-color: var(--primary-accent-alpha);
    color: var(--primary-accent);
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border-accent);
}

.framework-card p {
    font-size: 0.9rem;
    color: var(--text-slate-muted);
    line-height: 1.5;
}

/* Lead Gen Assessment */
.assessment-container {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.assessment-intro {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-slate-light);
}

.assessment-questions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.assessment-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Hide standard HTML Checkbox */
.assessment-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Checkbox Design */
.checkbox-custom {
    width: 22px;
    height: 22px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition-fast);
    position: relative;
}

.assessment-item:hover .checkbox-custom {
    border-color: var(--border-accent);
}

/* Checkbox Checked state */
.assessment-checkbox:checked ~ .checkbox-custom {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

/* Checkbox indicator mark */
.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid var(--bg-dark);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.assessment-checkbox:checked ~ .checkbox-custom::after {
    display: block;
}

.assessment-text {
    font-size: 0.95rem;
    color: var(--text-slate);
    line-height: 1.5;
}

.assessment-checkbox:checked ~ .assessment-text {
    color: var(--text-white);
    font-weight: 500;
}

/* Assessment Dynamic Result Message */
.assessment-result {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 16px 20px;
    background-color: rgba(239, 83, 80, 0.08);
    border: 1px solid rgba(239, 83, 80, 0.25);
    border-radius: var(--radius-md);
    color: #ef5350;
    animation: fadeIn var(--transition-fast) forwards;
}

.result-icon {
    font-size: 1.25rem;
}

.assessment-result strong {
    color: #ffffff;
}

/* Modal Footer & CTA */
.modal-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    text-align: center;
}

.modal-footer h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-footer p {
    color: var(--text-slate-muted);
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Modal Styling overrides */
@media (max-width: 992px) {
    .briefing-step-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modal-container {
        padding: 30px 16px 30px 24px;
        max-height: 90vh;
    }
    
    .modal-content-scroll {
        max-height: calc(90vh - 70px);
        padding-right: 16px;
    }
    
    .modal-title {
        font-size: 1.7rem;
    }
    
    .modal-quote {
        padding: 16px 20px;
    }
    
    .modal-quote p {
        font-size: 1rem;
    }
    
    .assessment-container {
        padding: 20px 16px;
    }
}
