/* ================================================
   Art Cool - Design System
   Modern RTL Arabic E-commerce Theme
   ================================================ */

/* ================= CSS Variables ================= */
:root {
    /* Brand Colors - Fire & Ice */
    --brand-fire: #FF512F;
    /* Vibrant Red-Orange */
    --brand-fire-dark: #DD2476;
    /* Deep Pink-Red */
    --brand-ice: #4facfe;
    /* Bright Cyan-Blue */
    --brand-ice-dark: #00f2fe;
    /* Electric Cyan */

    /* Retaining Partner Brand Colors */
    --carrier-blue: #0066CC;
    --midea-green: #00A84F;

    /* Legacy/Semantic Mappings */
    --accent-gold: var(--brand-fire);
    /* Mapping old Gold to Fire */
    --accent-gold-dark: var(--brand-fire-dark);

    /* Neutral Colors */
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.1);

    /* WhatsApp Colors */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Gradients */
    --gradient-fire: linear-gradient(135deg, var(--brand-fire) 0%, var(--brand-fire-dark) 100%);
    --gradient-ice: linear-gradient(135deg, var(--brand-ice) 0%, var(--brand-ice-dark) 100%);
    --gradient-carrier: linear-gradient(135deg, var(--carrier-blue) 0%, #004499 100%);
    --gradient-midea: linear-gradient(135deg, var(--midea-green) 0%, #007A3C 100%);

    /* Mapping old gradients to new theme */
    --gradient-gold: var(--gradient-fire);

    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Typography */
    --font-primary: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-heading: 'Cairo', 'Segoe UI', Tahoma, sans-serif;

    /* Spacing */
    --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.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 30px rgba(0, 102, 204, 0.3);
    --shadow-glow-green: 0 0 30px rgba(0, 168, 79, 0.3);
    --shadow-glow-fire: 0 0 30px rgba(255, 81, 47, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1400px;
    --container-padding: 1.5rem;
}

/* ================= Reset & Base ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ================= Utility Classes ================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-3xl) 0;
}

.text-center {
    text-align: center;
}

.text-gradient-blue {
    background: var(--gradient-carrier);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: var(--gradient-midea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================= Typography ================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

a {
    color: var(--carrier-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-gold);
}

/* ================= Buttons ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-carrier);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-secondary {
    background: var(--gradient-midea);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-green);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ================= Header & Navigation ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.95);
    /* Increased opacity instead of heavy blur */
    /* backdrop-filter: blur(20px); Reduced for performance */
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 15, 26, 0.98);
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: var(--bg-glass);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= Hero Section ================= */
/* ================= Hero Slider ================= */
.hero-slider {
    height: 100vh;
    min-height: 600px;
    background: var(--bg-primary);
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(10, 15, 26, 0.9) 0%, rgba(10, 15, 26, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--brand-fire) !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all var(--transition-normal);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-gold) !important;
    width: 25px !important;
    border-radius: 5px !important;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px;
    /* Account for fixed header */
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-brands {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    min-width: 180px;
    min-height: 90px;
    transition: all var(--transition-normal);
}

.brand-badge:hover {
    transform: scale(1.08);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.brand-badge img {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.brand-badge.carrier:hover {
    box-shadow: var(--shadow-glow-blue);
}

.brand-badge.midea:hover {
    box-shadow: var(--shadow-glow-green);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ================= Section Headers ================= */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* ================= Product Cards ================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.product-card.carrier:hover {
    box-shadow: var(--shadow-glow-blue);
}

.product-card.midea:hover {
    box-shadow: var(--shadow-glow-green);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.carrier {
    background: var(--gradient-carrier);
    color: white;
}

.product-badge.midea {
    background: var(--gradient-midea);
    color: white;
}

.product-badge.sale {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    left: var(--space-md);
    right: auto;
}

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1318 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-content {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.spec-tag {
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: var(--space-xs);
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.product-price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.product-price.sale {
    color: #22c55e;
    font-size: 1.3rem;
    animation: pulse-price 2s ease-in-out infinite;
}

@keyframes pulse-price {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.specs-wrapper {
    margin: var(--space-sm) 0;
}

.specs-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color 0.3s;
}

.specs-toggle:hover {
    color: var(--accent-gold);
}

.specs-content {
    display: none;
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.specs-content.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
    padding-right: var(--space-sm);
    border-right: 2px solid var(--accent-gold);
}

.btn-buy {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
}

/* ================= Features Section ================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ================= Compact Social Bar ================= */
.social-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.social-bar .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-bar .social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.tiktok {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon.location {
    background: var(--gradient-gold);
}

/* ================= About Section ================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ================= WhatsApp FAB ================= */
.whatsapp-fab {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--whatsapp);
    color: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.05);
    color: white;
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ================= Footer ================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: var(--space-md);
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact {
    color: var(--text-secondary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================= Brand Sections ================= */
.brand-section {
    position: relative;
    overflow: hidden;
}

.brand-section.carrier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 102, 204, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.brand-section.midea::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 168, 79, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* ================= Best Selling Section ================= */
.best-selling {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.best-selling::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 81, 47, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* ================= Loading States ================= */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-glass) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ================= Mobile Responsive ================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: var(--space-xl);
        flex-direction: column;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-brands {
        gap: var(--space-lg);
    }

    .brand-badge {
        min-width: 150px;
        min-height: 70px;
        padding: var(--space-sm);
    }

    .brand-badge img {
        height: 50px;
        max-width: 130px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .whatsapp-fab {
        bottom: var(--space-lg);
        left: var(--space-lg);
        padding: var(--space-md);
    }

    .whatsapp-fab span {
        display: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding-top: 70px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .product-image {
        height: 180px;
    }
}

/* ================= Animations ================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================= Scrollbar ================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ================= Lead Generation Modal ================= */
.lead-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lead-modal.active {
    opacity: 1;
    visibility: visible;
}

.lead-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lead-modal.active .lead-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--brand-fire);
}

.lead-modal h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-modal p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.lead-modal .form-group {
    margin-bottom: var(--space-lg);
}

.lead-modal input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s;
}

.lead-modal input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 81, 47, 0.1);
}

.privacy-note {
    font-size: 0.85rem !important;
    margin-top: var(--space-md);
    opacity: 0.7;
}

/* ================================================
   DESIGN ENHANCEMENTS - Premium Effects
   ================================================ */

/* ================= Glassmorphism Cards ================= */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 81, 47, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-fire);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.carrier:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 102, 204, 0.2);
}

.product-card.carrier::before {
    background: var(--gradient-carrier);
}

.product-card.midea:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 168, 79, 0.2);
}

.product-card.midea::before {
    background: var(--gradient-midea);
}

/* ================= Animated Hero Background ================= */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 81, 47, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.15) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ================= Floating Animation ================= */
.feature-icon {
    animation: float 4s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ================= Enhanced Feature Cards ================= */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 81, 47, 0.1), transparent 30%);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-secondary);
    border-radius: calc(var(--radius-xl) - 1px);
    z-index: -1;
}

/* ================= Back to Top Button ================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-fire);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(255, 81, 47, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 81, 47, 0.5);
}

/* ================= Counter Animation Stats ================= */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(255, 81, 47, 0.2);
}

/* ================= Enhanced Loading Animation ================= */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    width: 100%;
}

.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, var(--brand-fire), var(--brand-ice));
    animation: spin 1s linear infinite;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: var(--bg-primary);
    border-radius: 50%;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ================= Product Badges Enhanced ================= */
.product-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
}

.product-badge.sale {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    animation: salePulse 1.5s ease-in-out infinite;
}

@keyframes salePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ================= Testimonials Section ================= */
.testimonials-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 81, 47, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-fire);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    color: white;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Star Rating */
.stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ================= Shimmer Effect for Images ================= */
.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover .product-image::after {
    left: 100%;
}

/* ================= Price Tag Enhancement ================= */
.product-price {
    position: relative;
    display: inline-block;
}

.product-price::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-fire);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover .product-price::before {
    transform: scaleX(1);
}

/* ================= WhatsApp Button Enhancement ================= */
.btn-whatsapp {
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::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-whatsapp:hover::before {
    left: 100%;
}

/* ================= Section Divider ================= */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 0;
}

/* ================= Responsive Enhancements ================= */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 80px;
        width: 45px;
        height: 45px;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   IMAGE LIGHTBOX / GALLERY
   ================================================ */

/* ================= Lightbox Modal ================= */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main Image Container */
.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    max-height: 70vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-image {
    transform: scale(1);
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--gradient-fire);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--brand-fire);
    border-color: transparent;
    transform: rotate(90deg);
}

/* Thumbnails */
.lightbox-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--brand-fire);
    box-shadow: 0 0 15px rgba(255, 81, 47, 0.4);
}

/* Image Counter */
.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

/* Product Title in Lightbox */
.lightbox-title {
    color: white;
    font-size: 1.25rem;
    margin-top: 1rem;
    text-align: center;
}

/* ================= Product Image Gallery (in card) ================= */
.product-image {
    cursor: zoom-in;
    position: relative;
}

.product-image-gallery {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1318 100%);
    overflow: hidden;
    cursor: zoom-in;
}

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

.product-card:hover .product-image-gallery .gallery-main {
    transform: scale(1.08);
}

/* Gallery Dots Indicator */
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

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

.gallery-dot.active {
    background: var(--brand-fire);
    transform: scale(1.2);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Mini Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.product-card:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--brand-fire);
}

.gallery-prev {
    right: 10px;
}

.gallery-next {
    left: 10px;
}

/* Zoom Icon Overlay */
.zoom-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-image:hover .zoom-overlay,
.product-image-gallery:hover .zoom-overlay {
    opacity: 1;
}

/* ================= Lightbox Responsive ================= */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .lightbox-thumb {
        width: 45px;
        height: 45px;
    }

    .lightbox-image {
        max-height: 60vh;
    }
}

/* ================= Header Search ================= */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.search-toggle:hover {
    color: var(--accent-gold);
}

.search-box-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
}

.header-search.active .search-box-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.search-input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all var(--transition-fast);
}

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

.search-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.search-close:hover {
    color: var(--danger);
}

.search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: var(--shadow-lg);
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    text-decoration: none;
    color: var(--text-primary);
}

.search-result-item:hover {
    background: var(--bg-glass);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-item .result-info {
    flex: 1;
}

.search-result-item .result-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.search-result-item .result-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

/* Mobile Search */
@media (max-width: 768px) {
    .search-box-wrapper {
        position: fixed;
        top: 70px;
        left: 1rem;
        right: 1rem;
        transform: none;
        min-width: auto;
    }

    .header-search.active .search-box-wrapper {
        transform: translateY(0);
    }
}