/* ===================== HERO / BANNERS ===================== */
.hero {
    padding: 110px 0 92px;
    background:
        radial-gradient(circle at 82% 18%, rgba(163, 84, 144, 0.12) 0, rgba(163, 84, 144, 0.12) 16%, transparent 17%),
        radial-gradient(circle at 12% 78%, rgba(0, 201, 183, 0.08) 0, rgba(0, 201, 183, 0.08) 10%, transparent 11%),
        linear-gradient(135deg, #fff9fd 0%, #f9edf5 38%, #f6f1f8 100%);
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(122, 35, 100, 0.12) 0%, rgba(146, 55, 126, 0.06) 40%, transparent 70%);
    border-radius: 50%
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 201, 183, 0.08) 0%, transparent 70%);
    border-radius: 50%
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07
}

.hero-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    right: 5%;
    animation: morphFloat 8s ease-in-out infinite
}

.hero-shapes .shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    bottom: 15%;
    left: 10%;
    animation: morphFloat 10s ease-in-out infinite 2s
}

.hero-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 50%;
    left: 30%;
    animation: morphFloat 12s ease-in-out infinite 4s
}

@keyframes morphFloat {
    0%,
    100% {
        border-radius: 50%;
        transform: translate(0, 0) rotate(0deg)
    }

    25% {
        border-radius: 40% 60% 50% 50%;
        transform: translate(20px, -15px) rotate(5deg)
    }

    50% {
        border-radius: 50% 40% 60% 50%;
        transform: translate(-10px, 20px) rotate(-3deg)
    }

    75% {
        border-radius: 60% 50% 40% 60%;
        transform: translate(15px, 10px) rotate(7deg)
    }
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 14px 34px rgba(122, 35, 100, 0.08);
    border: 1.5px solid var(--primary-lighter)
}

.hero-badge .dot {
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8)
    }
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.35rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1.2px;
    text-align: left
}

.hero h1 .gradient-text {
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.28rem;
    color: var(--primary-mid);
    font-style: italic;
    margin-bottom: 14px;
    font-weight: 500
}

.hero-text {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 38px;
    max-width: 560px;
    line-height: 1.85
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.btn-primary {
    padding: 15px 34px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(122, 35, 100, 0.3)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(122, 35, 100, 0.4)
}

.btn-secondary {
    padding: 15px 34px;
    background: transparent;
    color: var(--primary);
    border: 2.5px solid var(--primary);
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(122, 35, 100, 0.3)
}

.hero-img {
    position: relative
}

.hero-showcase {
    isolation: isolate;
    width: 100%;
    max-width: 660px;
    margin-left: auto;
}

.hero-showcase::before {
    content: '';
    position: absolute;
    inset: 10px -20px -10px 42px;
    border-radius: 36px;
    background: var(--white);
    box-shadow: 0 16px 48px rgba(122, 35, 100, 0.08);
    z-index: -1;
}

.hero-panel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    background: var(--white);
    border-radius: 36px;
    box-shadow: inset 0 0 0 1px rgba(122, 35, 100, 0.04);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    display: block;
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 18px 44px rgba(122, 35, 100, 0.12);
    border: 1px solid rgba(122, 35, 100, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.hero-float-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero-float-card.card1 {
    bottom: 34px;
    left: -34px;
    animation: floatA 5s ease-in-out infinite;
    z-index: 3;
}

.hero-float-card.card2 {
    top: 56px;
    right: -18px;
    animation: floatA 5s ease-in-out infinite 1.5s;
    z-index: 3;
}

@keyframes floatA {
    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.float-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.float-icon-wrapper.success {
    background: var(--accent-pale);
    color: var(--accent);
}

.float-svg {
    opacity: 0.9;
}

.float-card-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.35;
}

.float-card-text strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 800;
}

.float-card-text span {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* PATIENT HERO */
.patient-hero {
    padding: 120px 0 60px;
    background: var(--gradient-hero);
    text-align: center
}

.patient-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 12px
}

.patient-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto
}

/* RESPONSIVE BANNERS */
@media(max-width:1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .hero h1 {
        font-size: 2.7rem
    }

    .hero-text {
        font-size: 0.95rem
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-panel {
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-float-card.card1 {
        left: -12px;
    }

    .hero-float-card.card2 {
        right: -8px;
    }
}

@media(max-width:768px) {
    .hero {
        padding: 104px 0 56px
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 16px
    }

    .hero h1 {
        font-size: 2.15rem
    }

    .hero-tagline {
        font-size: 1rem
    }

    .hero-text {
        display: block;
        font-size: 0.96rem;
        margin-bottom: 28px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 7px 16px;
        margin-bottom: 12px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        width: fit-content;
        max-width: 100%;
    }

    .hero-btns {
        gap: 10px
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 22px;
        font-size: 0.85rem
    }

    .hero-panel {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-float-card.card1 {
        position: absolute;
        bottom: 20px;
        left: -10px;
        width: auto;
        max-width: 280px;
        margin: 0;
        animation: floatA 5s ease-in-out infinite;
        justify-content: flex-start;
        z-index: 3;
    }

    .hero-float-card.card2 {
        position: absolute;
        top: 40px;
        right: -10px;
        width: auto;
        max-width: 200px;
        margin: 0;
        animation: floatA 5s ease-in-out infinite 1.5s;
        justify-content: flex-start;
        z-index: 3;
    }
}

@media(max-width:480px) {
    .hero h1 {
        font-size: 1.78rem
    }

    .hero-tagline {
        font-size: 0.92rem;
        margin-bottom: 10px
    }

    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 22px;
        line-height: 1.6
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-bottom: 14px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        width: fit-content;
        max-width: 100%;
    }

    .hero .container {
        gap: 16px;
        align-items: center
    }

    .hero-btns {
        flex-direction: column;
        gap: 8px
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.8rem
    }

    .hero-float-card {
        padding: 14px 16px;
        gap: 12px;
        justify-content: center;
    }

    .hero-float-card.card2 {
        position: absolute;
        top: 20px;
        right: -5px;
        animation: floatA 5s ease-in-out infinite 1.5s;
    }

    .float-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .float-card-text strong {
        font-size: 0.86rem;
    }
}
