:root {
    --primary: #00C2FF;
    --secondary: #FF851B;
    --amber: #FFC000;
    --pink: #FF4D6A;
    --dark: #000000;
    --surface: #0a0a0b;
}

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.scroll-container {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.snap-section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    padding: 100px 0;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(22, 22, 24, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #FFC000 0%, #FF851B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Header Decoration */
.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--pink));
    border-radius: 2px;
}

/* Product Card Hover Effect */
.product-card .img-container img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .img-container img {
    transform: scale(1.05);
}

/* Header States */
#main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Barba Transitions */
.barba-leave {
    opacity: 1;
}

.barba-leave-active {
    transition: opacity 0.4s ease;
    opacity: 0;
}

.barba-enter {
    opacity: 0;
}

.barba-enter-active {
    transition: opacity 0.4s ease;
    opacity: 1;
}

/* Blob Background Decoration */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.blob-orange {
    background: radial-gradient(circle, rgba(255, 133, 27, 0.08) 0%, transparent 70%);
}

.blob-pink {
    background: radial-gradient(circle, rgba(255, 77, 106, 0.08) 0%, transparent 70%);
}

/* Side Navigation Dots */
#side-nav {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

.nav-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transform: scale(1.5);
}

.nav-dot::after {
    content: attr(data-label);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-dot:hover::after {
    opacity: 1;
    left: 30px;
}

/* Info Screen / Detail Panel */
.info-screen {
    width: 100%;
    height: 480px;
    background: rgba(255, 255, 255, 0.03); /* Faint background by default */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; /* Handle overflow if text is long */
}

/* Specific view styling */
.view-overview {
    text-align: left;
}

.view-detail {
    text-align: left;
}

.info-screen.has-content {
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    justify-content: flex-start; /* Move to top when detailed */
}

.info-screen.has-content .info-title {
    color: #0f0f12 !important;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.info-screen.has-content .info-desc {
    color: rgba(15, 15, 18, 0.8) !important;
}

.info-screen.has-content .btn-open-app {
    background: #0f0f12;
    color: white;
}

.info-screen.has-content .btn-open-app:hover {
    background: var(--primary);
    color: black;
}

.btn-back-info {
    display: none; /* Hidden by default in general view */
    color: white;
}

.info-screen.has-content .btn-back-info {
    display: flex;
    color: #0f0f12;
}

.product-logo-top {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.reports-column {
    height: 480px; /* Same fixed height */
    display: flex;
    flex-direction: column;
}

.info-title {
    color: white !important;
}

.info-desc {
    color: rgba(255, 255, 255, 0.7) !important;
}

.report-item {
    cursor: pointer;
}

.report-item.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.report-item.active i {
    opacity: 1;
    transform: translateX(3px);
}

.btn-open-app {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: #0f0f12;
    color: white;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-open-app:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}
