/* ==========================================
   JCFlow — B2B Vertical Landing Pages Base System
   assets/css/vertical-base.css
   ========================================== */

.vert-hero {
    padding-top: calc(var(--header-height, 76px) + clamp(32px, 5vh, 56px));
    padding-bottom: clamp(40px, 6vh, 64px);
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    position: relative;
}

.vert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.vert-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.18;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto 20px;
    letter-spacing: -0.02em;
}

.vert-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 32px;
}

.vert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.vert-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.88rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.vert-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stats Counter Grid */
.vert-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 40px auto 20px;
    max-width: 960px;
}

.vert-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vert-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.vert-stat-num {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.1;
    margin-bottom: 6px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vert-stat-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Sections */
.vert-section {
    padding: clamp(50px, 8vh, 90px) 0;
}

.vert-section--alt {
    background: var(--bg-secondary);
}

.vert-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(36px, 6vh, 56px);
}

.vert-section-title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 14px;
}

.vert-section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Grid */
.vert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.vert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.vert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.4);
}

.vert-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.vert-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.vert-card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.vert-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    align-self: flex-start;
}

/* Code Preview Box (for Developers) */
.vert-code-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.vert-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vert-code-dots {
    display: flex;
    gap: 6px;
}

.vert-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.vert-code-dot--red { background: #ef4444; }
.vert-code-dot--yellow { background: #f59e0b; }
.vert-code-dot--green { background: #10b981; }

.vert-code-title {
    color: #94a3b8;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.vert-code-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #e2e8f0;
    overflow-x: auto;
    margin: 0;
}

.vert-code-kw { color: #c084fc; font-weight: 600; }
.vert-code-str { color: #34d399; }
.vert-code-num { color: #f59e0b; }
.vert-code-prop { color: #60a5fa; }
.vert-code-comment { color: #64748b; font-style: italic; }

/* FAQ Accordion */
.vert-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vert-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.vert-faq-item[open] {
    border-color: var(--accent);
}

.vert-faq-question {
    padding: 18px 22px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.vert-faq-question::-webkit-details-marker {
    display: none;
}

.vert-faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-tertiary);
    transition: transform 0.2s ease;
}

.vert-faq-item[open] .vert-faq-question::after {
    content: '−';
    color: var(--accent);
}

.vert-faq-answer {
    padding: 0 22px 20px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Vertical Landing Page Base Container */
.vertical-page {
    padding-bottom: clamp(48px, 8vh, 80px);
}

/* High Conversion CTA Banner */
.vert-cta-banner {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 28px;
    padding: clamp(36px, 6vw, 60px) clamp(24px, 4vw, 48px);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 40px auto clamp(48px, 8vh, 80px);
    max-width: 1000px;
}

.vert-cta-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.vert-cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .vert-actions {
        flex-direction: column;
    }
    .vert-actions .btn {
        width: 100%;
    }
    .vert-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Lead Bridge Banner (Jeloda Referral Bridge)
   ========================================== */
.lead-bridge-section {
    padding: clamp(32px, 5vh, 60px) 0;
}

.lead-bridge-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 44px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.lead-bridge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #6366f1);
}

.lead-bridge-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 999px;
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.lead-bridge-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-bridge-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lead-bridge-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    object-fit: contain;
    flex-shrink: 0;
}

.lead-bridge-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.25;
}

.lead-bridge-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.55;
}

.lead-bridge-quote {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid #f59e0b;
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.lead-bridge-quote strong {
    color: #fbbf24;
}

.lead-bridge-quote em {
    color: #a5b4fc;
    font-style: normal;
    font-weight: 600;
}

.lead-bridge-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.btn-jeloda {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-jeloda:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .lead-bridge-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .lead-bridge-actions .btn-jeloda {
        width: 100%;
        justify-content: center;
    }
}

/* Migration Hook Offer Section */
.migration-offer-section {
    margin: 3.5rem 0;
}

.migration-offer-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 2px dashed rgba(79, 70, 229, 0.4);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .migration-offer-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.migration-offer-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.migration-offer-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.migration-offer-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 1.8rem;
    line-height: 1.6;
}

.migration-offer-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.migration-offer-guarantee {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 600;
    flex-wrap: wrap;
}
