/* ================================================================
   Hero Section — Brand Redesign
   ================================================================ */

.hero {
    position: relative;
    background: #ffffff;
    padding-block: 2rem 5.5rem;
    overflow: hidden;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

/* ── Background glows ──────────────────────────────────────── */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero__glow--blue {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 65%);
    top: -200px;
    right: -150px;
}

.hero__glow--gold {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25,167,255,0.08) 0%, transparent 65%);
    bottom: -80px;
    left: -120px;
}

/* ── Two-column layout ─────────────────────────────────────── */
.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-16);
    }
    .hero--no-image .hero__container {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}

/* ── Badge ─────────────────────────────────────────────────── */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14,95,232, 0.05);
    border: 1px solid rgba(14,95,232, 0.14);
    color: var(--color-primary);
    padding: 6px 14px 6px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    width: fit-content;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    animation: heroDotPulse 2.4s ease-out infinite;
}

@keyframes heroDotPulse {
    0%   { box-shadow: 0 0 0 0   rgba(25,167,255,0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(25,167,255,0);    }
    100% { box-shadow: 0 0 0 0   rgba(25,167,255,0);    }
}

/* ── Heading ───────────────────────────────────────────────── */
.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.125rem);
    font-weight: 800;
    color: #0B1629;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-5);
}

/* ── Typewriter / Accent line ─────────────────────────────── */
.hero__accent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: clamp(1rem, 1.9vw, 1.1875rem);
    font-weight: 500;
    color: #64748B;
    margin-bottom: var(--space-6);
    min-height: 1.8em;
    line-height: 1.5;
}

.hero__accent-prefix {
    color: #64748B;
}

.hero__typewriter {
    font-weight: 700;
    background: linear-gradient(130deg, var(--color-primary) 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__accent-cursor {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 300;
    font-size: 1.1em;
    margin-left: 1px;
    animation: cursorBlink 0.9s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Description ───────────────────────────────────────────── */
.hero__desc {
    font-size: 1.0625rem;
    color: #64748B;
    line-height: 1.8;
    margin-bottom: var(--space-8);
    max-width: 480px;
}

.hero--no-image .hero__desc {
    max-width: 600px;
}

/* ── CTA Buttons ───────────────────────────────────────────── */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-10);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero__cta--primary {
    background: var(--color-primary);
    color: #fff;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 18px rgba(14,95,232,0.32), 0 1px 4px rgba(14,95,232,0.15);
}

.hero__cta--primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 8px 28px rgba(14,95,232,0.42), 0 2px 6px rgba(14,95,232,0.18);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.hero__cta--primary svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hero__cta--primary:hover svg {
    transform: translateX(4px);
}

.hero__cta--ghost {
    background: transparent;
    color: #0B1629;
    border: 1.5px solid #CBD5E1;
}

.hero__cta--ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(14,95,232,0.04);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Stats ─────────────────────────────────────────────────── */
.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding-top: var(--space-8);
    border-top: 1px solid #E2E8F0;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero__stat-row {
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.hero__stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #0B1629;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hero__stat-sup {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.hero__stat-lbl {
    font-size: 0.8125rem;
    color: #64748B;
    font-weight: 500;
}

.hero__stat-div {
    width: 1px;
    height: 44px;
    background: #E2E8F0;
    flex-shrink: 0;
}

/* ── Media column ──────────────────────────────────────────── */
.hero__media {
    display: none;
    position: relative;
}

@media (min-width: 768px) {
    .hero__media {
        display: block;
    }
}

/* ── Image frame ───────────────────────────────────────────── */
.hero__img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-primary-light);
    border: 1px solid rgba(14,95,232,0.1);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.6) inset,
        0 28px 64px rgba(11,22,41,0.11),
        0 8px 20px rgba(11,22,41,0.06);
}

/* Subtle gradient tint on top edge of image frame */
.hero__img-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #7C3AED 50%, var(--color-accent) 100%);
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

.hero__img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__img-frame:hover .hero__img {
    transform: scale(1.04);
}

/* ── Social proof strip ────────────────────────────────────── */
.hero__proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-4);
    font-size: 0.8125rem;
    color: #94A3B8;
    font-weight: 400;
}

.hero__proof strong {
    color: #64748B;
    font-weight: 600;
}

.hero__proof-icon {
    color: #22C55E;
    flex-shrink: 0;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero {
        padding-block: 5rem 3.5rem;
        min-height: auto;
    }

    .hero__media {
        display: block;
        margin-top: var(--space-8);
    }

    .hero__stat-div   { display: none; }
    .hero__stats      { gap: var(--space-8); }
    .hero__desc       { max-width: 100%; }
    .hero__stat-num   { font-size: 1.75rem; }
    .hero__cta        { padding: 12px 22px; font-size: 0.875rem; }
}

/* ── Tablet ────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero__container { grid-template-columns: 1fr 1fr; }
    .hero__title     { font-size: 2.5rem; }
}

/* ── Large screens ─────────────────────────────────────────── */
@media (min-width: 1280px) {
    .hero__title { font-size: 4.25rem; }
}
