/* ==========================================================================
   SENTINEL — Design System & Component Styles
   Pure vanilla CSS. No frameworks. Every token is intentional.
   ========================================================================== */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--surface-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--green);
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

ul, ol {
    list-style: none;
}


/* === CUSTOM PROPERTIES (DESIGN TOKENS — DARK FIRST) === */
:root,
html.dark {
    /* Brand */
    --green:              hsl(152, 56%, 46%);
    --green-hover:        hsl(152, 56%, 52%);
    --green-soft:         hsla(152, 56%, 46%, 0.15);
    --green-dim:          hsl(152, 60%, 48%);
    --green-glow:         hsla(152, 56%, 46%, 0.25);

    /* Surfaces */
    --bg-base:            #040814;
    --surface-light:      #040814;
    --surface-alt:        hsla(222, 40%, 6.5%, 0.25);
    --surface-dark:       hsla(222, 45%, 4.5%, 0.85);
    --surface-dark-card:  hsla(222, 35%, 8.5%, 0.25);
    --surface-card:       hsla(222, 35%, 8.5%, 0.25);
    --surface-white:      hsla(222, 30%, 11%, 0.25);

    /* Text */
    --text-primary:       #f8fafc;
    --text-secondary:     #94a3b8;
    --text-tertiary:      #64748b;
    --text-on-dark:       #f8fafc;
    --text-on-dark-muted: #94a3b8;

    /* Cyber Button (White with Black Text in Dark Mode) */
    --cyber-btn-bg:            #ffffff;
    --cyber-btn-border:        #ffffff;
    --cyber-btn-text:          #000000;
    --cyber-btn-text-muted:    #1e293b;
    --cyber-btn-disabled-bg:   #f8fafc;
    --cyber-btn-disabled-text: #0f172a;

    /* Navigation Glass */
    --nav-bg:             hsla(222, 47%, 6%, 0.25);
    --nav-border:         hsla(0, 0%, 100%, 0.1);

    /* Secondary Button */
    --btn-sec-bg:         hsla(222, 30%, 14%, 0.85);
    --btn-sec-hover:      hsla(222, 30%, 20%, 0.95);
    --btn-sec-border:     hsla(0, 0%, 100%, 0.14);
    --btn-sec-color:      #f8fafc;

    /* Form & Cards */
    --card-bg:            hsla(222, 35%, 8.5%, 0.65);
    --card-border:        hsla(0, 0%, 100%, 0.1);
    --input-bg:           hsla(222, 40%, 5.5%, 0.7);
    --input-border:       hsla(0, 0%, 100%, 0.14);

    /* Borders */
    --border-subtle:      hsla(0, 0%, 100%, 0.08);
    --border-medium:      hsla(0, 0%, 100%, 0.15);
    --border-dark:        hsla(0, 0%, 100%, 0.18);
    --border-dark-subtle: hsla(0, 0%, 100%, 0.08);

    /* Shadows */
    --shadow-sm:          0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md:          0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg:          0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl:          0 20px 60px rgba(0, 0, 0, 0.7);

    /* Logo Filter (invert black png to white) */
    --logo-filter:        invert(1) brightness(2);
}

/* Explicit Light Theme (when toggled) */
html:not(.dark) {
    /* Brand */
    --green:              hsl(152, 56%, 40%);
    --green-hover:        hsl(152, 56%, 34%);
    --green-soft:         hsl(152, 40%, 92%);
    --green-dim:          hsl(152, 50%, 28%);
    --green-glow:         hsla(152, 56%, 46%, 0.15);

    /* Surfaces */
    --bg-base:            hsl(220, 20%, 98%);
    --surface-light:      hsl(220, 20%, 98%, 0.25);
    --surface-alt:        hsla(0, 0%, 100%, 0.25);
    --surface-dark:       hsl(220, 26%, 8%);
    --surface-dark-card:  hsl(220, 22%, 14%);
    --surface-card:       hsla(0, 0%, 100%, 0.25);
    --surface-white:      #ffffff;

    /* Text */
    --text-primary:       hsl(220, 30%, 8%);
    --text-secondary:     hsl(220, 16%, 30%);
    --text-tertiary:      hsl(220, 10%, 48%);
    --text-on-dark:       hsl(220, 20%, 92%);
    --text-on-dark-muted: hsl(220, 12%, 58%);

    /* Cyber Button (Black with White Text in Light Mode) */
    --cyber-btn-bg:            #000000;
    --cyber-btn-border:        hsl(220, 20%, 16%);
    --cyber-btn-text:          #ffffff;
    --cyber-btn-text-muted:    #94a3b8;
    --cyber-btn-disabled-bg:   #000000;
    --cyber-btn-disabled-text: #94a3b8;

    /* Navigation Glass */
    --nav-bg:             hsla(0, 0%, 100%, 0.4);
    --nav-border:         hsla(220, 20%, 90%, 0.3);

    /* Secondary Button */
    --btn-sec-bg:         hsla(220, 16%, 96%, 0.9);
    --btn-sec-hover:      hsla(220, 16%, 92%, 0.95);
    --btn-sec-border:     var(--border-subtle);
    --btn-sec-color:      var(--text-primary);

    /* Form & Cards */
    --card-bg:            hsla(0, 0%, 100%, 0.25);
    --card-border:        hsla(220, 20%, 88%, 0.25);
    --input-bg:           #ffffff;
    --input-border:       var(--border-medium);

    /* Borders */
    --border-subtle:      hsl(220, 14%, 90%);
    --border-medium:      hsl(220, 14%, 84%);
    --border-dark:        hsl(220, 20%, 18%);
    --border-dark-subtle: hsla(0, 0%, 100%, 0.08);

    /* Shadows */
    --shadow-sm:          0 1px 3px hsla(220, 30%, 8%, 0.06);
    --shadow-md:          0 4px 16px hsla(220, 30%, 8%, 0.08);
    --shadow-lg:          0 12px 40px hsla(220, 30%, 8%, 0.12);
    --shadow-xl:          0 20px 60px hsla(220, 30%, 8%, 0.16);

    /* Logo Filter (natural black png) */
    --logo-filter:        none;
}

:root {
    /* Spacing */
    --space-xs:           0.25rem;   /* 4px */
    --space-sm:           0.5rem;    /* 8px */
    --space-md:           0.75rem;   /* 12px */
    --space-base:         1rem;      /* 16px */
    --space-lg:           1.5rem;    /* 24px */
    --space-xl:           2rem;      /* 32px */
    --space-2xl:          3rem;      /* 48px */
    --space-3xl:          4rem;      /* 64px */
    --space-4xl:          6rem;      /* 96px */
    --space-5xl:          8rem;      /* 128px */

    /* Radius */
    --radius-sm:          0.375rem;  /* 6px */
    --radius-md:          0.75rem;   /* 12px */
    --radius-lg:          1rem;      /* 16px */
    --radius-xl:          1.25rem;   /* 20px */
    --radius-2xl:         1.5rem;    /* 24px */
    --radius-full:        9999px;

    /* Transitions */
    --ease-out:           cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth:        cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast:      150ms;
    --duration-base:      300ms;
    --duration-slow:      500ms;

    /* Layout */
    --max-width:          72rem;     /* 1152px */
    --max-width-narrow:   56rem;     /* 896px */
    --max-width-text:     42rem;     /* 672px */
}


/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.heading-hero {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text-primary);
}

.heading-hero .accent {
    color: var(--green);
}

.heading-section {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.heading-feature {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.heading-card {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.text-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.text-caption {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.text-mono {
    font-family: 'Fira Code', monospace;
}

.text-green {
    color: var(--green);
}

.label {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: var(--space-md);
    display: block;
}


/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-inline: var(--space-lg);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.container--text {
    max-width: var(--max-width-text);
}

.section {
    padding-block: var(--space-4xl);
}

.section--hero {
    padding-top: 10rem;
    padding-bottom: var(--space-3xl);
}

.text-center {
    text-align: center;
}


/* === CANVAS BACKGROUND === */
#bg-vector-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}


/* === NAVIGATION === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: var(--space-base) var(--space-lg);
    pointer-events: none;
}

.site-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-xl);
    pointer-events: auto;

    /* Glassmorphism */
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--nav-border);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--duration-base) var(--ease-smooth), border-color var(--duration-base) var(--ease-smooth);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    filter: var(--logo-filter);
    transition: transform var(--duration-base) var(--ease-out), filter var(--duration-base) var(--ease-smooth);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--duration-fast) var(--ease-smooth);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-cta-wrapper {
    position: relative;
}

.nav-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-sm);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
    pointer-events: none;
    z-index: 50;

    background: var(--surface-dark-card);
    color: var(--text-on-dark);
    font-size: 0.75rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-xl);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-cta-wrapper:hover .nav-tooltip {
    opacity: 1;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: hsl(45, 93%, 58%);
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 2.375rem;
    height: 2.375rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--surface-white);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-smooth);
    box-sizing: border-box;
}

.theme-toggle-btn:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-1px);
}

.theme-toggle-btn svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* Theme Icon Visibility */
html.dark .theme-icon--sun { display: block; color: #facc15; }
html.dark .theme-icon--moon { display: none; }
html:not(.dark) .theme-icon--sun { display: none; }
html:not(.dark) .theme-icon--moon { display: block; color: #475569; }

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    padding: var(--space-sm);
    color: var(--text-primary);
    transition: color var(--duration-fast) var(--ease-smooth);
}

.mobile-menu-btn:hover {
    color: var(--green);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}


/* === MOBILE MENU OVERLAY === */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: hsla(220, 40%, 4%, 0.95);
    backdrop-filter: blur(2rem);
    -webkit-backdrop-filter: blur(2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-smooth);
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-sm);
    color: var(--text-on-dark-muted);
    transition: color var(--duration-fast) var(--ease-smooth);
}

.mobile-menu-close:hover {
    color: #fff;
}

.mobile-menu-close svg {
    width: 1.75rem;
    height: 1.75rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    transition: color var(--duration-fast) var(--ease-smooth);
}

.mobile-nav-link:hover {
    color: var(--green);
}

.mobile-menu-divider {
    margin-top: var(--space-base);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}


/* === CYBER BUTTONS === */
.cyber-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-base) var(--ease-out);
    background: transparent;
    border: none;
    text-decoration: none;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, hsl(152, 56%, 40%), hsl(160, 50%, 45%), hsl(155, 60%, 38%), hsl(152, 56%, 46%));
    background-size: 200% 200%;
    filter: blur(4px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s var(--ease-out);
    animation: cyberAuraShift 4s ease infinite;
    pointer-events: none;
}

.cyber-btn:hover:not(:disabled)::before {
    opacity: 0.85;
}

.cyber-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.cyber-btn:hover:not(:disabled) .btn-bg {
    box-shadow: 0 8px 20px -6px hsla(152, 56%, 46%, 0.3);
    border-color: hsla(152, 56%, 46%, 0.4);
}

.cyber-btn:active:not(:disabled) {
    transform: translateY(0);
}

@keyframes cyberAuraShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-bg {
    position: absolute;
    inset: 0;
    background-color: var(--cyber-btn-bg);
    border: 1px solid var(--cyber-btn-border);
    border-radius: inherit;
    z-index: 0;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    pointer-events: none;
}

.cyber-btn:disabled .btn-bg {
    background-color: var(--cyber-btn-disabled-bg);
    border-color: var(--cyber-btn-border);
}

.btn-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--cyber-btn-text);
    pointer-events: none;
}

.btn-content svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.glow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, hsl(140, 70%, 60%), hsl(170, 60%, 55%), hsl(155, 65%, 58%), hsl(145, 75%, 70%));
    background-size: 200% auto;
    mix-blend-mode: multiply;
    opacity: 0;
    z-index: 20;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out);
    animation: cyberTextGradientShift 3s linear infinite;
}

html.dark .glow-overlay {
    background: linear-gradient(90deg, hsla(152, 56%, 46%, 0.15), hsla(160, 50%, 50%, 0.25), hsla(152, 56%, 46%, 0.15));
    mix-blend-mode: normal;
}

.cyber-btn:hover:not(:disabled) .glow-overlay {
    opacity: 1;
}

@keyframes cyberTextGradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Button size variants */
.cyber-btn--sm {
    height: 2.375rem;
    padding: 0 var(--space-base);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-sizing: border-box;
}

.cyber-btn--md {
    height: 3rem;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    box-sizing: border-box;
}

.cyber-btn--lg {
    height: 3.5rem;
    padding: 0 var(--space-xl);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 700;
    box-sizing: border-box;
}

.cyber-btn--full {
    width: 100%;
}

.cyber-btn--disabled {
    cursor: not-allowed;
}

.cyber-btn:disabled .btn-content {
    color: var(--cyber-btn-disabled-text);
}

.btn-text-muted {
    color: var(--cyber-btn-text-muted);
}

.btn-text-white {
    color: var(--cyber-btn-text);
}

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    height: 3.5rem;
    padding: 0 var(--space-xl);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--btn-sec-color);
    background: var(--btn-sec-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--btn-sec-border);
    transition: background var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast) var(--ease-smooth);
    text-decoration: none;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: var(--btn-sec-hover);
    border-color: var(--border-medium);
}

.btn-secondary svg {
    width: 1rem;
    height: 1rem;
}


/* === HERO SECTION === */
.hero {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-inner {
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-inline: var(--space-lg);
}

.hero-subtitle {
    max-width: 48rem;
    margin: 0 auto var(--space-xl);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-base);
    margin-bottom: var(--space-2xl);
}

.hero-cta-wrapper {
    position: relative;
}

.hero-tooltip {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth), transform var(--duration-base) var(--ease-smooth);
    pointer-events: none;
    z-index: 30;

    background: var(--surface-dark-card);
    color: var(--text-on-dark);
    font-size: 0.75rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-xl);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-cta-wrapper:hover .hero-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--green);
}

/* === INTERACTIVE DEFENSE SIMULATOR (HIGH-END MAC STAGE) === */
.simulator-section {
    max-width: 68rem;
    margin: var(--space-2xl) auto 0;
    padding-inline: var(--space-base);
}

.simulator-toolbar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.simulator-toolbar-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.simulator-toolbar {
    display: inline-flex;
    background: hsla(220, 30%, 8%, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-dark);
    padding: 0.375rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sim-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-on-dark-muted);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.sim-btn:hover {
    color: var(--text-on-dark);
    background: hsla(0, 0%, 100%, 0.05);
}

.sim-btn.is-active {
    color: #ffffff;
    background: hsla(0, 0%, 100%, 0.12);
    border-color: hsla(0, 0%, 100%, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sim-btn .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
}

.sim-btn--present.is-active .dot {
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}
.sim-btn--depart.is-active .dot {
    background: hsl(45, 93%, 58%);
    box-shadow: 0 0 10px hsl(45, 93%, 58%);
}
.sim-btn--observer.is-active .dot {
    background: hsl(280, 80%, 65%);
    box-shadow: 0 0 10px hsl(280, 80%, 65%);
}

/* Simulator Hardware Window Frame */
.simulator-window {
    border-radius: 0.875rem;
    overflow: hidden;
    border: 1px solid var(--border-medium);
    background: #02040a;
    box-shadow: 0 25px 70px -10px hsla(220, 30%, 4%, 0.5), 0 0 0 1px hsla(0, 0%, 100%, 0.1);
    position: relative;
}

/* Simulator Canvas / Screen Stage */
.simulator-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 661;
    background: #02040a;
    overflow: hidden;
}

.sim-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.99);
    z-index: 1;
}

.sim-screen-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.simulator-window.state-active .sim-frame--active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.simulator-window.state-departed .sim-frame--departed {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.simulator-window.state-observer .sim-frame--observer {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* Dynamic Interactive Controls over Native Screenshots */
.sim-interactive-overlay {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

/* Subtle Bottom-Right Apple Music HUD */
.sim-media-hud {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: hsla(220, 30%, 6%, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-full);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 5;
    transition: all var(--duration-base) var(--ease-smooth);
    pointer-events: none;
}

.hud-apple-icon {
    width: 0.8125rem;
    height: 0.8125rem;
    opacity: 0.85;
    fill: currentColor;
    display: block;
}

.hud-music-icon {
    width: 0.8125rem;
    height: 0.8125rem;
    opacity: 0.85;
    color: currentColor;
    display: block;
}

.hud-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-left: 0.1rem;
}

.sim-media-hud.is-paused {
    border-color: hsla(45, 93%, 58%, 0.3);
}

.sim-media-hud.is-paused .hud-state-icon {
    color: hsl(45, 93%, 58%);
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #000000;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-smooth);
}
.btn-resume:hover {
    background: hsl(152, 56%, 52%);
    border-color: hsl(152, 56%, 52%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px hsla(152, 56%, 46%, 0.4);
}
.btn-resume:hover {
    background: hsl(152, 56%, 52%);
    border-color: hsl(152, 56%, 52%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px hsla(152, 56%, 46%, 0.4);
}

.observer-hotspots-bar {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: hsla(222, 47%, 6%, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid hsla(0, 0%, 100%, 0.18);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
}

.btn-coview {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: hsla(0, 0%, 100%, 0.12);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-smooth);
}
.btn-coview:hover {
    background: hsla(0, 0%, 100%, 0.22);
}

.btn-locknow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: hsl(0, 75%, 52%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-smooth);
}
.btn-locknow:hover {
    background: hsl(0, 75%, 60%);
}


/* === COMPARISON MATRIX SECTION === */



/* === PERSONAS & ENVIRONMENTS SECTION === */
.personas-section {
    position: relative;
    z-index: 10;
    padding-block: var(--space-4xl);
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.persona-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

.persona-card:hover {
    transform: translateY(-3px);
    border-color: hsla(152, 56%, 46%, 0.4);
    box-shadow: var(--shadow-lg);
}

.persona-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background: hsla(152, 56%, 46%, 0.1);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}
.persona-icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
}

.persona-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.persona-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.persona-tagline {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green-dim);
    margin-top: auto;
    padding-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}


/* === FEATURES — EDITORIAL LAYOUT === */
.features {
    position: relative;
    z-index: 10;
    background: var(--surface-alt);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 0px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.features-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto var(--space-3xl);
}

.features-header .text-body-lg {
    margin-top: var(--space-lg);
}

/* Editorial feature block — alternating image/text */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.feature-block:last-of-type {
    margin-bottom: var(--space-3xl);
}

.feature-block--reverse {
    direction: rtl;
}

.feature-block--reverse > * {
    direction: ltr;
}

.feature-block-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--surface-card);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.feature-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    transition: transform var(--duration-slow) var(--ease-out);
}

.feature-block-image:hover img {
    transform: scale(1.03);
}

.feature-block-content {
    padding: var(--space-lg);
}

.feature-block-content .label {
    margin-bottom: var(--space-base);
}

.feature-block-content .heading-feature {
    margin-bottom: var(--space-base);
}

.feature-block-content .text-body {
    margin-bottom: var(--space-lg);
}

.feature-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-base);
}

.feature-detail-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature-detail p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-detail strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Compact secondary feature grid */
.features-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-compact {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
}

.feature-compact:hover {
    border-color: hsla(152, 56%, 46%, 0.3);
    box-shadow: var(--shadow-md);
}

.feature-compact-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-base);
    color: var(--green);
}

.feature-compact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-compact h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.feature-compact p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
/* === PRIVACY SUMMARY (DARK SECTION) === */
.privacy-summary {
    position: relative;
    z-index: 10;
    padding-block: var(--space-4xl);
    background: hsla(222, 45%, 4.5%, 0.85);
    color: var(--text-on-dark);
    border-bottom: 1px solid var(--border-dark-subtle);
}

.privacy-header {
    margin-bottom: var(--space-3xl);
}

.privacy-header h2 {
    color: var(--text-on-dark);
}

.privacy-header .text-body-lg {
    color: var(--text-on-dark-muted);
}

.privacy-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.privacy-card {
    background: var(--surface-dark-card);
    border: 1px solid var(--border-dark-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color var(--duration-base) var(--ease-smooth), transform var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
}

.privacy-card:hover {
    border-color: hsla(152, 56%, 46%, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.privacy-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-lg);
    background: hsla(152, 56%, 46%, 0.12);
    border: 1px solid hsla(152, 56%, 46%, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: var(--space-sm);
}

.privacy-card-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.privacy-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

.privacy-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-on-dark-muted);
    margin: 0;
}

.privacy-cta {
    display: flex;
    justify-content: center;
}


/* === CONTACT / SUPPORT FORM === */
.support {
    position: relative;
    z-index: 10;
    background: transparent;
    border-top: 1px solid var(--border-subtle);
}

.support-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.support-header .heading-section {
    margin-bottom: var(--space-base);
}

.form-card {
    padding: var(--space-xl) var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-subtle);
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Entity toggle */
.entity-toggle-group {
    display: flex;
    gap: var(--space-base);
}

.entity-toggle {
    flex: 1;
    cursor: pointer;
}

.entity-toggle input[type="radio"] {
    display: none;
}

.entity-toggle-label {
    text-align: center;
    padding: var(--space-md);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--surface-white);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.entity-toggle-label:hover {
    background: var(--surface-card);
}

.entity-toggle input[type="radio"]:checked + .entity-toggle-label {
    background: var(--cyber-btn-bg);
    color: var(--cyber-btn-text);
    border-color: var(--cyber-btn-bg);
}

/* Form fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-base);
    background: var(--surface-white);
    color: var(--text-primary);
    transition: border-color var(--duration-fast) var(--ease-smooth), box-shadow var(--duration-fast) var(--ease-smooth);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.form-textarea {
    resize: none;
}

/* Corporate fields collapse */
.corporate-fields {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

.corporate-fields.is-open {
    max-height: 600px;
    opacity: 1;
    margin-top: var(--space-lg);
}

.corporate-inner {
    padding: var(--space-lg);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    background: hsla(0, 0%, 100%, 0.03);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

html:not(.dark) .corporate-inner {
    background: hsla(220, 20%, 94%, 0.6);
    border: 1px dashed var(--border-medium);
}

/* Progress bar */
.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity var(--duration-base) ease;
    overflow: hidden;
    border-radius: inherit;
}

.cyber-btn.is-loading .progress-bar-container {
    opacity: 1;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--green);
    position: relative;
    transition: width 0.4s ease;
}

.progress-bar-fizz {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 4px,
        hsla(0, 0%, 100%, 0.4) 4px,
        hsla(0, 0%, 100%, 0.4) 8px
    );
    animation: fizz 0.5s linear infinite;
}

@keyframes fizz {
    0% { background-position: 0 0; }
    100% { background-position: 28px 0; }
}

/* Form message */
.form-msg-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.form-msg-wrapper > div {
    overflow: hidden;
}

.form-msg {
    margin-top: var(--space-base);
    padding: var(--space-base);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 700;
}

.form-msg--success {
    background: hsla(152, 56%, 46%, 0.15);
    border: 1px solid hsla(152, 56%, 46%, 0.4);
    color: var(--green);
}

.form-msg--error {
    background: hsla(0, 70%, 55%, 0.15);
    border: 1px solid hsla(0, 70%, 55%, 0.4);
    color: hsl(0, 70%, 55%);
}

.form-legal {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: var(--space-base);
}

.form-legal a {
    text-decoration: underline;
    transition: color var(--duration-fast) var(--ease-smooth);
}

.form-legal a:hover {
    color: var(--text-secondary);
}


/* === FOOTER === */
.site-footer {
    position: relative;
    z-index: 10;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--surface-dark-card);
    border-top: 1px solid var(--border-subtle);
}

html:not(.dark) .site-footer {
    background: var(--surface-alt);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo img {
    height: 1.375rem;
    width: auto;
    object-fit: contain;
    filter: var(--logo-filter);
    opacity: 0.8;
    transition: opacity var(--duration-fast) var(--ease-smooth), filter var(--duration-fast) var(--ease-smooth);
    display: block;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin: 0;
    white-space: nowrap;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-link:hover {
    color: var(--green);
}


/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: hsla(0, 0%, 0%, 0.8);
    backdrop-filter: blur(1.5rem);
    -webkit-backdrop-filter: blur(1.5rem);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
    padding: var(--space-base);
}

.lightbox.is-visible {
    display: flex;
}

.lightbox.is-active {
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Fira Code', monospace;
    z-index: 101;
    transition: color var(--duration-fast) var(--ease-smooth);
}

.lightbox-close:hover {
    color: var(--green);
}

.lightbox-img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-dark);
    transition: transform var(--duration-base) var(--ease-out);
    transform: scale(0.95);
}

.lightbox.is-active .lightbox-img {
    transform: scale(1);
}


/* === SCROLL REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }


/* === RECAPTCHA === */
.grecaptcha-badge {
    display: none !important;
}


/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}


/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .features-secondary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
    }

    .section--hero {
        padding-top: 7.5rem;
    }

    .heading-hero {
        font-size: clamp(2rem, 8vw, 3.25rem);
    }

    .nav-links {
        display: none;
    }

    /* Hide the top navbar "Get Sentinel" CTA on mobile */
    .nav-cta-wrapper {
        display: none;
    }

    .nav-actions {
        gap: var(--space-sm);
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .theme-toggle-btn {
        width: 2.25rem;
        height: 2.25rem;
    }

    .simulator-section {
        margin-top: var(--space-xl);
    }

    .simulator-stage {
        aspect-ratio: 1024 / 661;
        min-height: auto;
    }

    .sim-media-hud {
        bottom: 0.625rem;
        right: 0.625rem;
        padding: 0.35rem 0.65rem;
        font-size: 0.6875rem;
    }

    .sim-interactive-overlay {
        bottom: 1rem;
    }

    .observer-hotspots-bar {
        padding: 0.35rem 0.5rem;
        gap: 0.35rem;
    }

    .btn-coview, .btn-locknow, .btn-resume {
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }

    .personas-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .privacy-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .showcase {
        grid-template-columns: 1fr;
        gap: var(--space-base);
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .feature-block--reverse {
        direction: ltr;
    }

    .features-secondary {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: var(--space-lg);
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-brand {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }

    .footer-nav {
        justify-content: center;
        gap: var(--space-lg);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .hero-cta-wrapper,
    .hero-actions .cyber-btn--lg,
    .hero-actions .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .features-secondary {
        grid-template-columns: 1fr;
    }

    .entity-toggle-group {
        flex-direction: column;
    }

    .hero-badges {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .simulator-toolbar {
        border-radius: var(--radius-xl);
        padding: 0.25rem;
    }

    .sim-btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }
}


/* === PRIVACY PAGE SPECIFIC === */
.policy-hero {
    text-align: center;
    padding-bottom: var(--space-2xl);
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: var(--space-lg);
}

.policy-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.policy-highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
}

.policy-highlight-card:hover {
    border-color: hsla(152, 56%, 46%, 0.3);
    box-shadow: var(--shadow-md);
}

.policy-highlight-card svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--green);
    margin-bottom: var(--space-md);
}

.policy-highlight-card h3 {
    font-family: 'Fira Code', monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.policy-highlight-card p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Policy body */
.policy-body {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl) var(--space-2xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.policy-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-subtle);
}

.policy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-section-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.policy-section-tag {
    font-family: 'Fira Code', monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-glow);
    padding: 0.125rem var(--space-sm);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.policy-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.policy-section p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: var(--space-base);
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.policy-section code {
    font-family: 'Fira Code', monospace;
    font-size: 0.8125rem;
    background: var(--surface-alt);
    padding: 0.125rem var(--space-xs);
    border-radius: var(--radius-sm);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.policy-list {
    margin-bottom: var(--space-base);
}

.policy-list li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.65;
}

.policy-list li::before {
    content: "";
    position: absolute;
    left: var(--space-sm);
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: var(--radius-full);
}

.policy-list li strong {
    color: var(--text-primary);
}

/* Policy callout */
.policy-callout {
    background: hsla(152, 56%, 46%, 0.08);
    border: 1px solid hsla(152, 56%, 46%, 0.25);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.policy-callout-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: 'Fira Code', monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0;
}

.policy-callout-header svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--green);
    flex-shrink: 0;
}

.policy-callout p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Table Responsive Container */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

/* Regulatory table */
.regulatory-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.875rem;
    min-width: 480px;
}

.regulatory-table th,
.regulatory-table td {
    padding: var(--space-md) var(--space-base);
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.regulatory-table tr:last-child td {
    border-bottom: none;
}

.regulatory-table th {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green);
    background: var(--surface-alt);
}

.regulatory-table td {
    color: var(--text-secondary);
}

.regulatory-table td strong {
    color: var(--text-primary);
}

/* Policy Contact Box (Light & Dark Theme Adaptive, No Overflow) */
.policy-contact-box {
    background: var(--surface-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    margin-top: var(--space-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.policy-contact-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-base);
    font-size: 0.9375rem;
    line-height: 1.6;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.policy-contact-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.policy-contact-key {
    font-family: 'Fira Code', monospace;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green);
    min-width: 150px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.policy-contact-val {
    color: var(--text-primary);
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
}

.policy-contact-val strong {
    color: var(--text-primary);
}

.policy-contact-val a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.policy-contact-val a:hover {
    opacity: 0.8;
}

.policy-section pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    background: var(--surface-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    color: var(--text-primary);
}

.policy-section pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .policy-highlights {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .policy-body {
        padding: var(--space-lg);
    }

    .policy-section-header {
        flex-direction: row;
        align-items: center;
        gap: var(--space-sm);
    }

    .regulatory-table {
        font-size: 0.8125rem;
    }

    .regulatory-table th,
    .regulatory-table td {
        padding: var(--space-sm) var(--space-md);
    }

    .policy-contact-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .policy-contact-key {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .policy-highlights {
        grid-template-columns: 1fr;
    }

    .policy-body {
        padding: var(--space-md);
        border-radius: var(--radius-xl);
    }

    .policy-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .policy-callout {
        padding: var(--space-lg);
    }

    .policy-contact-box {
        padding: var(--space-md);
    }
}
