/* Custom Styles - High Performance Modern Tech Bento & Glassmorphic Design */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky floating navbar */
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* Infinite Smooth Marquee Animation (GPU accelerated) */
@keyframes scrollMarquee {
    0% {
        transform: translate3d(0%, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scrollMarquee 25s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

:root {
    --brand-primary: #2563EB;
    --brand-dark: #1d4ed8;
    --brand-light: #eff6ff;
    --brand-soft: #f0f7ff;
    --tech-cyan: #06b6d4;
}

/* Crisp Modern Tech UI Utilities & Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 1.5rem;
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 1.5rem;
}

.glass-pill {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
}

.subtle-mesh-bg {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 50% 0%, rgba(37, 99, 235, 0.04) 0px, transparent 60%),
        radial-gradient(at 50% 100%, rgba(37, 99, 235, 0.03) 0px, transparent 60%);
}

.dark-mesh-bg {
    background-color: #030712;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.28) 0px, transparent 55%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.20) 0px, transparent 50%),
        radial-gradient(at 50% 20%, rgba(37, 99, 235, 0.14) 0px, transparent 60%);
}

/* Fast, Lightweight Transitions */
.transition-smooth {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.card-hover-lift {
    border-radius: 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover-lift:hover {
    border-color: #2563EB;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.20);
}

.glow-effect {
    position: relative;
    border-radius: 1.5rem;
}

/* Brand Primary Button Accent */
.btn-brand {
    background-color: #2563EB;
    color: #ffffff;
    border-radius: 0.85rem;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-brand:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.40);
}

.btn-brand-outline {
    background-color: transparent;
    color: #2563EB;
    border: 1.5px solid #2563EB;
    border-radius: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-brand-outline:hover {
    background-color: #2563EB;
    color: #ffffff;
}

/* Rounded Bento Card Utilities */
.bento-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
    border-color: #2563EB;
    box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.16);
}

.bento-card-dark {
    background: #0f172a;
    border-radius: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.24);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bento-card-dark:hover {
    border-color: #2563EB;
    box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.28);
}

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Vertical Standing Card Utilities ("Khade Khade Cards") */
.vertical-standing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-standing-card:hover {
    border-color: #2563EB;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.22);
}

.vertical-standing-card-dark {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #0f172a;
    border-radius: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.30);
    box-shadow: 0 6px 30px -4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-standing-card-dark:hover {
    border-color: #2563EB;
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.35);
}

.img-hover-zoom {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .img-hover-zoom {
    transform: scale(1.06);
}

/* Custom Accordion Details Marker Reset */
details summary::-webkit-details-marker {
    display: none;
}
details summary {
    list-style: none;
}
