/* ============================================
   Product Landing Page Styles
   Based on reference images
   ============================================ */

/* Top Black Bar */
.top-bar {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 500;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
}

.top-bar-item .icon {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.top-bar-item .icon svg {
    display: block;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

/* Main Header */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 24px;
    font-weight: 900;
    color: #000000;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #666666;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon {
    font-size: 20px;
    color: #000000;
    text-decoration: none;
    position: relative;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-background-image.active {
    opacity: 0.7;
    z-index: 2;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-brand-name {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-slogan {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #ffffff;
}

.hero-price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-btn {
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-white {
    background-color: #ffffff;
    color: #000000;
}

.hero-btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.hero-btn-dark {
    background-color: #333333;
    color: #ffffff;
}

.hero-btn-dark:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 24px;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background-color: #ffffff;
    width: 30px;
    border-radius: 5px;
}

/* Statistics Section */
.stats-section {
    background-color: #ffffff;
    padding: 80px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.stat-item {
    /* text-align: center; */
    padding : 0 60px;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.stat-subtitle {
    font-size: 14px;
    color: #666666;
}

/* Features Section */
.features-section {
    background-color: #ffffff;
    padding: 100px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 0 60px;
}

.feature-item {
    text-align: left;
    max-width: 100%;
}

.feature-number {
    font-size: 100px;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 15px;
    text-align: left;
}

.feature-icon-outline {
    font-size: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    line-height: 1;
}

.feature-icon-outline svg {
    display: block;
}

.feature-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;
}

.feature-description {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Footer */
.main-footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.footer-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 24px;
    color: #000000;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
}

.social-icon svg {
    display: block;
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #000000;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-newsletter {
    margin-bottom: 30px;
}

.footer-newsletter h5 {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-newsletter p {
    font-size: 12px;
    color: #666666;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-btn {
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: #333333;
}

.footer-security {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.security-item {
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.security-item svg {
    display: block;
    flex-shrink: 0;
}

.footer-bottom-right {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-bottom-right a {
    font-size: 12px;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-right a:hover {
    color: #000000;
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    /* padding-bottom: 30px; */
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-copyright p {
    font-size: 12px;
    color: #666666;
    margin: 0;
}

/* Track Order Section */
.track-order-section {
    padding: 40px 20px;
    /* background-color: #f5f5f5; */
}

.track-order-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.track-order-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.track-order-icon svg {
    display: block;
}

.track-order-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 15px;
}

.track-order-instruction {
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

.track-order-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.track-tab {
    flex: 1;
    padding: 4px;
    background-color: #ffffff;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius:6px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s;
}

.track-tab.active {
    color: #ffffff;
    border-bottom-color: transparent;
    background-color: #000000;
}

.track-order-input-container {
    position: relative;
    margin-bottom: 20px;
}

.track-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    display: flex;
    align-items: center;
}

.track-input-icon svg {
    display: block;
}

.track-input-icon {
    transform: translateY(-50%);
}

.track-order-input {
    width: 100%;
    padding: 14px 14px 14px 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.track-order-input:focus {
    outline: none;
    border-color: #000000;
    background-color: #ffffff;
}

.track-order-btn {
    width: 100%;
    padding: 10px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* margin-bottom: 20px; */
}

.track-order-btn:hover {
    background-color: #000000;
}

.track-order-btn:disabled {
    background-color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Order Not Found Dialog */
.order-not-found-dialog {
    margin-top: 20px;
    padding: 24px;
    background-color: #fff9e6;
    border: 1px solid #ffb84d;
    border-radius: 8px;
    text-align: left;
}

.order-not-found-dialog.hidden {
    display: none;
}

.dialog-icon {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
}

.dialog-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    text-align: left;
}

.dialog-message {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.dialog-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dialog-btn {
    width: 100%;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.dialog-btn-secondary {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #ffb84d;
}

.dialog-btn-secondary:hover {
    background-color: #f5f5f5;
}

.dialog-btn-primary {
    background-color: #ff8c00;
    color: #ffffff;
}

.dialog-btn-primary:hover {
    background-color: #e67e00;
}

.track-search-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
}

.track-search-icon svg {
    display: block;
}

.track-order-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /* margin-bottom: 15px; */
    padding: 12px;
    /* background-color: #fff9e6; */
    border-radius: 4px;
}

.tip-icon {
    font-size: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.tip-icon svg {
    display: block;
}

.tip-text {
    font-size: 12px;
    /* color: #666666; */
    line-height: 1.5;
}

.track-order-help {
    text-align: center;
    font-size: 12px;
}

.help-link {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s;
}

.help-link:hover {
    color: #000000;
}

.help-separator {
    margin: 0 8px;
    color: #999999;
}

/* Product Main Image Section (after Limited Offer) */
.product-main-image-section {
    /* padding: 0 20px 40px 20px; */
    background-color: #ffffff;
    text-align: center;
}

.product-main-image-display {
    max-width: 500px;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 0;
    margin: 0 auto;
}

/* Limited Time Offer Section */
.limited-offer-section {
    padding: 40px 20px 0 20px;
    background-color: #ffffff;
}

.limited-offer-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: #1a1a1a;
    /* border-radius: 12px; */
    padding: 40px 30px;
    text-align: center;
    color: #ffffff;
}

.limited-offer-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 15px;
}

.limited-offer-headline {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.limited-offer-subtext {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.limited-offer-price {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1;
}

.limited-offer-btn {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 16px 32px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.limited-offer-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.limited-offer-features {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.limited-offer-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.limited-feature-icon {
    font-size: 24px;
    display: inline-flex;
    align-items: center;
}

.limited-feature-icon svg {
    display: block;
}

.limited-feature-text {
    font-size: 12px;
    color: #ffffff;
    opacity: 0.9;
}

/* Mobile First Base Styles */
@media (max-width: 768px) {
    /* Top Bar - Mobile */
    .top-bar {
        padding: 10px 0;
        font-size: 11px;
    }

    .top-bar-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .top-bar-item {
        margin-right: 10px;
        font-size: 10px;
    }

    .top-bar-item .icon {
        font-size: 12px;
    }

    /* Hide top-bar-right on mobile */
    .top-bar-right {
        display: none;
    }

    /* Header - Mobile */
    .main-header {
        padding: 12px 0;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand-logo {
        font-size: 18px;
        flex: 1;
        text-align: center;
        max-width: 250px;
    }

    /* Hide nav-menu on mobile */
    .nav-menu {
        display: none;
    }

    .nav-icons {
        gap: 12px;
    }

    .nav-icon {
        font-size: 18px;
    }

    /* Hero Section - Mobile */
    .hero-section {
        min-height: 60vh;
        padding: 20px 0;
    }

    .hero-background {
        background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    }

    .hero-product-image {
        max-width: 300px;
        max-height: 300px;
        opacity: 0.7;
    }

    .hero-overlay {
        padding: 30px 15px;
        /* background: rgba(0, 0, 0, 0.3); */
        border-radius: 0;
    }

    .hero-brand-name {
        font-size: 28px;
        margin-bottom: 10px;
        line-height: 1.2;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    }

    .hero-slogan {
        font-size: 13px;
        margin-bottom: 18px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    }

    .hero-price {
        font-size: 38px;
        margin-bottom: 28px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 10px;
        font-size: 12px;
        border-radius: 9999px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 25px;
    }

    .hero-feature-item {
        flex: 1;
        min-width: 80px;
    }

    .feature-icon {
        font-size: 20px;
    }

    .feature-text {
        font-size: 11px;
    }

    .hero-carousel-dots {
        gap: 8px;
        margin-top: 20px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    /* Limited Offer Card - Mobile */
    .limited-offer-section {
        padding: 30px 15px;
    }

    .limited-offer-card {
        padding: 30px 20px;
        /* border-radius: 10px; */
    }

    .limited-offer-label {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .limited-offer-headline {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .limited-offer-subtext {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .limited-offer-price {
        font-size: 42px;
        margin-bottom: 25px;
    }

    .limited-offer-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
        margin-bottom: 25px;
    }

    .limited-offer-features {
        flex-wrap: wrap;
        gap: 15px;
    }

    .limited-feature-icon {
        font-size: 20px;
    }

    .limited-feature-text {
        font-size: 10px;
    }

    /* Statistics - Mobile */
    .stats-section {
        padding: 50px 15px;
    }

    .stats-container {
        flex-direction: column;
        gap: 35px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 14px;
    }

    .stat-subtitle {
        font-size: 12px;
    }

    /* Features - Mobile */
    .features-section {
        padding: 60px 15px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-item {
        text-align: center;
        border-bottom: 1px solid rgba(225, 225, 225, 0.2);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    }

    .feature-number {
        font-size: 90px;
        /* text-align: center; */
    }

    .feature-icon-outline {
        font-size: 28px;
        /* text-align: center; */
    }

    .feature-title {
        font-size: 15px;
        /* text-align: center; */
    }

    .feature-description {
        font-size: 12px;
        /* text-align: center; */
    }

    /* Limited Offer - Mobile */
    .product-main-image-section {
        /* padding: 30px 15px; */
    }

    .product-main-image-display {
        /* max-height: 300px; */
    }

    /* Track Order - Mobile */
    .track-order-section {
        padding: 40px 15px;
    }

    .track-order-card {
        padding: 30px 20px;
    }

    .track-order-title {
        font-size: 24px;
    }

    /* Footer - Mobile */
    .main-footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-description {
        font-size: 12px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-newsletter {
        margin-bottom: 25px;
    }

    .footer-newsletter h5 {
        font-size: 12px;
    }

    .footer-newsletter p {
        font-size: 11px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .footer-security {
        justify-content: center;
        gap: 15px;
    }

    .security-item {
        font-size: 10px;
    }

    .footer-bottom-right {
        justify-content: center;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .hero-section {
        min-height: 80vh;
    }

    .limited-offer-card {
        max-width: 600px;
        padding: 50px 40px;
    }
}
