* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0a0a0a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Secondary Navigation */
.secondary-nav {
    background: #f1f5f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.secondary-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.secondary-left {
    display: flex;
    gap: 24px;
}

.secondary-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.secondary-link {
    color: #64748b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}

.secondary-link:hover {
    color: #334155;
}

.phone-top {
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 5px;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.phone-top:hover {
    border-color: #cbd5e1;
    background: #fafafa;
}

.phone-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Main Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 65px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-status-link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.order-status-link:hover {
    color: #1e40af;
}

.cart-btn {
    position: relative;
    color: #334155;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    background: white;
    border: 1px solid #e2e8f0;
}

.cart-btn:hover {
    border-color: #2e368f;
    color: #2e368f;
    background: #e8e9f5;
}

.cart-badge {
    background: #2e368f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.nav-link {
    position: relative;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2e368f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2e368f, #972433);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.has-dropdown {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.dropdown-section h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 20px;
}

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

.dropdown-links li {
    margin-bottom: 12px;
}

.dropdown-links a {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
}

.dropdown-links a:hover {
    background: #e8e9f5;
    color: #2e368f;
    transform: translateX(4px);
}

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #0a0a0a;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 143px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.mobile-nav-links a svg {
    flex-shrink: 0;
}

.mobile-nav-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.mobile-cart-link {
    background: #f8fafc;
    border-radius: 8px;
    margin: 0 -8px;
    padding-left: 24px !important;
}

.mobile-cart-badge {
    background: #2e368f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    margin-left: auto;
}

.mobile-phone-link {
    color: #1e40af !important;
}

.mobile-phone-link svg {
    color: #1e40af;
}

/* Featured Products Section */
.featured-section {
    padding: 100px 0;
    background: white;
    overflow: hidden;
    position: relative;
}

.featured-gradient {
    position: absolute;
    left: -10%;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.06) 0%,
        rgba(96, 165, 250, 0.08) 50%,
        rgba(59, 130, 246, 0.06) 100%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.featured-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #0a0a0a;
}

.featured-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    align-items: start;
}

.featured-product {
    text-align: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-product:hover {
    transform: translateY(-12px);
}

.featured-product-image {
    position: relative;
    margin-bottom: 24px;
    padding: 32px;
}

.featured-product-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-product:hover .featured-product-image img {
    transform: scale(1.08);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.featured-product-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0a0a0a;
    letter-spacing: -0.5px;
}

.featured-product-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.featured-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e40af;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s;
}

.featured-product:hover .featured-product-link {
    gap: 12px;
}

/* Featured Products Responsive */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .featured-title {
        font-size: 36px;
    }

    .featured-subtitle {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .featured-section {
        padding: 60px 0;
    }

    .featured-container {
        padding: 0 24px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .featured-title {
        font-size: 32px;
    }

    .featured-subtitle {
        font-size: 16px;
        margin-bottom: 48px;
    }

    .featured-product-image {
        padding: 24px;
    }

    .featured-product-image img {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .featured-section {
        padding: 48px 0;
    }

    .featured-container {
        padding: 0 16px;
    }

    .featured-title {
        font-size: 28px;
    }

    .featured-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .featured-product-image img {
        max-width: 200px;
    }

    .featured-product-name {
        font-size: 18px;
    }

    .featured-product-desc {
        font-size: 14px;
    }
}

/* Hero Slideshow */
.hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.hero-slide {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.35s ease-out;
}

.hero-bg.loaded {
    opacity: 1;
}

.hero-slide-1 .hero-bg {
    background-image: url('/assets/images/hero1.jpg');
}

.hero-slide-2 .hero-bg {
    background-image: url('/assets/images/hero2.jpg');
}

.hero-slide-3 .hero-bg {
    background-image: url('/assets/images/hero3.jpg');
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(46, 54, 143, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(151, 36, 51, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
    z-index: 3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 4;
}

.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-highlight {
    background: linear-gradient(90deg, #5b8def, #3d6be0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-cta a {
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-cta-primary {
    background: linear-gradient(135deg, #3d6be0 0%, #2952c8 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(61, 107, 224, 0.3);
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 107, 224, 0.4);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Info Section */
.info-section {
    background: white;
    padding: 80px 40px;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-content img {
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .secondary-nav-container {
        padding: 8px 20px;
    }

    .nav-container {
        padding: 0 20px;
        height: 90px;
    }

    .nav-right {
        margin-left: auto;
        margin-right: 12px;
        gap: 12px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .logo {
        height: 50px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta a {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Hide secondary nav on mobile */
    .secondary-nav {
        display: none;
    }

    /* Adjust mobile-nav top position since secondary nav is hidden */
    .mobile-nav {
        top: 70px;
    }

    .nav-container {
        padding: 0 16px;
        height: 70px;
    }

    .logo {
        height: 48px;
    }

    /* Compact nav-right */
    .nav-right {
        gap: 8px;
        margin-right: 8px;
    }

    /* Hide order status link on mobile */
    .order-status-link {
        display: none;
    }

    /* Compact cart button - icon only */
    .cart-btn {
        padding: 8px 10px;
        gap: 4px;
    }

    .cart-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Hide "Cart" text on mobile */
    .cart-btn-text {
        display: none;
    }

    .cart-badge {
        font-size: 10px;
        padding: 1px 5px;
        min-width: 18px;
    }

    .mobile-toggle {
        padding: 6px;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }

    .logo {
        height: 42px;
    }

    .cart-btn {
        padding: 6px 8px;
    }
}

/* Base button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: inherit;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #1e40af;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover:not(:disabled) {
    background: #1e3a8a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: white;
    color: #334155;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover:not(:disabled) {
    border-color: #1e40af;
    color: #1e40af;
    background: #f8fafc;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Link styling for router links */
a[data-link] {
    cursor: pointer;
}

/* Smooth transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure content container has minimum height */
#app-content {
    min-height: calc(100vh - 143px - 200px);
}

/* Fix for iOS Safari viewport height */
@supports (-webkit-touch-callout: none) {
    #app-content {
        min-height: -webkit-fill-available;
    }
}
