/* ═══════════════════════════════════════════════════════════
   REDWULF v2 — Design System
   Dark Premium + Red Accent | No neon, no gradients
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Backgrounds */
    --bg-deepest: #050505;
    --bg-panel: #0a0a0a;
    --bg-elevated: #0f0f0f;

    /* Borders */
    --border-default: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-active: rgba(220, 38, 38, 0.30);
    --border-strong: rgba(255, 255, 255, 0.10);

    /* Text */
    --text-primary: #f5f5f5;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    /* Accent (Red) */
    --accent: #dc2626;
    --accent-hover: #ef4444;
    --accent-soft: rgba(220, 38, 38, 0.12);
    --accent-glow: rgba(220, 38, 38, 0.18);

    /* Status colors */
    --critical: #dc2626;
    --high: #f59e0b;
    --medium: #3b82f6;
    --low: #22c55e;
    --info: #6b7280;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    /* Spacing */
    --section-gap: 6rem;
    --content-max: 1200px;
    --content-narrow: 800px;
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 350ms ease;

    /* Navbar */
    --navbar-height: 4.5rem;
}

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.06), transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(120, 20, 20, 0.08), transparent 40%),
        var(--bg-deepest);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.65;
    font-size: 16px;
    min-height: 100svh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grid pattern overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
    pointer-events: none;
    z-index: 0;
}

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

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

ul, ol {
    list-style: none;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Selection */
::selection {
    background: rgba(220, 38, 38, 0.3);
    color: #fff;
}

/* ── Skip Link (A11y) ── */
.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.skip-link:focus {
    top: 0.75rem;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    color: var(--accent-hover);
    background: rgba(220, 38, 38, 0.08);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

/* ── Section Common ── */
.section {
    position: relative;
    z-index: 1;
    padding: var(--section-gap) 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.section-line {
    height: 1px;
    flex: 1;
    background: var(--border-active);
}

.section-title {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    letter-spacing: 0;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
}

.container-narrow {
    max-width: var(--content-narrow);
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}
.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--border-default);
}

.btn-sm {
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
}

.btn-lg {
    font-size: 1.05rem;
    padding: 1rem 2.25rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-arrow::after {
    content: ' →';
    font-family: var(--font-mono);
    transition: transform var(--transition-fast);
}
.btn-arrow:hover::after {
    transform: translateX(3px);
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-default);
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    gap: 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}
.navbar-logo:hover { color: var(--accent); }

.navbar-logo-img {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
}

.navbar-links {
    display: none;
}
@media (min-width: 900px) {
    .navbar-links {
        display: flex;
        gap: 0.25rem;
    }
}

.navbar-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}
.navbar-link:hover,
.navbar-link.active {
    color: var(--text-primary);
}
.navbar-link.active {
    background: var(--border-default);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.25rem;
}

.lang-flag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.25rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.lang-flag:hover { color: var(--text-primary); }
.lang-flag.active {
    color: var(--accent);
    background: var(--accent-soft);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}
.mobile-menu-btn:hover { color: var(--text-primary); }
@media (min-width: 900px) {
    .mobile-menu-btn { display: none; }
}

/* Mobile Menu Panel */
.mobile-menu {
    border-top: 1px solid var(--border-default);
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.mobile-menu-link:hover {
    color: var(--text-primary);
    background: var(--border-default);
}

/* ── Hero ── */
.hero {
    position: relative;
    z-index: 1;
    padding: calc(var(--navbar-height) + 4rem) 1.5rem 5rem;
    overflow: hidden;
}

.hero-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Hide scramble elements until JS scrambles them */
[data-scramble] {
    visibility: hidden;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.hero-title .highlight {
    color: var(--accent);
    font-family: inherit;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 30rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Hero Visual (Terminal + Risk Detection) */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Risk Alert Cards */
.risk-alerts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.risk-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    animation: riskSlideIn 0.5s ease backwards;
    transition: opacity 0.3s ease;
}

.risk-alert:nth-child(1) { animation-delay: 0.1s; }
.risk-alert:nth-child(2) { animation-delay: 0.3s; }
.risk-alert:nth-child(3) { animation-delay: 0.5s; }
.risk-alert:nth-child(4) { animation-delay: 0.7s; }

.risk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
    animation: riskPulse 2s ease-in-out infinite;
}

.risk-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.risk-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@keyframes riskSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes riskPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.3); }
}

/* Terminal Preview */
.hero-terminal {
    background: var(--bg-deepest);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-elevated);
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}
.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #f59e0b; }
.terminal-dots span:nth-child(3) { background: #22c55e; }

.terminal-body {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.terminal-prompt {
    color: var(--accent);
    font-weight: 700;
}

.terminal-output {
    color: #22c55e;
}

.terminal-cursor {
    display: inline-block;
    width: 0.55em;
    height: 1.1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
}

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

/* ── Keyword Carousel ── */
.keyword-carousel {
    position: relative;
    z-index: 1;
    padding: 0 0 3rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 0.6rem;
    width: max-content;
    animation: carouselScroll 40s linear infinite;
    padding: 0.5rem 0;
}

.carousel-track.reverse {
    animation-direction: reverse;
    animation-duration: 50s;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    white-space: nowrap;
    transition: border-color var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
}
.carousel-tag:hover {
    border-color: var(--border-active);
    color: var(--text-primary);
}

@keyframes carouselScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Stats Counter ── */
.stats {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem var(--section-gap);
}

.stats-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-default);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-item {
    background: var(--bg-panel);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background var(--transition-base);
}
.stat-item:hover {
    background: var(--bg-elevated);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Services Bento Grid ── */
.services-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.service-icon {
    color: var(--accent);
    margin-bottom: 1rem;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}
.service-card:hover h3 { color: var(--accent); }

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

/* ── Methodology Timeline ── */
.methodology-steps {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .methodology-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .methodology-steps { grid-template-columns: repeat(4, 1fr); }
}

.method-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.method-step-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 0.75rem;
    transition: opacity var(--transition-base);
}
.method-step:hover .method-step-num { opacity: 0.7; }

.method-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.method-step p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.method-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.method-time {
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Sample Report Preview ── */
.report-preview {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .report-preview { grid-template-columns: 1fr 1fr; }
}

.report-preview-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.report-preview-content h2 { font-size: 1.8rem; }

.report-preview-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.report-preview-header {
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-default);
}

.report-preview-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    border: 1px solid var(--border-active);
    border-radius: 3px;
    padding: 0.2rem 0.6rem;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.report-preview-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.report-preview-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.report-preview-finding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.82rem;
}
.report-preview-finding:last-child { border-bottom: none; }

.severity-badge {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}
.severity-badge.critical { background: rgba(220,38,38,0.15); color: #fca5a5; border: 1px solid rgba(220,38,38,0.25); }
.severity-badge.high     { background: rgba(245,158,11,0.12); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.severity-badge.medium   { background: rgba(59,130,246,0.12); color: #93c5fd; border: 1px solid rgba(59,130,246,0.2); }
.severity-badge.low      { background: rgba(34,197,94,0.1);  color: #86efac; border: 1px solid rgba(34,197,94,0.18); }

/* ── Case Studies ── */
.case-studies-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .case-studies-grid { grid-template-columns: repeat(3, 1fr); }
}

.case-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.case-card:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.case-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--border-active);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    align-self: flex-start;
}

.case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.case-card p {
    font-size: 0.88rem;
    flex: 1;
}

.case-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}
.case-card:hover .case-link { color: var(--accent-hover); }

/* ── About ── */
.about-content {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content { grid-template-columns: 1fr 1fr; }
}

.about-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-name {
    font-size: 1.8rem;
    font-weight: 800;
}

.about-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: -0.5rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.about-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
}

/* ── Lead Magnet ── */
.lead-magnet {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.lead-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.lead-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.lead-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-row {
    display: flex;
    gap: 0.75rem;
}

.lead-form input[type="text"],
.lead-form input[type="email"] {
    flex: 1;
    background: var(--bg-deepest);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast);
}
.lead-form input[type="text"]:focus,
.lead-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
}

.lead-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    text-align: left;
}

.lead-consent input[type="checkbox"] {
    accent-color: var(--accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.lead-consent label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.lead-success {
    display: none;
    text-align: center;
    padding: 1.5rem 0;
}
.lead-success h3 { color: #22c55e; margin-bottom: 0.5rem; }

.lead-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ── FAQ Accordion ── */
.faq-list {
    max-width: var(--content-narrow);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-panel);
    transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--border-active); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    text-align: left;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--transition-base);
    color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ── Contact Form (Terminal Style) ── */
.contact-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-headline {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

/* Terminal Form */
.contact-terminal {
    background: var(--bg-deepest);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.contact-form {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    padding-left: 0.25rem;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-default);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.5rem 0.25rem;
    transition: border-color var(--transition-fast);
    width: 100%;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
}
.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* PGP Block */
.pgp-block {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 1rem;
}

.pgp-block pre {
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    overflow-x: auto;
    max-height: 6rem;
    line-height: 1.5;
}

.pgp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--border-default);
}

.pgp-copy-btn {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: color var(--transition-fast);
}
.pgp-copy-btn:hover { color: var(--accent-hover); }

.pgp-what-is {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.pgp-what-is:hover { color: var(--text-primary); }

.pgp-instructions {
    display: none;
    padding: 0 1rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Footer ── */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-default);
    padding: 3.5rem 1.5rem 2.5rem;
    background: var(--bg-panel);
}

.footer-grid {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 600px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.footer-logo-accent { color: var(--accent); }

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 16rem;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-links button {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}
.footer-links a:hover,
.footer-links button:hover { color: var(--text-primary); }

.footer-cookie-btn {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    max-width: 420px;
    width: calc(100% - 2rem);
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.cookie-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Page: Sample Report ── */
/* ── Page: Sample Report ── */
.report-page {
    padding: calc(var(--navbar-height) + 2rem) 1.5rem 4rem;
}

.report {
    max-width: 850px;
    margin: 0 auto;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 11pt;
}

/* ── Report: Cover ── */
.report-cover {
    text-align: center;
    padding: 6rem 0 4rem;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cover-badge {
    display: inline-block;
    background: var(--accent-soft);
    border: 1px solid var(--border-active);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 3px;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}
.cover-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.cover-divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 2rem;
}
.cover-client {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}
.cover-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
}
.cover-footer {
    margin-top: auto;
    padding-top: 4rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-default);
}
.cover-brand {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.cover-page {
    color: var(--text-muted);
}

/* ── Report: Disclaimer Banner ── */
.disclaimer-banner {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 4px;
    padding: 1rem 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.disclaimer-banner strong {
    color: #ffc107;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.disclaimer-banner p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0.4rem 0 0;
    line-height: 1.5;
}

/* ── Report: Sections ── */
.report-section { margin-bottom: 2.5rem; }
.report-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-active);
}
.report-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 1.2rem 0 0.6rem;
}
.report-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1rem 0 0.4rem;
}
.report-section p { margin-bottom: 0.8rem; }
.report-section ul, .report-section ol { margin: 0.5rem 0 1rem 1.5rem; }
.report-section li { margin-bottom: 0.35rem; }
.report-section code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: #fca5a5;
}

/* ── Report: PoC Block ── */
.poc-block {
    background: var(--bg-deepest);
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    color: #a5d6a7;
    margin: 0.5rem 0 1rem;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ── Report: Severity Badges ── */
.sev-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}
.sev-badge.critical, .severity-badge.critical {
    background: #7f1d1d; color: #fca5a5; border: 1px solid #991b1b;
}
.sev-badge.high, .severity-badge.high {
    background: #451a03; color: #fcd34d; border: 1px solid #78350f;
}
.sev-badge.medium, .severity-badge.medium {
    background: #1e3a5f; color: #93c5fd; border: 1px solid #1e40af;
}
.sev-badge.low, .severity-badge.low {
    background: #1a2e1a; color: #86efac; border: 1px solid #166534;
}

/* ── Report: Finding Summary Box ── */
.finding-summary {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.2rem;
    margin: 1rem 0 1.5rem;
    border-radius: 0 4px 4px 0;
}
.finding-summary h3 { margin-top: 0; color: var(--text-primary); }

/* ── Report: Tables ── */
.severity-table, .risk-matrix {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
}
.severity-table th, .risk-matrix th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.severity-table td, .risk-matrix td {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid var(--border-default);
}

/* ── Report: Callouts ── */
.report-section .callout {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    font-size: 0.92rem;
}
.report-section .critical-callout {
    background: var(--accent-soft);
    border-color: rgba(220, 38, 38, 0.15);
}

/* ── Report: Individual Findings ── */
.report-section .finding {
    border: 1px solid var(--border-default);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.01);
}
.report-section .finding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.report-section .finding-id {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-right: 0.6rem;
}
.report-section .finding-cvss {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.report-section .cvss-vector {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}
.report-section .finding h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 0.8rem;
}

/* ── Report: Remediation List ── */
.report-section .remediation-list li { color: #86efac; }
.report-section .remediation-list li::marker { color: #22c55e; }

/* ── Report: Footer ── */
.report-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-strong);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.report-footer-right {
    text-align: right;
    max-width: 60%;
}

/* ── Report: CTA ── */
.report-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-default);
}
.report-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}
.report-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Report: Download PDF Button ── */
.report-download {
    text-align: right;
    margin-bottom: 1.5rem;
}
.report-download .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Report: Page Break (Print) ── */
.page-break {
    display: none;
}

/* ── Report: Print Styles ── */
@media print {
    body { background: #fff; color: #1a1a1a; font-size: 10pt; }
    .navbar, .report-cta, .site-footer, .no-print { display: none; }
    .report-page { padding: 0; }
    .report { padding: 0; max-width: none; }
    .report-cover { min-height: 90vh; }
    .cover-title, .report-section h2, .report-section h3,
    .report-section .finding h3 { color: #1a1a1a; }
    .cover-client, .report-section h3,
    .report-section .finding-id { color: #374151; }
    .cover-meta, .report-section h4 { color: #6b7280; }
    .report-section .callout { background: #f9fafb; border-color: #e5e7eb; }
    .report-section .critical-callout { background: #fef2f2; border-color: #fecaca; }
    .report-section .finding { border-color: #e5e7eb; }
    .report-section code { background: #f3f4f6; color: #b91c1c; }
    .poc-block { background: #f9fafb; border-color: #e5e7eb; color: #166534; }
    .disclaimer-banner { background: #fff3cd; border-color: #ffc107; }
    .disclaimer-banner strong { color: #856404; }
    .disclaimer-banner p { color: #495057; }
    .page-break { display: block; page-break-before: always; }
    h2, h3, h4 { page-break-after: avoid; }
    .report-section .finding { page-break-inside: avoid; }
    .report-section .callout { page-break-inside: avoid; }
    .report-footer { border-color: #e5e7eb; color: #9ca3af; }
}

/* ── Page: About ── */
.about-page-header {
    text-align: center;
    padding-bottom: 3rem;
}

.about-page-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ── Page: Blog ── */
.blog-list {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .blog-list { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.blog-card:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.blog-card-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
}

.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.blog-card p {
    font-size: 0.88rem;
    flex: 1;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}

.blog-post {
    max-width: var(--content-narrow);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-post h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.blog-post h2 { font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.blog-post h3 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.blog-post p { margin-bottom: 1rem; }
.blog-post ul, .blog-post ol { margin: 0.5rem 0 1rem 1.5rem; }
.blog-post li { margin-bottom: 0.35rem; color: var(--text-secondary); }
.blog-post blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-default);
}

/* ── Page: 404 ── */
.not-found {
    min-height: calc(100svh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.not-found-code {
    font-family: var(--font-mono);
    font-size: 6rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.not-found h1 { margin-bottom: 0.75rem; }
.not-found p { margin-bottom: 2rem; }

/* ── Utility: mt-2 (spacer) ── */
.mt-2 { margin-top: 0.5rem; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
