/* Styles V3 - Compact Hero Banner */

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

:root {
    --color-black: #000;
    --color-gray: #86868b;
    --color-light-gray: #f5f5f7;
    --color-white: #ffffff;
    --color-red: #e4002b;
    --color-blue: #007aff;
    --transition-speed: 0.3s;
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--color-black);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navigation V3 */
.navbar-v3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 60px;
}

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

.nav-brand-v3 {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.5px;
}

.nav-menu-v3 {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-menu-v3 li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu-v3 a {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu-v3 a:hover {
    color: var(--color-black);
}

.nav-menu-v3 .fa-chevron-down {
    font-size: 10px;
}

/* Mega Menu */
.has-mega-menu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    pointer-events: none;
    min-width: 900px;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.mega-menu-category {
    text-align: left;
}

.mega-menu-category .category-icon {
    width: 48px;
    height: 48px;
    background: var(--color-light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 24px;
    color: var(--color-gray);
}

.mega-menu-category h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-black);
}

.mega-menu-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-category ul li {
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.mega-menu-category ul li a {
    font-size: 13px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.mega-menu-category ul li a:hover {
    color: var(--color-blue);
}

.new-badge {
    background: var(--color-red);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Nav Actions */
.nav-actions-v3 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-partner {
    background: var(--color-black);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
}

.btn-partner:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-search {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-gray);
    transition: color var(--transition-speed);
}

.btn-search:hover {
    color: var(--color-black);
}

.mobile-menu-toggle-v3 {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle-v3 span {
    width: 20px;
    height: 2px;
    background: var(--color-black);
    transition: all var(--transition-speed);
}

/* Hero Banner V3 - COMPACT */
.hero-banner-v3 {
    margin-top: 60px;
    background: #000;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 400px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000;
}

.hero-slide.active {
    display: flex;
}

.slide-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.slide-text {
    text-align: left;
}

.hero-tagline {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 16px;
    line-height: 1.1;
    color: white;
}

.hero-product-name {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.hero-product-name .fa-apple {
    font-size: 48px;
}

.hero-model {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 2px;
    color: white;
}

.hero-btn {
    background: white;
    color: black;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.slide-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    max-width: 90%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.15));
}

.slide-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.slide-arrow {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    transition: color var(--transition-speed);
    padding: 8px;
}

.slide-arrow:hover {
    color: white;
}

.slide-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.indicator.active {
    background: white;
}

/* Product Categories */
.product-categories {
    padding: 32px 24px;
    background: white;
    border-bottom: 1px solid var(--color-light-gray);
}

.category-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 64px;
}

.category-item {
    text-decoration: none;
    text-align: center;
    color: var(--color-gray);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-item:hover {
    color: var(--color-black);
}

.category-item:hover .category-icon-box {
    background: var(--color-light-gray);
    transform: translateY(-4px);
}

.category-icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all var(--transition-speed);
}

.category-item span {
    font-size: 13px;
    font-weight: 400;
}

/* BNPL Section V3 */
.bnpl-section-v3 {
    padding: 80px 24px;
    background: var(--color-light-gray);
}

.bnpl-section-v3 .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-black);
}

.section-header p {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.partner-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-speed);
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.partner-icon {
    width: 80px;
    height: 80px;
    background: var(--color-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.partner-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-black);
}

.partner-item p {
    font-size: 14px;
    color: var(--color-gray);
}

/* Footer V3 */
.footer-v3 {
    background: #000000;
    color: white;
    padding: 48px 24px 24px;
}

.footer-v3 .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--color-gray);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-speed);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 13px;
}

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

    .mobile-menu-toggle-v3 {
        display: flex;
    }

    .mega-menu-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 40px;
    }

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

    .hero-product-name {
        justify-content: center;
    }

    .hero-slide {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 28px;
    }

    .hero-product-name {
        font-size: 40px;
    }

    .hero-model {
        font-size: 28px;
    }

    .hero-slide {
        height: 450px;
    }

    .slide-content {
        padding: 0 24px;
    }

    .mega-menu-container {
        grid-template-columns: 1fr;
    }

    .category-container {
        flex-wrap: wrap;
        gap: 16px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}
