:root {
    --bg-dark: #050505;
    --primary: #F90101;
    --primary-glow: rgba(249, 1, 1, 0.6);
    --secondary: #a30000;
    --text-light: #ffffff;
    --text-muted: #a0a0b0;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(249, 1, 1, 0.15);
    --success: #00ff88;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(249, 1, 1, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(163, 0, 0, 0.15) 0%, transparent 50%);
    animation: pulseBG 10s ease-in-out infinite alternate;
}

@keyframes pulseBG {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

#app {
    width: 100%;
    max-width: 480px; /* Mobile first */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

header {
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 5, 20, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-height: 80px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.brand-name {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px var(--primary-glow);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 10px;
    transition: width 0.4s ease;
}

#content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.step-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.step-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.step-card.exit {
    opacity: 0;
    transform: translateX(-50px);
}

.step-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(249, 1, 1, 0.2);
    border: 1px solid var(--card-border);
}

.step-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.step-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-light);
    padding: 20px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    position: relative;
}

.opt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 24px;
    flex-shrink: 0;
}

.opt-text {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.option-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 1, 1, 0.5);
    box-shadow: 0 5px 15px rgba(249, 1, 1, 0.1);
}

.option-btn:active {
    transform: scale(0.98);
}

.option-btn.selected {
    background: var(--card-hover);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.option-btn.selected::after {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    right: 20px;
}

.input-field {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-light);
    padding: 20px;
    border-radius: 15px;
    font-size: 24px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 30px;
    outline: none;
    text-align: center;
    font-family: var(--font-main);
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.cta-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 20px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px var(--primary-glow);
    font-family: var(--font-main);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px var(--primary-glow);
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Bars */
.analyzing-item {
    margin-bottom: 25px;
}

.analyzing-label {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.analyzing-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.analyzing-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 10px;
    transition: width 1s linear;
}

/* Offer Page Styles */
.offer-header {
    text-align: center;
    margin-bottom: 30px;
}
.offer-badge {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.plan-card:hover {
    border-color: rgba(249, 1, 1, 0.5);
}
.plan-card.selected {
    border-color: var(--primary);
    background: var(--card-hover);
    box-shadow: 0 0 20px var(--primary-glow);
}
.plan-card.popular {
    border-color: var(--secondary);
}
.plan-popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 10px;
}
.plan-name { font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.plan-prices { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 14px; }
.price-new { font-size: 24px; font-weight: 800; color: var(--primary); }
.price-daily { font-size: 14px; color: var(--success); font-weight: 600; }
.guarantee {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}
.guarantee span { color: var(--success); font-weight: 600; }

.summary-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
}
.summary-item:last-child { margin-bottom: 0; }
.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 800; color: var(--primary); }

.disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
}

/* Feedback Carousel */
.feedback-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.feedback-carousel::-webkit-scrollbar {
    display: none;
}
.feedback-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #ffffff;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feedback-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.swipe-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.swipe-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}
.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    align-self: flex-start;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    animation: fadeIn 1s ease-in-out;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}
.trust-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Promo Box */
.promo-box {
    margin-top: 15px;
    background: linear-gradient(135deg, rgba(249, 1, 1, 0.1), rgba(163, 0, 0, 0.05));
    border: 2px dashed var(--primary);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(249, 1, 1, 0.15);
}
.promo-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.promo-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}
.promo-highlight {
    color: var(--success);
    font-weight: 800;
}

/* Social Proof Popup */
.social-proof-popup {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translate(-50%, -150%);
    opacity: 0;
    background: rgba(10, 5, 20, 0.95);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}
.social-proof-popup.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
.social-proof-icon {
    font-size: 24px;
}
.social-proof-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: 600;
}
.social-proof-highlight {
    color: var(--success);
    font-weight: 800;
}
