/* index.html — Ready to Start Earning / CTA (aligned with news / promo / process) */

:is(#index-cta, #about-cta).index-cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

:is(#index-cta, #about-cta).index-cta-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

:is(#index-cta, #about-cta).index-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 10% 25%, rgba(59, 130, 246, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 50% 42% at 90% 75%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 45% 38% at 50% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

html.dark :is(#index-cta, #about-cta).index-cta-section {
    background: linear-gradient(180deg, #0f172a 0%, #111827 50%, #0f172a 100%);
}

html.dark :is(#index-cta, #about-cta).index-cta-section::before {
    background:
        radial-gradient(ellipse 55% 45% at 10% 25%, rgba(59, 130, 246, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 42% at 90% 75%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 45% 38% at 50% 100%, rgba(16, 185, 129, 0.09) 0%, transparent 45%);
}

:is(#index-cta, #about-cta) .container {
    position: relative;
    z-index: 1;
}

/* Card — same language as process / promo cards */
.index-cta-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.index-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 50%, #10b981 100%);
    opacity: 0.9;
}

html.dark .index-cta-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

@media (min-width: 640px) {
    .index-cta-card {
        padding: 2.75rem 2.5rem 2.5rem;
    }
}

/* Trust badge */
.index-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.index-cta-badge svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

html.dark .index-cta-badge {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

/* Header */
.index-cta-head {
    margin-bottom: 1.75rem;
}

.index-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.875rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 999px;
}

html.dark .index-cta-eyebrow {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(129, 140, 248, 0.35);
}

.index-cta-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

html.dark .index-cta-title {
    color: #f8fafc;
}

.index-cta-title-accent {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 55%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

html.dark .index-cta-title-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.index-cta-subtitle {
    margin: 0 0 0.75rem;
    font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.01em;
}

html.dark .index-cta-subtitle {
    color: #e2e8f0;
}

.index-cta-lead {
    margin: 0 auto;
    max-width: 540px;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #64748b;
}

html.dark .index-cta-lead {
    color: #94a3b8;
}

/* Stats */
.index-cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 480px) {
    .index-cta-stats {
        grid-template-columns: 1fr;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
}

.index-cta-stat {
    padding: 0.85rem 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

html.dark .index-cta-stat {
    background: #0f172a;
    border-color: #334155;
}

.index-cta-stat-value {
    display: block;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.02em;
}

html.dark .index-cta-stat-value {
    color: #f1f5f9;
}

.index-cta-stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

html.dark .index-cta-stat-label {
    color: #94a3b8;
}

/* Buttons */
.index-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.index-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.index-cta-btn svg {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.22s ease;
}

.index-cta-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid transparent;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.index-cta-btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.38);
}

.index-cta-btn-primary:hover svg {
    transform: translateX(3px);
}

.index-cta-btn-secondary {
    color: #1e40af;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.index-cta-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.4);
}

html.dark .index-cta-btn-secondary {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
}

html.dark .index-cta-btn-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

/* Trust row */
.index-cta-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

html.dark .index-cta-trust {
    border-top-color: #334155;
}

.index-cta-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
}

html.dark .index-cta-trust-item {
    color: #cbd5e1;
}

.index-cta-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.index-cta-trust-icon svg {
    width: 0.9rem;
    height: 0.9rem;
}

.index-cta-trust-icon--green {
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
}

.index-cta-trust-icon--blue {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.12);
}

.index-cta-trust-icon--purple {
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.12);
}

html.dark .index-cta-trust-icon--green {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
}

html.dark .index-cta-trust-icon--blue {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
}

html.dark .index-cta-trust-icon--purple {
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .index-cta-btn:hover {
        transform: none;
    }
}
