.home-hero {
    background: #073b2f;
    background-image: radial-gradient(ellipse at 83% 28%, #147657 0, transparent 53%), linear-gradient(125deg, #07382f, #052a25);
    color: #f4f6e9;
    clear: both;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hero-grid-overlay {
    background-image: linear-gradient(rgba(222, 250, 223, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(222, 250, 223, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.hero-main {
    align-items: center;
    display: grid;
    gap: 60px;
    grid-template-columns: 1.1fr 1fr;
    padding-bottom: 32px;
    padding-top: 40px;
}

.hero-main::before,
.hero-main::after { display: none; }

.hero-copy {
    animation: hero-enter 0.9s ease both;
    min-width: 0;
}

.hero-eyebrow {
    color: #b0e6ae;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin: 0 0 8px;
}

.hero-number {
    align-items: baseline;
    display: flex;
    font-size: clamp(60px, 7vw, 96px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.08;
    white-space: nowrap;
}

.hero-metrics { align-items: flex-end; display: flex; gap: 28px; }
.hero-apps-metric { border-left: 1px solid rgba(210, 242, 216, 0.22); padding-left: 24px; }
.hero-apps-number { color: #d9efb5; font-size: 64px; font-weight: 700; line-height: 1.16; }

.hero-plus {
    color: #b2e88f;
    font-size: 0.58em;
    font-weight: 400;
    margin-left: 8px;
}

.hero-source {
    color: #b0c9bd;
    font-size: 11px;
    margin: 10px 0 18px;
}

.hero-copy h1 {
    color: #f4f6e9;
    font-size: clamp(25px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.5;
    margin: 0 0 15px;
    text-transform: none;
    text-wrap: balance;
    white-space: pre-line;
}

.hero-description {
    color: #c5d9cf;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
    max-width: 480px;
}

.hero-explore {
    align-items: center;
    background: #e5f6c5;
    border: 1px solid #e5f6c5;
    border-radius: 40px;
    color: #153e2e;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 28px;
    padding: 14px 24px;
    transition: background 0.2s, transform 0.2s;
}

.hero-explore:hover,
.hero-explore:focus-visible {
    background: #fff;
    color: #153e2e;
    transform: translateY(-3px);
}

.hero-explore:focus-visible,
.hero-app-chip:focus-visible,
.hero-motion-toggle:focus-visible {
    outline: 2px solid #e5f6c5;
    outline-offset: 5px;
}

.hero-art {
    animation: hero-enter 1.2s 0.1s ease both;
    min-width: 0;
    padding: 40px 0;
    position: relative;
}

.hero-art-frame {
    animation: hero-float 7s ease-in-out infinite;
    background: #3da86a;
    border: 1px solid rgba(230, 255, 206, 0.35);
    border-radius: 28px;
    box-shadow: 0 30px 85px rgba(0, 20, 14, 0.45), 0 0 65px rgba(171, 235, 113, 0.12);
    overflow: hidden;
    transform: rotate(-3deg);
}

.hero-art-frame img {
    display: block;
    height: auto;
    width: 100%;
}

.hero-orbit {
    border: 1px solid rgba(204, 244, 175, 0.15);
    border-radius: 50%;
    height: 420px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    z-index: -1;
}

.hero-orbit-two {
    height: 530px;
    width: 530px;
}

.hero-app-count {
    align-items: center;
    background: rgba(6, 45, 34, 0.9);
    border: 1px solid rgba(212, 241, 191, 0.25);
    border-radius: 30px;
    bottom: 8px;
    color: #e5f6d5;
    display: inline-flex;
    font-size: 12px;
    gap: 9px;
    left: 24px;
    padding: 12px 18px;
    position: absolute;
}

.hero-status-dot {
    background: #b0e88c;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(176, 232, 140, 0.5);
    height: 6px;
    width: 6px;
}

.hero-spark {
    color: #c8ef9c;
    font-size: 32px;
    font-weight: 300;
    position: absolute;
}

.hero-spark-one { right: -10px; top: -20px; }
.hero-spark-two { bottom: -20px; left: -20px; font-size: 22px; }

.hero-showcase {
    border-top: 1px solid rgba(210, 242, 216, 0.1);
    padding: 22px 0 32px;
}

.hero-showcase-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hero-showcase-heading::before,
.hero-showcase-heading::after { display: none; }

.hero-showcase-heading > p {
    color: #b6d0bf;
    font-size: 12px;
    letter-spacing: 0.04em;
    margin: 0;
}

.hero-motion-toggle {
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: #c3d7cb;
    font-size: 11px;
    flex-shrink: 0;
    padding: 4px 8px;
    white-space: nowrap;
}

.hero-motion-toggle i { margin-right: 7px; }
.hero-motion-toggle:hover { background: rgba(220, 250, 220, 0.1); color: #fff; }
.hero-motion-toggle[hidden] { display: none; }

.hero-marquee {
    margin-top: 12px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    overflow: hidden;
}

.hero-marquee-track {
    animation: hero-marquee var(--marquee-duration, 140s) linear infinite;
    display: flex;
    width: max-content;
}

.hero-marquee-reverse .hero-marquee-track { animation-direction: reverse; }
.hero-marquee:hover .hero-marquee-track,
.hero-marquee:focus-within .hero-marquee-track,
.home-hero.is-paused .hero-marquee-track,
.home-hero.is-paused .hero-art-frame { animation-play-state: paused; }

.hero-marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    padding-right: 12px;
}

.hero-app-chip {
    align-items: center;
    background: rgba(216, 242, 211, 0.055);
    border: 1px solid rgba(211, 241, 206, 0.13);
    border-radius: 12px;
    color: #e4eee4;
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    padding: 12px 16px;
    transition: background 0.2s, border-color 0.2s;
    width: 240px;
}

.hero-app-chip img { border-radius: 10px; flex-shrink: 0; }
.hero-app-chip > span { display: -webkit-box; font-size: 12px; line-height: 1.5; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
a.hero-app-chip:hover { background: rgba(216, 242, 211, 0.14); border-color: #b1dbac; color: #fff; }

@keyframes hero-marquee { to { transform: translateX(-50%); } }
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 991px) {
    .hero-main { gap: 30px; padding-top: 52px; }
    .hero-number { font-size: 60px; }
    .hero-metrics { gap: 16px; }
    .hero-apps-metric { padding-left: 16px; }
    .hero-apps-number { font-size: 44px; }
    .hero-copy h1 { font-size: 26px; }
    .hero-orbit { height: 300px; width: 300px; }
    .hero-orbit-two { height: 390px; width: 390px; }
    .hero-app-count { font-size: 10px; left: 0; }
}

@media (max-width: 767px) {
    .hero-main { gap: 16px; grid-template-columns: 1fr; padding: 44px 24px 28px; }
    .hero-number { font-size: clamp(50px, 12.6vw, 84px); }
    .hero-apps-number { font-size: 44px; }
    .hero-source { margin-bottom: 22px; }
    .hero-copy h1 { font-size: 26px; }
    .hero-description { font-size: 14px; margin-bottom: 20px; }
    .hero-art { display: none; }
    .hero-art-frame { border-radius: 20px; }
    .hero-app-count { bottom: 8px; left: 24px; }
    .hero-spark-one { right: 3px; top: 0; }
    .hero-spark-two { display: none; }
    .hero-showcase-heading { padding: 0 24px; }
    .hero-app-chip { gap: 10px; padding: 10px 12px; width: 210px; }
    .hero-app-chip img { height: 36px; width: 36px; }
}

@media (max-width: 379px) {
    .hero-number { font-size: 44px; }
    .hero-metrics { gap: 12px; }
    .hero-apps-metric { padding-left: 12px; }
    .hero-apps-number { font-size: 36px; }
    .hero-eyebrow { font-size: 10px; letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy, .hero-art, .hero-art-frame, .hero-marquee-track { animation: none; }
    .hero-art-frame { transform: none; }
    .hero-marquee { mask-image: none; overflow-x: auto; }
    .hero-marquee-group[aria-hidden="true"], .hero-motion-toggle { display: none; }
    .hero-explore, .hero-app-chip { transition: none; }
}
