:root {
    --accent: #0ea5e9;
    /* Sky 500 */
    --accent-hover: #0284c7;
    /* Sky 600 */
    --bg: #0B0C15;
    --panel: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    /* slate-400 */
    --silver-metallic: linear-gradient(135deg, #f8fafc 0%, #94a3b8 50%, #f8fafc 100%);
}

.scroll-smooth {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-secondary);
}

.text-glow {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.bg-grid-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
}

/* ---- FLUX KINETIC TYPOGRAPHY ---- */
.heading-display {
    font-family: 'Cinzel', serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 500;
    tracking-tighter: -0.05em;
    line-height: 0.9;
    background: var(--silver-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-section {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    background: var(--silver-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ---- SECTION ARCHITECTURE ---- */
.sec-dark {
    background: var(--bg);
    position: relative;
}

.sec-mid {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.sec-light {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border);
}

.card-clean {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-clean:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
}

/* ---- INTERACTIVE COMPONENTS ---- */
.btn-flux {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1.25rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    color: white;
}

.btn-flux:hover {
    background: white;
    color: black;
    border-color: white;
}

.btn-cta-flux {
    background: linear-gradient(135deg, #1a3a2a 0%, #2d6b4a 25%, #4a9e6e 50%, #2d6b4a 75%, #1a3a2a 100%);
    background-size: 200% 200%;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px -10px rgba(45, 107, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(74, 158, 110, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-cta-flux:hover {
    background-position: 100% 100%;
    box-shadow: 0 20px 40px -10px rgba(45, 107, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(74, 158, 110, 0.5);
}

.step-card {
    border-left: 2px solid var(--border);
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-left-color: var(--accent);
    background: rgba(249, 115, 22, 0.02);
}

.carousel-card {
    border: 1px solid var(--border) !important;
    background: rgba(255, 255, 255, 0.01) !important;
}

/* FAQ */
details.card-clean>summary {
    list-style: none;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 500;
}

details.card-clean>div {
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.text-accent {
    color: var(--accent);
}

.bg-accent {
    background-color: var(--accent);
}

/* Floating WhatsApp Specifics */
.logo-mask-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
    border: 2px solid #25D366;
    padding: 4px;
}

/* Floating WhatsApp with Balloon */
#whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-balloon {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.whatsapp-balloon.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-balloon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 22px;
    width: 15px;
    height: 15px;
    background: white;
    transform: rotate(45deg);
}

.logo-mask-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: #0B0C15; /* Solid background behind logo */
    flex-shrink: 0;
    border: 2px solid #25D366;
    padding: 4px; /* Breathing room for logo */
}

.logo-mask-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.balloon-msg {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.balloon-msg b {
    display: block;
    color: var(--dark);
    font-size: 12px;
    margin-bottom: 2px;
}

/* Quiz Specific Styles */
@keyframes quizFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes quizSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

#quiz-modal:not(.hidden) {
    display: flex !important
}

.quiz-q-block {
    animation: quizSlideIn .4s ease both
}

.quiz-answer-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-size: 15px;
    color: #cbd5e1;
    transition: all .2s;
    text-align: left;
    font-family: inherit
}

.quiz-answer-btn:hover {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    color: #fff
}

.quiz-answer-btn.selected-yes {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.2);
    color: #fff;
    font-weight: 600
}

.quiz-answer-btn.selected-no {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600
}

.quiz-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    font-family: inherit;
    margin-top: 24px;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3)
}

.quiz-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4)
}

.quiz-next-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.quiz-result-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    font-family: inherit;
    text-decoration: none
}

.quiz-result-btn.green {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35)
}

.quiz-result-btn.green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45)
}

.quiz-result-btn.ghost {
    background: transparent;
    color: #94a3b8;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    padding: 12px 28px;
    font-weight: 500;
    font-size: 14px
}

.quiz-result-btn.ghost:hover {
    border-color: #fff;
    color: #fff
}

@media (max-width: 640px) {
    .btn-cta-flux, .btn-flux {
        white-space: nowrap !important;
        letter-spacing: 0.1em !important;
        padding: 1.1rem 1.5rem !important;
        font-size: 0.65rem !important;
    }
}
