/* Hero — horizon split layout + module stream (full rebuild) */

.hero.hero-v2 {
    --hero-nav-h: 4.25rem;
    --hero-v2-visual-w: min(340px, 36vw);
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    padding: calc(var(--hero-nav-h) + 1.25rem) 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #faf9ff;
}

[data-theme="dark"] .hero.hero-v2 {
    background: #06040c;
}

.hero-v2-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vh, 2.5rem);
    min-height: calc(100svh - var(--hero-nav-h) - 1.25rem);
    min-height: calc(100dvh - var(--hero-nav-h) - 1.25rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    position: relative;
    z-index: 1;
}

/* ===== Background ===== */
.hero-v2-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-v2-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #ffffff 0%, #f5f2ff 40%, #eef6ff 70%, #fff5f8 100%);
}

[data-theme="dark"] .hero-v2-bg-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(107, 54, 255, 0.2), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 20%, rgba(248, 96, 111, 0.1), transparent 50%),
        linear-gradient(160deg, #0a0614 0%, #0d0818 50%, #050308 100%);
}

.hero-v2-bg-curve {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 85% 20%, rgba(107, 54, 255, 0.08), transparent 55%);
}

[data-theme="dark"] .hero-v2-bg-curve {
    background:
        radial-gradient(ellipse 90% 60% at 85% 20%, rgba(107, 54, 255, 0.15), transparent 55%);
}

.hero-v2-bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-v2-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-v2-bg-orb--1 {
    width: min(480px, 55vw);
    height: min(480px, 55vw);
    top: -15%;
    right: -10%;
    background: rgba(107, 54, 255, 0.14);
    animation: hero-v2-orb 16s ease-in-out infinite;
}

.hero-v2-bg-orb--2 {
    width: min(360px, 42vw);
    height: min(360px, 42vw);
    bottom: 10%;
    left: -8%;
    background: rgba(248, 96, 111, 0.1);
    animation: hero-v2-orb 16s ease-in-out infinite reverse;
}

@keyframes hero-v2-orb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 15px); }
}

/* ===== Main grid ===== */
.hero-v2-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-v2-main {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, var(--hero-v2-visual-w));
        gap: clamp(2rem, 4vw, 3.5rem);
    }
}

/* ===== Copy ===== */
.hero-v2-copy {
    max-width: 36rem;
}

.hero-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(107, 54, 255, 0.15);
    box-shadow: 0 2px 12px rgba(107, 54, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero-v2-eyebrow {
    background: rgba(255, 255, 255, 0.04);
}

.hero-v2-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: hero-v2-pulse 2s ease-in-out infinite;
}

@keyframes hero-v2-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-v2-eyebrow strong {
    color: var(--accent-primary);
    font-weight: 800;
}

.hero-v2-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

html[dir="rtl"] .hero-v2-kicker {
    letter-spacing: 0;
    text-transform: none;
}

.hero-v2-headline {
    margin: 0 0 1.1rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

[data-theme="dark"] .hero-v2-headline {
    color: #fff;
}

.hero-v2-headline em {
    display: block;
    font-style: normal;
    background: linear-gradient(115deg, #6b36ff 0%, #f8606f 50%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.08em;
}

.hero-v2-headline span {
    display: block;
    margin-top: 0.2em;
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--text-secondary);
    -webkit-text-fill-color: initial;
}

.hero-v2-lead {
    margin: 0 0 1.35rem;
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 32rem;
}

.hero-v2-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.hero-v2-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: 28rem;
}

.hero-v2-metric {
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

[data-theme="dark"] .hero-v2-metric {
    background: rgba(255, 255, 255, 0.04);
}

.hero-v2-metric strong {
    display: block;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.hero-v2-metric span {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    line-height: 1.3;
}

html[dir="rtl"] .hero-v2-metric span {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.68rem;
}

/* ===== Visual — zigzag module stream ===== */
.hero-v2-visual {
    position: relative;
    width: 100%;
    max-width: var(--hero-v2-visual-w);
    margin-inline: auto;
}

.hero-v2-stream {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.5rem 0;
}

.hero-v2-stream-line {
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, rgba(107, 54, 255, 0.35), rgba(248, 96, 111, 0.25), transparent);
    border-radius: 999px;
}

.hero-v2-stream-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(107, 54, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-v2-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 88%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(107, 54, 255, 0.1);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: hero-v2-card-in 0.7s ease backwards;
}

[data-theme="dark"] .hero-v2-card {
    background: rgba(14, 10, 24, 0.88);
    border-color: rgba(255, 255, 255, 0.07);
}

.hero-v2-card--a { align-self: flex-start; animation-delay: 0.05s; }
.hero-v2-card--b { align-self: flex-end; animation-delay: 0.15s; }
.hero-v2-card--c { align-self: flex-start; animation-delay: 0.25s; }
.hero-v2-card--d { align-self: flex-end; animation-delay: 0.35s; width: 92%; }

html[dir="rtl"] .hero-v2-card--a,
html[dir="rtl"] .hero-v2-card--c {
    align-self: flex-end;
}

html[dir="rtl"] .hero-v2-card--b,
html[dir="rtl"] .hero-v2-card--d {
    align-self: flex-start;
}

@keyframes hero-v2-card-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-v2-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.hero-v2-card-icon--purple { background: rgba(107, 54, 255, 0.12); color: #6b36ff; }
.hero-v2-card-icon--teal { background: rgba(20, 184, 166, 0.12); color: #14b8a6; }
.hero-v2-card-icon--amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.hero-v2-card-icon--ai {
    background: linear-gradient(135deg, rgba(107, 54, 255, 0.15), rgba(248, 96, 111, 0.12));
    color: #6b36ff;
}

.hero-v2-card-body {
    min-width: 0;
    flex: 1;
}

.hero-v2-card-tag {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 0.15rem;
}

.hero-v2-card-body strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.hero-v2-card-body small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-v2-card-body p {
    margin: 0.2rem 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-secondary);
}

.hero-v2-card-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    margin-top: 0.45rem;
}

.hero-v2-card-bars i {
    flex: 1;
    display: block;
    height: var(--h, 50%);
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #6b36ff, rgba(107, 54, 255, 0.35));
}

.hero-v2-card-stars {
    margin-top: 0.25rem;
    color: #f59e0b;
    font-size: 0.65rem;
    display: flex;
    gap: 1px;
}

.hero-v2-card-channels {
    display: flex;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-v2-card-channels .fa-whatsapp { color: #25d366; }
.hero-v2-card-channels .fa-facebook { color: #1877f2; }

.hero-v2-card-live {
    position: absolute;
    top: 0.65rem;
    inset-inline-end: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #059669;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.1);
}

.hero-v2-card-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    animation: hero-v2-pulse 2s ease-in-out infinite;
}

/* ===== Marquee ===== */
.hero-v2-marquee {
    flex-shrink: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
}

.hero-v2-marquee-track {
    display: flex;
    gap: 0.65rem;
}

.hero-v2-marquee-track--loop {
    width: max-content;
    animation: hero-v2-marquee 32s linear infinite;
}

.hero-v2-marquee-track--static {
    display: none;
}

html[dir="rtl"] .hero-v2-marquee-track--loop {
    animation-name: hero-v2-marquee-rtl;
}

@keyframes hero-v2-marquee {
    to { transform: translateX(-50%); }
}

@keyframes hero-v2-marquee-rtl {
    to { transform: translateX(50%); }
}

.hero-v2-marquee-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

[data-theme="dark"] .hero-v2-marquee-item {
    background: rgba(255, 255, 255, 0.04);
}

.hero-v2-marquee-item i {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

.hero-v2-marquee-item--teal {
    border-color: rgba(20, 184, 166, 0.25);
    background: rgba(20, 184, 166, 0.06);
}

.hero-v2-marquee-item--teal i { color: #14b8a6; }

.hero-v2-marquee-item--amber {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.06);
}

.hero-v2-marquee-item--amber i { color: #f59e0b; }

/* ===== Mobile ===== */
@media (max-width: 1023px) {
    .hero.hero-v2 {
        --hero-nav-h: 5rem;
        height: 100svh;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        padding-top: var(--hero-nav-h);
        overflow: hidden;
    }

    .hero-v2-wrap {
        height: calc(100dvh - var(--hero-nav-h));
        min-height: calc(100dvh - var(--hero-nav-h));
        gap: 0.75rem;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }

    .hero-v2-main {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .hero-v2-copy {
        width: 100%;
        max-width: 28rem;
        margin-inline: auto;
        text-align: center;
    }

    .hero-v2-eyebrow {
        margin-inline: auto;
        margin-bottom: 0.75rem;
        padding-inline: 0.75rem;
        font-size: 0.68rem;
    }

    .hero-v2-kicker {
        margin-bottom: 0.45rem;
        font-size: 0.62rem;
    }

    .hero-v2-headline {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
        margin-bottom: 0.65rem;
        margin-inline: auto;
    }

    .hero-v2-headline span {
        font-size: 0.52em;
        margin-top: 0.15em;
    }

    .hero-v2-lead {
        margin-inline: auto;
        margin-bottom: 0.85rem;
        font-size: 0.8125rem;
        line-height: 1.55;
        max-width: 26rem;
    }

    .hero-v2-cta-row {
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-v2-cta-row .hero-cta {
        flex: 0 1 auto;
        justify-content: center;
        padding-inline: 0.85rem;
        font-size: 0.8125rem;
    }

    .hero-v2-metrics {
        margin-inline: auto;
        max-width: 100%;
    }

    .hero-v2-visual {
        display: none;
    }

    .hero-v2-marquee {
        flex-shrink: 0;
        mask-image: none;
        -webkit-mask-image: none;
        padding-top: 0.5rem;
    }

    .hero-v2-marquee-track--loop {
        display: none;
    }

    .hero-v2-marquee-track--static {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.45rem;
    }
}

@media (max-width: 540px) {
    .hero-v2-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-v2-cta-row .hero-cta {
        width: 100%;
        max-width: 18rem;
    }
}

@media (max-width: 480px) {
    .hero.hero-v2 {
        --hero-nav-h: 5.25rem;
    }

    .hero-v2-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) and (max-height: 680px) {
    .hero-v2-kicker {
        display: none;
    }
}

@media (min-width: 1024px) and (max-height: 740px) {
    .hero-v2-headline {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }

    .hero-v2-stream {
        gap: 0.6rem;
    }

    .hero-v2-card {
        padding: 0.65rem 0.85rem;
    }

    .hero-v2-card-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-v2-bg-orb,
    .hero-v2-eyebrow-dot,
    .hero-v2-card,
    .hero-v2-card-live i,
    .hero-v2-marquee-track--loop {
        animation: none !important;
    }
}
