@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --green-cta: #10b981; 
    --green-cta-hover: #059669;
    --text-blue: #3b82f6;
    --text-red: #ef4444;
    --pink-urgency: #ef4444; 
    --yellow-dashed: #facc15;
    --dark-box: #1e293b;
    --light-gray: #f1f5f9;
    --border-gray: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
p, span, div, h1, h2, h3, button { font-weight: 500; }

.container { width: 100%; max-width: 650px; margin: 0 auto; padding: 1.5rem 1.5rem; }
.text-center { text-align: center; }

/* Typography */
.text-blue { color: var(--text-blue); font-weight: 800; }
.text-green { color: var(--green-cta); font-weight: 800; }
.text-red { color: var(--text-red); font-weight: 800; }
.highlight-pink { color: var(--text-red); }

/* Screens */
.screen { display: none; opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; width: 100%; }
.screen.active { display: block; opacity: 1; transform: translateY(0); animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Header & Progress */
#quiz-header { width: 100%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0,0,0,0.04); padding: 1rem; }
.header-content { max-width: 650px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.back-btn { background: none; border: none; color: var(--text-muted); font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border-radius: 8px; transition: all 0.2s; font-weight: 600; }
.back-btn:hover { background: var(--light-gray); color: var(--text-main); }
.progress-container { width: 100%; height: 8px; background: var(--border-gray); border-radius: 12px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, #34d399, #059669); width: 0%; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 12px; }

/* Landing Page Specifics */
.pre-headline { font-size: 1.15rem; color: var(--text-main); margin-bottom: 0.5rem; font-weight: 800; }
.main-headline { font-size: 1.6rem; line-height: 1.35; margin-bottom: 1.5rem; color: var(--text-main); font-weight: 800; text-transform: uppercase; }
.hero-image-container { margin: 1.5rem 0 2rem; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px -10px rgba(0,0,0,0.15); border: 4px solid #fff; }
.hero-image { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 1/1; }

.subtitle.timer-text { color: var(--text-main); font-size: 1rem; margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 8px 20px; border-radius: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); font-weight: 700; }
.subtitle.timer-text i { color: var(--text-muted); }

/* Buttons */
.cta-button { 
    background: var(--green-cta); 
    color: #fff; 
    border: none;
    box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.5); 
    padding: 1.2rem 1.5rem; 
    width: 100%; 
    font-size: 1.05rem; 
    text-transform: uppercase; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    margin-top: 0.5rem; 
    letter-spacing: 0.5px; 
    font-weight: 800;
}
.cta-button:hover { 
    background: var(--green-cta-hover); 
    transform: translateY(-3px); 
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.6); 
}
.cta-button.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }

/* Quiz Elements */
.step-indicator { color: var(--text-blue); text-transform: uppercase; font-size: 0.95rem; margin-bottom: 0.5rem; letter-spacing: 1px; font-weight: 700; text-align: center; }
.question-text { font-size: 1.5rem; margin-bottom: 0.8rem; line-height: 1.4; font-weight: 800; text-align: center; }
.instruction { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; font-weight: 500; text-align: center; }
.options-container { display: flex; flex-direction: column; gap: 1rem; }
.option-btn { background: #fff; border: 2px solid var(--border-gray); border-radius: 16px; padding: 1.2rem 1.2rem; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all 0.2s ease; text-align: left; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); }
.option-btn:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08); border-color: var(--text-blue); }
.emoji { font-size: 1.8rem; background: var(--light-gray); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.option-text { font-size: 1.1rem; color: var(--text-main); line-height: 1.3; font-weight: 600; flex: 1; }

/* Loader & Analyzing */
.loader { border: 4px solid var(--border-gray); border-top: 4px solid var(--text-blue); border-radius: 50%; width: 60px; height: 60px; animation: spin 1s linear infinite; margin: 0 auto 2rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.analyzing-text { font-size: 1.6rem; margin-bottom: 0.5rem; font-weight: 800; }
.analyzing-sub { color: var(--text-muted); font-size: 1.1rem; font-weight: 500; }

/* Media Queries */
@media (min-width: 768px) { 
    .main-headline { font-size: 2.1rem; } 
    .pre-headline { font-size: 1.3rem; }
    .question-text { font-size: 1.8rem; } 
    .container { padding: 3rem 2rem; } 
    .hero-image { aspect-ratio: 16/9; }
}

/* Sales Page (Temp styles) */
.sales-page { padding-top: 0; }
.urgency-bar { background: var(--text-red); color: #fff; text-align: center; padding: 12px; font-size: 1.1rem; position: sticky; top: 0; z-index: 100; font-weight: 700; }
.mockup-container { margin-bottom: 2rem; padding: 0 1rem; }
.mockup-img { width: 100%; height: auto; border-radius: 20px; border: 2px solid var(--green-cta); box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.2); display: block; margin: 0 auto; }
.product-showcase { text-align: center; margin-bottom: 2.5rem; }
.product-title { font-size: 2rem; margin-bottom: 0.8rem; line-height: 1.2; font-weight: 800; }
.product-subtitle { color: var(--text-muted); font-size: 1.15rem; line-height: 1.5; font-weight: 500;}
.offer-container { margin: 2.5rem 0 3.5rem; }
.offer-box { background: #e0f2e9; border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.offer-banner { background: #0a0f1c; color: #fff; text-align: center; padding: 12px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 800; }
.offer-content { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.offer-left { text-align: left; }
.old-price { font-size: 1.4rem; color: #059669; margin-bottom: 0.5rem; font-weight: 800; text-decoration: none; }
.offer-text { font-size: 1.4rem; color: #059669; font-weight: 800; }
.offer-right { background: #ccebda; padding: 1.2rem 1.5rem; border-radius: 12px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.offer-right .discount-badge { color: #87948d; font-size: 1rem; font-weight: 700; margin-bottom: 5px; background: transparent; padding: 0; }
.price-value { font-size: 2.8rem; color: #059669; font-weight: 900; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.price-value .currency { font-size: 1.5rem; font-weight: 900; }
.guarantee-section { text-align: center; margin: 3rem 0; padding: 1.5rem 0; background: transparent; border: none; }
.guarantee-badge { width: 140px; margin: 0 auto 1rem; display: block; }
.guarantee-section h3 { font-size: 1.25rem; color: var(--text-main); margin-bottom: 0.3rem; font-weight: 800; text-transform: uppercase; }
.guarantee-section p { color: var(--text-main); font-size: 0.95rem; font-weight: 500; }
.carousel-section { margin: 3rem 0; overflow: hidden; position: relative; width: 100%; }
.carousel-wrapper { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
.carousel-track { display: flex; align-items: center; transition: transform 0.4s ease-in-out; }
.carousel-slide { flex: 0 0 75%; padding: 0 10px; opacity: 0.4; transition: opacity 0.4s, transform 0.4s; transform: scale(0.9); }
.carousel-slide.active { opacity: 1; transform: scale(1); }
.carousel-slide img { width: 100%; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: block; border: 3px solid #fff; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.25); cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--green-cta); transition: background 0.2s; }
.carousel-btn:active { background: #f0fdf4; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.testimonials-section { margin: 3rem 0 4rem; }
.testimonials-header { text-align: center; margin-bottom: 2.5rem; }
.testimonials-header h2 { font-size: 2rem; color: var(--text-main); line-height: 1.2; margin-bottom: 0.6rem; font-weight: 900; }
.neon-green { color: #10b981; font-weight: 900; text-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
.testimonials-header p { font-size: 1.15rem; color: #059669; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.testimonial { background: #f0fdf4; padding: 1.5rem; border-radius: 16px; margin-bottom: 1.5rem; border: 2px solid var(--green-cta); box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.15); }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; }
.testimonial-info { display: flex; flex-direction: column; }
.stars { font-size: 1rem; margin-bottom: 2px; letter-spacing: -2px; }
.author-name { font-weight: 800; font-size: 1.1rem; color: var(--text-main); line-height: 1.2; }
.author-loc { color: #9ca3af; font-size: 0.85rem; font-weight: 500; }
.review { font-size: 1.05rem; line-height: 1.5; color: var(--text-muted); font-weight: 500; }
.final-cta { margin-bottom: 4rem; }
