:root {
    --primary: #0f172a;
    --secondary: #334155;
    --accent: #3b82f6;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --background: #f8fafc;
    --surface: rgba(255, 255, 255, 0.82);
    --glass: rgba(255, 255, 255, 0.65);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --logo-gradient: linear-gradient(135deg, #3b82f6 0%, #f97316 100%);
    --font-headline: 'Manrope', sans-serif;
}

/* Classic Solid Headers */
.glass-effect {
    background: var(--surface);
    border-bottom: 2px solid #e2e8f0;
    border-top: 2px solid rgba(249, 115, 22, 0.15); /* Subtle Premium Highlight */
}

.text-vibrant-gradient {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-vibrant-gradient {
    background: var(--logo-gradient);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Advanced Reveal System (Optimized for GSAP) */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
}

/* Classic Product Card */
.product-card {
    transition: all 0.2s ease-in-out;
}

.product-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Solid Buttons */
.btn-premium {
    transition: background-color 0.2s ease;
}
.btn-premium:hover {
    filter: brightness(1.1);
}

/* Classic Button Designs (2015-style) */
.btn-classic {
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-classic:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-classic:active {
    transform: translateY(0);
}

.btn-classic-blue {
    background-color: var(--accent);
    color: white;
    border: 1px solid #2563eb;
}

.btn-classic-blue:hover {
    background-color: #2563eb;
}

.btn-classic-orange {
    background-color: var(--orange);
    color: white;
    border: 1px solid var(--orange-dark);
}

.btn-classic-orange:hover {
    background-color: var(--orange-dark);
}

.btn-classic-slate {
    background-color: #e2e8f0;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.btn-classic-slate:hover {
    background-color: #cbd5e1;
}

.btn-classic-dark {
    background-color: #0f172a;
    color: white;
    border: 1px solid #1e293b;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}

.btn-classic-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
}

/* Quantity Selector & Share Widget Styles */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hero Section Refinement */
.hero-image-container {
    perspective: 1000px;
}

.hero-image-container img {
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.2);
}

/* Mobile Refinements */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem !important; line-height: 2.5rem !important; }
    h2 { font-size: 1.75rem !important; }
    
    .mobile-grid-gap {
        gap: 1rem !important;
    }
}

/* Mobile Drawer Contrast */
#mobile-menu {
    border-right: 1px solid #e2e8f0;
    box-shadow: 20px 0 50px rgba(0,0,0,0.05);
}

#mobile-menu a {
    border-bottom: 1px solid #f8fafc;
    padding-bottom: 1rem;
}

/* Touch Targets - only for interactive buttons */
button, a.btn-classic {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-card button {
    font-size: 11px !important;
}

/* Classic UI Accents */
.font-headline {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Solid Border Card for 2015 vibe */
.classic-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.classic-card:hover {
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.01);
}

/* Vibrant Pulse Animation */
@keyframes vibrant-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.animate-vibrant-pulse {
    animation: vibrant-pulse 2s infinite;
}

/* Floating Animation */
@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
    animation: floating 6s ease-in-out infinite;
}

/* Infinite Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: var(--primary);
    padding: 2rem 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: var(--font-headline);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 4rem;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.05);
}

.marquee-content span {
    margin-right: 4rem;
    display: inline-block;
}

.marquee-content .accent-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

/* Glowing Nav Link Underline */
.nav-link-glow {
    position: relative;
    padding-bottom: 4px;
}
.nav-link-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--logo-gradient);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}
.nav-link-glow:hover::after {
    width: 100%;
}

/* Sticky Navbar & Scrolled Transitions (Horizontal Axis) */
#main-nav {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#main-nav.scrolled .max-w-7xl {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

#main-nav.scrolled .grid {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#main-nav.scrolled .font-headline {
    font-size: 1.25rem;
}

/* Accessibility: Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus States for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Links with Absolute Positioning for SEO */
a[class*="before:absolute"] {
    position: relative;
}

a[class*="before:inset-0"]::before {
    content: '';
    position: absolute;
    inset: 0;
}
