/* ============================================
   BOOM Landing Page - Premium Mobile First
   Primary: #9B59B6 (Violet)
   ============================================ */

/* --- VARIABLES --- */
:root {
    --boom: #8E44AD;
    --boom-dark: #7D3C98;
    --boom-light: #9B59B6;
    --boom-glow: rgba(142, 68, 173, 0.25);
    --boom-gradient: linear-gradient(135deg, #8E44AD 0%, #9B59B6 100%);
    --boom-gradient-dark: linear-gradient(135deg, #7D3C98 0%, #8E44AD 100%);
    --text-dark: #1a1a2e;
    --text-body: #555;
    --text-muted: #888;
    --bg-light: #F8F7FC;
    --card-bg: #FFFFFF;
    --border: #ede8f3;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);
    --shadow-md: 0 8px 32px rgba(155, 89, 182, .08);
    --shadow-lg: 0 20px 60px rgba(155, 89, 182, .12);
}

/* --- BASE --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- ALTERNATING SECTION BACKGROUNDS --- */
.boom-section-alt {
    background: var(--bg-light);
}

.boom-section-dark {
    background: linear-gradient(180deg, #f3eef8 0%, #ece4f3 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--boom-glow);
    color: var(--boom);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--boom-gradient);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.5rem;
    }
}

/* ========================
   NAVBAR
   ======================== */
.boom-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: .6rem 0;
    transition: box-shadow .3s;
}

.boom-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.boom-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem .75rem;
    border-radius: 8px;
    transition: color .25s, background .25s;
}

.boom-navbar .nav-link:hover,
.boom-navbar .nav-link:focus {
    color: var(--boom);
    background: rgba(155, 89, 182, 0.06);
}

/* ========================
   BUTTONS (lié au thème)
   ======================== */
.btn-boom {
    background: var(--boom-gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: .65rem 1.5rem;
    transition: transform .2s, box-shadow .3s, opacity .2s;
    box-shadow: 0 4px 16px var(--boom-glow);
}

.btn-boom:hover,
.btn-boom:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--boom-glow);
    opacity: .92;
}

.btn-boom:active {
    transform: translateY(0);
}

.text-boom {
    color: var(--boom) !important;
}

.hover-primary:hover {
    color: var(--boom) !important;
}

/* ========================
   HERO
   ======================== */
.boom-hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

@media (min-width: 992px) {
    .boom-hero {
        padding: 7rem 0 4rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.gradient-text {
    background: var(--boom-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero-sub {
        font-size: 1.125rem;
        margin: 0;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.phone-mockup img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    z-index: 1;
}

.floating-card img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card.c1 {
    width: 150px;
    top: -15px;
    left: -30px;
    animation: heroFloat 6s ease-in-out infinite;
}

.floating-card.c2 {
    width: 130px;
    bottom: -15px;
    right: -25px;
    animation: heroFloat 6s ease-in-out infinite 2s;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ========================
   CAROUSEL (conservé tel quel, mobile-first)
   ======================== */
.how-it-works {
    background: var(--bg-light);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .slide-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
        text-align: left;
    }
}

.slide-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screen {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .app-screen {
        max-width: 220px;
    }
}

.slide-text {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.step-badge {
    display: inline-block;
    padding: .35rem .85rem;
    background: rgba(155, 89, 182, 0.12);
    color: var(--boom-dark);
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    width: fit-content;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .step-badge {
        margin: 0;
    }
}

.slide-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .slide-text h3 {
        font-size: 1.75rem;
    }
}

.slide-text p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.video-slide .slide-content {
    grid-template-columns: 1fr;
}

.video-placeholder {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.demo-video {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
}

.control-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--boom);
    background: white;
    color: var(--boom);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--boom);
    color: white;
    transform: scale(1.08);
}

.carousel-dots {
    display: flex;
    gap: .5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all .3s;
}

.dot.active {
    background: var(--boom);
    width: 28px;
    border-radius: 5px;
}

/* ========================
   WHY BOOM CARDS
   ======================== */
.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--boom-light);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--boom-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px var(--boom-glow);
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.why-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ========================
   STATS
   ======================== */
.boom-stats {
    background: var(--boom-gradient-dark);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.75rem;
    }
}

.stat-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: .25rem;
}

/* ========================
   WAITLIST
   ======================== */
.waitlist-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .waitlist-card {
        padding: 3rem 2.5rem;
    }
}

/* ========================
   FEEDBACK
   ======================== */
.feedback-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .feedback-card {
        padding: 2.5rem;
    }
}

/* ========================
   FORMS (lié au thème)
   ======================== */
.boom-input {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: .75rem 1rem;
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .25s, box-shadow .25s;
}

.boom-input:focus {
    border-color: var(--boom);
    box-shadow: 0 0 0 4px rgba(155, 89, 182, 0.1);
    outline: none;
}

.form-status {
    padding: .75rem;
    border-radius: 8px;
    font-size: .85rem;
    text-align: center;
}

.form-status.loading {
    background: var(--bg-light);
    color: var(--text-dark);
}

.form-status.success {
    background: #d4edda;
    color: #155724;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
}

/* ========================
   FINAL CTA
   ======================== */
.boom-final-cta {
    background: var(--boom-gradient);
    position: relative;
    overflow: hidden;
}

.boom-final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================
   FOOTER
   ======================== */
.boom-footer {
    background: var(--text-dark);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 32px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

.footer-motto {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 260px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.925rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--boom-light);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--boom);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--boom-glow);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================
   SCROLL REVEAL
   ======================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   BADGE BOOM
   ======================== */
.boom-badge {
    background: rgba(155, 89, 182, 0.1);
    color: var(--boom);
    font-weight: 600;
    font-size: .85rem;
    padding: .45rem 1rem;
    border-radius: 50px;
}

/* ========================
   RESPONSIVE FINE-TUNING
   ======================== */
@media (max-width: 575px) {
    .boom-hero {
        padding-top: 5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: .9rem;
    }

    .btn-boom.btn-lg {
        padding: .75rem 1.25rem;
        font-size: .9rem;
    }

    .why-card {
        padding: 1.5rem 1.25rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: .7rem;
    }
}

/* Hide default Bootstrap toggler border */
.navbar-toggler:focus {
    box-shadow: none;
}

/* ========================
   SOCIAL CTA
   ======================== */
.social-cta {
    background: var(--bg-light);
    padding: 3rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.social-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.social-cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-btn.tiktok {
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.tiktok:hover {
    background: #111;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
    background: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

.social-btn.facebook:hover {
    background: #166fe5;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-btn.whatsapp {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.social-btn.whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}