/* ================================================================
   CyberGuard AI — Landing Page v2 — Futuristic Immersive Design
   ================================================================ */

/* --- Design tokens --- */
:root {
    --bg-void:       #080506;
    --bg-primary:    #110a0c;
    --bg-secondary:  #140b0e;
    --bg-card:       #1c1014;
    --bg-card-hover: #261620;
    --border:        #2e1a22;
    --border-glow:   rgba(255, 45, 85, 0.15);
    --text-primary:  #f2e8eb;
    --text-muted:    #a0808c;
    --accent:        #ff2d55;
    --accent-2:      #ff6b35;
    --accent-glow:   rgba(255, 45, 85, 0.12);
    --accent-glow-strong: rgba(255, 45, 85, 0.25);
    --red:           #ff2d55;
    --orange:        #ff6b35;
    --yellow:        #ffd600;
    --green:         #00e676;
    --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono:          'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-void);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--accent);
    color: var(--bg-void);
}

/* --- Particle canvas (fond global) --- */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Scanline overlay subtile --- */
.scanline-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 45, 85, 0.008) 2px,
        rgba(255, 45, 85, 0.008) 4px
    );
}

/* --- Cursor glow (suit la souris) --- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: transform;
}

/* --- Gradient text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar-cyber {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar-cyber.scrolled {
    padding: 10px 0;
    background: rgba(8, 5, 6, 0.9);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-shield {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 45, 85, 0.2);
}

.brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}

.brand-ai {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link-cyber {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.25s;
    position: relative;
}

.nav-link-cyber:hover,
.nav-link-cyber.active {
    color: var(--text-primary);
    background: rgba(255, 45, 85, 0.06);
}

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

/* Language toggle */
.lang-toggle {
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--accent-glow);
    border-color: rgba(255, 45, 85, 0.3);
    color: var(--accent);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* --- Primary CTA button --- */
.btn-cyber-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-out-expo);
    box-shadow: 0 0 20px rgba(255, 45, 85, 0.15);
}

.btn-cyber-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-cyber-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(255, 45, 85, 0.3);
    color: #fff;
}

.btn-cyber-primary:hover::before { opacity: 1; }

.btn-cyber-primary.btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-cyber-primary.btn-xl {
    padding: 18px 48px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-cyber-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.35s var(--ease-out-expo);
}

.btn-cyber-ghost:hover {
    border-color: var(--accent);
    background: rgba(255, 45, 85, 0.06);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 2;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 45, 85, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 45, 85, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    animation: gridPulse 8s ease-in-out infinite;
}

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

.hero-radial-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: glowFloat 10s ease-in-out infinite;
}

.hero-radial-glow-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.07) 0%, transparent 60%);
    pointer-events: none;
    animation: glowFloat 12s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

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

/* --- Hero left content --- */
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(255, 45, 85, 0.06);
    border: 1px solid rgba(255, 45, 85, 0.12);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hero-headline {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-headline .line { display: block; }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
}

.metric-pill {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--mono);
    letter-spacing: -0.5px;
}

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

.metric-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* --- Hero right: terminal holographique --- */
.hero-visual {
    position: relative;
    z-index: 2;
}

.holo-panel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(18, 10, 12, 0.85);
    border: 1px solid var(--border);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 45, 85, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
}

.holo-border-anim {
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: conic-gradient(from var(--holo-angle, 0deg), transparent 60%, var(--accent) 70%, transparent 80%);
    z-index: -1;
    animation: holoBorder 4s linear infinite;
    opacity: 0.5;
}

@keyframes holoBorder {
    to { --holo-angle: 360deg; }
}

@property --holo-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.holo-scanline {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
    opacity: 0.4;
    animation: scanlineMove 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes scanlineMove {
    0% { top: -2px; }
    100% { top: 100%; }
}

.terminal-cyber { position: relative; }

.terminal-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.terminal-dots { display: flex; gap: 6px; }
.td {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.td.r { background: #ff5f57; }
.td.y { background: #febc2e; }
.td.g { background: #28c840; }

.terminal-label {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.terminal-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-out infinite;
}

.terminal-content {
    padding: 20px;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 2;
    min-height: 260px;
}

.term-line {
    opacity: 0;
    transform: translateX(-10px);
    animation: termLineIn 0.4s var(--ease-out-expo) forwards;
    white-space: nowrap;
    overflow: hidden;
}

.term-line .tag {
    font-weight: 600;
    margin-right: 6px;
}

.tag-scan { color: var(--green); }
.tag-filter { color: var(--yellow); }
.tag-ai { color: var(--accent); }
.tag-critical { color: #ff1744; }
.tag-high { color: var(--orange); }
.tag-medium { color: #ffa726; }
.tag-low { color: var(--green); }
.tag-ok { color: var(--green); }
.tag-dim { color: #4a3040; }

.term-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 8px rgba(255, 45, 85, 0.5);
}

@keyframes blink { 50% { opacity: 0; } }

@keyframes termLineIn {
    to { opacity: 1; transform: translateX(0); }
}

/* --- Hero orb --- */
.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.08) 0%, transparent 70%);
    z-index: -1;
    animation: orbPulse 6s ease-in-out infinite;
}

.hero-orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(255, 45, 85, 0.08);
    z-index: -1;
    animation: orbSpin 20s linear infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@keyframes orbSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Scroll indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ================================================================
   SECTIONS — Base
   ================================================================ */
.section-cyber {
    position: relative;
    z-index: 2;
    padding: 120px 0;
    background: var(--bg-primary);
}

.section-cyber.section-alt {
    background: var(--bg-secondary);
}

.section-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 45, 85, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 45, 85, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    opacity: 0.5;
}

.section-header { margin-bottom: 64px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 45, 85, 0.06);
    border: 1px solid rgba(255, 45, 85, 0.12);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-badge svg { opacity: 0.7; }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ================================================================
   THREAT CARDS
   ================================================================ */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.threat-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.threat-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 180, 60, 0.04) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.threat-card:hover {
    border-color: rgba(255, 176, 60, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(255, 176, 60, 0.08);
}

.threat-card:hover .threat-card-glow { opacity: 1; }

.threat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 176, 60, 0.08);
    border: 1px solid rgba(255, 176, 60, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb03c;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.threat-card:hover .threat-icon-wrap {
    background: rgba(255, 176, 60, 0.14);
    box-shadow: 0 0 20px rgba(255, 176, 60, 0.2);
}

.threat-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.threat-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.threat-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.threat-stat-num {
    font-family: var(--mono);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffb03c;
}

.threat-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Solution panel --- */
.solution-panel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.04), rgba(255, 107, 53, 0.04));
}

.solution-panel-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 45, 85, 0.15);
    pointer-events: none;
}

.solution-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px;
}

.solution-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.solution-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ================================================================
   FEATURE CELLS (Intelligence)
   ================================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-cell {
    position: relative;
}

.feature-cell-inner {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.feature-cell-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-cell:hover .feature-cell-inner {
    border-color: rgba(255, 45, 85, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(255, 45, 85, 0.06);
}

.feature-cell:hover .feature-cell-inner::before { opacity: 1; }

.feature-icon-hex {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 45, 85, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-cell:hover .feature-icon-hex {
    box-shadow: 0 0 20px rgba(255, 45, 85, 0.15);
    background: var(--accent-glow-strong);
}

.feature-cell-inner h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-cell-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 45, 85, 0.06);
    border: 1px solid rgba(255, 45, 85, 0.1);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ================================================================
   PIPELINE (Protection)
   ================================================================ */
.pipeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pipeline-line {
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--accent), var(--accent-2), var(--border));
    opacity: 0.3;
}

.pipeline-step {
    text-align: center;
    position: relative;
}

.pipeline-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease-out-expo);
}

.pipeline-node span {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.pipeline-node-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 45, 85, 0.1);
    transition: all 0.4s;
}

.pipeline-step:hover .pipeline-node {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 45, 85, 0.15);
}

.pipeline-step:hover .pipeline-node-ring {
    border-color: rgba(255, 45, 85, 0.3);
    transform: scale(1.15);
}

.pipeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 20px;
    transition: all 0.4s var(--ease-out-expo);
}

.pipeline-step:hover .pipeline-card {
    border-color: rgba(255, 45, 85, 0.2);
    transform: translateY(-4px);
}

.pipeline-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 45, 85, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 16px;
}

.pipeline-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pipeline-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   USE CASES + TESTIMONIALS
   ================================================================ */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.usecase-cell-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.4s var(--ease-out-expo);
}

.usecase-cell:hover .usecase-cell-inner {
    border-color: rgba(255, 45, 85, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 45, 85, 0.05);
}

.usecase-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 45, 85, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.usecase-cell-inner h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.usecase-cell-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.usecase-cell-inner blockquote {
    padding: 12px 16px;
    background: rgba(255, 45, 85, 0.04);
    border-left: 2px solid var(--accent);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Testimonials */
.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    transition: all 0.4s var(--ease-out-expo);
}

.testimonial-cell:hover .testimonial-inner {
    border-color: rgba(255, 45, 85, 0.2);
    transform: translateY(-6px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

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

/* ================================================================
   CTA FINAL
   ================================================================ */
.cta-cyber {
    position: relative;
    z-index: 2;
    padding: 140px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.cta-bg-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: orbPulse 6s ease-in-out infinite;
}

.cta-bg-orb-2 {
    position: absolute;
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: orbPulse 8s ease-in-out infinite reverse;
}

.cta-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-checks {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer-cyber {
    position: relative;
    z-index: 2;
    background: var(--bg-void);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 14px;
    line-height: 1.6;
}

.footer-links-col h6 {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links-col a:hover { color: var(--accent); }

.footer-tech-col h6 {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.f-badge {
    padding: 5px 12px;
    background: rgba(255, 45, 85, 0.06);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.f-badge:hover {
    border-color: rgba(255, 45, 85, 0.2);
    color: var(--accent);
}

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

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

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pipeline { grid-template-columns: repeat(2, 1fr); }
    .pipeline-line { display: none; }
    .threat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }

    /* Mobile nav overlay */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        top: 70px;
        background: rgba(8, 5, 6, 0.97);
        backdrop-filter: blur(20px);
        padding: 32px;
        gap: 8px;
        z-index: 99;
        animation: fadeIn 0.3s ease;
    }

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

    .nav-links.open .nav-link-cyber {
        font-size: 1.1rem;
        padding: 14px 16px;
    }

    .hero { padding: 100px 0 60px; }
    .hero-headline { font-size: 2.4rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas a { width: 100%; justify-content: center; }
    .hero-metrics { flex-direction: column; gap: 16px; }
    .metric-divider { display: none; }

    .section-cyber { padding: 80px 0; }
    .section-title { font-size: 1.8rem; }

    .threat-grid,
    .features-grid,
    .usecase-grid,
    .testimonials-row,
    .pipeline { grid-template-columns: 1fr; }

    .pipeline-line { display: none; }

    .solution-inner { flex-direction: column; text-align: center; }

    .cta-headline { font-size: 2rem; }
    .cta-checks { flex-direction: column; align-items: center; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }

    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2rem; }
    .section-title { font-size: 1.5rem; }
}
