/* ==========================================================================
   BANKBUGS|FX COMPONENT: THE HIGH-STATUS HERO COMPONENT
   ========================================================================== */

.baseline-onboarding-hero {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Dynamic vertical display block height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px 0;
    text-align: center;
}

/* Core Structural Alignment Box */
.structural-center-box {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Premium Gold Audience Hook Eyebrow */
.hero-tagline-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Core Value Headline Proposition styling */
.hero-headline-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

/* Contextual Subheadline Bridge Paragraph */
.hero-subheadline-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px auto;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

/* Conversion Trigger Control Panel Frame */
.hero-action-control-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-cta-vertical-group {
    display: block;
    width: auto;
}

/* Script-Driven Interactive Primary Button */
.hero-cta.scroll-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background-color: var(--accent-color) !important; /* Forces solid gold fill */
    color: #000000 !important;                        /* High contrast dark text */
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(226, 177, 60, 0.2);
}

/* Premium Hover Glow States */
.hero-cta.scroll-cta-btn:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226, 177, 60, 0.35);
}

.hero-cta.scroll-cta-btn:active {
    transform: translateY(0);
}

/* Friction Minimizer Supporting Meta Note styling */
.hero-supporting-meta-text {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.5;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* ==========================================================================
   MICRO-ENGINE ENTRANCE ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   CROSS-PLATFORM MEDIA SCALING
   ========================================================================== */

/* 📑 TABLET RENDERING BREAKPOINT */
@media (max-width: 1024px) {
    .hero-headline-title {
        font-size: 42px;
    }
}

/* 📱 SMARTPHONE BREAKPOINT (Fluid scaling layer for mobile viewport boundaries) */
@media (max-width: 768px) {
    .baseline-onboarding-hero {
        min-height: auto;
        padding: 60px 0 40px 0;
    }
    .structural-center-box {
        padding: 0 16px;
    }
    .hero-tagline-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
        margin-bottom: 16px;
    }
    .hero-headline-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    .hero-subheadline-desc {
        font-size: 14px;
        margin-bottom: 32px;
    }
    .hero-cta.scroll-cta-btn {
        width: 100%; /* Spans full width on small screens to expand thumb click zones */
        padding: 14px 28px;
        font-size: 14px;
    }
    .hero-supporting-meta-text {
        font-size: 11px;
        padding: 0 8px;
    }
}


/* ==========================================================================
   UPDATED HERO CTA ACTION BOX: ALL GOLD BUTTON ENGINE
   ========================================================================== */

.hero-action-control-box {
    width: 100%;
    max-width: 820px; /* Expanded footprint to give the gold secondary actions optimal tracking room */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

/* Prompt Text Style Styling */
.hero-cta-prompt-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hero-cta-primary-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

/* 🌟 UNIFIED GOLD ACTION BUTTON BASE CLASS */
.btn-hero-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    padding: 14px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background-color: var(--accent-color) !important; /* Force solid gold fill layout */
    color: #000000 !important;                        /* Pure high-contrast dark text */
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(226, 177, 60, 0.15);
    white-space: nowrap; /* Keeps button layout strings on a clean single line on desktop views */
}

/* Micro Focus Profile Scaling for Button 1 (The Main Hook Target) */
.btn-hero-gold.btn-hero-large {
    font-size: 15px;
    padding: 16px 52px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(226, 177, 60, 0.25);
}

/* Premium Hover Lift Transformation Engine */
.btn-hero-gold:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 177, 60, 0.35);
}

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

/* Horizontal 3-Column Secondary Alignment Hub */
.hero-cta-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

/* ==========================================================================
   CROSS-PLATFORM MULTI-BUTTON GOLD RESPONSIVE SCALING
   ========================================================================== */

@media (max-width: 992px) {
    /* Slightly compact typography spacing so buttons line up gracefully on landscape tablets */
    .btn-hero-gold {
        font-size: 11px;
        padding: 14px 8px;
        letter-spacing: 0.01em;
    }
}

@media (max-width: 768px) {
    .hero-action-control-box {
        max-width: 100%;
        padding: 0 8px;
    }
    
    .hero-cta-primary-row {
        width: 100%;
    }
    
    .btn-hero-gold.btn-hero-large {
        width: 100%; /* Expands thumb trigger hitbox layout to full screen width */
    }
    
    /* Safely collapses 3 gold button rows into cleanly stacked blocks for mobile devices */
    .hero-cta-secondary-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .btn-hero-gold {
        width: 100%;
        padding: 16px 20px;
        font-size: 13px;
        white-space: normal; /* Enables text wrapping for long titles on small device displays */
    }
}



/* ==========================================================================
   FINTECH INSTITUTIONAL STATUS NODE & VISUAL HIERARCHY PATCH
   ========================================================================== */

/* Sub-Wrapper to pin the active queue status directly underneath the WhatsApp Button */
.cta-bundle-node-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px; /* Snugs the queue status line closely underneath the button layout */
}

/* Institutional Micro-Queue Text Layout */
.institutional-queue-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #00E676; /* High-visibility Fintech Neon Green */
    background: rgba(0, 230, 118, 0.07); /* Smooth background tint glow boundary */
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 230, 118, 0.15);
    white-space: nowrap;
    margin-top: 2px;
}

/* Institutional SVG Vector Engineering Scale */
.queue-vector-node {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #00E676;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Refinement Patch: Creating an outline button option for secondary tier choices to stop layout competing */
.btn-hero-gold-outline {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(226, 177, 60, 0.4) !important;
    box-shadow: none;
}
.btn-hero-gold-outline:hover {
    background-color: rgba(226, 177, 60, 0.08) !important;
    border-color: var(--accent-hover) !important;
    color: var(--accent-hover) !important;
}

/* Mobile responsive consistency layer */
@media (max-width: 768px) {
    .cta-bundle-node-wrapper {
        width: 100%;
    }
    .institutional-queue-node {
        font-size: 10px;
        padding: 5px 10px;
        width: 100%;
        box-sizing: border-box;
    }
}
