html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --deep-purple: #8035C3;
    --light-purple: #D9AEFF;
    --bg-dark: #0E0E1A;
}

body {
    background-color: var(--bg-dark);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure media is responsive */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Typography Mapping */
.font-erode {
    font-family: 'Playfair Display', serif;
}

/* Proxy for Erode */
.font-geist {
    font-family: 'Inter', sans-serif;
}

/* Proxy for Geist */
.font-archivo {
    font-family: 'Archivo', sans-serif;
}

/* Gradients from CSS Snippets */
.btn-gradient {
    background: linear-gradient(91.93deg, #8035C3 4.7%, #D9AEFF 109.13%);
    border-radius: 50px;
    transition: transform 0.2s ease;
}

.btn-gradient:hover {
    transform: scale(1.02);
}

.text-gradient {
    background: linear-gradient(91.93deg, #8035C3 4.7%, #D9AEFF 109.13%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-gradient {
    background: linear-gradient(86.07deg, #8035C3 8.33%, #D9AEFF 95.89%);
}

.arrow-gradient {
    background: linear-gradient(95.87deg, #4601FE -6.34%, #7001FF 82.89%);
}

/* Glass effects */
.glass-box {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reduced opacity to 0.4 so video is more visible */
    background: linear-gradient(rgba(14, 14, 26, 0.4), rgba(14, 14, 26, 0.6));
    z-index: 1;
    pointer-events: none;
}

/* Abstract Glows */
.glow-purple {
    background: #8035C3;
    filter: blur(100px);
    opacity: 0.6;
    position: absolute;
    z-index: -1;
}

/* Testimonial specific */
.testimonial-frame {
    border: 2.8px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    /* Slightly adjusted for mobile smoothness */
}

/* Image Card Styles */
.card-blur {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #FFFFFF;
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Custom Arrow for Buttons */
.arrow-icon {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PREMIUM HOVER EFFECTS FOR CARDS */
.premium-card {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 4px solid #000000;
    /* Thick frame matching reference */
    border-radius: 48px;
    /* Highly rounded corners */
    box-shadow: 0 2px 4px 1px #8035C3,
        /* Subtle inner rim */
        0 20px 50px -10px #8035C3,
        /* Deep shadow */
        0 0 30px rgba(128, 53, 195, 0.2);
    /* Base Glow */
    position: relative;
    z-index: 1;
    background: #000;
    /* Ensure gap fill is black */
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(128, 53, 195, 0.5);
    /* Stronger glow on hover */
    z-index: 10;
}

.premium-card:hover img {
    transform: scale(1.1);
}

/* NEW: Glass Folder Pane Styles */
.glass-folder-pane {
    background: rgba(14, 14, 26, 0.4);
    /* Darker base for legibility */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.premium-card:hover .glass-folder-pane {
    background: rgba(14, 14, 26, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Play Button in Corner */
.corner-play-btn {
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.premium-card:hover .corner-play-btn {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.corner-play-btn:active {
    transform: scale(0.95);
}

.corner-play-btn.playing {
    background: #8035C3;
    /* Deep purple when playing */
    color: white;
}

/* Smooth tab transition */
.tab-pill {
    transition: all 0.3s ease;
}

.tab-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-pill.active {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}