/* ============================================
   BRAVA SECURITY - Exact Match to webflow.io
   Light theme with coral/blue gradient hero
   ============================================ */

/* Custom Mona Sans Expanded Font - Brava's distinctive heading font */
@font-face {
    font-family: 'Mona Sans Expanded';
    src: url('https://cdn.prod.website-files.com/691b04bc9864f859846f554a/691b0f60418efeab1ed382d4_mona-sans-expanded.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mona Sans Expanded';
    src: url('https://cdn.prod.website-files.com/691b04bc9864f859846f554a/691b0fca8e28de136f613fa6_mona-sans-expanded-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mona Sans Expanded';
    src: url('https://cdn.prod.website-files.com/691b04bc9864f859846f554a/691b070336b256d06020b573_Mona%20Sans%20Expanded%20SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mona Sans Expanded';
    src: url('https://cdn.prod.website-files.com/691b04bc9864f859846f554a/691b077c2bd04be560f2fd60_Mona%20Sans%20Expanded%20ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Matching Brava's exact palette */
:root {
    /* Backgrounds */
    --bg-light: #ffffff;
    --bg-gray: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-gray: #f8f8fa;
    
    /* Text */
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-muted: #6b6b6b;
    --text-light: #ffffff;
    
    /* Brand Colors */
    --coral: #ff6b5b;
    --coral-light: #ff8577;
    --coral-dark: #e85a4a;
    --blue-dark: #1e3a5f;
    --blue-deeper: #0f2744;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #ffa590 0%, #ff7b6b 25%, #5d7eb5 60%, #2d4a7c 100%);
    
    /* Borders */
    --border-light: #e5e5e5;
    --border-card: #eaeaea;
    
    /* Shadows */
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.1);
    
    /* Typography - Using Mona Sans Expanded (Brava's distinctive font) and Manrope */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Mona Sans Expanded', 'Manrope', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

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

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

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

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0;
}

/* ============================================
   UTILITY ANIMATION CLASSES
   ============================================ */
.opacity-0 {
    opacity: 0 !important;
}

.translate-y-20 {
    transform: translateY(20px) !important;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* ============================================
   PASSWORD GATE
   ============================================ */

.password-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-gradient);
    z-index: 9999;
    /* Prevent text selection and copying */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Prevent dragging */
    -webkit-user-drag: none;
}

/* Allow typing in password input */
.password-gate input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.password-gate.hidden {
    display: none;
}

.password-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 48px;
    background: var(--bg-light);
    border-radius: 24px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease;
}

.lock-icon {
    margin-bottom: 24px;
}

.lock-icon svg {
    filter: drop-shadow(0 4px 12px rgba(255, 107, 91, 0.3));
}

.password-container h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.password-container > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

#password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#password-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-primary);
    background: var(--bg-gray);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-dark);
    outline: none;
    transition: all var(--transition-fast);
}

#password-input:focus {
    border-color: var(--coral);
    background: var(--bg-light);
}

#password-input::placeholder {
    color: var(--text-muted);
}

.error-message {
    color: var(--coral);
    font-size: 0.875rem;
    min-height: 20px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    opacity: 1;
}

.main-content.hidden {
    display: none;
}

.main-content.visible {
    /* animation: fadeIn 0.5s ease; Removed to let individual elements animate */
}

/* ============================================
   NAVIGATION - Brava Style (Transparent on Hero)
   ============================================ */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 100px);
    max-width: 1380px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    width: 140px; /* Fixed width to prevent layout shift */
    height: 38px;
}

.logo-img {
    height: 38px;
    width: auto;
    transition: opacity 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
}

/* Logo switching - white visible by default, dark hidden */
.logo-white {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

/* When navbar is scrolled (has .scrolled class) */
.navbar.scrolled .logo-white {
    opacity: 0;
}

.navbar.scrolled .logo-dark {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.btn-nav {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 14px;
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    transition: all var(--transition-fast);
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ============================================
   BUTTONS - Brava Style (Exact Match)
   ============================================ */

/* Primary button: White bg with coral arrow */
.btn-primary {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-light);
    border: none;
    border-radius: 100px;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary span {
    padding: 14px 18px 14px 22px;
}

.btn-primary .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--coral);
    border-radius: 100px;
    margin: 4px;
    margin-left: 0;
}

.btn-primary .btn-icon svg {
    color: white;
    width: 18px;
    height: 18px;
}

/* Pixel Arrow Icon */
.pixel-arrow {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transform: rotate(45deg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover .btn-icon {
    background: var(--coral-dark);
}

/* Secondary button: Transparent with white border */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* Coral button: Solid coral background */
.btn-coral {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    background: var(--coral);
    border: none;
    border-radius: 100px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-coral span {
    padding: 14px 18px 14px 22px;
}

.btn-coral .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    margin: 4px;
    margin-left: 0;
}

.btn-coral .btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-coral:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 91, 0.4);
}

/* ============================================
   HERO SECTION - Full-screen Video Background
   ============================================ */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

/* Full-screen video background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Subtle gradient overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 50px;
}

.hero-content {
    max-width: 580px;
    position: relative;
    padding-top: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
    color: var(--text-light);
}

.hero-description {
    font-family: var(--font-primary);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    max-width: 520px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-subdescription {
    font-family: var(--font-primary);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================
   SECTIONS - Light Theme
   ============================================ */

section {
    padding: 100px 50px;
    position: relative;
}

.section-light {
    background: var(--bg-light);
}

.section-gray {
    background: var(--bg-gray);
}

/* ============================================
   PROBLEMS SECTION - Brava Style
   ============================================ */

.problems-section {
    background: var(--bg-light);
    padding: 120px 50px;
}

.problems-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.problems-header h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.problems-header p {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
}

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

.problem-card {
    background: var(--bg-card-gray);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all var(--transition-medium);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.problem-icon {
    margin-bottom: 100px;
}

.problem-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.problem-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ============================================
   SOLUTION SECTION - Brava Style (Card Grid)
   ============================================ */

.solution-section {
    background: var(--bg-light);
    padding: 80px 50px 120px;
}

.solution-wrapper {
    background: var(--bg-card-gray);
    border-radius: 32px;
    padding: 60px;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.solution-content h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.solution-content p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 32px;
}

.solution-image {
    max-width: 300px;
}

.solution-image img {
    width: 100%;
    height: auto;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-medium);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.solution-card.highlighted {
    background: var(--coral);
    color: var(--text-light);
}

.solution-card.highlighted h3,
.solution-card.highlighted p {
    color: var(--text-light);
}

.solution-card-icon {
    margin-bottom: 80px;
}

.solution-card-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* Invert icon for highlighted cards with dark backgrounds */
.solution-card.highlighted .solution-card-icon img.invert-white {
    filter: brightness(0) invert(1);
}

.solution-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ============================================
   PIPELINE SECTION
   ============================================ */

.pipeline-section {
    background: var(--bg-light);
    padding: 80px 50px;
}

.pipeline-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.pipeline-header h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.pipeline-header p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
}

.pipeline-visual-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card-gray);
    border-radius: 32px;
    padding: 60px 40px;
    overflow: hidden; /* Ensure particles don't overflow */
    position: relative;
    gap: 20px;
}

.pipeline-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2;
    flex-shrink: 0;
}

.pipeline-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Sources Column */
.source-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 160px;
}

.source-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.source-item:hover {
    transform: translateX(4px);
    border-color: var(--coral);
}

.source-icon {
    font-size: 1.2rem;
}

/* Connectors / Streams */
.stream-connector {
    flex-grow: 1;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.stream-line {
    width: 100%;
    height: 2px;
    background: var(--border-light);
    position: relative;
}

.stream-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.p-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

/* Animation for Input Stream (Chaotic/Busy) */
.input-stream .p-dot {
    animation: moveRight 2s linear infinite;
}

.input-stream .p-dot:nth-child(1) { animation-delay: 0s; top: 40%; }
.input-stream .p-dot:nth-child(2) { animation-delay: 0.4s; top: 60%; }
.input-stream .p-dot:nth-child(3) { animation-delay: 0.8s; top: 50%; }
.input-stream .p-dot:nth-child(4) { animation-delay: 1.2s; top: 45%; }
.input-stream .p-dot:nth-child(5) { animation-delay: 1.6s; top: 55%; }

@keyframes moveRight {
    0% { left: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { left: 100%; opacity: 0; }
}

/* Center Engine */
.pipeline-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 5;
    position: relative;
}

.brava-engine-node {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-logo-wrap {
    width: 80px;
    height: 80px;
    background: var(--coral); /* Brava Coral background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(255, 107, 91, 0.4);
    position: relative;
}

.engine-svg {
    width: 50px;
    height: auto;
}

.engine-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.e-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--coral);
    border-radius: 50%;
    opacity: 0;
}

.r1 { width: 100%; height: 100%; animation: ripple 2s ease-out infinite; }
.r2 { width: 100%; height: 100%; animation: ripple 2s ease-out infinite 0.5s; }

@keyframes ripple {
    0% { width: 80px; height: 80px; opacity: 0.5; border-width: 2px; }
    100% { width: 140px; height: 140px; opacity: 0; border-width: 0; }
}

/* Output Stream (Split) */
.output-stream {
    display: flex;
    flex-direction: column;
    height: 200px;
    justify-content: space-between;
}

.stream-branch {
    height: 50%;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.top-branch { justify-content: flex-start; align-items: flex-end; padding-bottom: 20px; }
.bottom-branch { justify-content: flex-start; align-items: flex-start; padding-top: 20px; }

.stream-line-curve {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 80px; /* Curve up */
    border-top: 2px solid var(--coral); /* High value path color */
    border-left: 2px solid transparent;
    border-radius: 0;
    transform: skewY(-15deg);
    transform-origin: left bottom;
    opacity: 0.3;
}

.stream-line-curve-down {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 80px;
    border-bottom: 2px solid var(--text-muted); /* Low value path color */
    border-left: 2px solid transparent;
    transform: skewY(15deg);
    transform-origin: left top;
    opacity: 0.2;
}

/* Use simple lines instead of skew for better control */
.stream-line-curve, .stream-line-curve-down {
    transform: none;
    border: none;
}

.top-branch::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--border-light), var(--coral));
    transform: rotate(-15deg);
    transform-origin: left center;
}

.bottom-branch::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--border-light), var(--text-muted));
    transform: rotate(15deg);
    transform-origin: left center;
}

/* Output Particles */
.p-dot.signal {
    background: var(--coral);
    width: 8px;
    height: 8px;
    box-shadow: 0 0 10px var(--coral);
    animation: moveUpRight 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.p-dot.noise {
    background: #a0a0a0;
    width: 4px;
    height: 4px;
    animation: moveDownRight 2s linear infinite;
}

.stream-particles.slow .p-dot:nth-child(1) { animation-delay: 0s; }
.stream-particles.slow .p-dot:nth-child(2) { animation-delay: 0.7s; }
.stream-particles.slow .p-dot:nth-child(3) { animation-delay: 1.4s; }

@keyframes moveUpRight {
    0% { left: 0; bottom: 50%; opacity: 0; transform: rotate(-15deg); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; bottom: 80%; opacity: 0; transform: rotate(-15deg); }
}

@keyframes moveDownRight {
    0% { left: 0; top: 50%; opacity: 0; transform: rotate(15deg); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; top: 80%; opacity: 0; transform: rotate(15deg); }
}

/* Destinations */
.destination-stack {
    display: flex;
    flex-direction: column;
    gap: 230px;
}

.destination-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 20px;
    width: 220px;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.destination-card.high-value {
    border-color: rgba(255, 107, 91, 0.3);
}

.destination-card.high-value:hover {
    border-color: var(--coral);
    box-shadow: 0 8px 30px rgba(255, 107, 91, 0.15);
}

.destination-card.cold-storage {
    border-color: rgba(0,0,0,0.05);
    opacity: 0.8;
}

.dest-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dest-icon {
    font-size: 1.5rem;
}

.destination-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.destination-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Responsive Pipeline */
@media (max-width: 991px) {
    .pipeline-visual-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .source-grid {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .stream-connector {
        height: 60px;
        width: 100%;
        transform: rotate(90deg); /* Vertical flow */
    }
    
    .input-stream .p-dot {
        animation: moveRight 2s linear infinite; /* Keep right since container is rotated */
    }
    
    .output-stream {
        flex-direction: row; /* Reset to row inside column container */
        height: 100px;
        width: 100%;
        transform: none; /* Reset rotation */
    }
    
    .stream-branch {
        height: 100%;
        width: 50%;
    }
    
    .top-branch { justify-content: center; align-items: center; padding: 0; }
    .bottom-branch { justify-content: center; align-items: center; padding: 0; }
    
    .top-branch::before {
        top: 0; left: 50%; width: 2px; height: 100%; transform: none;
        background: linear-gradient(to bottom, var(--coral), var(--bg-light));
    }
    
    .bottom-branch::before {
        top: 0; left: 50%; width: 2px; height: 100%; transform: none;
        background: linear-gradient(to bottom, var(--text-muted), var(--bg-light));
    }
    
    /* Adjust animations for vertical flow if needed, or simplify for mobile */
    .p-dot.signal, .p-dot.noise {
        animation: none;
        opacity: 1;
        position: static;
        margin: 5px auto;
    }
    
    .destination-stack {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px; /* Reset gap */
    }
}

/* ============================================
   SMART PIPELINE VISUALIZATION (USE CASES PAGE)
   ============================================ */
.smart-pipeline-wrapper {
    background: var(--bg-card-gray); /* Light gray background */
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    padding: 60px 40px;
    color: var(--text-dark);
    margin-bottom: 48px;
    box-shadow: var(--shadow-card);
}

.sp-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.sp-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 400px;
}

.sp-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Ingest Stage */
.sp-ingest {
    width: 25%;
}

.sp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.sp-title { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.ingest-tunnel {
    width: 100%;
    height: 60px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    border-left: none; border-right: none;
    background: rgba(0,0,0,0.02);
    overflow: hidden;
    margin-bottom: 20px;
}

.tunnel-track {
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 1px;
    background: rgba(0,0,0,0.05);
}

.source-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.source-pills span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-body);
}

/* Packets */
.sp-packet {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}

.p-raw {
    width: 12px; height: 12px;
    background: #94a3b8;
    opacity: 0.8;
    animation: ingestMove 3s linear infinite;
}

/* Randomize positions for variety */
.p-1 { animation-delay: 0s; background: #60a5fa; } /* Blue (Net) */
.p-2 { animation-delay: 0.6s; background: #f472b6; } /* Pink (Identity) */
.p-3 { animation-delay: 1.2s; background: #94a3b8; } /* Grey (Log) */
.p-4 { animation-delay: 1.8s; background: #fbbf24; } /* Yellow (Cloud) */
.p-5 { animation-delay: 2.4s; background: #ef4444; } /* Red (Alert) */

@keyframes ingestMove {
    0% { left: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

/* Core Stage */
.sp-core {
    flex-grow: 1;
    position: relative;
    width: 300px; /* Fixed width for stability */
    display: flex;
    justify-content: center;
}

.core-connector-left, .core-connector-right {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: rgba(0,0,0,0.1);
}
.core-connector-left { left: 0; }
.core-connector-right { right: 0; }

.brava-core {
    width: 160px; height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring-outer {
    position: absolute;
    width: 100%; height: 100%;
    border: 1px dashed rgba(255, 107, 91, 0.4);
    border-radius: 50%;
    animation: rotateRight 10s linear infinite;
}

.core-ring-inner {
    position: absolute;
    width: 80%; height: 80%;
    border: 2px solid rgba(255, 107, 91, 0.8);
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: rotateLeft 6s linear infinite;
}

.core-center {
    width: 60px; height: 60px;
    background: var(--coral);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(255, 107, 91, 0.4);
    z-index: 5;
}

.core-logo-img { width: 30px; height: auto; }

.scanner-line {
    position: absolute;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--coral), transparent);
    animation: scanVertical 3s ease-in-out infinite;
    opacity: 0.5;
}

.analysis-dots {
    position: absolute;
    top: -20px;
    display: flex; gap: 4px;
}
.analysis-dots span {
    width: 4px; height: 4px; background: var(--coral); border-radius: 50%;
    animation: blink 1s infinite alternate;
}
.analysis-dots span:nth-child(2) { animation-delay: 0.2s; }
.analysis-dots span:nth-child(3) { animation-delay: 0.4s; }

.core-hud {
    position: absolute;
    bottom: -60px;
    width: 180px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow-card);
}

.hud-row {
    display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 4px;
}
.hud-label { color: var(--text-muted); letter-spacing: 0.5px; }
.hud-value { font-family: 'Monaco', monospace; font-weight: 700; color: var(--text-dark); }
.text-coral { color: var(--coral); }
.flickers { animation: blink 0.2s infinite alternate; }

/* Distribute Stage */
.sp-distribute {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px 0;
}

.dist-path {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    position: relative;
    gap: 20px;
}

.path-line {
    position: absolute;
    left: -40px; /* Connect to core */
    top: 50%;
    width: 60px;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.path-critical .path-line { background: linear-gradient(90deg, var(--coral), rgba(0,0,0,0.1)); }

.packet-stream {
    flex-grow: 1;
    height: 40px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Output Packets */
.p-crit { width: 14px; height: 14px; background: var(--coral); box-shadow: 0 0 10px rgba(255, 107, 91, 0.4); border-radius: 50%; animation: outMove 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
.p-comp { width: 12px; height: 8px; background: #22c55e; border-radius: 2px; animation: outMove 3s linear infinite; }
.p-noise { width: 4px; height: 4px; background: #9ca3af; border-radius: 50%; animation: outMove 1.5s linear infinite; }

.d-2 { animation-delay: 1s; }

@keyframes outMove {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.dest-block {
    width: 140px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.path-critical .dest-block { background: rgba(255, 107, 91, 0.05); border-color: rgba(255, 107, 91, 0.2); }

.dest-icon { font-size: 1.2rem; }
.dest-info { display: flex; flex-direction: column; }
.dest-info strong { font-size: 0.8rem; color: var(--text-dark); }
.dest-info span { font-size: 0.7rem; color: var(--text-muted); }

/* Keyframe Rotations */
@keyframes rotateRight { 100% { transform: rotate(360deg); } }
@keyframes rotateLeft { 100% { transform: rotate(-360deg); } }
@keyframes scanVertical { 
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}
@keyframes blink { from { opacity: 1; } to { opacity: 0.4; } }

/* Mobile Response for Smart Pipeline */
@media (max-width: 991px) {
    .sp-container { flex-direction: column; height: auto; gap: 60px; }
    .sp-ingest { width: 100%; }
    .sp-core { width: 100%; }
    .sp-distribute { width: 100%; gap: 20px; }
    .core-connector-left, .core-connector-right { display: none; }
    .path-line { display: none; }
}
/* ============================================
   ATTACKS BANNER SECTION
   ============================================ */

.attacks-banner-section {
    background: var(--bg-light); /* UPDATED: White background */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 50px;
    overflow: hidden;
}

.attacks-banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.attacks-banner-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark); /* UPDATED: Dark text */
    letter-spacing: -1px;
}

.attacks-banner-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PROOF SECTION
   ============================================ */

.proof-section {
    background: var(--bg-light);
    padding: 100px 50px;
}

.proof-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proof-left {
    position: relative;
}

.proof-image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
}

.proof-image-main {
    width: 100%;
    height: auto;
    display: block;
}

.proof-particle {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    z-index: 2;
}

.proof-particle-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.proof-right h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.proof-right p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.proof-right p .highlight {
    color: var(--coral);
    font-weight: 600;
}

.proof-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.proof-stat-card {
    background: var(--bg-card-gray);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.proof-stat-content {
    flex: 1;
}

.proof-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.proof-stat-label {
    font-size: 0.95rem;
    color: var(--text-body);
}

.proof-stat-visual {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-stat-visual img {
    max-height: 60px;
    max-width: 80px;
    object-fit: contain;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: var(--bg-gray);
    padding: 100px 50px;
    position: relative;
}

/* Pixel Pattern Background */
.pixel-pattern-bg {
    position: relative;
}

.pixel-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.prod.website-files.com/691b04bc9864f859846f554a/691b2965f583d106becb67a4_pixel-pattern.svg');
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.pixel-pattern-bg > .container {
    position: relative;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.testimonial-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-card blockquote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-style: normal;
}

.testimonial-card blockquote::before {
    content: '«';
    color: var(--coral);
    font-size: 1.5rem;
    margin-right: 4px;
}

.testimonial-card blockquote::after {
    content: '»';
    color: var(--coral);
    font-size: 1.5rem;
    margin-left: 4px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-logo {
    width: 80px;
    height: 48px;
    object-fit: contain;
    border-radius: 0;
}


.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   SIMULATION SECTION
   ============================================ */

.simulation-section {
    background: var(--bg-light);
    padding: 100px 50px;
    position: relative;
    overflow: hidden;
}

.simulation-wrapper {
    background: var(--bg-card-gray);
    border-radius: 32px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.simulation-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.simulation-content p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 32px;
}

.simulation-content p .highlight {
    color: var(--coral);
    font-weight: 600;
}

.simulation-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Updated Simulation Steps Box */
.simulation-steps-box {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px 32px;
    min-width: 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sim-step-single {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sim-step-single.active {
    opacity: 1;
    transform: translateY(0);
}

.sim-step-single.prev {
    opacity: 0;
    transform: translateY(-20px);
}

.simulation-line-animation {
    position: relative;
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
}

.simulation-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--border-light);
    border-radius: 1px;
}

.simulation-box-moving {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--coral);
    border-radius: 6px;
    animation: moveBox 4s ease-in-out infinite;
}

@keyframes moveBox {
    0%, 100% { left: 0; }
    25% { left: 25%; }
    50% { left: 50%; }
    75% { left: 75%; }
}

.simulation-lottie-bg {
    position: absolute;
    right: -10%;
    bottom: -10%;
    z-index: 1;
    opacity: 0.3;
    width: 600px;
    height: 600px;
}

.simulation-visual img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
    background: var(--bg-light);
    padding: 100px 50px;
}

.benefits-section h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.benefit-card {
    background: var(--bg-card-gray);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all var(--transition-medium);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.benefit-icon {
    margin-bottom: 100px;
}

.benefit-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.benefits-image {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--bg-light);
    padding: 100px 40px 120px;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-content {
    max-width: 550px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-content p .highlight {
    color: var(--coral);
    font-weight: 600;
}

.cta-visual {
    flex-shrink: 0;
}

.cta-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    transform: rotate(15deg);
}

.cta-block {
    width: 56px;
    height: 56px;
    background: var(--bg-card-gray);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.cta-block.active {
    background: var(--coral);
    box-shadow: 0 8px 24px rgba(255, 107, 91, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    background: var(--bg-gray);
    padding: 60px 40px 32px;
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}

/* Footer Videos */
.footer-videos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer-video {
    position: absolute;
    opacity: 0.15;
    object-fit: contain; /* Ensure videos scale correctly */
}

.footer-video-top {
    top: 10%;
    right: 5%;
    width: 300px;
    height: auto;
}

.footer-video-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: auto;
}

.footer-video-bottom {
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: auto;
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-logo-img {
    height: 28px;
    width: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 48px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

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

/* ============================================
   USE CASES PAGE
   ============================================ */

.use-cases-hero {
    padding: 180px 40px 100px;
    text-align: center;
    background: var(--hero-gradient);
}

.use-cases-hero .section-eyebrow {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.use-cases-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.use-cases-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.use-case-section {
    padding: 100px 40px;
    background: var(--bg-light);
}

.use-case-section.alternate {
    background: var(--bg-gray);
}

.use-case-content {
    max-width: 1000px;
    margin: 0 auto;
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 32px;
}

.use-case-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--coral);
    opacity: 0.3;
    line-height: 1;
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 91, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.use-case-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.use-case-title .highlight {
    color: var(--coral);
}

.use-case-description {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 800px;
}

.use-case-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--bg-card-gray);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card > p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--coral);
}

.use-case-outcome {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px;
    background: rgba(255, 107, 91, 0.08);
    border: 1px solid rgba(255, 107, 91, 0.2);
    border-radius: 20px;
}

.outcome-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--coral);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outcome-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Workflow Diagram */
.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.workflow-step {
    text-align: center;
    padding: 20px;
}

.workflow-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 107, 91, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.workflow-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.workflow-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.workflow-arrow svg {
    color: var(--coral);
}

/* Mini Benefits */
.use-case-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.mini-benefit {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-medium);
}

.mini-benefit:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.mini-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.mini-benefit h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.mini-benefit p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Simulation Visualization */
.simulation-visualization {
    position: relative;
    height: 320px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-center {
    position: relative;
    width: 220px;
    height: 220px;
}

.sim-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    z-index: 3;
    box-shadow: 0 8px 32px rgba(255, 107, 91, 0.4);
}

.sim-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--coral);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 { width: 130px; height: 130px; animation: pulse-ring 2.5s ease-out infinite; }
.ring-2 { width: 170px; height: 170px; animation: pulse-ring 2.5s ease-out infinite 0.5s; }
.ring-3 { width: 210px; height: 210px; animation: pulse-ring 2.5s ease-out infinite 1s; }

@keyframes pulse-ring {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}

.sim-targets {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sim-target {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-medium);
}

.sim-target:hover {
    border-color: var(--coral);
    box-shadow: var(--shadow-card-hover);
}

.t1 { top: 5%; left: 50%; transform: translateX(-50%); }
.t2 { top: 50%; right: 2%; transform: translateY(-50%); }
.t3 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.t4 { top: 50%; left: 2%; transform: translateY(-50%); }

/* Coverage Cards */
.attack-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.coverage-card {
    background: var(--bg-card-gray);
    border-radius: 20px;
    padding: 28px;
    transition: all var(--transition-medium);
}

.coverage-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.coverage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.coverage-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.coverage-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.coverage-badge { background: rgba(255, 107, 91, 0.1); color: var(--coral); }
.coverage-badge.critical { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.coverage-badge.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.coverage-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.coverage-meter {
    position: relative;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--coral);
    border-radius: 4px;
}

.coverage-meter span {
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 0.8rem;
    color: var(--coral);
    font-weight: 600;
}

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

.gap-item {
    font-size: 0.8rem;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-body);
    font-family: 'SF Mono', Monaco, monospace;
}

.score-grid {
    display: flex;
    gap: 10px;
}

.score-item {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    background: var(--bg-light);
    border-radius: 12px;
}

.score-item .score {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.score-item .label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.score-item.high .score { color: #22c55e; }
.score-item.medium .score { color: #f59e0b; }
.score-item.low .score { color: #ef4444; }

.simulation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.sim-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card-gray);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.sim-feature svg {
    color: var(--coral);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .problems-header { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-grid { grid-template-columns: 1fr; }
    .proof-wrapper { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .simulation-wrapper { grid-template-columns: 1fr; }
    .cta-wrapper { flex-direction: column; text-align: center; }
    .cta-visual { display: none; }
    
    .use-case-features { grid-template-columns: repeat(2, 1fr); }
    .attack-coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .use-case-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    section { padding: 80px 20px; }
    
    .navbar {
        width: calc(100% - 40px);
        padding: 12px 20px;
    }
    
    .nav-links { display: none; }
    
    .hero { padding: 120px 20px 80px; }
    
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 100%
        );
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons { 
        flex-direction: column; 
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .problems-grid,
    .solution-cards,
    .benefits-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 24px; }

    .use-case-features,
    .attack-coverage-grid,
    .use-case-benefits-grid { grid-template-columns: 1fr; }
    
    .workflow-diagram { flex-direction: column; }
    .workflow-arrow { transform: rotate(90deg); }
    
    .simulation-visualization { height: auto; min-height: 400px; }
    .sim-target { width: 65px; height: 65px; font-size: 0.65rem; }
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-8px); }
    80% { transform: translateX(8px); }
}

.shake { animation: shake 0.5s ease; }

