/* ==========================================
   GMS HERO SHELL
========================================== */

.gms-hero-shell {
    padding: 24px var(--page-padding) 90px;
}


/* ==========================================
   GMS HERO CARD
========================================== */

.gms-hero-card {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;

    background: linear-gradient(
        160deg,
        #3D1E78 0%,
        #6B39BD 45%,
        #8A5BDB 75%,
        #A872FF 100%
    );

    box-shadow:
        0 30px 70px -24px rgba(107, 57, 189, 0.45);
}


/* ==========================================
   TWO-COLUMN GRID
========================================== */

.gms-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.gms-hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;

    padding: 56px 48px 32px 56px;
}

.gms-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 40px 24px;
    overflow: hidden;
}


/* ==========================================
   HERO TEXT
========================================== */

.gms-hero-eyebrow {
    display: inline-block;

    color: rgba(255, 255, 255, 0.65);

    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gms-hero-title {
    color: var(--white);

    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;

    margin: 0;
}

.gms-hero-subtitle {
    color: rgba(255, 255, 255, 0.78);

    font-size: 1rem;
    line-height: 1.7;

    max-width: 420px;

    margin: 0;
}


/* ==========================================
   ILLUSTRATION — "tangled grammar, made simple"
========================================== */

.gms-hero-illustration {
    width: 100%;
    max-width: 460px;
}

.gms-hero-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}


/* ==========================================
   HERO CTA — attached to bottom of hero card
========================================== */

.gms-hero-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 32px 56px 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gms-hero-cta-text {
    flex-shrink: 0;
    max-width: 380px;
}

.gms-hero-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.gms-hero-cta-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 380px;
}

.gms-hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);

    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;

    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;

    transition: opacity 0.18s ease, transform 0.18s ease;
}

.gms-hero-cta-button:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}


@keyframes gmsBalloonFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(3px, -9px, 0);
    }
}

.gms-hero-balloon {
    animation: gmsBalloonFloat 15s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
    will-change: transform;
}

.gms-hero-balloon-delay {
    animation-duration: 17s;
    animation-delay: -6s;
}