/* =====================================================
   GHOST — Counter-UAS Product Page Styles
   Unique design system: Command Center Cinema
   ===================================================== */

/* ---- GHOST Theme Tokens ---- */
:root {
    --ghost-blue: #4da6ff;
    --ghost-blue-bright: #7ec4ff;
    --ghost-blue-dim: rgba(77, 166, 255, 0.4);
    --ghost-blue-glow: rgba(77, 166, 255, 0.15);
    --ghost-orange: #ff6b35;
    --ghost-orange-dim: rgba(255, 107, 53, 0.4);
    --ghost-surface: #060a10;
    --ghost-surface-2: #0c1220;
    --ghost-surface-3: #111a2a;
    --ghost-border: rgba(77, 166, 255, 0.12);
    --ghost-text: #c8d6e5;
    --ghost-text-dim: #5a7a9a;
}

/* ---- Film Grain Overlay ---- */
body.ghost-page::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

body.ghost-page {
    background: var(--ghost-surface);
}

/* ========== GHOST HERO ========== */
.ghost-hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ghost-surface);
    padding-top: 70px;
    box-sizing: border-box;
}

/* Parallax depth layers */
.ghost-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ghost-hero-layer {
    position: absolute;
    inset: 0;
    transition: transform 0.1s linear;
}

/* Layer 1: Grid field */
.ghost-hero-layer-grid {
    background-image:
        linear-gradient(rgba(77, 166, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 166, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
}

/* Layer 2: Radial gradient ambience */
.ghost-hero-layer-ambience {
    background:
        radial-gradient(ellipse 800px 600px at 30% 40%, rgba(77, 166, 255, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 600px 500px at 70% 60%, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
}

/* Layer 3: Animated scan line */
.ghost-hero-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 166, 255, 0.3) 20%, rgba(77, 166, 255, 0.6) 50%, rgba(77, 166, 255, 0.3) 80%, transparent);
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.2);
    z-index: 1;
    pointer-events: none;
    animation: ghostScanDown 6s linear infinite;
}

@keyframes ghostScanDown {
    0% { top: 0; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Hero content */
.ghost-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.ghost-hero-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--ghost-blue);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: ghostFadeUp 1s ease 0.3s forwards;
}

.ghost-hero-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    position: relative;
    /* Clip-path reveal */
    background: linear-gradient(180deg, #ffffff 0%, #4da6ff 60%, #1a3a5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: ghostTitleReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes ghostTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(10px);
    }
    40% {
        opacity: 1;
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.ghost-hero-subtitle {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--ghost-text-dim);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: ghostFadeUp 1s ease 1s forwards;
}

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

/* Hero product image */
.ghost-hero-image-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    flex-shrink: 1;
    min-height: 0;
    opacity: 0;
    animation: ghostProductFloat 2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes ghostProductFloat {
    0% { opacity: 0; transform: translateY(50px) scale(0.96); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ghost-hero-image-placeholder {
    width: 100%;
    max-height: 48vh;
    border: 1px dashed rgba(77, 166, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(77, 166, 255, 0.015);
    position: relative;
    overflow: visible;
    padding: 0;
    box-sizing: border-box;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
    /* Clip sides and bottom, allow top to peek out */
    clip-path: inset(-12% 0px 0px 0px round 14px);
}

/* Radial spotlight under product */
.ghost-hero-image-placeholder::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50%;
    background: radial-gradient(ellipse at center bottom, rgba(77, 166, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}

/* Sweeping light reflection */
.ghost-hero-image-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(77, 166, 255, 0.06) 45%, rgba(255, 255, 255, 0.04) 50%, rgba(77, 166, 255, 0.06) 55%, transparent 60%);
    transform: skewX(-15deg);
    animation: ghostLightSweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes ghostLightSweep {
    0% { left: -60%; }
    100% { left: 160%; }
}

.ghost-hero-image-placeholder:hover {
    border-color: rgba(77, 166, 255, 0.35);
    box-shadow: 0 0 60px rgba(77, 166, 255, 0.08), inset 0 0 30px rgba(77, 166, 255, 0.03);
}

.ghost-hero-image-placeholder img {
    width: 100%;
    height: 100%;
    max-height: 48vh;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(77, 166, 255, 0.12));
    animation: ghostProductHover 4s ease-in-out infinite;
    transition: filter 0.5s ease, transform 0.5s ease;
    /* Subtle break out from top only */
    transform: translateY(-8%);
    transform-origin: center bottom;
}

@keyframes ghostProductHover {
    0%, 100% { transform: translateY(-8%); }
    50% { transform: translateY(calc(-8% - 5px)); }
}

.ghost-hero-image-placeholder:hover img {
    filter: drop-shadow(0 0 30px rgba(77, 166, 255, 0.25)) drop-shadow(0 12px 40px rgba(0, 0, 0, 0.6));
    transform: translateY(-10%) scale(1.02);
    animation-play-state: paused;
}

.placeholder-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--ghost-text-dim);
    text-transform: uppercase;
    position: absolute;
    bottom: 1rem;
    z-index: 2;
    background: rgba(6, 10, 16, 0.85);
    padding: 0.35rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--ghost-border);
}

.ghost-hero-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(77, 166, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero scroll indicator */
.ghost-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 4rem;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    opacity: 0;
    animation: ghostFadeUp 1s ease 2s forwards;
}

.ghost-scroll-indicator span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--ghost-blue);
    text-transform: uppercase;
    transition: color 0.4s ease, text-shadow 0.4s ease;
    white-space: pre-line;
    line-height: 1.25;
    font-weight: 400;
    text-shadow: 0 0 20px rgba(77, 166, 255, 0.25);
}

.ghost-scroll-indicator span.threat-active {
    color: var(--ghost-orange);
    text-shadow: 0 0 12px rgba(255, 107, 53, 0.5), 0 0 30px rgba(255, 107, 53, 0.2);
}

.ghost-scroll-indicator span.scrambling {
    color: rgba(255, 107, 53, 0.5);
}

.ghost-scroll-indicator span.scrambling-back {
    color: rgba(77, 166, 255, 0.5);
}

.ghost-scroll-line {
    width: 2px;
    height: 55px;
    background: linear-gradient(180deg, var(--ghost-blue), transparent);
    animation: ghostScrollPulse 2s ease-in-out infinite;
    transition: background 0.4s ease;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(77, 166, 255, 0.3);
}

.ghost-scroll-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ghost-blue);
    box-shadow: 0 0 10px var(--ghost-blue), 0 0 20px rgba(77, 166, 255, 0.3);
}

.ghost-scroll-indicator.threat-mode .ghost-scroll-line {
    background: linear-gradient(180deg, var(--ghost-orange), transparent);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.ghost-scroll-indicator.threat-mode .ghost-scroll-line::before {
    background: var(--ghost-orange);
    box-shadow: 0 0 10px var(--ghost-orange), 0 0 20px rgba(255, 107, 53, 0.3);
}

@keyframes ghostScrollPulse {
    0%, 100% { opacity: 0.4; height: 55px; }
    50% { opacity: 1; height: 70px; }
}


/* ========== INTRO STATEMENT ========== */
.ghost-statement {
    padding: 10rem 4rem;
    text-align: center;
    position: relative;
}

.ghost-statement-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.ghost-statement h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: #fff;
}

.ghost-statement h2 .ghost-accent {
    background: linear-gradient(135deg, var(--ghost-blue), var(--ghost-blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ghost-statement-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--ghost-text-dim);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}


/* ========== MARKET CONTEXT ========== */
.ghost-market {
    padding: 6rem 4rem;
    background: var(--ghost-surface-2);
    border-top: 1px solid var(--ghost-border);
    border-bottom: 1px solid var(--ghost-border);
    position: relative;
}

.ghost-market::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 50%, rgba(77, 166, 255, 0.04), transparent 70%),
        radial-gradient(ellipse 400px 300px at 85% 30%, rgba(255, 107, 53, 0.03), transparent 60%);
    pointer-events: none;
}

.ghost-market-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ghost-market-header {
    margin-bottom: 3.5rem;
}

.ghost-market-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ghost-market-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
}

.ghost-market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ghost-market-card {
    background: rgba(77, 166, 255, 0.03);
    border: 1px solid var(--ghost-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.ghost-market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ghost-blue-dim), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.ghost-market-card:hover {
    border-color: rgba(77, 166, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(77, 166, 255, 0.08);
}

.ghost-market-card:hover::before {
    opacity: 1;
}

.ghost-market-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--ghost-blue);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.ghost-market-value {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ghost-market-value .ghost-counter-prefix {
    font-size: 0.5em;
    color: var(--ghost-text-dim);
    font-weight: 400;
}

.ghost-market-label {
    font-size: 0.8rem;
    color: var(--ghost-text-dim);
    letter-spacing: 0.5px;
}

/* ASER Company Panel */
.ghost-aser-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ghost-border);
    border-radius: 16px;
    padding: 2.5rem 3rem;
}

.ghost-aser-panel h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ghost-aser-panel p {
    font-size: 0.95rem;
    color: var(--ghost-text);
    line-height: 1.7;
    font-weight: 300;
}

.ghost-aser-capabilities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ghost-aser-capabilities li {
    font-size: 0.9rem;
    color: var(--ghost-text);
    padding: 0.6rem 1rem;
    border-left: 2px solid var(--ghost-blue);
    background: rgba(77, 166, 255, 0.03);
    border-radius: 0 6px 6px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ghost-aser-capabilities li:hover {
    background: rgba(77, 166, 255, 0.08);
    border-left-color: var(--ghost-blue-bright);
    transform: translateX(4px);
}


/* ========== SYSTEM OVERVIEW ========== */
.ghost-overview {
    padding: 8rem 4rem;
    position: relative;
}

.ghost-overview-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ghost-overview-badge {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--ghost-blue);
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid var(--ghost-border);
    border-radius: 4px;
    margin-bottom: 2rem;
    background: rgba(77, 166, 255, 0.05);
}

.ghost-overview h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.ghost-overview-desc {
    font-size: 1.1rem;
    color: var(--ghost-text);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 900px;
    font-weight: 300;
}

.ghost-overview-desc strong {
    color: #fff;
    font-weight: 600;
}

/* Core capabilities list */
.ghost-core-caps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ghost-core-cap {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--ghost-border);
    border-radius: 10px;
    background: rgba(77, 166, 255, 0.02);
    transition: all 0.3s ease;
}

.ghost-core-cap:hover {
    border-color: rgba(77, 166, 255, 0.25);
    background: rgba(77, 166, 255, 0.05);
    transform: translateX(4px);
}

.ghost-core-cap-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(77, 166, 255, 0.08);
    color: var(--ghost-blue);
}

.ghost-core-cap-icon svg {
    width: 20px;
    height: 20px;
}

.ghost-core-cap span {
    font-size: 0.95rem;
    color: var(--ghost-text);
    font-weight: 500;
}


/* ========== DEFENSE LAYERS — Sticky Scroll ========== */
.ghost-defense {
    padding: 6rem 4rem 8rem;
    position: relative;
}

.ghost-defense-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.ghost-defense-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ghost-defense-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ghost-defense-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
    max-width: 700px;
    margin: 0 auto;
}

.ghost-defense-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    position: relative;
}

/* Sticky sidebar */
.ghost-defense-sidebar {
    position: sticky;
    top: 180px;
    height: fit-content;
}

.ghost-defense-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ghost-defense-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.ghost-defense-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--ghost-blue);
    border-radius: 0 2px 2px 0;
    transition: height 0.4s ease;
}

.ghost-defense-nav-item.active {
    background: rgba(77, 166, 255, 0.06);
    border-color: var(--ghost-border);
}

.ghost-defense-nav-item.active::before {
    height: 60%;
}

.ghost-defense-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--ghost-text-dim);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.ghost-defense-nav-item.active .ghost-defense-nav-dot {
    border-color: var(--ghost-blue);
    background: var(--ghost-blue);
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

.ghost-defense-nav-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ghost-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.ghost-defense-nav-item.active .ghost-defense-nav-label {
    color: #fff;
}

/* Defense layer cards */
.ghost-defense-layers {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 10rem;
}

.ghost-defense-layer {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ghost-border);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.ghost-defense-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--ghost-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ghost-defense-layer.active::before {
    opacity: 1;
}

.ghost-defense-layer.active {
    border-color: rgba(77, 166, 255, 0.2);
    background: rgba(77, 166, 255, 0.03);
    box-shadow: 0 8px 40px rgba(77, 166, 255, 0.06);
}

.ghost-defense-layer h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ghost-defense-layer p {
    font-size: 0.95rem;
    color: var(--ghost-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.ghost-defense-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ghost-defense-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--ghost-text);
    font-weight: 400;
    padding: 0.4rem 0;
}

.ghost-defense-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ghost-blue);
    flex-shrink: 0;
    opacity: 0.6;
}

/* Image placeholder inside defense layers */
.ghost-defense-image {
    margin-top: 1.5rem;
    width: 100%;
    height: 250px;
    border: 2px dashed var(--ghost-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 166, 255, 0.02);
    overflow: hidden;
    position: relative;
}

.ghost-defense-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}


/* ========== SYSTEM VARIANTS SLIDER ========== */
.ghost-variants {
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.ghost-variants-header {
    text-align: center;
    padding: 0 4rem;
    margin-bottom: 3rem;
}

.ghost-variants-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ghost-variants-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
}

/* Horizontal scroll slider */
.ghost-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.ghost-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1rem 0 2rem;
}

.ghost-slider::-webkit-scrollbar {
    display: none;
}

.ghost-slide {
    flex: 0 0 calc(100% - 2rem);
    max-width: 1000px;
    scroll-snap-align: center;
    background: var(--ghost-surface-2);
    border: 1px solid var(--ghost-border);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    transition: border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.ghost-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ghost-blue-dim), transparent);
}

.ghost-slide:hover {
    border-color: rgba(77, 166, 255, 0.25);
}

.ghost-slide-badge {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--ghost-blue);
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--ghost-border);
    border-radius: 4px;
    margin-bottom: 1rem;
    background: rgba(77, 166, 255, 0.05);
}

.ghost-slide h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ghost-slide-desc {
    font-size: 0.95rem;
    color: var(--ghost-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.ghost-slide-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ghost-slide-features li {
    font-size: 0.88rem;
    color: var(--ghost-text);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(77, 166, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400;
}

.ghost-slide-features li:last-child {
    border-bottom: none;
}

.ghost-slide-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ghost-blue);
    flex-shrink: 0;
}

/* Slide image placeholder */
.ghost-slide-image {
    width: 100%;
    height: 350px;
    border: 2px dashed var(--ghost-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 166, 255, 0.02);
    overflow: hidden;
    position: relative;
}

.ghost-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Slider navigation */
.ghost-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.ghost-slider-dot {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(77, 166, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ghost-slider-dot.active {
    background: var(--ghost-blue);
    width: 60px;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.3);
}

.ghost-slider-arrows {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.ghost-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ghost-border);
    background: rgba(77, 166, 255, 0.05);
    color: var(--ghost-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ghost-slider-arrow:hover {
    background: rgba(77, 166, 255, 0.15);
    border-color: var(--ghost-blue);
    transform: scale(1.05);
}

.ghost-slider-arrow svg {
    width: 18px;
    height: 18px;
}


/* ========== SENSORS BENTO GRID ========== */
.ghost-sensors {
    padding: 6rem 4rem 8rem;
    background: var(--ghost-surface-2);
    border-top: 1px solid var(--ghost-border);
    border-bottom: 1px solid var(--ghost-border);
}

.ghost-sensors-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ghost-sensors-header {
    margin-bottom: 3rem;
}

.ghost-sensors-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ghost-sensors-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
}

.ghost-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.ghost-bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ghost-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.ghost-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ghost-blue-dim), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.ghost-bento-card:hover {
    border-color: rgba(77, 166, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(77, 166, 255, 0.06);
}

.ghost-bento-card:hover::before {
    opacity: 1;
}

/* Large card spanning 2 cols */
.ghost-bento-card.span-2 {
    grid-column: span 2;
}

.ghost-bento-card h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ghost-bento-card p {
    font-size: 0.88rem;
    color: var(--ghost-text);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1rem;
}

.ghost-bento-features {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ghost-bento-features span {
    font-size: 0.82rem;
    color: var(--ghost-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.ghost-bento-features span::before {
    content: '›';
    color: var(--ghost-blue);
    font-weight: 700;
    font-size: 1rem;
}

.ghost-bento-image {
    width: 100%;
    height: 160px;
    border: 2px dashed var(--ghost-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 166, 255, 0.02);
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.ghost-bento-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.ghost-bento-card.span-2 .ghost-bento-image {
    height: 200px;
}


/* ========== EFFECTORS — CSS-only Tabs ========== */
.ghost-effectors {
    padding: 8rem 4rem;
    position: relative;
}

.ghost-effectors-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ghost-effectors-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ghost-effectors-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ghost-effectors-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
}

/* Tab system */
.ghost-tabs {
    position: relative;
}

.ghost-tab-input {
    display: none;
}

.ghost-tab-labels {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--ghost-border);
}

.ghost-tab-label {
    flex: 1;
    text-align: center;
    padding: 1.25rem 1.5rem;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ghost-text-dim);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.ghost-tab-label::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--ghost-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ghost-tab-label:hover {
    color: var(--ghost-text);
}

/* Active tab states */
#ghost-tab-softkill:checked ~ .ghost-tab-labels label[for="ghost-tab-softkill"],
#ghost-tab-hardkill:checked ~ .ghost-tab-labels label[for="ghost-tab-hardkill"],
#ghost-tab-interceptor:checked ~ .ghost-tab-labels label[for="ghost-tab-interceptor"] {
    color: var(--ghost-blue);
}

#ghost-tab-softkill:checked ~ .ghost-tab-labels label[for="ghost-tab-softkill"]::after,
#ghost-tab-hardkill:checked ~ .ghost-tab-labels label[for="ghost-tab-hardkill"]::after,
#ghost-tab-interceptor:checked ~ .ghost-tab-labels label[for="ghost-tab-interceptor"]::after {
    transform: scaleX(1);
}

/* Tab panels */
.ghost-tab-panels {
    position: relative;
    min-height: 500px;
}

.ghost-tab-panel {
    display: none;
    animation: ghostTabFade 0.4s ease;
}

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

#ghost-tab-softkill:checked ~ .ghost-tab-panels .ghost-panel-softkill,
#ghost-tab-hardkill:checked ~ .ghost-tab-panels .ghost-panel-hardkill,
#ghost-tab-interceptor:checked ~ .ghost-tab-panels .ghost-panel-interceptor {
    display: block;
}

/* Effector cards inside tabs */
.ghost-effector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ghost-effector-card {
    background: var(--ghost-surface-2);
    border: 1px solid var(--ghost-border);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.ghost-effector-card:hover {
    border-color: rgba(77, 166, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(77, 166, 255, 0.05);
}

.ghost-effector-card.full-width {
    grid-column: span 2;
}

.ghost-effector-image {
    width: 100%;
    height: 200px;
    border: 2px dashed var(--ghost-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 166, 255, 0.02);
    margin-bottom: 1.25rem;
    overflow: hidden;
    position: relative;
}

.ghost-effector-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.ghost-effector-card h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ghost-effector-card p {
    font-size: 0.88rem;
    color: var(--ghost-text);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1rem;
}

.ghost-effector-caps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ghost-effector-caps li {
    font-size: 0.82rem;
    color: var(--ghost-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.ghost-effector-caps li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ghost-blue);
    flex-shrink: 0;
}


/* ========== C2 SOFTWARE ========== */
.ghost-c2 {
    padding: 6rem 4rem 8rem;
    background: var(--ghost-surface-2);
    border-top: 1px solid var(--ghost-border);
    border-bottom: 1px solid var(--ghost-border);
    position: relative;
    overflow: hidden;
}

.ghost-c2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 400px at 70% 30%, rgba(77, 166, 255, 0.04), transparent 70%);
    pointer-events: none;
}

.ghost-c2-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ghost-c2-content h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ghost-c2-content .ghost-c2-subtitle {
    font-size: 1rem;
    color: var(--ghost-text-dim);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ghost-c2-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ghost-c2-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--ghost-text);
    padding: 0.5rem 0;
    font-weight: 400;
    line-height: 1.5;
}

.ghost-c2-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--ghost-blue);
}

.ghost-c2-image {
    width: 100%;
    height: 450px;
    border: 2px dashed var(--ghost-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 166, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.ghost-c2-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.ghost-c2-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}


/* ========== PROTECTED ASSETS ========== */
.ghost-assets {
    padding: 8rem 4rem;
    position: relative;
}

.ghost-assets-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ghost-assets-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ghost-assets-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ghost-assets-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.ghost-threat-context {
    max-width: 900px;
    margin: 0 auto 3.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--ghost-text);
    line-height: 1.7;
    font-weight: 300;
}

.ghost-assets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ghost-asset-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ghost-border);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
}

.ghost-asset-card:hover {
    border-color: rgba(77, 166, 255, 0.2);
    background: rgba(77, 166, 255, 0.04);
    transform: translateY(-4px);
}

.ghost-asset-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ghost-blue);
}

.ghost-asset-icon svg {
    width: 100%;
    height: 100%;
}

.ghost-asset-card h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ghost-asset-card p {
    font-size: 0.78rem;
    color: var(--ghost-text-dim);
    line-height: 1.5;
}

/* Operational requirements */
.ghost-ops-requirements {
    background: var(--ghost-surface-2);
    border: 1px solid var(--ghost-border);
    border-radius: 14px;
    padding: 2.5rem 3rem;
}

.ghost-ops-requirements h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.ghost-ops-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.ghost-ops-list span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--ghost-text);
    font-weight: 400;
}

.ghost-ops-list span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ghost-blue);
    flex-shrink: 0;
}


/* ========== CTA — Secure Channel ========== */
.ghost-cta {
    position: relative;
    padding: 6rem 4rem;
    background: linear-gradient(160deg, #050810 0%, #0a1220 40%, #060a14 100%);
    border-top: 1px solid var(--ghost-border);
    overflow: hidden;
}

.ghost-cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(77, 166, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 166, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
}

.ghost-cta-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 166, 255, 0.4) 30%, rgba(77, 166, 255, 0.6) 50%, rgba(77, 166, 255, 0.4) 70%, transparent);
    pointer-events: none;
    animation: ghostScanDown 5s linear infinite;
}

.ghost-cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* HUD corners */
.ghost-cta-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.ghost-hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
}

.ghost-hud-corner.tl { top: 12px; left: 12px; border-top: 2px solid var(--ghost-blue-dim); border-left: 2px solid var(--ghost-blue-dim); }
.ghost-hud-corner.tr { top: 12px; right: 12px; border-top: 2px solid var(--ghost-blue-dim); border-right: 2px solid var(--ghost-blue-dim); }
.ghost-hud-corner.bl { bottom: 12px; left: 12px; border-bottom: 2px solid var(--ghost-blue-dim); border-left: 2px solid var(--ghost-blue-dim); }
.ghost-hud-corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--ghost-blue-dim); border-right: 2px solid var(--ghost-blue-dim); }

.ghost-cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ghost-cta-data {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.ghost-cta-data span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--ghost-blue-dim);
    text-transform: uppercase;
    animation: ewDataFlicker 3s ease-in-out infinite;
}

.ghost-cta-data span:nth-child(2) { animation-delay: 0.3s; }
.ghost-cta-data span:nth-child(3) { animation-delay: 0.6s; }

.ghost-cta-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ghost-cta-header h2 span {
    background: linear-gradient(90deg, var(--ghost-blue), var(--ghost-blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ghost-cta-header p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* CTA form */
.ghost-cta-form {
    background: rgba(77, 166, 255, 0.03);
    border: 1px solid var(--ghost-border);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    backdrop-filter: blur(10px);
}

.ghost-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.ghost-form-group.full {
    grid-column: span 2;
}

.ghost-form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ghost-text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ghost-form-group label .ghost-required {
    color: var(--ghost-orange);
}

.ghost-form-group input,
.ghost-form-group textarea {
    background: rgba(77, 166, 255, 0.05);
    border: 1px solid var(--ghost-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ghost-form-group input::placeholder,
.ghost-form-group textarea::placeholder {
    color: var(--ghost-text-dim);
    opacity: 0.5;
}

.ghost-form-group input:focus,
.ghost-form-group textarea:focus {
    border-color: var(--ghost-blue);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

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

.ghost-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ghost-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 3rem;
    background: rgba(77, 166, 255, 0.1);
    color: var(--ghost-blue);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1.5px solid rgba(77, 166, 255, 0.6);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.ghost-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(77, 166, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.ghost-submit-btn:hover {
    background: var(--ghost-blue);
    color: #000;
    border-color: var(--ghost-blue);
    box-shadow: 0 0 30px rgba(77, 166, 255, 0.4);
    transform: translateY(-2px);
}

.ghost-submit-btn:hover::before {
    transform: translateX(100%);
}

.ghost-submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ghost-submit-btn:hover svg {
    transform: translateX(4px);
}

.ghost-secure-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: var(--ghost-blue-dim);
    text-transform: uppercase;
}

.ghost-secure-note svg {
    width: 12px;
    height: 12px;
}

/* Success state */
.ghost-cta-success {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
}

.ghost-cta-success.active {
    display: block;
    animation: ghostTabFade 0.5s ease;
}

.ghost-cta-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.ghost-cta-success h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ghost-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ghost-cta-success p {
    font-size: 1rem;
    color: var(--ghost-text-dim);
    line-height: 1.6;
}


/* ========== GHOST PRODUCT NAV (override) ========== */
body.ghost-page .product-nav {
    background-color: rgba(6, 10, 16, 0.8);
    border-bottom-color: var(--ghost-border);
}

body.ghost-page .product-title {
    background: linear-gradient(90deg, #ffffff, var(--ghost-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.ghost-page .btn-green {
    background-color: var(--ghost-blue);
    color: #000;
}

body.ghost-page .btn-green:hover {
    background-color: var(--ghost-blue-bright);
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.4);
}

body.ghost-page .scroll-ruler-tick {
    background: rgba(77, 166, 255, 0.25);
}

body.ghost-page .scroll-ruler-tick.major {
    background: rgba(77, 166, 255, 0.4);
}

body.ghost-page .scroll-ruler-tick.active-near {
    background: rgba(77, 166, 255, 0.6);
    box-shadow: 0 0 4px rgba(77, 166, 255, 0.3);
}

body.ghost-page .scroll-ruler-tick.active-near.major {
    background: rgba(77, 166, 255, 0.8);
    box-shadow: 0 0 6px rgba(77, 166, 255, 0.4);
}

body.ghost-page .scroll-ruler-thumb::before {
    color: var(--ghost-blue);
    text-shadow:
        0 0 8px rgba(77, 166, 255, 0.7),
        0 0 16px rgba(77, 166, 255, 0.4);
}

/* ========== THREAT LEVEL INDICATOR (Sub-nav) ========== */
.ghost-threat-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.ghost-threat-level-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: var(--ghost-orange);
    text-transform: uppercase;
}

.ghost-threat-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}

.ghost-threat-bar {
    width: 3px;
    background: var(--ghost-orange);
    border-radius: 1px;
    animation: ghostThreatPulse 2s ease-in-out infinite;
}

.ghost-threat-bar:nth-child(1) { height: 6px; animation-delay: 0s; }
.ghost-threat-bar:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.ghost-threat-bar:nth-child(3) { height: 14px; animation-delay: 0.3s; }
.ghost-threat-bar:nth-child(4) { height: 10px; animation-delay: 0.45s; }
.ghost-threat-bar:nth-child(5) { height: 6px; animation-delay: 0.6s; }

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


/* ========== CTA SECTION (Bottom) ========== */
body.ghost-page .cta-section {
    background: linear-gradient(180deg, var(--ghost-surface) 0%, #080d15 50%, var(--ghost-surface) 100%);
    border-top: 1px solid var(--ghost-border);
    border-bottom: 1px solid var(--ghost-border);
}


/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .ghost-market-grid { grid-template-columns: repeat(3, 1fr); }
    .ghost-bento { grid-template-columns: repeat(2, 1fr); }
    .ghost-bento-card.span-2 { grid-column: span 2; }
    .ghost-assets-grid { grid-template-columns: repeat(2, 1fr); }
    .ghost-defense-container { grid-template-columns: 1fr; }
    .ghost-defense-sidebar { position: relative; top: auto; }
    .ghost-defense-nav { flex-direction: row; flex-wrap: wrap; }
    .ghost-defense-nav-item::before { display: none; }
    .ghost-effector-grid { grid-template-columns: 1fr; }
    .ghost-effector-card.full-width { grid-column: span 1; }
}

@media (max-width: 768px) {
    .ghost-statement { padding: 6rem 1.5rem; }
    .ghost-market { padding: 4rem 1.5rem; }
    .ghost-overview { padding: 6rem 1.5rem; }
    .ghost-defense { padding: 4rem 1.5rem; }
    .ghost-variants-header { padding: 0 1.5rem; }
    .ghost-slider-wrapper { padding: 0 1.5rem; }
    .ghost-sensors { padding: 4rem 1.5rem; }
    .ghost-effectors { padding: 6rem 1.5rem; }
    .ghost-c2 { padding: 4rem 1.5rem; }
    .ghost-assets { padding: 6rem 1.5rem; }
    .ghost-cta { padding: 4rem 1.5rem; }

    .ghost-market-grid { grid-template-columns: 1fr; }
    .ghost-aser-panel { grid-template-columns: 1fr; }
    .ghost-core-caps { grid-template-columns: 1fr; }
    .ghost-bento { grid-template-columns: 1fr; }
    .ghost-bento-card.span-2 { grid-column: span 1; }
    .ghost-c2-inner { grid-template-columns: 1fr; }
    .ghost-assets-grid { grid-template-columns: repeat(2, 1fr); }
    .ghost-slide { grid-template-columns: 1fr; }
    .ghost-form-row { grid-template-columns: 1fr; }
    .ghost-form-group.full { grid-column: span 1; }

    .ghost-hero-image-placeholder { height: 250px; }
    .ghost-slide-image { height: 220px; }
    .ghost-c2-image { height: 280px; }

    .ghost-tab-labels { flex-direction: column; gap: 0; }
    .ghost-tab-label::after { left: 0; right: auto; width: 3px; height: 100%; bottom: auto; top: 0; }

    .ghost-cta-form { padding: 1.5rem; }
    .ghost-cta-data { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
    .ghost-hero-title { font-size: clamp(3.5rem, 18vw, 6rem); }
    .ghost-assets-grid { grid-template-columns: 1fr; }
    .ghost-ops-list { grid-template-columns: 1fr; }
}
