/* 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;
    line-height: 1.6;
    color: #333;
    background-color: #fff8f0;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8B4513;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Main content */
.main-content {
    flex: 1;
}

.hero {
    text-align: center;
}

/* Headlines */
.headline {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c1810;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Body copy */
.body-copy {
    margin-bottom: 40px;
}

.body-copy p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.problem {
    color: #555;
}

.agitation {
    color: #d73527;
    font-weight: 500;
}

.solution {
    color: #2c1810;
    font-weight: 600;
    margin-bottom: 30px !important;
}

/* Product teasers */
.product-teasers {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.teaser-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.teaser-image:hover {
    transform: scale(1.05);
}

/* Benefits */
.benefits {
    display: grid;
    gap: 25px;
    margin: 30px 0;
    text-align: left;
}

.benefit {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #ff6b35;
}

.benefit h3 {
    font-size: 1.3rem;
    color: #2c1810;
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #fff 0%, #fff8f0 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin: 40px 0;
    border: 3px solid #ff6b35;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #ffd700, #ff6b35, #ffd700);
    background-size: 400% 400%;
    border-radius: 18px;
    z-index: -1;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.spin-intro {
    text-align: center;
    margin-bottom: 25px;
}

.spin-intro h3 {
    font-size: 1.4rem;
    color: #2c1810;
    margin-bottom: 10px;
    font-weight: bold;
}

.spin-intro p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

#email {
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.3s ease;
}

#email:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, #ff6b35, #ffd700, #ff6b35);
    background-size: 200% 200%;
    color: white;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border: 3px solid #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
        transform: scale(1.02);
    }
}

.cta-button:hover {
    background: linear-gradient(135deg, #e55a2b, #ffed4e, #e55a2b);
    background-size: 200% 200%;
    animation: gradientSpin 1s linear infinite, pulseGlow 2s ease-in-out infinite;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

@keyframes gradientSpin {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

.privacy-note {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
}

/* Tablet styles */
@media (min-width: 768px) {
    .container {
        padding: 40px;
    }
    
    .headline {
        font-size: 2.8rem;
    }
    
    .benefits {
        grid-template-columns: 1fr 1fr;
    }
    
    .email-form {
        flex-direction: row;
        align-items: stretch;
    }
    
    #email {
        flex: 1;
    }
    
    .cta-button {
        flex-shrink: 0;
        min-width: 200px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .container {
        max-width: 800px;
        padding: 60px;
    }
    
    .headline {
        font-size: 3.2rem;
        margin-bottom: 40px;
    }
    
    .body-copy p {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 40px;
    }
}

/* Loading animation for form submission */
.cta-button.loading {
    background: #ccc;
    cursor: not-allowed;
    position: relative;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

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