/* FyndFox - Modular Styles */

/* ===== BASE STYLES ===== */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #0a0a0a;
    overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.bg-gradient-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fox-glow {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

/* ===== ANIMATIONS ===== */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.floating-delayed-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(0, 240, 140, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.paw-loader {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00F08C;
    animation: paw-bounce 1.4s infinite ease-in-out;
}

.paw-loader:nth-child(1) { animation-delay: -0.32s; }
.paw-loader:nth-child(2) { animation-delay: -0.16s; }

@keyframes paw-bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 1; }
    40% { transform: scale(1); opacity: 0.8; }
}

/* ===== MAGIC PARTICLES ===== */
.magic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 240, 140, 0.6);
    border-radius: 50%;
    animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== NAVIGATION COMPONENT ===== */
.nav-component {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto; /* ensure header receives hover events */
    z-index: 1000; /* stay above any other overlays */
}

.nav-component.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: #ffffff; /* ensure base color */
    transition: color 0.25s ease; /* smooth color transition */
    display: inline-block; /* ensure ::after underline is visible and animates */
    padding-bottom: 2px; /* spacing for animated underline */
    pointer-events: auto; /* guarantee hover works even if parent has overlays */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00F08C;
    transition: width 0.3s ease;
    pointer-events: none;
}

.nav-link:hover::after {
    width: 100%;
}

/* explicit hover color to avoid reliance on Tailwind utility */
.nav-link:hover {
    color: #fb923c; /* Tailwind orange-400 */
}

.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTON COMPONENTS ===== */
.btn-primary {
    background: linear-gradient(135deg, #00F08C, #00D27B);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 140, 0.25);
}

/* Focus and active states for accessible buttons */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 240, 140, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Size utility for compact buttons */
.btn-sm {
    padding: 8px 12px !important;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.1;
}

/* Icon button utilities to pair with button tokens */
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.btn-icon-sm {
    width: 40px;
    height: 40px;
}

/* Preserve absolute-centered position for icon buttons used inside search bars */
.btn-primary.btn-icon,
.btn-primary.btn-icon-sm {
    /* Ensure the button stays vertically centered when paired with top-1/2 */
    transform: translateY(-50%);
    /* Override base .btn-primary position so Tailwind 'absolute' works */
    position: absolute;
    z-index: 10;
}

.btn-primary.btn-icon:hover,
.btn-primary.btn-icon-sm:hover {
    /* Apply hover raise without overriding the -50% centering */
    transform: translateY(calc(-50% - 2px));
}

/* Accent utility helpers */
.accent-bg { background-color: #00F08C; }
.accent-bg-hover:hover { background-color: #00D27B; }
.accent-tint { background-color: rgba(0, 240, 140, 0.2); }

/* Hard-ensure correct placement inside search wrappers (hero + sticky) */
.search-component .btn-primary.btn-icon {
    position: absolute !important;
    right: 0.5rem !important; /* matches right-2 */
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.sticky-search .btn-primary.btn-icon-sm {
    position: absolute !important;
    right: 0.5rem !important; /* matches right-2 */
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.sticky-search .btn-primary.btn-icon-sm:hover,
.search-component .btn-primary.btn-icon:hover {
    transform: translateY(calc(-50% - 2px)) !important;
}

/* ===== SEARCH COMPONENT ===== */
.search-component .search-input {
    transition: all 0.3s ease;
    color: white;
}

.search-glow:focus {
    box-shadow: 0 0 0 3px rgba(0, 240, 140, 0.3);
    border-color: rgba(0, 240, 140, 0.5);
}

.example-tag {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.example-tag:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.example-tag:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 240, 140, 0.35);
}

/* removed legacy orange hover styles for example-tag */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== STICKY SEARCH ===== */
.sticky-search {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none; /* do not block nav when hidden */
}

.sticky-search.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; /* interactive only when shown */
}

/* ===== REFINEMENT PANEL (Results refine card) ===== */
.results-component .glass-card {
    /* Match footer's Tailwind bg-gray-900 */
    background: #111827;
}

/* ===== CAROUSEL COMPONENT ===== */
.carousel-component {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-wrapper {
    position: relative;
    overflow-x: auto;
    border-radius: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

.carousel-wrapper::-webkit-scrollbar { /* WebKit */
    display: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    padding: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    min-width: 300px;
    max-width: 350px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 24px rgba(0, 0, 0, 0.18);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 140, 0.08), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 16px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* ===== HD CARD (full-bleed with overlays) ===== */
.hd-card {
    padding: 0;
    width: 300px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: #0d0d0d;
}

.hd-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hd-card:hover .hd-img {
    transform: scale(1.05);
}

.hd-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
}

.hd-meta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
    z-index: 2;
}

.hd-brand {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.hd-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.hd-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 70%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: flex-end;
}

.hd-card:hover .hd-hover {
    opacity: 1;
}

.hd-hover-content {
    padding: 18px;
    width: 100%;
}

.hd-price {
    color: #00F08C;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.hd-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.hd-rating .rating-stars { color: #fbbf24; }
.hd-rating-value { font-weight: 600; opacity: 0.9; }

.hd-description {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    max-height: 3.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
}

.hd-links {
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .hd-card { width: 280px; height: 380px; }
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== COMPACT CARD VARIANT ===== */
.compact-card {
    padding: 16px;
    background: rgba(17, 17, 17, 0.95);
    color: #eaeaea;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Make compact product cards a vertical flex layout so the CTA can stick to the bottom */
.product-card.compact-card {
    display: flex;
    flex-direction: column;
}

.compact-card .thumb-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f0f0f;
    margin-bottom: 12px;
}

.compact-card .thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.compact-card:hover .thumb {
    transform: scale(1.03);
}

.brand-chip {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.product-name-compact {
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
    /* Fix two-line height so following rows align across cards */
    min-height: 2.8em; /* 1.4 line-height * 2 lines */
    max-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: block;
    display: -webkit-box;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    /* Keep a consistent row height even if chips vary slightly */
    min-height: 28px;
}

.price-chip {
    background: rgba(0, 240, 140, 0.15);
    border: 1px solid rgba(0, 240, 140, 0.35);
    color: #00F08C;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

/* ===== Accent overrides for Tailwind orange utilities -> green (#00F08C) ===== */
.text-orange-500 { color: #00F08C !important; }
.text-orange-400 { color: #00F08C !important; }
.hover\:text-orange-500:hover { color: #00F08C !important; }
.hover\:text-orange-400:hover { color: #00F08C !important; }
.bg-orange-500 { background-color: #00F08C !important; }
.bg-orange-600 { background-color: #00D27B !important; }
.bg-orange-700 { background-color: #00B86E !important; }
.hover\:bg-orange-500:hover { background-color: #00F08C !important; }
.hover\:bg-orange-600:hover { background-color: #00D27B !important; }
.hover\:bg-orange-700:hover { background-color: #00B86E !important; }
.border-orange-500 { border-color: #00F08C !important; }
.hover\:border-orange-500:hover { border-color: #00F08C !important; }

.rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
}

.rating-chip .rating-stars { color: #fbbf24; }
.rating-chip .rating-val { opacity: 0.9; font-weight: 600; }

.product-description-compact {
    color: #c9c9c9;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Force two-line block height so CTA and meta-row positions don't shift */
    min-height: 3em; /* 1.5 line-height * 2 lines */
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #00F08C;
    margin-bottom: 16px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.rating-stars {
    color: #fbbf24;
    margin-right: 8px;
}

.product-links {
    display: flex;
    gap: 8px;
}

/* Push the CTA row to the bottom of the compact card */
.compact-card .product-links {
    margin-top: auto;
}

.product-link {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.amazon-link {
    background: #00F08C;
    color: white;
}

.amazon-link:hover {
    background: #00D27B;
    transform: translateY(-2px);
}

.flipkart-link {
    background: #00F08C;
    color: white;
}

.flipkart-link:hover {
    background: #00D27B;
    transform: translateY(-2px);
}

/* Accessible focus style for product links */
.product-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 240, 140, 0.35);
}

/* ===== CAROUSEL NAVIGATION ===== */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 0;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover { /* kept for historic compatibility; not visible if buttons removed */
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.carousel-dot.active {
    background: #00F08C;
    transform: scale(1.25);
    box-shadow: 0 0 0 3px rgba(0, 240, 140, 0.25);
}

/* Focus ring for keyboard users on dots */
.carousel-dot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 240, 140, 0.35);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 140, 0.08), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* ===== MODAL COMPONENT ===== */
.modal-component {
    transition: opacity 0.3s ease;
    /* display is controlled via Tailwind classes (hidden/flex). */
    align-items: center;      /* vertical center when flex is active */
    justify-content: center;  /* horizontal center when flex is active */
    z-index: 9999;           /* ensure modal is above everything */
}

/* Ensure modal content is fully visible */
.modal-component .glass-card {
    max-height: 90vh;         /* safe max height */
    overflow: visible;        /* no internal scroll */
}

/* ===== FORM INPUT STYLES ===== */
input[type="text"],
input[type="email"],
input[type="password"] {
    color: white !important;
}

/* Ensure password field has dark background for white text visibility */
#auth-password {
    background-color: rgba(17, 24, 39, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Ensure text is visible in all input states */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    color: white !important;
}

/* Number input visibility fixes */
input[type="number"] {
color: white !important;
}

input[type="number"]::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

input[type="number"]:focus {
    color: white !important;
}

/* Specific fix for hero search input */
#hero-search {
    background: rgba(31, 41, 55, 0.4) !important; /* Dark translucent background for visible white text */
    color: white !important;
}

#hero-search::placeholder {
    color: rgba(156, 163, 175, 1) !important;
}

#hero-search:focus {
    background: rgba(31, 41, 55, 0.5) !important; /* Slightly darker on focus */
    color: white !important;
}

/* Specific fix for sticky search input */
#sticky-search-input {
    color: white !important;
}

#sticky-search-input::placeholder {
    color: rgba(156, 163, 175, 1) !important;
}

#sticky-search-input:focus {
    color: white !important;
}

/* Specific fix for subscribe modal input */
#subscribe-email {
    background: rgba(31, 41, 55, 0.4) !important; /* Dark translucent background so white text is visible */
    color: white !important;
}

#subscribe-email::placeholder {
    color: rgba(156, 163, 175, 1) !important;
}

/* Larger logo in header without changing nav padding */
.nav-logo {
    /* Keep intrinsic box at 56px so nav height doesn't change */
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0; /* do not affect nav height */
    /* Visually enlarge (~30%) and nudge left without affecting layout */
    transform: scale(1.3) translateX(-6px);
    transform-origin: left center;
    display: block;
}

@media (max-width: 640px) {
    .nav-logo {
        width: 56px;
        height: 56px;
        margin: 0;
        transform: none; /* avoid overflow on small screens */
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LOADING COMPONENT ===== */
.loading-component {
    animation: fadeIn 0.5s ease;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-component h1 {
        font-size: 2.5rem;
    }
    
    .search-component {
        margin-bottom: 2rem;
    }
    
    .examples-component {
        margin-bottom: 2rem;
    }
    
    .example-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .product-card {
        min-width: 280px;
        max-width: 300px;
        padding: 20px;
    }
    
    .carousel-track {
        padding: 15px;
        gap: 15px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        min-width: 320px;
        max-width: 340px;
    }
    
    .carousel-track {
        gap: 18px;
    }
}

/* Desktop Styles */
@media (min-width: 1025px) {
    .product-card {
        min-width: 300px;
        max-width: 350px;
    }
    
    .carousel-track {
        gap: 20px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .floating,
    .floating-delayed,
    .floating-delayed-2,
    .particle {
        animation: none;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* ===== DARK MODE ENHANCEMENTS ===== */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .glass-card {
        border-width: 2px;
    }
    
    .btn-primary,
    .btn-secondary {
        border-width: 2px;
    }
}
