/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #e5e7eb;
}

.cookie-content h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-agree {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-manage {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* Header */
.header-top {
    background: #1f2937;
    color: white;
    padding: 10px 0;
    overflow: hidden;
}

.header-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
}

.feature img {
    width: 16px;
    height: 16px;
}

.navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 20px;
}

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

.nav-logo img {
    height: 32px;
}

.categories-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
    color: #374151;
}

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

.currency-selector, .language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #6b7280;
}

.flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.help-btn {
    background: #1f2937;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb-link:hover {
    color: #374151;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-card {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.product-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
}

.badge img {
    width: 16px;
    height: 16px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.info-item img {
    width: 16px;
    height: 16px;
}

.product-selection h3 {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 16px;
}

.product-variant h4 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.purchase-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.quantity-select {
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.buy-btn {
    background: #1f2937;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

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

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 24px;
    width: auto;
}

.more-methods {
    color: #6b7280;
    font-size: 14px;
}

.product-badges-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Content Sections */
.content-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

/* App Download */
.app-download {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    color: white;
}

.app-download img {
    width: 200px;
    height: auto;
}

.app-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    gap: 16px;
}

.app-buttons img {
    height: 48px;
    width: auto;
}

/* Reviews */
.reviews {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.reviews h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.rating {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    font-weight: 600;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
}

.stars {
    color: #fbbf24;
    margin-bottom: 8px;
}

.review p {
    margin-bottom: 8px;
    color: #374151;
}

.review span {
    font-size: 12px;
    color: #6b7280;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: none;
    height: 100%;
    position: relative;
}

.checkout-step {
    display: none;
    min-height: 100vh;
}

.checkout-step.active {
    display: block;
}

.checkout-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.checkout-logo {
    height: 32px;
}

.checkout-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: calc(100vh - 80px);
}

.checkout-form {
    padding: 40px;
    background: #f9fafb;
}

.checkout-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.checkout-form p {
    color: #6b7280;
    margin-bottom: 24px;
}

.checkout-form input,
.checkout-form select {
    width: 100%;
    padding: 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.checkout-form input:focus,
.checkout-form select:focus {
    outline: none;
    border-color: #3b82f6;
}

.phone-input-group {
    display: flex;
    gap: 12px;
}

.country-code {
    flex: 0 0 120px;
}

.continue-btn,
.complete-order-btn {
    width: 100%;
    background: #1f2937;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}

.continue-btn:hover,
.complete-order-btn:hover {
    background: #111827;
    transform: translateY(-1px);
}

.order-summary {
    background: white;
    padding: 40px;
    border-left: 1px solid #e5e7eb;
}

.order-summary h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.item-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qtelecom-icon {
    width: 30px;
    height: 30px;
    background: #f97316;
    border-radius: 50%;
    position: relative;
}

.qtelecom-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #1e40af;
    border-radius: 50%;
}

.item-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.item-details p {
    color: #6b7280;
    font-size: 14px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #6b7280;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #111827;
    font-size: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
}

.discount-toggle {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 14px;
    margin-top: 16px;
}

/* Payment Method Selector */
.payment-method-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.payment-method img {
    height: 20px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.security-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
}

.security-info img {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.security-info p {
    font-size: 14px;
    color: #374151;
    margin: 0;
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 80px 40px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.success-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.success-content p {
    color: #6b7280;
    margin-bottom: 16px;
}

.close-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-body {
        grid-template-columns: 1fr;
    }

    .order-summary {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }

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

    .app-download {
        flex-direction: column;
        text-align: center;
    }

    .review-list {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        height: auto;
        gap: 16px;
        padding: 16px 0;
    }

    .form-row {
        flex-direction: column;
    }

    .phone-input-group {
        flex-direction: column;
    }

    .country-code {
        flex: none;
    }
}