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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Single Product Display */
.single-product {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.product-highlight {
    background: white;
    border: 3px solid #2563eb;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    position: relative;
}

.tier-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.tier-card.popular {
    border-color: #2563eb;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.tier-card.selected {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.15);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tier-card h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.tier-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.tier-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.tier-button {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e1e8ed;
    background: white;
    color: #475569;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tier-button:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.tier-button.primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.tier-button.primary:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tier-card.popular {
        transform: none;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #2563eb;
}

.cta-button-small {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button-small:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: #374151;
}

.benefit-icon {
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-button-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.cta-subtext {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.trust-indicators {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 400px;
}

.hero-image {
    position: relative;
}

.product-image {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.social-proof-text {
    text-align: center;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: white;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Product Showcase */
.product-showcase {
    padding: 6rem 0;
    background: #f8fafc;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-4px);
}

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

.product-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #1e293b;
    font-size: 1.2rem;
}

.product-item p {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #374151;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.faq-question {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.faq-answer {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Checkout Section */
.checkout {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.checkout-summary {
    padding: 2rem;
}

.checkout-summary h2 {
    color: white;
    margin-bottom: 2rem;
}

.product-summary {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.summary-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-details h3 {
    color: white;
    margin-bottom: 1rem;
}

.summary-details ul {
    list-style: none;
    color: #cbd5e1;
}

.summary-details li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.summary-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.pricing {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.price-line.total {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.free {
    color: #10b981;
    font-weight: 600;
}

.guarantees {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guarantee-item {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.checkout-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    color: #374151;
}

.payment-form h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-form input,
.payment-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.payment-form input:focus,
.payment-form select:focus {
    outline: none;
    border-color: #2563eb;
}

#stripe-card-element {
    background: white;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.checkout-button {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.checkout-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

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

.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.hidden {
    display: none;
}

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

.payment-errors {
    color: #ef4444;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

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

.footer-section a:hover {
    color: #10b981;
}

.trust-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.disclaimer {
    color: #94a3b8;
    font-size: 0.8rem;
    font-style: italic;
}

/* Exit Intent Modal */
.exit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.exit-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
}

.exit-modal-body h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.exit-modal-body p {
    color: #64748b;
    margin-bottom: 2rem;
}

.exit-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.exit-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.exit-submit {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.exit-disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-benefits {
        align-items: center;
    }
    
    .features-grid,
    .product-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .product-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .exit-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features,
    .testimonials,
    .faq,
    .product-showcase {
        padding: 4rem 0;
    }
    
    .checkout {
        padding: 4rem 0;
    }
    
    .checkout-form {
        padding: 1.5rem;
    }
}

/* Performance Optimizations */
.product-image,
.product-item-image,
.summary-image {
    will-change: transform;
}

.feature-card,
.product-item,
.testimonial-card {
    contain: layout style paint;
}

/* Print Styles */
@media print {
    .header,
    .checkout,
    .exit-modal {
        display: none;
    }
    
    .hero,
    .features,
    .testimonials {
        break-inside: avoid;
    }
}

/* Single Product Styling */
.product-highlight::before {
    content: '✨ Launch Special';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-highlight h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.price-display {
    font-size: 4rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 15px;
    line-height: 1;
}

.product-details {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}


/* Product Item Images */
.product-item-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}
