:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #00b4d8;
    --accent-glow: #0077b6;
    --cta-color: #e63946;
    --cta-hover: #d62828;
    --text-main: #e0e1dd;
    --text-muted: #778da9;
    --glass-bg: rgba(27, 38, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --live-alert-bg: linear-gradient(90deg, #d00000, #ffba08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Wrapper for sticky Nav handling if needed */
.wrapper {
    overflow: hidden;
}

/* Live Alert Bar */
.live-alert-bar {
    background: var(--live-alert-bg);
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pulse-red {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    margin-right: 8px;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from {
        opacity: 0.5;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Nav Adjustment */
.glass-nav {
    position: fixed;
    top: 35px;
    /* Pushed down by alert bar */
    width: 100%;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.text-highlight {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-glow));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.6);
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Renewed */
.hero {
    padding-top: 180px;
    /* More space for nav */
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../assets/hero-bg.png') no-repeat center center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 27, 42, 0.7) 0%, rgba(13, 27, 42, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(to right, #4cc9f0, #4895ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    /* Break line visually if needed */
}

.hero-sub {
    font-size: 1.5rem;
    color: #e0e1dd;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.hero-sub strong {
    color: white;
    font-weight: 700;
}

.badge-text {
    background: var(--cta-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.scarcity-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ffd60a;
    font-weight: 600;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Step Cards & Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.step-card {
    text-align: left;
    transition: transform 0.3s;
    padding: 30px;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.step-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* Quiz Styling */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.quiz-header {
    margin-bottom: 30px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-color);
    width: 12.5%;
    transition: width 0.4s ease;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

.input-group {
    display: flex;
    gap: 10px;
}

.text-input {
    flex: 1;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: border 0.3s;
}

.text-input:focus {
    border-color: var(--accent-color);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.options-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.option-card,
.option-card-small {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    user-select: none;
}

.option-card:hover,
.option-card-small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.option-card input,
.option-card-small input,
.option-row input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    inset: 0;
}

.opt-icon {
    font-size: 2rem;
}

/* Selected State */
.option-card.selected,
.option-row.selected,
.option-card-small.selected {
    background: rgba(0, 180, 216, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-row {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.option-row:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Analysis & Result Logic (Previous CSS mostly reused, adding just specific tweaks) */
.loader-container {
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.analysis-steps {
    text-align: left;
    margin-top: 20px;
}

.analysis-steps li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.analysis-steps li.active {
    opacity: 1;
    color: var(--accent-color);
}

.analysis-steps li.done {
    opacity: 1;
    color: #4cc9f0;
}

.offer-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.offer-main {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.mockup-img {
    width: 100%;
    max-width: 350px;
    transform: rotate(-5deg);
    transition: transform 0.5s;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.price-box {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    display: inline-block;
    border: 1px solid var(--glass-border);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    display: block;
    font-size: 0.9rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.currency {
    font-size: 1rem;
    font-weight: 400;
    margin-right: 5px;
}

.glowing-border {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.2);
}

.pulse-btn {
    animation: pulse-shadow 2s infinite;
}

/* Pain Points & Grid 2 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pain-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.icon-red {
    color: var(--cta-color);
}

.stat-box {
    text-align: center;
    padding: 40px;
}

.stat-number {
    display: block;
    font-size: 5rem;
    font-weight: 700;
    color: var(--cta-color);
    line-height: 1;
}

.stat-desc {
    display: block;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-nav {
        top: 60px;
        /* Alert bar might be 2 lines on mobile */
        padding: 10px 0;
    }

    .hero {
        padding-top: 160px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .grid-2,
    .offer-main {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .pain-visual {
        display: none;
    }

    .mockup-img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    .offer-main {
        text-align: center;
    }

    .live-alert-bar {
        padding: 12px 10px;
        font-size: 0.8rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 180, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

/* Animate Utility */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="slide-left"] {
    transform: translateX(-50px);
}

[data-animate="slide-right"] {
    transform: translateX(50px);
}

[data-animate="slide-left"].visible,
[data-animate="slide-right"].visible {
    transform: translateX(0);
}