/* ===================================
   FizzClean Presell - Design System
   Mobile-First | Premium Aesthetics
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #2c0d4c;
    --primary-light: #4a1a7a;
    --accent: #9b59b6;
    --accent-light: #c39bd3;
    --cta: #e74c3c;
    --cta-hover: #c0392b;
    --cta-gradient: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);

    --bg-light: #faf8fc;
    --bg-section: #f3eef8;
    --bg-card: #ffffff;

    --text-primary: #1a0a2e;
    --text-secondary: #5a4a6a;
    --text-muted: #8a7a9a;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-padding: 16px;
    --section-padding: 48px 0;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;

    --shadow-sm: 0 2px 8px rgba(44, 13, 76, 0.08);
    --shadow-md: 0 8px 24px rgba(44, 13, 76, 0.12);
    --shadow-lg: 0 16px 48px rgba(44, 13, 76, 0.16);
    --shadow-glow: 0 0 40px rgba(155, 89, 182, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    padding: 16px 0;
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(44, 13, 76, 0.05);
}

.logo {
    height: 32px;
    width: auto;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 24px 0 48px;
    text-align: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.headline {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 12px;
}

.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Image */
.hero-media {
    position: relative;
    margin-bottom: 24px;
}

.hero-image-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.before {
    color: var(--text-muted);
}

.arrow {
    color: var(--accent);
}

.after {
    color: var(--primary);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background: var(--cta-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.35);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(231, 76, 60, 0.45);
}

.cta-button.large {
    padding: 20px 32px;
    flex-direction: row;
    gap: 12px;
}

.cta-text {
    font-size: 1.1rem;
}

.cta-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Group */
.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
}

.offer-section .cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.offer-section .cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trust-item svg {
    color: var(--accent);
}

/* ===================================
   PROBLEM SECTION
   =================================== */
.problem-section {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.problem-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.problem-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.problem-text {
    padding: 20px;
}

.problem-text p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.problem-highlight {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(44, 13, 76, 0.05) 100%);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    font-weight: 500;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits-section {
    padding: var(--section-padding);
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-card {
    background: var(--bg-card);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(44, 13, 76, 0.05) 100%);
    border-radius: 50%;
    color: var(--accent);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===================================
   VIDEO SECTION
   =================================== */
.video-section {
    padding: var(--section-padding);
    background: var(--bg-section);
    text-align: center;
}

.video-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: var(--primary);
}

.video-wrapper video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(44, 13, 76, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(44, 13, 76, 0.4);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.play-button svg {
    color: var(--primary);
    margin-left: 4px;
}

.video-play-overlay:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.play-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===================================
   TESTIMONIAL SECTION
   =================================== */
.testimonial-section {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.testimonial-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 24px;
}

.stars {
    color: #f1c40f;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

blockquote {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===================================
   OFFER SECTION
   =================================== */
.offer-section {
    padding: 56px 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

.offer-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 24px;
}

/* Offer Tiers */
.offer-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.offer-tier {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.offer-tier.popular {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.offer-tier.best {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.3) 0%, rgba(192, 57, 43, 0.3) 100%);
    border-color: rgba(231, 76, 60, 0.5);
}

.tier-qty {
    font-weight: 700;
    font-size: 1rem;
}

.tier-discount {
    font-size: 0.9rem;
    opacity: 0.9;
}

.popular-badge,
.best-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.best-badge {
    background: var(--cta);
}

.offer-section .cta-button.primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.offer-section .cta-button.primary:hover {
    background: var(--bg-light);
}

.guarantee-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-top: 16px;
    opacity: 0.9;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 40px 0;
    background: var(--bg-light);
    text-align: center;
}

.footer-logo {
    height: 28px;
    margin: 0 auto 20px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 300px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===================================
   DESKTOP BREAKPOINTS
   =================================== */
@media (min-width: 768px) {
    :root {
        --container-padding: 24px;
        --section-padding: 72px 0;
    }

    .container {
        max-width: 720px;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.15rem;
        max-width: 480px;
    }

    .hero-image-wrapper {
        aspect-ratio: 1 / 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid {
        flex-direction: row;
        gap: 20px;
    }

    .benefit-card {
        flex: 1;
    }

    .offer-tiers {
        flex-direction: row;
        justify-content: center;
    }

    .offer-tier {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 24px;
        min-width: 160px;
    }

    .stats-row {
        gap: 64px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .headline {
        font-size: 3rem;
    }

    .hero-image-wrapper {
        max-width: 480px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .trust-badge,
.hero .headline,
.hero .subheadline,
.hero-media,
.cta-button {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero .headline {
    animation-delay: 0.1s;
}

.hero .subheadline {
    animation-delay: 0.2s;
}

.hero-media {
    animation-delay: 0.3s;
}

.hero .cta-button {
    animation-delay: 0.4s;
}