/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   CSS VARIABLES - LIGHT MODE (Default)
   ============================================ */
:root {
    /* Primary Colors - Vibrant Indigo */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;

    /* Secondary Colors - Warm Coral */
    --color-secondary: #f97316;
    --color-secondary-dark: #ea580c;
    --color-secondary-light: #fb923c;

    /* Accent Colors - Teal */
    --color-accent: #14b8a6;
    --color-accent-dark: #0d9488;

    /* Light Mode Background Colors */
    --color-bg-primary: #fafafa;
    --color-bg-secondary: #f4f4f5;
    --color-bg-card: #ffffff;
    --color-bg-dark: #18181b;

    /* Light Mode Text Colors */
    --color-text-primary: #18181b;
    --color-text-secondary: #52525b;
    --color-text-muted: #a1a1aa;
    --color-text-inverse: #ffffff;

    /* Border & Shadow */
    --color-border: #e4e4e7;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ============================================
   DARK MODE VARIABLES
   Applied when checkbox is checked
   ============================================ */
#dark-mode-toggle:checked ~ .page-wrapper {
    /* Dark Mode Background Colors */
    --color-bg-primary: #0a0a0f;
    --color-bg-secondary: #141419;
    --color-bg-card: #1f1f26;
    --color-bg-dark: #050508;
    
    /* Dark Mode Text Colors - Strong Contrast */
    --color-text-primary: #fafafa;
    --color-text-secondary: #c4c4c9;
    --color-text-muted: #8a8a94;
    --color-text-inverse: #0a0a0f;
    
    /* Dark Mode Border & Shadow */
    --color-border: #2e2e36;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7);
}

/* ============================================
   PAGE WRAPPER - Contains all content
   ============================================ */
.page-wrapper {
    min-height: 100vh;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-secondary);
}

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

.page-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    transition: color var(--transition-slow);
}

h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    transition: color var(--transition-slow);
}

h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-primary);
    transition: color var(--transition-slow);
}

h4 {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text-primary);
    transition: color var(--transition-slow);
}

p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
    transition: color var(--transition-slow);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   DARK MODE TOGGLE
   ============================================ */
#dark-mode-toggle {
    display: none;
}

.dark-mode-wrapper {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.dark-mode-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-card);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.dark-mode-label:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.dark-mode-label:active {
    transform: scale(0.95);
}

.dark-mode-label .sun {
    display: block;
    font-size: 1.5rem;
    transition: transform var(--transition-base);
}

.dark-mode-label .moon {
    display: none;
    font-size: 1.5rem;
    transition: transform var(--transition-base);
}

/* Toggle icon switch in dark mode */
#dark-mode-toggle:checked ~ .page-wrapper .dark-mode-label .sun {
    display: none;
}

#dark-mode-toggle:checked ~ .page-wrapper .dark-mode-label .moon {
    display: block;
}

#dark-mode-toggle:checked ~ .page-wrapper .dark-mode-label {
    background-color: var(--color-primary);
    border-color: var(--color-primary-light);
}

/* ============================================
   HEADER
   ============================================ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.5s ease-out;
    transition: background-color var(--transition-slow), border-color var(--transition-slow);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: rotate(10deg);
}

.logo h1 {
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

nav {
    display: none;
}

nav a {
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition-base);
}

nav a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

nav a:hover::after {
    width: 100%;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cart-btn:hover::before {
    left: 100%;
}

.cart-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow-sm);
}

.cart-count {
    background-color: var(--color-secondary);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: #4f46e5;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Floating Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.hero-badge::before {
    content: '✨';
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Headline */
.hero h2 {
    font-size: clamp(1.75rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Hero Description */
.hero p {
    font-size: clamp(0.9375rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Primary CTA Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: white;
    color: var(--color-primary-dark);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    min-height: 48px;
}

.hero-cta::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--color-bg-primary);
}

.hero-cta:hover::after {
    transform: translateX(5px);
}

.hero-cta:active {
    transform: translateY(-1px);
}

/* Secondary CTA Button */
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    text-decoration: none;
    width: 100%;
    max-width: 280px;
    min-height: 48px;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
    transition: transform var(--transition-slow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    z-index: -1;
    opacity: 0.6;
}

/* ============================================
   PRODUCTS & BENTO GRID
   ============================================ */
.products {
    padding: var(--space-xl) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--color-bg-primary);
    transition: background-color var(--transition-slow);
}

.products > h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    animation: fadeIn 0.6s ease-out 0.3s both;
    transition: color var(--transition-slow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile: Single Column Stack */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Product Card Base */
.product-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out both;
}

/* Staggered animation delays */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Card hover lift effect */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card:active {
    transform: translateY(-4px);
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Overlay effect on hover */
.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background-color: var(--color-secondary);
    color: white;
    border-radius: var(--radius-sm);
    width: fit-content;
    transition: all var(--transition-fast);
}

.product-card:hover .product-badge {
    background-color: var(--color-secondary-dark);
    transform: scale(1.05);
}

.product-info h3 {
    font-size: 1.0625rem;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.product-card:hover .product-info h3 {
    color: var(--color-primary);
}

.product-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-slow);
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--space-sm);
    gap: var(--space-sm);
}

.price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

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

/* Buy Button */
.btn-buy {
    padding: 0.5rem 0.875rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-buy::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-buy:hover::after {
    transform: translateX(4px);
}

.btn-buy:active {
    transform: translateY(0) scale(0.95);
    box-shadow: var(--shadow-sm);
}

/* Reset all modifier classes for mobile */
.product-card--featured,
.product-card--wide,
.product-card--tall,
.product-card--watch,
.product-card--shades,
.product-card--wallet {
    grid-column: auto;
    grid-row: auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--color-bg-secondary);
    animation: fadeIn 0.6s ease-out 0.7s both;
    transition: background-color var(--transition-slow);
}

.about > h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    transition: color var(--transition-slow);
}

.features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: var(--space-lg);
    background-color: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
    animation: fadeInUp 0.5s ease-out both;
}

.feature:nth-child(1) { animation-delay: 0.8s; }
.feature:nth-child(2) { animation-delay: 0.9s; }
.feature:nth-child(3) { animation-delay: 1s; }

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.feature h3 {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.feature:hover h3 {
    color: var(--color-primary-dark);
}

.feature p {
    color: var(--color-text-secondary);
    transition: color var(--transition-slow);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-inverse);
    padding: var(--space-xl) var(--space-md);
    animation: fadeIn 0.6s ease-out 1.1s both;
    transition: background-color var(--transition-slow);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color var(--transition-slow);
}

.footer-brand {
    transition: transform var(--transition-base);
}

.footer-brand:hover {
    transform: translateX(5px);
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-base);
}

.footer-brand:hover img {
    transform: rotate(15deg);
}

.footer-brand p {
    color: var(--color-text-muted);
    transition: color var(--transition-slow);
}

.footer-links h4,
.footer-newsletter h4 {
    color: white;
    margin-bottom: var(--space-md);
    transition: color var(--transition-slow);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    display: inline-block;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--color-primary-light);
    transform: translateX(5px);
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-newsletter input {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all var(--transition-fast);
    width: 100%;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-newsletter input::placeholder {
    color: var(--color-text-muted);
}

.footer-newsletter button {
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-newsletter button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.footer-newsletter button:hover::before {
    left: 100%;
}

.footer-newsletter button:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.footer-newsletter button:active {
    transform: translateY(0);
}

.copyright {
    text-align: center;
    padding-top: var(--space-xl);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: color var(--transition-slow);
}

/* ============================================
   PHABLET (min-width: 480px)
   ============================================ */
@media (min-width: 480px) {
    .hero {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .hero-cta,
    .hero-cta-secondary {
        width: auto;
        min-width: 160px;
        flex: 1;
        max-width: 200px;
    }
    
    .hero-image {
        max-width: 450px;
    }
    
    .products {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .product-image {
        height: 200px;
    }
    
    .about {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .feature {
        flex: 1 1 calc(50% - var(--space-md));
    }
    
    footer {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .footer-newsletter form {
        flex-direction: row;
    }
    
    .footer-newsletter input {
        flex: 1;
    }
    
    .footer-newsletter button {
        width: auto;
    }
}

/* ============================================
   TABLET (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
    /* Show navigation */
    nav {
        display: block;
    }
    
    nav ul {
        display: flex;
        gap: var(--space-xl);
    }
    
    /* Header adjustments */
    header {
        padding: var(--space-lg) var(--space-2xl);
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* Hero - Better layout */
    .hero {
        padding: var(--space-3xl) var(--space-xl);
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: row;
        gap: var(--space-2xl);
        align-items: center;
    }
    
    .hero-text {
        text-align: left;
        flex: 1;
    }
    
    .hero h2 {
        text-align: left;
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .hero p {
        margin: 0 0 var(--space-lg) 0;
        text-align: left;
    }
    
    .hero-cta-group {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        flex: 0 0 auto;
        max-width: none;
    }
    
    .hero-image {
        flex: 1;
        max-width: 400px;
        margin-top: 0;
    }   
    
    /* Products padding */
    .products {
        padding: var(--space-2xl) var(--space-xl);
    }
    
    /* 2-column grid */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: var(--space-lg);
    }
    
    /* Featured card spans 2 columns */
    .product-card--featured {
        grid-column: span 2;
        flex-direction: row;
    }
    
    .product-card--featured .product-image {
        flex: 1;
        height: auto;
    }
    
    .product-card--featured .product-info {
        flex: 1;
        padding: var(--space-lg);
    }
    
    /* Wide card */
    .product-card--wide {
        grid-column: span 2;
        flex-direction: row;
    }
    
    .product-card--wide .product-image {
        flex: 1;
        height: auto;
    }
    
    .product-card--wide .product-info {
        flex: 1;
        padding: var(--space-lg);
    }
    
    /* Tall card */
    .product-card--tall {
        grid-row: span 2;
    }
    
    .product-card--tall .product-image {
        height: 250px;
    }
    
    /* Features row */
    .features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .feature {
        flex: 1 1 calc(50% - var(--space-lg));
    }
    
    /* Footer row */
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        flex: 1 1 100%;
    }
    
    .footer-links,
    .footer-newsletter {
        flex: 1;
    }
    
    .footer-newsletter form {
        flex-direction: row;
    }
}

/* ============================================
   DESKTOP (min-width: 1024px) - ALIGNED BENTO GRID
   ============================================ */
@media (min-width: 1024px) {
    /* Hero - Side by side layout */
    .hero {
        padding: var(--space-3xl) var(--space-2xl);
        min-height: 100vh;
    }
    
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: var(--space-3xl);
    }
    
    .hero-text {
        text-align: left;
        flex: 1;
        max-width: 550px;
    }
    
    .hero h2 {
        margin-bottom: var(--space-lg);
        text-align: left;
        font-size: clamp(2.5rem, 4vw, 4rem);
    }
    
    .hero p {
        margin: 0 0 var(--space-xl) 0;
        text-align: left;
    }
    
    .hero-image {
        flex: 1;
        max-width: 500px;
        transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    }
    
    /* Products padding */
    .products {
        padding: var(--space-3xl) var(--space-2xl);
    }
    
    /* BENTO GRID WITH EXPLICIT AREAS */
    .bento-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 200px);
        gap: var(--space-lg);
        grid-template-areas:
            "featured featured watch    shades"
            "featured featured shoes    shoes"
            "featured featured wallet   camera";
    }
    
    /* Featured Card (2x3) - Left Column*/
    .product-card--featured {
        grid-area: featured;
        flex-direction: row;
        height: 100%;
        width: 100%;
    }
    
    .product-card--featured .product-image {
        flex: 1.2;
        height: 100%;
    }
    
    .product-card--featured .product-info {
        flex: 1;
        padding: var(--space-xl);
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .product-card--featured h3 {
        font-size: 1.5rem;
    }
    
    .product-card--featured .product-description {
        font-size: 1rem;
        -webkit-line-clamp: 4;
    }
    
    .product-card--featured .price {
        font-size: 1.5rem;
    }
    
    .product-card--featured .btn-buy {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Watch Card - Top Right */
    .product-card--watch {
        grid-area: watch;
        height: 100%;
        width: 100%;
    }
    
    .product-card--watch .product-image {
        flex: 1;
        height: auto;
    }
    
    /* Shades Card - Top Right */
    .product-card--shades {
        grid-area: shades;
        height: 100%;
        width: 100%;
    }
    
    .product-card--shades .product-image {
        flex: 1;
        height: auto;
    }
    
    /* Wide Card (2x1) - Middle Right */
    .product-card--wide {
        grid-area: shoes;
        flex-direction: row;
        height: 100%;
        width: 100%;
    }
    
    .product-card--wide .product-image {
        flex: 1;
        height: 100%;
    }
    
    .product-card--wide .product-info {
        flex: 1;
        justify-content: center;
        padding: var(--space-lg);
    }
    
    /* Wallet Card - Bottom Left of right section */
    .product-card--wallet {
        grid-area: wallet;
        height: 100%;
        width: 100%;
    }
    
    .product-card--wallet .product-image {
        flex: 1;
        height: auto;
    }
    
    /* Camera Card - Bottom Right */
    .product-card--tall {
        grid-area: camera;
        height: 100%;
        width: 100%;
    }
    
    .product-card--tall .product-image {
        flex: 1;
        height: auto;
    }
    
    /* Ensure all cards stretch to fill their grid areas */
    .product-card {
        align-self: stretch;
        justify-self: stretch;
    }
    
    /* Ensure product-image fills available space */
    .product-card .product-image {
        flex: 1;
        min-height: 0;
    }
    
    /* Ensure product-info stays at bottom */
    .product-card .product-info {
        flex-shrink: 0;
    }
    
    /* Features and Footer */
    .features {
        flex-wrap: nowrap;
    }
    
    .feature {
        flex: 1;
    }
    
    .footer-content {
        flex-wrap: nowrap;
    }
    
    .footer-brand {
        flex: 2;
    }
    
    .footer-links {
        flex: 1;
    }
    
    .footer-newsletter {
        flex: 1.5;
    }
}

/* ============================================
   LARGE DESKTOP (min-width: 1400px)
   ============================================ */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1400px;
    }
    
    .hero-image {
        max-width: 550px;
    }
    
    .bento-grid {
        grid-template-rows: repeat(3, 220px);
    }
}

/* ============================================
   SMALL MOBILE (max-width: 359px)
   ============================================ */
@media (max-width: 359px) {
    header {
        padding: var(--space-sm) var(--space-md);
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .cart-btn span:first-child {
        display: none;
    }
    
    .hero {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }
    
    .products {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info h3 {
        font-size: 0.9375rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .btn-buy {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .about {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .feature {
        padding: var(--space-md);
    }
    
    footer {
        padding: var(--space-lg) var(--space-sm);
    }
}
