:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-primary: #1f2937;
    --text-secondary: #64748b;
    --text-muted: #9ca3af;
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
    --border-radius: 24px;
    --border-radius-sm: 16px;
    --transition: all 0.2s ease;
}

/* Performance optimizations */
* {
    will-change: auto;
}

.hero, .opt-in-section, .pricing, .features {
    will-change: transform, opacity;
}

.hero, .opt-in-section, .pricing, .features {
    transform: translate3d(0, 0, 0);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    padding: 3rem 0 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 2rem;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 a {
    color: white;
    text-decoration: none;
}

header h1 a:hover {
    text-decoration: underline;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Main content */
main {
    flex: 1;
    padding-bottom: 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
}

/* Opt-in section */
.opt-in-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}


.opt-in-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 600;
    text-align: center;
}

.opt-in-section p {
    color: #64748b;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.opt-in-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #374151;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.checkbox-group {
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
}

.checkbox-group a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-group a:hover {
    color: #5a67d8;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.disclaimer {
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.5;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Pricing section */
.pricing {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.pricing h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.popular {
    border-color: #667eea;
    transform: scale(1.02);
    background: #f8fafc;
}

.pricing-card.popular::before {
    opacity: 1;
}

.pricing-card.best-value {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.pricing-card.best-value .price,
.pricing-card.best-value .description,
.pricing-card.best-value .rate {
    color: white;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fbbf24;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
    letter-spacing: -0.01em;
}

.pricing-card.best-value h4 {
    color: white;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #667eea;
    letter-spacing: -0.02em;
}

.pricing-card.best-value .price {
    color: white;
}

.description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.pricing-card.best-value .description {
    color: rgba(255, 255, 255, 0.9);
}

.rate {
    font-size: 0.95rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 1rem;
}

.pricing-card.best-value .rate {
    color: rgba(255, 255, 255, 0.8);
}

.buy-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

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

.pricing-card.best-value .buy-btn {
    background: white;
    color: #667eea;
}

.pricing-card.best-value .buy-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-note {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 2rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

/* Features section */
.features {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out 0.45s both;
}

.features h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 600;
}

.feature p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

/* Legal content styling */
.legal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    color: #2c3e50;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #495057;
}

.legal-content section {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #667eea;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.thank-you-container h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.thank-you-container p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.thank-you-container .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thank-you-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #1f2937;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-radius: 32px 32px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #4b5563;
    text-decoration: none;
    margin: 0 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    background: #f1f5f9;
    border-color: #667eea;
    color: #667eea;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .opt-in-section,
    .pricing,
    .features,
    .legal-content {
        padding: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero,
    .opt-in-section,
    .pricing,
    .features,
    .legal-content {
        padding: 1rem;
    }
    
    .pricing h3 {
        font-size: 1.5rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-bottom: 0.5rem;
    }
}