/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span {
    opacity: 0.9;
}

.top-right span {
    opacity: 0.9;
}

/* Header and Navigation */
header {
    background: #fbfbfd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    background: #fbfbfd;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
}

.logo-icon {
    font-size: 28px;
}

.logo-text span {
    color: #0071e3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0071e3;
}

.arrow {
    font-size: 10px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: #1d1d1f;
}

.dropdown-menu a:hover {
    background: #f5f5f7;
    color: #0071e3;
}

/* Navigation Right Side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon,
.wishlist-icon,
.cart-icon {
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: color 0.3s;
}

.search-icon:hover,
.wishlist-icon:hover,
.cart-icon:hover {
    color: #0071e3;
}

.wishlist-count,
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #1d1d1f;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Search Bar */
.search-bar {
    background: white;
    border-top: 1px solid #d2d2d7;
    padding: 15px 0;
    display: none;
}

.search-bar.active {
    display: block;
}

.search-bar .container {
    display: flex;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #d2d2d7;
    border-radius: 25px;
    font-size: 14px;
}

.search-bar button {
    padding: 12px 30px;
    background: #0071e3;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #0077ed;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.slide-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.slide-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.slide-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px;
}

.slide-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.slide-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Buttons */
.btn-primary {
    background: white;
    color: #0071e3;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 15px;
}

.btn-primary:hover {
    background: #f5f5f7;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary-outline {
    background: transparent;
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid white;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 15px;
}

.btn-secondary-outline:hover {
    background: white;
    color: #0071e3;
}

.btn-dark {
    background: #1d1d1f;
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 15px;
}

.btn-dark:hover {
    background: #333;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.5);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 35px;
    border-radius: 6px;
}

/* Quick Links */
.quick-links {
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-card {
    background: white;
    padding: 35px 25px;
    text-align: center;
    border-radius: 15px;
    text-decoration: none;
    color: #1d1d1f;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transition: all 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.quick-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.quick-link-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 14px;
    color: #86868b;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: #0071e3;
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.section-header p {
    font-size: 17px;
    color: #86868b;
}

/* About Home */
.about-home {
    background: #f5f5f7;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #515154;
    margin-bottom: 20px;
}

.about-img-placeholder {
    background: white;
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    z-index: 5;
}

.product-badge.new {
    background: #0071e3;
}

.product-badge.hot {
    background: #ff3b30;
}

.product-image {
    background: #f5f5f7;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-specs {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 20px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #0071e3;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    flex: 1;
    background: #1d1d1f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: #0071e3;
}

.btn-wishlist {
    width: 45px;
    background: #f5f5f7;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.btn-wishlist:hover {
    background: #0071e3;
    color: white;
}

/* Features Section */
.features-section {
    background: #f5f5f7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #0071e3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    font-weight: 700;
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: #86868b;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.newsletter-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 17px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
}

.newsletter-form button {
    padding: 16px 35px;
    background: #1d1d1f;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #333;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #1d1d1f;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #a1a1a6;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a1a1a6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #0071e3;
}

.contact-list li {
    color: #a1a1a6;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2d2d2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a span {
    font-size: 18px;
}

.social-links a:hover {
    background: #0071e3;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #424245;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #a1a1a6;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #a1a1a6;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0071e3;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0071e3;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0077ed;
    transform: translateY(-5px);
}

/* Page Header (for other pages) */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background: #f5f5f7;
}

.breadcrumb-nav {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #86868b;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #0071e3;
}

.breadcrumb-nav span {
    color: #1d1d1f;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: left 0.3s;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f5f5f7;
        padding: 15px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .slide-content h1 {
        font-size: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0 30px 0;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: #f5f5f7;
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: #0071e3;
    box-shadow: 0 10px 30px rgba(0,113,227,0.2);
}

.stat-item:hover h3,
.stat-item:hover p {
    color: white;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: #0071e3;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.stat-item p {
    font-size: 14px;
    color: #515154;
    font-weight: 500;
    transition: color 0.3s;
}

/* About Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.highlight-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #0071e3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.highlight-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-left-width: 6px;
}

.highlight-card .highlight-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.highlight-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.highlight-card p {
    font-size: 15px;
    color: #515154;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
}