/* ==============================================
   TRUST BAR — above hero
   ============================================== */

.trust-bar {
    background: var(--color-navy);
    padding: 0.6rem 0;
    overflow: hidden;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.trust-bar-label {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,.6);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.trust-logo-item {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,.8);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.trust-sep {
    color: rgba(255,255,255,.25);
    font-size: var(--font-size-xs);
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero-section {
    padding: 100px 0 90px;
    background: linear-gradient(150deg, #F0F6FF 0%, #EEF4FF 55%, #F8FAFF 100%);
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,87,255,.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

/* ── Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(0,87,255,.06);
    border: 1px solid rgba(0,87,255,.15);
    color: var(--color-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
    width: fit-content;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Content ── */
.hero-content {
    flex: 0 0 50%;
    max-width: 580px;
}

.hero-content h1 {
    font-size: clamp(2.375rem, 4.8vw, 3.875rem);
    line-height: 1.09;
    color: var(--color-navy);
    margin-bottom: var(--space-6);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.03em;
}

.hero-typed {
    color: var(--color-primary);
    background: linear-gradient(135deg, #0057FF 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-typed::after {
    content: '|';
    -webkit-text-fill-color: var(--color-primary);
    animation: blink-cursor .75s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-9);
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

/* ── Stats ── */
.hero-stats {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-stat {
    background: var(--color-white);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    min-width: 110px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hero-stat h3 {
    color: var(--color-primary);
    font-size: 1.875rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat span {
    color: var(--color-muted);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

/* ── Visual side ── */
.hero-visual {
    flex: 0 0 48%;
    position: relative;
}

.hero-image-wrap {
    position: relative;
}

.hero-image-wrap img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    display: block;
    aspect-ratio: 9 / 7;
    object-fit: cover;
}

/* Floating result cards */
.hero-float-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-3) var(--space-5);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float-card 4s ease-in-out infinite;
    border: 1px solid var(--color-border-light);
    min-width: 200px;
    z-index: 2;
}

.hero-float-card--top {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.hero-float-card--bottom {
    bottom: 30px;
    left: -24px;
    animation-delay: 2s;
}

.hero-float-card .float-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero-float-card strong {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-navy);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.hero-float-card span {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-muted);
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ── Logos Section ── */
.logos-section {
    padding: var(--space-10) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.logos-label {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--color-muted);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-6);
}

.logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.125rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-navy-mid);
    white-space: nowrap;
    transition: box-shadow var(--transition-base), border-color var(--transition-fast);
}

.logo-badge:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .hero-content h1, .hero-content p { max-width: 100%; }

    .hero-buttons { justify-content: center; }
    .hero-stats   { justify-content: center; }

    .hero-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
    }

    .hero-badge { margin: 0 auto var(--space-5); }
    .hero-float-card { display: none; }
}

@media (max-width: 640px) {
    .hero-section { padding: 70px 0 60px; }
    .trust-bar-label { display: none; }
    .hero-stat { min-width: 90px; }
    .logos-strip { gap: var(--space-3); }
    .logo-badge { font-size: var(--font-size-xs); padding: 0.375rem 0.875rem; }
}
