/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Premium Dark Mode Base */
body {
    background: #000000;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea, .glass, .btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

/* Hide scrollbar for pricing section */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Smooth scrolling for playground */
.glass {
    scrollbar-width: thin;
    scrollbar-color: #4a4a4a #1a1a1a;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

/* Animated gradient border */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(59, 130, 246, 0.5); }
    50% { border-color: rgba(168, 85, 247, 0.5); }
}

.border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-glow {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Progress bar animation */
@keyframes fillBar {
    from {
        width: 0%;
    }
    to {
        width: var(--width);
    }
}

.progress-bar {
    animation: fillBar 1.5s ease-out forwards;
}

/* Heatmap overlay */
.heatmap-overlay {
    position: absolute;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.3);
    border: 2px solid rgba(239, 68, 68, 0.6);
    pointer-events: none;
    animation: fadeIn 0.5s ease-out;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Float animation for particles */
@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-30px) translateX(15px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-60px) translateX(-15px);
        opacity: 1;
    }
    75% { 
        transform: translateY(-30px) translateX(15px);
        opacity: 0.6;
    }
}

/* Testimonial card fade-in animation */
.testimonial-card {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.opacity-100 {
    opacity: 1;
}

.testimonial-card.translate-y-0 {
    transform: translateY(0);
}

/* Grid movement animation */
@keyframes gridMove {
    0% { 
        background-position: 0 0;
    }
    100% { 
        background-position: 40px 40px;
    }
}

/* Flow right animation */
@keyframes flowRight {
    0% { 
        left: -5%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        left: 105%;
        opacity: 0;
    }
}

/* Expand bar animation for speed chart */
@keyframes expandBar {
    from {
        width: 0;
    }
    to {
        width: inherit;
    }
}

/* Logo scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Custom button hover effect */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Code block styling */
pre[class*="language-"] {
    margin: 0;
    border-radius: 8px;
    font-size: 13px;
    max-height: 500px;
}

/* Image container */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.image-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Status badge animation */
@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.status-badge {
    animation: statusPulse 2s ease-in-out infinite;
}

/* Smooth section reveal on scroll */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: slideUp 0.8s ease-out;
}

/* Premium glow effect */
@keyframes premiumGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    }
}

.premium-glow {
    animation: premiumGlow 3s ease-in-out infinite;
}

/* Lottie player container */
lottie-player {
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

/* Flow Arrow Animation */
.flow-arrow-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.6), transparent);
    background-size: 200% 100%;
    animation: flowArrowPulse 2s ease-in-out infinite;
}

@keyframes flowArrowPulse {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 0%;
        opacity: 1;
    }
}

.arrow-icon {
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Flow light effect on arrows */
@keyframes flowLight {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

/* Pulse ring effect for 0 KB badge */
@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

.pulse-ring {
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Verified badge animation */
@keyframes verifiedPop {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Flow Down Animation for Workflow */
@keyframes flowDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

/* Scanning Animation for Dependency Counter */
@keyframes scan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(300%);
    }
}

/* Shutter Animation for Eye Icon */
@keyframes shutter {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Eye Blink Animation */
@keyframes eyeBlink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    92%, 96% {
        transform: scaleY(0.1);
    }
}

/* Flowing Light Animation for Connecting Lines */
@keyframes flowLight {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.flow-line {
    stroke-dasharray: 10 5;
    animation: flowLight 3s linear infinite;
}

/* Typewriter Animation */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

.terminal-text {
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 1.5s steps(40) forwards;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #10b981;
    margin-left: 4px;
    animation: blinkCursor 1s infinite;
}

.animate-eye-blink {
    animation: eyeBlink 4s ease-in-out infinite;
}

/* Fade In Up Animation for Comparison Table */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-shutter {
    animation: shutter 2s ease-in-out infinite;
}

.verified-badge {
    animation: verifiedPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

/* Counter smooth transition */
#dependencyCounter {
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

/* ============================================
   BARE-METAL PERFORMANCE BENCHMARK STYLES
   ============================================ */

/* CPU Core Animation */
.cpu-core {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.cpu-core.active {
    animation: coreActivate 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes coreActivate {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1.5);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* Circuit Board Glow Effect */
@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.03;
    }
    50% {
        opacity: 0.06;
    }
}

/* Motherboard Trace Animation */
@keyframes traceFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -200;
    }
}

/* Hardware Badge Hover Effects */
.glass:hover {
    transform: translateY(-2px);
}

/* Orange/Amber Gradient Glow */
@keyframes orangeGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
    }
}

/* Benchmark Result Fade In */
@keyframes resultFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tech Aesthetic Monospace Styling */
.font-mono {
    letter-spacing: -0.02em;
}

/* Table Row Hover with Orange Tint */
table tbody tr:hover {
    background: rgba(249, 115, 22, 0.02) !important;
}

/* Hardware Spec Badge Pulse */
@keyframes specPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Benchmark Button Active State */
#runBenchmarkBtn:active {
    transform: scale(0.95);
}

#runBenchmarkBtn:disabled {
    cursor: not-allowed !important;
    transform: none !important;
}

/* Circuit Pattern Subtle Animation */
@keyframes circuitShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* ============================================
   QUICK INTEGRATION - TERMINAL WINDOW STYLES
   ============================================ */

/* Blinking Cursor Animation */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.animate-blink {
    animation: blink 1s step-end infinite;
}

/* Terminal Tab Active State */
.integration-tab-btn {
    position: relative;
}

.integration-tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Smooth Tab Content Transition */
.integration-tab-content {
    animation: fadeInTerminal 0.3s ease-out;
}

@keyframes fadeInTerminal {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling for Terminal */
.scrollbar-thin {
    scrollbar-width: thin;
}

.scrollbar-thin::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.scrollbar-thumb-zinc-700::-webkit-scrollbar-thumb {
    background-color: #3f3f46;
    border-radius: 3px;
}

.scrollbar-thumb-zinc-700::-webkit-scrollbar-thumb:hover {
    background-color: #52525b;
}

.scrollbar-track-transparent::-webkit-scrollbar-track {
    background: transparent;
}

/* Terminal Syntax Highlighting Colors */
pre code {
    display: block;
    line-height: 1.6;
}

/* Traffic Light Hover Effects */
.bg-red-500:hover,
.bg-yellow-500:hover,
.bg-green-500:hover {
    filter: brightness(1.2);
}

/* Copy Button Hover Glow */
#copyIntegrationBtn:hover {
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
}

/* Toast Notification Entrance */
#integrationToast {
    animation: toastSlideIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toastSlideIn {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Terminal Window Shadow */
.rounded-xl.overflow-hidden.border.border-zinc-700 {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Code Block Hover Row Highlight */
.group:hover {
    transition: background-color 0.15s ease;
}

/* Monospace Font Optimization */
.font-mono {
    font-feature-settings: "liga" 1, "calt" 1;
}

/* NSFW Shield Mode - Blur Effect */
.nsfw-blur {
    filter: blur(40px) brightness(0.7);
    backdrop-filter: blur(40px);
    transition: all 0.3s ease;
    transform: scale(1.02);
}

.nsfw-blur-removed {
    filter: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

/* Shield Mode Toggle Animation */
@keyframes shieldPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.shield-active {
    animation: shieldPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


