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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Mobile Status Bar */
.status-bar {
    background: #1a1a1a;
    color: white;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time {
    font-weight: 600;
}

/* Browser Address Bar */
.address-bar {
    background: #2a2a2a;
    padding: 8px 16px;
}

.browser-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
}

.platform {
    font-weight: 600;
}

.close-icon, .refresh-icon, .menu {
    color: #ccc;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 16px 100px 16px;
}

/* Hero Section */
.hero-section {
    padding: 24px 0;
    text-align: left;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-badge {
    background: #8B5CF6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-description {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

/* Products Section */
.products-section {
    margin-bottom: 32px;
}

.product-card {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #8B5CF6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 16px;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.promo-price {
    font-size: 20px;
    font-weight: 700;
    color: #4ECDC4;
}

.buy-button {
    width: 100%;
    padding: 14px 20px;
    background: #8B5CF6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-button:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Video Testimonials */
.video-testimonials {
    margin-bottom: 32px;
}

.video-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-carousel::-webkit-scrollbar {
    display: none;
}

.video-item {
    flex: 0 0 200px;
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 300px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 12px;
    text-align: center;
}

.video-info h4 {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.video-info p {
    font-size: 10px;
    color: #cccccc;
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.testimonial-card {
    flex: 0 0 300px;
    background: #2a2a2a;
    border-radius: 16px;
    padding: 20px;
}

.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    color: #FFD700;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.author-title {
    font-size: 12px;
    color: #cccccc;
}

.testimonial-quote {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.5;
    font-style: italic;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    gap: 16px;
}

.benefit-item {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #333333;
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 24px;
    background: #8B5CF6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 32px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #333333;
}

.faq-arrow {
    color: #8B5CF6;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
}

/* Course Details */
.course-details {
    margin-bottom: 32px;
}

.course-hero {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D46C4 100%);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.course-price-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #4ECDC4;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.course-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 500;
}

.course-description {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    line-height: 1.6;
}

.course-cta {
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-top: 16px;
}

/* What You Get */
.what-you-get {
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #ffffff;
}

.check-icon {
    color: #4ECDC4;
    font-size: 18px;
    font-weight: 600;
    background: rgba(78, 205, 196, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Bonus Products */
.bonus-products {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-item {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.bonus-image {
    flex-shrink: 0;
}

.bonus-image img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.bonus-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.bonus-content p {
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.4;
}

.bonus-price {
    background: #4ECDC4;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* Modules Section */
.modules-section {
    margin-bottom: 32px;
}

.modules-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-item {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.module-header {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.module-header:hover {
    background: #333333;
}

.module-arrow {
    color: #8B5CF6;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.module-item.active .module-arrow {
    transform: rotate(180deg);
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.module-item.active .module-content {
    max-height: 400px;
}

.lesson-item {
    padding: 8px 20px;
    color: #cccccc;
    font-size: 12px;
    border-top: 1px solid #333333;
}

.lesson-item:last-child {
    padding-bottom: 16px;
}

/* Final CTA */
.final-cta {
    margin-bottom: 32px;
}

.cta-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.package-selection {
    margin-bottom: 24px;
}

.package-item {
    background: #2a2a2a;
    border: 2px solid #8B5CF6;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.package-radio {
    position: relative;
}

.package-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #8B5CF6;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.package-radio input[type="radio"]:checked {
    background: #8B5CF6;
}

.package-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.package-image img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.package-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.package-price {
    font-size: 16px;
    font-weight: 700;
    color: #4ECDC4;
    margin-bottom: 4px;
}

.package-detail-link {
    color: #8B5CF6;
    font-size: 12px;
    text-decoration: none;
}

.package-detail-link:hover {
    text-decoration: underline;
}

.checkout-button {
    width: 100%;
    padding: 16px 24px;
    background: #8B5CF6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Footer */
.footer {
    margin-bottom: 20px;
    text-align: center;
}

.footer-content p {
    font-size: 12px;
    color: #666;
}

.scalev-logo {
    color: #8B5CF6;
    font-weight: 600;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 1001;
}

.nav-icon {
    color: white;
    font-size: 20px;
}

/* Checkout Page Specific Styles */
.header {
    background: white;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0 -16px 16px -16px;
    padding-left: 16px;
    padding-right: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #333;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: #f0f0f0;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.header-spacer {
    width: 40px;
}

/* Card Styles for Checkout */
.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Section Titles for Checkout */
.card .section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* Product Section for Checkout */
.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-item .product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-quantity {
    font-size: 14px;
    color: #666;
}

.product-item .product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    font-weight: 600;
}

.info-icon {
    font-size: 12px;
    opacity: 0.6;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: #333;
}

.form-input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Payment Detail */
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.payment-label {
    font-size: 14px;
    color: #666;
}

.payment-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.payment-value.discount {
    color: #27ae60;
}

.payment-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 16px 0;
}

.total-row {
    margin-bottom: 0;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.total-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Voucher Button */
.voucher-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid #4ecdc4;
    border-radius: 8px;
    background: white;
    color: #4ecdc4;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.voucher-btn:hover {
    background: #4ecdc4;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.voucher-icon {
    font-size: 18px;
}

/* Payment Method */
.payment-method-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-method-btn:hover {
    border-color: #4ecdc4;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.1);
}

.payment-method-icon {
    color: #4ecdc4;
}

.payment-method-text {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.payment-method-arrow {
    color: #4ecdc4;
    font-size: 20px;
    font-weight: 600;
}

/* Secure Payment */
.secure-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fffe;
    border-radius: 8px;
    border: 1px solid #e6f7f6;
}

.secure-icon {
    font-size: 24px;
    color: #4ecdc4;
}

.secure-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.secure-subtitle {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

/* Checkbox Styles */
.terms-section {
    margin-bottom: 20px;
}

.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #4ecdc4;
    border-radius: 4px;
    background: #4ecdc4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}

.checkbox:not(:checked) + .checkmark {
    background: white;
    color: transparent;
}

.checkbox-text {
    color: #666;
}

.terms-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Buy Button */
.buy-button-container {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 16px;
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.buy-button-container .buy-button {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    padding: 16px 24px;
    background: #4ecdc4;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.buy-button-container .buy-button:hover {
    background: #45b7aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.buy-button-container .buy-button:active {
    transform: translateY(0);
}

/* Bottom Spacer */
.bottom-spacer {
    height: 80px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
        padding: 0 24px 100px 24px;
    }
    
    .card {
        padding: 24px;
    }
    
    .buy-button-container {
        padding: 20px;
    }
    
    .status-bar,
    .address-bar,
    .mobile-nav {
        display: none;
    }
    
    .header {
        margin: 20px -24px 20px -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body {
        background-color: #1a1a1a;
    }

    .container {
        background-color: #1a1a1a;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.testimonial-card,
.benefit-item,
.faq-item,
.module-item {
    animation: fadeIn 0.3s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

/* Focus Styles for Accessibility */
button:focus,
input:focus,
.checkbox-label:focus {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #8B5CF6;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Status Bar */
.status-bar {
    background: #1a1a1a;
    color: white;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time {
    font-weight: 600;
}

/* Browser Address Bar */
.address-bar {
    background: #2a2a2a;
    padding: 8px 16px;
}

.browser-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.url-bar {
    flex: 1;
    background: #404040;
    border-radius: 20px;
    padding: 8px 16px;
    color: #ccc;
    font-size: 14px;
}

.home-icon, .add-tab, .tab-count, .menu {
    color: #ccc;
    font-size: 16px;
}

.tab-count {
    background: #666;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
}

/* Container */
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 16px 100px 16px;
}

/* Header */
.header {
    background: white;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0 -16px 16px -16px;
    padding-left: 16px;
    padding-right: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #333;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: #f0f0f0;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.header-spacer {
    width: 40px;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Section Titles */
.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* Product Section */
.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-quantity {
    font-size: 14px;
    color: #666;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    font-weight: 600;
}

.info-icon {
    font-size: 12px;
    opacity: 0.6;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Payment Detail */
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.payment-label {
    font-size: 14px;
    color: #666;
}

.payment-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.payment-value.discount {
    color: #27ae60;
}

.payment-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 16px 0;
}

.total-row {
    margin-bottom: 0;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.total-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Voucher Button */
.voucher-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid #4ecdc4;
    border-radius: 8px;
    background: white;
    color: #4ecdc4;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.voucher-btn:hover {
    background: #4ecdc4;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.voucher-icon {
    font-size: 18px;
}

/* Payment Method */
.payment-method-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-method-btn:hover {
    border-color: #4ecdc4;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.1);
}

.payment-method-icon {
    color: #4ecdc4;
}

.payment-method-text {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.payment-method-arrow {
    color: #4ecdc4;
    font-size: 20px;
    font-weight: 600;
}

/* Secure Payment */
.secure-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fffe;
    border-radius: 8px;
    border: 1px solid #e6f7f6;
}

.secure-icon {
    font-size: 24px;
    color: #4ecdc4;
}

.secure-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.secure-subtitle {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

/* Checkbox Styles */
.terms-section {
    margin-bottom: 20px;
}

.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #4ecdc4;
    border-radius: 4px;
    background: #4ecdc4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}

.checkbox:not(:checked) + .checkmark {
    background: white;
    color: transparent;
}

.checkbox-text {
    color: #666;
}

.terms-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Buy Button */
.buy-button-container {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 16px;
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.buy-button {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    padding: 16px 24px;
    background: #4ecdc4;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.buy-button:hover {
    background: #45b7aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.buy-button:active {
    transform: translateY(0);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 1001;
}

.nav-icon {
    color: white;
    font-size: 20px;
}

/* Bottom Spacer */
.bottom-spacer {
    height: 80px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
        padding: 0 24px 100px 24px;
    }
    
    .card {
        padding: 24px;
    }
    
    .buy-button-container {
        padding: 20px;
    }
    
    .status-bar,
    .address-bar,
    .mobile-nav {
        display: none;
    }
    
    .header {
        margin: 20px -24px 20px -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

/* Focus Styles for Accessibility */
button:focus,
input:focus,
.checkbox-label:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #4ecdc4;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

