/*==================================================
AERO TOUCH DOWN — HERO RESTORE
Scoped overrides only. Footer remains controlled by style.css.
==================================================*/

.hero-section {
    position: relative;
    min-height: auto;
    display: block;
    padding: clamp(112px, 10vw, 146px) 0 72px;
    overflow: hidden;
}

.hero-flow {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(94%, 1480px);
}

.hero-copy {
    position: relative;
    z-index: 10;
    width: min(100%, 1080px);
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(3.35rem, 7vw, 6.9rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
    white-space: normal;
    text-wrap: balance;
    text-shadow:
        0 12px 44px rgba(0, 0, 0, 0.48),
        0 0 36px rgba(30, 94, 255, 0.13);
}

.hero-title span {
    display: inline;
    background:
        linear-gradient(
            110deg,
            #fff7bf 0%,
            #ffd85f 32%,
            #ffffff 48%,
            #ffd85f 62%,
            #f2b625 100%
        );
    background-size: 220% auto;
    background-position: 0% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(247, 185, 40, 0.15));
    animation: heroTitleShimmer 7s ease-in-out infinite;
}

.hero-description {
    position: relative;
    width: min(100%, 850px);
    max-width: 850px;
    margin: 24px auto 0;
    color: #b7c1d3;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-weight: 600;
    line-height: 1.8;
    white-space: normal;
    text-wrap: balance;
    transform: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 22px auto 0;
    padding: 8px 14px;
    color: #f5f7ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 10px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: none;
}

.eyebrow i {
    color: #ff7849;
}

.hero-stage {
    position: relative;
    z-index: 4;
    width: 100%;
    margin-top: 18px;
}

.ecosystem-visual {
    position: relative;
    width: min(100%, 1240px);
    height: clamp(520px, 58vw, 780px);
    margin: 0 auto;
    isolation: isolate;
    transform: none;
}

.ecosystem-visual::before {
    content: "";
    position: absolute;
    inset: 10% 4% 4%;
    z-index: -2;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 48%, rgba(36, 89, 255, 0.28), transparent 53%);
    filter: blur(24px);
}

.hero-showcase {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 12;
    width: min(1240px, 100%);
    height: 100%;
    aspect-ratio: auto;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.hero-showcase img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    filter:
        drop-shadow(0 35px 48px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 32px rgba(45, 108, 255, 0.28));
}

.ecosystem-orbit,
.road,
.connection-line {
    pointer-events: none;
}

/* Restore the two animated hub rings and keep them visible over the image. */
.ecosystem-hub {
    position: absolute;
    left: 50%;
    top: 55%;
    z-index: 20;
    width: clamp(210px, 24vw, 340px);
    height: clamp(210px, 24vw, 340px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hub-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform-origin: center;
}

.hub-ring-one {
    border: 2px solid rgba(35, 112, 255, 0.82);
    box-shadow:
        0 0 26px rgba(35, 112, 255, 0.72),
        inset 0 0 24px rgba(35, 112, 255, 0.28);
    animation: restoredHubClockwise 16s linear infinite;
}

.hub-ring-two {
    border: 1px solid rgba(115, 73, 255, 0.58);
    box-shadow:
        0 0 38px rgba(89, 47, 255, 0.38),
        inset 0 0 22px rgba(89, 47, 255, 0.12);
    animation: restoredHubCounterClockwise 22s linear infinite;
}

/* Explicitly remove the hero floating notification/icon only. */
.hero-section .floating-notification,
.hero-section .order-notification {
    display: none !important;
}

.hero-downloads {
    position: relative;
    z-index: 10;
    margin-top: 8px;
}

.hero-downloads .store-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-downloads .store-button {
    min-width: 190px;
    min-height: 62px;
}

/* Five columns directly below the download buttons. */
.hero-stats {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 1240px;
    margin: 24px auto 0;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.hero-stat:last-child {
    grid-column: auto;
    width: auto;
    max-width: none;
}

.hero-stat:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: var(--shadow-blue);
}

.hero-stat .metric-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(145deg, #2f84ff, #194bc5);
    box-shadow: 0 8px 18px rgba(47, 132, 255, 0.25);
}

.hero-stat strong,
.hero-stat span {
    display: block;
}

.hero-stat strong {
    color: #ffffff;
    font-size: 0.96rem;
    line-height: 1.2;
}

.hero-stat span {
    margin-top: 3px;
    color: #aebbd0;
    font-size: 0.7rem;
    line-height: 1.3;
}

.hero-stat.metric-green .metric-icon {
    background: linear-gradient(145deg, #20d99a, #0a8f65);
}

.hero-stat.metric-gold .metric-icon {
    background: linear-gradient(145deg, #f7c143, #bc7a00);
}

.hero-stat.metric-purple .metric-icon {
    background: linear-gradient(145deg, #9b63ff, #6034bf);
}

.hero-stat.metric-yellow .metric-icon {
    background: linear-gradient(145deg, #f4c542, #d18100);
}

/* Same hover language as Our Services, without touching footer navigation. */
.platform-card:hover,
.app-detail-card:hover,
.business-panel div:hover,
.download-panel:hover,
.hero-stat:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: var(--shadow-blue);
}

@keyframes heroTitleShimmer {
    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

@keyframes restoredHubClockwise {
    from {
        transform: scale(1.08) rotate(0deg);
    }

    to {
        transform: scale(1.08) rotate(360deg);
    }
}

@keyframes restoredHubCounterClockwise {
    from {
        transform: scale(1.22) rotate(360deg);
    }

    to {
        transform: scale(1.22) rotate(0deg);
    }
}

@media (max-width: 1100px) {
    .ecosystem-visual {
        height: clamp(500px, 68vw, 720px);
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stat:nth-child(4),
    .hero-stat:nth-child(5) {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .hero-section {
        padding: 102px 0 48px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 13vw, 4.6rem);
        line-height: 1.02;
    }

    .hero-description {
        margin-top: 18px;
        font-size: 1rem;
        line-height: 1.68;
    }

    .eyebrow {
        margin-top: 18px;
    }

    .hero-stage {
        margin-top: 4px;
    }

    .ecosystem-visual {
        width: min(920px, 150vw);
        height: 620px;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .ecosystem-hub {
        width: 230px;
        height: 230px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .hero-section {
        padding-top: 92px;
    }

    .hero-title {
        font-size: clamp(2.65rem, 14vw, 3.65rem);
    }

    .ecosystem-visual {
        width: 780px;
        height: 520px;
        transform: translateX(-50%) scale(0.72);
        transform-origin: center center;
        margin-top: -34px;
        margin-bottom: -54px;
    }

    .hero-downloads,
    .hero-downloads .store-buttons,
    .hero-downloads .store-button {
        width: 100%;
    }

    .hero-downloads .store-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stat:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title span,
    .hub-ring-one,
    .hub-ring-two {
        animation: none;
    }
}

/* Slightly smaller */
.ecosystem-hub {
    width: 165px;
    height: 165px;
}

/* Medium — recommended */
.ecosystem-hub {
    width: 145px;
    height: 145px;
}

/* Much smaller */
.ecosystem-hub {
    width: 120px;
    height: 120px;
}