/* assets/css/comparison.css */

:root {
    --bg-core: #050505;
    --bg-card: #0A0A0A;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #888888;
    
    /* The "Stracti Orange" Laser Color */
    --accent: #FF3300; 
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body.cp-body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.cp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Navigation --- */
.cp-nav {
    padding: 30px 0;
    position: fixed;
    top: 0; width: 100%; z-index: 100;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.cp-nav-inner { display: flex; justify-content: space-between; align-items: center; }
.cp-brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.cp-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.cp-nav-right { display: flex; gap: 40px; }
.cp-link { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.cp-link:hover { color: #fff; }
.cp-btn-outlined { padding: 8px 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.cp-btn-outlined:hover { background: #fff; color: #000; }

/* --- Hero Section --- */
.cp-hero { padding: 180px 0 120px; }
.cp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.cp-label { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 20px; }
.cp-title { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin: 0 0 30px 0; letter-spacing: -0.02em; }
.cp-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 450px; line-height: 1.6; }

/* --- FAKE VISUAL 1: Monitor Frame --- */
.cp-monitor-frame {
    background: #0F0F11;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    font-family: var(--font-mono);
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cp-monitor-frame::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cp-mon-header {
    font-size: 11px; color: #666; border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.cp-mon-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; box-shadow: 0 0 5px #10b981; }
.cp-status-ok { color: #10b981; }

.cp-mon-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.cp-mon-stat { background: #18181b; padding: 10px; border-radius: 6px; display: flex; flex-direction: column; }
.cp-lbl { font-size: 9px; color: #555; margin-bottom: 4px; }
.cp-val { font-size: 14px; color: #fff; font-weight: 700; }

.cp-mon-graph { display: flex; align-items: flex-end; gap: 4px; height: 40px; padding: 5px; }
.cp-bar { flex: 1; background: var(--accent); opacity: 0.2; animation: barBounce 1s infinite alternate; }
.cp-bar:nth-child(2) { animation-delay: 0.2s; }
.cp-bar:nth-child(3) { animation-delay: 0.4s; }

.cp-mon-log { font-size: 10px; color: #444; border-top: 1px solid var(--border-color); padding-top: 15px; line-height: 1.6; }

@keyframes barBounce { 0% { height: 20%; opacity: 0.2; } 100% { height: 90%; opacity: 0.8; } }

/* --- Comparison Section --- */
.cp-section { padding: 100px 0; border-top: 1px solid var(--border-color); }
.cp-darker { background: #020202; }

.cp-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-color); border: 1px solid var(--border-color); }
.cp-card { background: var(--bg-core); padding: 50px 40px; display: flex; flex-direction: column; }
.cp-card-label { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; color: var(--text-muted); }
.cp-card h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 30px 0; }
.cp-desc { margin-top: 30px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cp-accent-text { color: var(--accent); }

/* --- FAKE VISUAL 2: Terminal --- */
.cp-terminal-wrapper {
    background: #1e1e1e;
    border-radius: 8px;
    font-family: var(--font-mono);
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #333;
}
.cp-terminal-header { background: #2d2d2d; padding: 8px 12px; display: flex; align-items: center; }
.cp-term-dots { display: flex; gap: 6px; margin-right: 15px; }
.cp-term-dots span { width: 10px; height: 10px; border-radius: 50%; background: #555; }
.cp-term-dots span:nth-child(1) { background: #ff5f56; } 
.cp-term-title { font-size: 10px; color: #888; flex: 1; text-align: center; }

.cp-terminal-body { padding: 15px; font-size: 11px; color: #ccc; line-height: 1.6; position: relative; }
.cp-term-warn { color: #facc15; }
.cp-term-danger { color: #ff5f56; font-weight: 700; }
.cp-term-delay { opacity: 0; animation: fadeIn 0.1s forwards 0.5s; }
.cp-term-delay-2 { opacity: 0; animation: fadeIn 0.1s forwards 1s; }

.cp-term-alert {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg) scale(2);
    border: 3px solid #ff5f56; color: #ff5f56; padding: 5px 15px;
    font-weight: 900; font-size: 18px; letter-spacing: 2px;
    opacity: 0; animation: stamp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1.5s;
    background: rgba(0,0,0,0.8);
}
@keyframes stamp { to { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }

/* --- FAKE VISUAL 3: Vision Overlay --- */
.cp-vision-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent);
}
.cp-vision-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: grayscale(100%) brightness(0.4);
}
.cp-vision-ui { position: absolute; inset: 0; z-index: 2; font-family: var(--font-mono); }

.cp-bbox {
    position: absolute;
    border: 1px solid var(--accent);
    box-shadow: 0 0 10px rgba(255, 51, 0, 0.3);
}
.cp-tag {
    position: absolute; top: -18px; left: -1px;
    background: var(--accent); color: #000;
    font-size: 9px; font-weight: 700; padding: 2px 4px;
}
.cp-scan-line {
    position: absolute; top: 0; width: 100%; height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scan 3s linear infinite;
    opacity: 0.5;
}
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 0.5; } 90% { opacity: 0.5; } 100% { top: 100%; opacity: 0; } }

.cp-vision-sidebar {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.7);
    padding: 10px; border-radius: 4px;
    border-left: 2px solid var(--accent);
}
.cp-v-row { font-size: 9px; color: #aaa; display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.cp-v-row strong { color: #fff; }

/* --- Section: Stack --- */
.cp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.cp-split-text h2 { font-family: var(--font-display); font-size: 3rem; margin-bottom: 30px; line-height: 1; }
.cp-split-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

.cp-check-list { list-style: none; padding: 0; }
.cp-check-list li { margin-bottom: 20px; display: flex; gap: 15px; color: var(--text-muted); }
.cp-check-list i { color: var(--accent); margin-top: 4px; }
.cp-check-list strong { color: #fff; }

/* --- FAKE VISUAL 4: 3D Stack --- */
.cp-stack-visual {
    position: relative;
    height: 300px;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cp-stack-layer {
    width: 280px; height: 60px;
    background: #111;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 600; color: #fff;
    transform: rotateX(45deg) rotateZ(-10deg);
    box-shadow: -10px 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
.cp-stack-layer:hover { transform: rotateX(45deg) rotateZ(-10deg) translateZ(20px); }

.cp-layer-top {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(255, 51, 0, 0.1), #0a0a0a);
    z-index: 3;
}
.cp-layer-bottom {
    border-color: #333;
    background: #050505;
    z-index: 1;
    color: #666;
}

.cp-stack-gap {
    height: 80px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 10px; color: var(--accent); font-family: var(--font-mono);
    transform: rotateX(45deg) rotateZ(-10deg);
    opacity: 0.7;
}
.cp-gap-line { width: 1px; height: 100%; background: var(--accent); margin-bottom: 5px; }

/* --- Footer --- */
.cp-footer { padding: 120px 0; border-top: 1px solid var(--border-color); text-align: center; }
.cp-cta-wrapper h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 30px; }
.cp-big-link { font-family: var(--font-display); font-size: 40px; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 20px; transition: gap 0.3s; }
.cp-big-link:hover { gap: 40px; }
.cp-footer-meta { margin-top: 80px; color: var(--text-muted); font-size: 12px; }

/* Responsive */
@media (max-width: 900px) {
    .cp-hero-grid, .cp-compare-grid, .cp-split { grid-template-columns: 1fr; }
    .cp-title { font-size: 3rem; }
    .cp-stack-visual { margin-top: 60px; }
}