/* ==========================================================================
   MARKETPLACE.CSS
   Role: Executive Interface Styling
   Structure: Core > Hero > Components > Sections (Platforms, Metrics, Process, Tech) > Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CORE & UTILITIES
   -------------------------------------------------------------------------- */
:root {
    --section-padding: 5rem;
    --primary-gold: #FFD700;
    --primary-cyan: #0ea5e9;
    --secondary-purple: #8b5cf6;
}

.section-padding { padding: var(--section-padding) 0 !important; }
.min-vh-85 { min-height: 85vh; }

/* Text Gradients */
.text-gradient-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-cyan {
    background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-neon {
    background: linear-gradient(135deg, #00ff9d 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION & ANIMATED BACKGROUNDS
   -------------------------------------------------------------------------- */
.hero-marketplace {
    background: radial-gradient(circle at 50% 0%, #1a1520 0%, #0a0a0c 100%);
}

/* Advanced Animated Background */
.advanced-bg-layer {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}

.gradient-mesh {
    position: absolute; inset: -50%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.3), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.25), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.2), transparent 60%),
        radial-gradient(ellipse at 40% 80%, rgba(168, 85, 247, 0.2), transparent 55%);
    filter: blur(60px);
    animation: meshWave 15s ease-in-out infinite;
}

@keyframes meshWave {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(30px, -30px) rotate(5deg) scale(1.1); }
    66% { transform: translate(-30px, 30px) rotate(-5deg) scale(0.95); }
}

/* Floating Geometric Shapes */
.geo-shape {
    position: absolute; border: 2px solid;
    filter: drop-shadow(0 0 20px currentColor);
}

.geo-hex-1 {
    top: 15%; right: 10%; width: 80px; height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-color: rgba(99, 102, 241, 0.3);
    animation: hexRotate 20s linear infinite, hexFloat 8s ease-in-out infinite;
}

.geo-hex-2 {
    bottom: 25%; left: 8%; width: 60px; height: 60px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-color: rgba(236, 72, 153, 0.4);
    animation: hexRotate 15s linear infinite reverse, hexFloat 10s ease-in-out infinite 2s;
}

@keyframes hexRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes hexFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.geo-circle-1 {
    top: 40%; right: 5%; width: 100px; height: 100px;
    border-radius: 50%; border-color: rgba(14, 165, 233, 0.25);
    animation: circleOrbit 25s linear infinite, circlePulse 4s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 35%; left: 15%; width: 70px; height: 70px;
    border-radius: 50%; border-color: rgba(168, 85, 247, 0.3);
    animation: circleOrbit 18s linear infinite reverse, circlePulse 5s ease-in-out infinite 1s;
}

@keyframes circleOrbit {
    from { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

@keyframes circlePulse {
    0%, 100% { border-width: 2px; opacity: 0.3; }
    50% { border-width: 3px; opacity: 0.6; }
}

/* Particle Network */
.particle-network { position: absolute; inset: 0; pointer-events: none; }
.particle-line { animation: linePulse 3s ease-in-out infinite; stroke-dasharray: 5, 5; stroke-dashoffset: 0; }
.line-1 { animation-delay: 0s; } .line-2 { animation-delay: 1s; } .line-3 { animation-delay: 2s; }

@keyframes linePulse {
    0%, 100% { opacity: 0.2; stroke-dashoffset: 0; }
    50% { opacity: 0.6; stroke-dashoffset: 10; }
}

.particle-dot { animation: dotFloat 4s ease-in-out infinite, dotGlow 2s ease-in-out infinite; }
.dot-1 { animation-delay: 0s; } .dot-2 { animation-delay: 0.5s; } .dot-3 { animation-delay: 1s; }
.dot-4 { animation-delay: 1.5s; } .dot-5 { animation-delay: 2s; } .dot-6 { animation-delay: 2.5s; }

@keyframes dotFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(10px); }
    75% { transform: translateY(10px) translateX(-10px); }
}
@keyframes dotGlow {
    0%, 100% { opacity: 0.6; r: 3; }
    50% { opacity: 1; r: 4; }
}

/* Scanlines */
.scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(99, 102, 241, 0.03) 2px, rgba(99, 102, 241, 0.03) 4px);
    animation: scanlineMove 8s linear infinite;
    pointer-events: none;
}
@keyframes scanlineMove { 0% { transform: translateY(0); } 100% { transform: translateY(40px); } }

/* Radial Pulse Rings */
.pulse-ring {
    position: absolute; border: 2px solid rgba(99, 102, 241, 0.2); border-radius: 50%;
    animation: ringExpand 6s ease-out infinite;
}
.ring-1 { top: 20%; left: 30%; width: 200px; height: 200px; animation-delay: 0s; }
.ring-2 { bottom: 30%; right: 25%; width: 250px; height: 250px; animation-delay: 2s; }
.ring-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; animation-delay: 4s; }

@keyframes ringExpand {
    0% { transform: scale(0.3); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Modern Hero Elements */
.hero-badge-modern {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.08));
    backdrop-filter: blur(15px); border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px; padding: 10px 20px;
    margin-bottom: 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title-modern {
    font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 900; line-height: 1.05; margin-bottom: 14px;
}
.title-main { display: block; color: #fff; }
.title-neon {
    display: block;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #0ea5e9 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    position: relative; background-size: 200% auto;
    animation: neonShimmer 4s ease-in-out infinite;
    letter-spacing: -0.02em; font-weight: 900 !important;
}
@keyframes neonShimmer { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }

.neon-glow {
    position: absolute; inset: 0; background: inherit;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: blur(20px); opacity: 0.5; z-index: -1;
}

.hero-subtitle-modern {
    font-size: 0.95rem; line-height: 1.65; color: rgba(255, 255, 255, 0.85);
    max-width: 520px; margin: 0 auto 16px; margin-left: 0;
}

.platform-tag {
    font-weight: 700; padding: 1px 6px; border-radius: 5px;
    transition: all 0.2s; font-size: 0.95rem;
}
.tag-amazon { color: #fb923c; background: rgba(251, 146, 60, 0.1); }
.tag-flipkart { color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.tag-myntra { color: #ec4899; background: rgba(236, 72, 153, 0.1); }
.tag-meesho { color: #a855f7; background: rgba(168, 85, 247, 0.1); }
.tag-gold { color: #facc15; background: rgba(250, 204, 21, 0.1); }

/* Neo CTAs */
.cta-neo-primary {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white; font-weight: 700; font-size: 0.85rem;
    border-radius: 50px; text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    overflow: hidden;
}
.cta-glow {
    position: absolute; inset: -2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50px; filter: blur(18px); opacity: 0; z-index: -1; transition: opacity 0.4s;
}
.cta-neo-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5); gap: 14px; }
.cta-neo-primary:hover .cta-glow { opacity: 0.6; }

.cta-neo-ghost {
    display: inline-flex; align-items: center; padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.15); color: white;
    font-weight: 700; font-size: 0.85rem; border-radius: 50px;
    text-decoration: none; transition: all 0.3s ease;
}
.cta-neo-ghost:hover {
    background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.5); transform: translateY(-2px);
}

/* Modern Trust Bar */
.platform-trust-modern { padding-top: 16px; border-top: 1px solid rgba(99, 102, 241, 0.2); }
.trust-label-modern { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; font-weight: 700; }
.platform-badge-modern { padding: 6px 10px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(255, 255, 255, 0.1); }
.platform-badge-modern img { height: 24px; opacity: 0.8; transition: all 0.3s; }
.platform-badge-modern:hover { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.3); transform: scale(1.05); }
.platform-badge-modern:hover img { opacity: 1; transform: scale(1.1); }


/* --------------------------------------------------------------------------
   3. SHARED COMPONENTS (Topology & Reveals)
   -------------------------------------------------------------------------- */
/* Intelligent Topology Backgrounds */
.topology-layer {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    overflow: hidden;
}
.grid-overlay {
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Fluid Typography (Intelligent Scaling) */
.section-title-enhanced {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Scales smoothly */
    font-weight: 800; line-height: 1.1; margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-label-enhanced {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; margin-bottom: 20px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px; backdrop-filter: blur(10px);
    font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 1px;
    color: rgba(255,255,255,0.6); text-transform: uppercase;
}
.label-line { width: 30px; height: 1px; background: rgba(255,255,255,0.2); }

/* Scroll Reveal */
.scroll-reveal { opacity: 0; transform: translateY(40px) scale(0.95); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0) scale(1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal.delay-100 { transition-delay: 0.1s; }
.scroll-reveal.delay-200 { transition-delay: 0.2s; }
.scroll-reveal.delay-300 { transition-delay: 0.3s; }

/* Obsidian Shard Card (Services) */
.premium-card {
    height: 100%;
    background: rgba(10, 10, 12, 0.6); /* Glass-like base */
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; /* Slightly tighter radius */
    padding: 2rem 1.75rem; /* Compact padding */
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
    display: flex; flex-direction: column;
}
/* Internal noise texture for premium feel */
.premium-card::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5; pointer-events: none; mix-blend-mode: overlay;
}

/* Hover Lift & physics */
.premium-card:hover { 
    transform: translateY(-8px) scale(1.01); 
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px -15px rgba(0,0,0,1);
    background: rgba(20, 20, 25, 0.8);
}

/* Color Glow Variants */
.hover-glow:hover { 
    box-shadow: 0 20px 50px -15px rgba(0,0,0,1), 0 0 0 1px rgba(255,215,0,0.2), 0 0 30px rgba(255,215,0,0.1); 
    border-color: var(--primary-gold); 
}
.hover-glow-cyan:hover { 
    box-shadow: 0 20px 50px -15px rgba(0,0,0,1), 0 0 0 1px rgba(14, 165, 233, 0.2), 0 0 30px rgba(14, 165, 233, 0.1); 
    border-color: var(--primary-cyan); 
}
.hover-glow-purple:hover { 
    box-shadow: 0 20px 50px -15px rgba(0,0,0,1), 0 0 0 1px rgba(139, 92, 246, 0.2), 0 0 30px rgba(139, 92, 246, 0.1); 
    border-color: var(--secondary-purple); 
}

/* Icon Styling (Compact & Premium) */
.interactive-icon {
    width: 56px; height: 56px; /* Optimized Size */
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; z-index: 2;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}
/* Icon Variant: Gold (Default) */
.premium-card:hover .interactive-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%); 
    color: #000; border-color: transparent;
    transform: scale(1.1) rotate(-5deg) translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(255, 215, 0, 0.5);
}
/* Icon Variant: Cyan */
.interactive-icon.cyan { color: rgba(14, 165, 233, 0.9); background: rgba(14, 165, 233, 0.05); border-color: rgba(14, 165, 233, 0.2); }
.premium-card:hover .interactive-icon.cyan {
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%); 
    color: #fff; border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.5);
}
/* Icon Variant: Purple */
.interactive-icon.purple { color: rgba(139, 92, 246, 0.9); background: rgba(139, 92, 246, 0.05); border-color: rgba(139, 92, 246, 0.2); }
.premium-card:hover .interactive-icon.purple {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); 
    color: #fff; border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.5);
}

.premium-card h5 { 
    font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; 
    margin-bottom: 0.75rem; letter-spacing: -0.01em;
}
.premium-card p { 
    font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.6; 
    color: rgba(255,255,255,0.5); font-weight: 400;
}
.premium-card:hover p { color: rgba(255,255,255,0.7); }

/* Feature List (Polished) */
.feature-list-mini { list-style: none; padding: 0; margin-top: auto; position: relative; z-index: 2; }
.feature-list-mini li {
    font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 10px;
    display: flex; align-items: flex-start; gap: 10px;
    padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}
.feature-list-mini li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* Checkmark Box */
.feature-list-mini li i {
    flex-shrink: 0; margin-top: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.5rem; color: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

/* Micro-Animation: Staggered List Slide & Glow */
.premium-card:hover .feature-list-mini li { color: #fff; transform: translateX(4px); border-color: rgba(255,255,255,0.1); }

.premium-card:hover .feature-list-mini li i { 
    background: var(--primary-gold); color: #000; box-shadow: 0 0 10px var(--primary-gold); 
}
/* Contextual Check Check colors based on card type? 
   Note: To do this perfectly we'd need parent specific selectors or inline style variables. 
   For now, gold default is fine or we can use specific selectors if possible.
   Let's stick to the text-color classes handling the icon color if we weren't doing backgrounds.
   But for the 'box' look, we want the background to match.
*/
.hover-glow-cyan:hover .feature-list-mini li i { background: var(--primary-cyan); color: #fff; box-shadow: 0 0 10px var(--primary-cyan); }
.hover-glow-purple:hover .feature-list-mini li i { background: var(--secondary-purple); color: #fff; box-shadow: 0 0 10px var(--secondary-purple); }

.premium-card:hover .feature-list-mini li:nth-child(1) { transition-delay: 0.05s; }
.premium-card:hover .feature-list-mini li:nth-child(2) { transition-delay: 0.1s; }
.premium-card:hover .feature-list-mini li:nth-child(3) { transition-delay: 0.15s; }
.premium-card:hover .feature-list-mini li:nth-child(4) { transition-delay: 0.2s; }


/* --------------------------------------------------------------------------
   4. SECTION: PLATFORMS (Orbital Dock)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   4. SECTION: PLATFORMS (Premium Data Grid)
   -------------------------------------------------------------------------- */
.platforms-section {
    position: relative;
    /* Topology Grid Background */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; /* Tighter grid */
    background-position: center top;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.platforms-grid-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 24px; /* Tighter gap */
    padding: 60px 20px; 
    max-width: 1440px; margin: 0 auto;
}

/* Scroll Reveal Container Fix for Flex */
.platforms-grid-container .scroll-reveal {
    display: flex;
    flex: 1 1 300px; /* Base width */
    max-width: 360px;
    min-width: 280px;
}

/* Premium Compact Card */
.platform-card-compact {
    width: 100%; 
    min-height: 300px; /* Compact visualization */
    background: linear-gradient(165deg, rgba(255,255,255,0.02) 0%, rgba(10, 10, 14, 0.7) 100%);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem; /* Tighter padding */
    position: relative; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    /* Brand Tint Logic */
    --brand-opacity: 0.1;
}

/* Brand Definitions & Colors */
.amazon { --brand-color: #ff9900; }
.flipkart { --brand-color: #2874f0; }
.myntra { --brand-color: #ff3f6c; }
.meesho { --brand-color: #9f2089; }
.limeroad { --brand-color: #a3c75e; }

/* Active Brand Border/Glow on Hover */
.platform-card-compact::after {
    content: ''; position: absolute; inset: 0;
    pointer-events: none;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    transition: background 0.4s;
}

.platform-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 40px 80px -20px rgba(0,0,0,0.6), 
        0 0 0 1px var(--brand-color),
        inset 0 0 60px rgba(0,0,0,0.6);
    background: linear-gradient(165deg, rgba(30, 30, 35, 0.9) 0%, rgba(10, 10, 12, 1) 100%);
}
.platform-card-compact:hover::after {
    background: linear-gradient(135deg, var(--brand-color), transparent 60%);
}

/* Shimmer Effect */
.platform-card-compact::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s; pointer-events: none;
}
.platform-card-compact:hover::before { left: 150%; transition: left 0.8s ease-in-out; }

/* Header: Icon + Meta */
.plat-header { 
    display: flex; align-items: center; gap: 16px; 
    border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 16px;
    margin-bottom: 8px;
}

/* Icon Box: High Visibility Fix */
.plat-icon-box {
    width: 60px; height: 60px; flex-shrink: 0; /* Compact icon */
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.platform-card-compact:hover .plat-icon-box { 
    transform: scale(1.05) rotate(-3deg); 
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 25px var(--brand-color);
}

.plat-icon-box img { 
    width: 34px; height: 34px; object-fit: contain; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
    transition: transform 0.4s;
}
.platform-card-compact:hover .plat-icon-box img { transform: scale(1.1); }

/* Meta */
.plat-meta { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.plat-name { 
    margin: 0; font-family: 'Outfit', sans-serif; font-size: 1.4rem; 
    font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em;
}
.plat-badge { 
    display: inline-block; width: fit-content;
    font-size: 0.65rem; font-weight: 800; 
    color: var(--brand-color); background: rgba(255,255,255,0.05);
    padding: 3px 8px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 1px; 
    border: 1px solid rgba(255,255,255,0.1);
}

/* Stats: Data Visualization */
.plat-stats { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    padding: 0 4px;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-item:nth-child(2) { align-items: flex-end; text-align: right; position: relative; }
/* Separator */
.stat-item:nth-child(2)::before {
    content: ''; position: absolute; left: -10px; top: 10%; height: 80%; width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-label { 
    font-size: 0.65rem; font-weight: 600; font-family: 'JetBrains Mono';
    color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.stat-value { 
    font-size: 1.15rem; font-weight: 700; color: #fff; 
    font-family: 'Outfit', sans-serif; line-height: 1.1;
}

/* -- Visual Elements -- */
/* Progress Bar */
.stat-visual-bar {
    width: 100%; height: 4px; background: rgba(255,255,255,0.1);
    border-radius: 2px; overflow: hidden; margin-top: 4px;
    position: relative;
}
.stat-visual-bar::after {
    content: ''; position: absolute; left: 0; top: 0; height: 100%;
    width: var(--w, 50%); background: var(--c, #fff);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--c, rgba(255,255,255,0.5));
}

/* Tier Dots */
.stat-tier-box { display: flex; gap: 3px; margin-bottom: 4px; }
.tier-fill { 
    width: 6px; height: 6px; border-radius: 50%; 
    background: rgba(255,255,255,0.2); 
    transition: all 0.3s;
}
.tier-fill.active { background: var(--brand-color); box-shadow: 0 0 5px var(--brand-color); }
.stat-sub { font-size: 0.8rem; font-weight: 700; color: #fff; }

/* Trend Graph */
.stat-trend-graph {
    width: 40px; height: 20px; margin-bottom: 4px;
}
.mini-trend path {
    stroke-dasharray: 100; stroke-dashoffset: 0;
    animation: trendDraw 2s ease-out infinite;
}
@keyframes trendDraw { 
    0% { stroke-dashoffset: 100; opacity: 0; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; } 
}

/* Mini Pie */
.stat-pie-mini {
    width: 16px; height: 16px; border-radius: 50%;
    margin-top: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Tags */
.stat-tags { display: flex; gap: 4px; margin-top: 4px; justify-content: flex-end; }
.stat-tags span {
    font-size: 0.55rem; padding: 2px 6px; background: rgba(255,255,255,0.1);
    border-radius: 4px; color: rgba(255,255,255,0.8);
}

/* Footer: Context */
.plat-context { 
    font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.04);
}
.context-dot { 
    width: 6px; height: 6px; border-radius: 50%; 
    background: rgba(255,255,255,0.2); transition: all 0.3s; 
}
.platform-card-compact:hover .context-dot { 
    background: var(--brand-color); 
    box-shadow: 0 0 8px var(--brand-color); 
}



/* --------------------------------------------------------------------------
   5. SECTION: SUCCESS METRICS (Cyber-Command Console)
   -------------------------------------------------------------------------- */

/* Enhanced Section Label (Pill) */
.section-label-enhanced {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 16px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.section-label-enhanced:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.label-icon { color: var(--primary-gold); font-size: 0.9rem; }
.label-text { 
    font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; 
    font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
    color: rgba(255,255,255,0.8);
}
.label-line { width: 40px; height: 1px; background: rgba(255,255,255,0.2); }


/* Enhanced Title */
.section-title-enhanced {
    font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 700;
    line-height: 1.1; color: #fff; margin-bottom: 60px;
    letter-spacing: -0.03em;
}
.title-prefix { display: block; font-size: 0.5em; font-weight: 400; color: rgba(255,255,255,0.6); margin-bottom: 10px; letter-spacing: 0; }
.title-highlight { display: inline-block; position: relative; }


.hud-console { 
    max-width: 1000px; margin: 0 auto; 
    position: relative; z-index: 2;
    perspective: 1000px;
}

.hud-glass-panel {
    background: rgba(8, 10, 14, 0.85);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.8),
        0 30px 60px -15px rgba(0,0,0,1),
        inset 0 1px 1px rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}
/* Cyber Scanline Overlay */
.hud-glass-panel::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.2) 50%);
    background-size: 100% 4px;
    pointer-events: none; z-index: 10;
    opacity: 0.3;
}
/* Moving Scan Bar */
.hud-glass-panel::after {
    content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.05), transparent);
    animation: scanMove 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none; z-index: 11;
}
@keyframes scanMove { 0% { top: -20%; opacity: 0; } 20% { opacity: 1; } 100% { top: 120%; opacity: 0; } }


/* Header */
.hud-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 24px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; 
    color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px;
    position: relative; z-index: 12;
}
.hud-controls { display: flex; align-items: center; gap: 8px; }
.blink-dot {
    width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.blink-dot.red { background: #ff3333; box-shadow: 0 0 8px #ff3333; animation: recBlink 1s infinite alternate; }
.blink-dot.green { background: #00ff9d; box-shadow: 0 0 8px #00ff9d; animation: signalPulse 2s infinite; }

@keyframes recBlink { 0% { opacity: 0.4; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1.1); } }
@keyframes signalPulse { 0% { box-shadow: 0 0 5px #00ff9d; } 50% { box-shadow: 0 0 12px #00ff9d; } 100% { box-shadow: 0 0 5px #00ff9d; } }

/* Grid */
.hud-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 12; }
.hud-cell { 
    padding: 40px 30px; 
    border-right: 1px solid rgba(255,255,255,0.04); 
    position: relative; 
    transition: all 0.3s;
}
.hud-cell:hover { 
    background: rgba(255,255,255,0.015); 
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}
.hud-cell.border-none { border-right: none; }

/* Micro-Animation: Highlight sweep on border */
.hud-cell::before {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transition: width 0.4s ease; opacity: 0.5;
}
.hud-cell:hover::before { width: 100%; }


/* Data */
.hud-label { 
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; 
    color: rgba(255,255,255,0.3); margin-bottom: 16px; 
    letter-spacing: 2px; text-transform: uppercase;
    display: flex; justify-content: space-between;
}
.hud-value { 
    font-family: 'Outfit', sans-serif; font-size: 2.8rem; font-weight: 700; 
    line-height: 1; margin-bottom: 24px; color: #fff;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
    position: relative; display: inline-block;
}
/* Text Glint Effect */
.hud-value::after {
    content: attr(data-val); position: absolute; left: 0; top: 0;
    color: rgba(255,255,255,0.5); overflow: hidden; white-space: nowrap;
    width: 0%; transition: width 0.5s; mix-blend-mode: overlay;
}
.hud-cell:hover .hud-value { text-shadow: 0 0 40px rgba(255,255,255,0.4); }

.hud-value .unit { 
    font-size: 1.4rem; font-weight: 400; opacity: 0.5; margin-left: 2px;
}

/* Graphs: Segmented Look */
.hud-graph-line { 
    height: 6px; background: rgba(255,255,255,0.05); 
    width: 100%; border-radius: 3px; overflow: hidden;
    margin-bottom: 12px;
    /* Segmented background */
    background-image: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.8) 2px, rgba(0,0,0,0.8) 4px);
}
.graph-fill { 
    height: 100%; position: relative; 
    border-radius: 3px;
    box-shadow: 0 0 15px currentColor;
    width: 0; /* JS will animate this width */
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.graph-fill::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: #fff;
    box-shadow: 0 0 10px #fff;
}
/* Color Variants */
.graph-fill.gold { background: var(--primary-gold); color: var(--primary-gold); }
.graph-fill.cyan { background: var(--primary-cyan); color: var(--primary-cyan); }
.graph-fill.purple { background: var(--secondary-purple); color: var(--secondary-purple); }
.graph-fill.neon { background: #00ff9d; color: #00ff9d; }

/* Delta */
.hud-delta { 
    font-size: 0.85rem; font-weight: 600; font-family: 'Outfit', sans-serif; 
    display: flex; align-items: center; gap: 6px; 
    opacity: 0.8; transition: opacity 0.3s;
}
.hud-cell:hover .hud-delta { opacity: 1; transform: translateX(2px); }

/* Marquee Footer */
.hud-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
    overflow: hidden; white-space: nowrap;
    position: relative; z-index: 12;
}
.marquee-wrapper {
    display: flex; overflow: hidden; width: 100%; padding: 12px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.scrolling-data {
    display: flex; animation: marqueeScroll 30s linear infinite; /* Slower for readability */
}
.scrolling-data:hover { animation-play-state: paused; }

.scrolling-data span {
    font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; 
    color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 2px;
    padding-right: 60px; display: inline-block;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   6. SECTION: PROCESS (Neural Pathway)
   -------------------------------------------------------------------------- */
.neural-pathway-container { position: relative; max-width: 900px; margin: 80px auto; padding: 20px 0; }

.neural-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: rgba(255,255,255,0.1); transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255,255,255,0.05);
}
/* Energy Pulse Down the Line */
.neural-line::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 300px;
    background: linear-gradient(to bottom, transparent, #00ff9d, transparent);
    filter: blur(5px);
    animation: neuralPulse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes neuralPulse { 0% { top: -30%; opacity: 0; } 50% { opacity: 1; } 100% { top: 110%; opacity: 0; } }

.neural-node-wrapper {
    position: relative; margin-bottom: 100px;
    display: flex; align-items: center; justify-content: flex-end; width: 50%;
    padding-right: 60px;
}
.neural-node-wrapper.right {
    margin-left: auto; justify-content: flex-start; padding-right: 0; padding-left: 60px;
    flex-direction: row-reverse; /* Flip layout for right side */
}

.neural-node {
    position: absolute; right: -25px; /* Half of 50px */
    width: 50px; height: 50px;
    background: #000; border: 2px solid rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 5; color: rgba(255,255,255,0.5); font-weight: 700; font-family: 'JetBrains Mono';
    transition: all 0.4s;
    box-shadow: 0 0 20px rgba(0,0,0,1);
}
.neural-node-wrapper.right .neural-node { left: -25px; right: auto; }

/* Active Node State */
.neural-node-wrapper:hover .neural-node, .neural-node.active-node {
    border-color: #00ff9d; color: #00ff9d;
    box-shadow: 0 0 0 4px rgba(0, 255, 157, 0.2), 0 0 30px #00ff9d;
    transform: scale(1.2);
}

.node-connection {
    position: absolute; right: -25px; top: 50%; width: 60px; height: 1px;
    background: rgba(255,255,255,0.2); z-index: 2;
}
.neural-node-wrapper.right .node-connection { left: -25px; right: auto; }

.hologram-card {
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 25px;
    width: 100%; position: relative;
    transition: all 0.4s ease;
}
.hologram-card:hover, .hologram-card.active-holo {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8);
    transform: translateX(-10px);
}
.neural-node-wrapper.right .hologram-card:hover { transform: translateX(10px); }

.holo-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.holo-header i { font-size: 1.4rem; }
.holo-header h5 { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.hologram-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }


/* --------------------------------------------------------------------------
   7. SECTION: TECH (Holographic Blueprint)
   -------------------------------------------------------------------------- */
.tech-blueprint-container {
    background: #080a0c;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 100px rgba(0,0,0,0.8);
    position: relative; padding: 20px;
}
/* Blueprint Grid Background */
.tech-blueprint-container::before {
    content: ''; position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(circle, black 50%, transparent 100%);
}

.tech-module {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%; transition: all 0.4s;
    position: relative;
}
.tech-module:hover, .tech-module.active-module {
    background: rgba(14, 165, 233, 0.03);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.1);
}

.module-header {
    background: rgba(0,0,0,0.4); padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
}
.status-light { 
    width: 6px; height: 6px; background: rgba(255,255,255,0.2); 
    border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.tech-module:hover .status-light, .tech-module.active-module .status-light {
    background: #00ff9d; box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2), 0 0 10px #00ff9d;
}

.module-body { padding: 40px 30px; text-align: center; }
.tech-icon-large { 
    font-size: 3rem; margin-bottom: 25px; 
    color: rgba(255,255,255,0.2); 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tech-module:hover .tech-icon-large, .tech-module.active-module .tech-icon-large {
    color: #fff; transform: scale(1.2); filter: drop-shadow(0 0 15px var(--primary-cyan));
}


/* --------------------------------------------------------------------------
   8. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    :root { --section-padding: 3rem; }
    .hud-grid { grid-template-columns: repeat(2, 1fr); }
    .hud-cell:nth-child(2) { border-right: none; }
    .hud-cell { border-bottom: 1px solid rgba(255,255,255,0.05); }

    /* Neural Pathway Tablet */
    .neural-line { left: 40px; transform: none; }
    .neural-node-wrapper { width: 100%; margin-left: 0; padding-right: 0; padding-left: 90px; justify-content: flex-start; }
    .neural-node-wrapper.right { flex-direction: row; padding-left: 90px; }
    .neural-node { left: 15px !important; right: auto !important; }
    .node-connection { left: 40px !important; width: 50px; }
    .hologram-card:hover { transform: translateX(5px) !important; }
}

@media (max-width: 768px) {
    .section-title-enhanced { font-size: 2.2rem; }
    .hud-grid { grid-template-columns: 1fr; } 
    .hud-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 2rem 1.5rem; }
    .hud-cell:last-child { border-bottom: none; }
    
    .platforms-grid-container { flex-direction: column; align-items: center; }
    .platform-card-cxo { width: 100%; max-width: 100%; }
    
    .tech-blueprint-container { padding: 1.5rem; }
}


/* --------------------------------------------------------------------------
   6. SECTION: PROCESS (Logic Gate Architecture)
   -------------------------------------------------------------------------- */
.architecture-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 60px; max-width: 900px; margin: 0 auto;
    position: relative; padding: 40px 0;
}
/* Logic Card: Schematic Module */
.logic-card {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative; padding: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    /* Clip path for technical corners */
    clip-path: polygon(
        0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 
        0 100%, 0 20px, 20px 0
    ); 
    border-radius: 4px; /* Essential fallback */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
/* Re-add border via pseudo because clip-path cuts it */
.logic-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
    clip-path: polygon(
        0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 
        0 100%, 0 20px, 20px 0
    );
    z-index: 10;
}
.logic-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8); }
.logic-card:hover::before { border-color: rgba(255,255,255,0.3); }

/* Header: Status Bar */
.logic-header {
    background: rgba(255,255,255,0.03);
    padding: 12px 24px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.node-id { 
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: rgba(255,255,255,0.4); 
}
.status-indicator {
    font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--primary-gold);
    text-transform: uppercase; display: flex; align-items: center; gap: 6px;
}
.status-indicator::before {
    content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%;
    box-shadow: 0 0 8px currentColor; animation: pulse 2s infinite;
}
.logic-header.highlight .status-indicator { color: #00ff9d; } /* Active State */

/* Body */
.logic-body { padding: 30px 24px; text-align: left; }
.logic-body h5 { font-family: 'Outfit', sans-serif; margin-bottom: 12px; font-weight: 700; font-size: 1.25rem; color: #fff; }
.logic-body p { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.6; }

/* Footer: I/O */
.logic-footer {
    padding: 12px 24px; background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
}
.io-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: rgba(255,255,255,0.3);
}

/* Connectors */
.logic-connector {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; pointer-events: none; z-index: -1;
    opacity: 0.15;
}
.connector-path {
    fill: none; stroke: var(--primary-gold); stroke-width: 1;
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: dash 5s linear infinite;
}
.connector-dot { fill: var(--primary-gold); }

@keyframes dash { to { stroke-dashoffset: 0; } }

/* Mobile Logic */
@media (max-width: 768px) {
    .architecture-grid { grid-template-columns: 1fr; gap: 30px; }
    .logic-connector { display: none; } /* Hide complex connectors on mobile */
    .logic-card { margin-bottom: 20px; }
}
