.hero-demo {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(220, 239, 244, 0.95) 0%, rgba(251, 250, 244, 0.9) 52%, rgba(255, 241, 214, 0.95) 100%);
    padding: clamp(56px, 8vw, 96px) 0 70px;
}

.hero-demo::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -18%;
    width: 42%;
    aspect-ratio: 1;
    background: rgba(47, 143, 131, 0.12);
    border-radius: 50%;
}

.hero-demo-container {
    position: relative;
    z-index: 1;
    padding-left: clamp(34px, 5vw, 96px);
    padding-right: clamp(28px, 4vw, 72px);
}

.hero-content-box {
    max-width: 660px;
}

.hero-title {
    color: var(--demo-ink);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: .98;
    margin: 0;
}

.hero-text {
    color: var(--demo-muted);
    font-size: 19px;
    line-height: 1.75;
    margin: 22px 0 28px;
}

.hero-text p {
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    border-radius: 999px;
    font-weight: 900;
    padding: 13px 22px;
}

.hero-btn-primary {
    background: var(--demo-mint);
    border: 1px solid var(--demo-mint);
    color: white !important;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--demo-border);
    color: var(--demo-ink) !important;
}

.hero-btn-primary:hover,
.hero-btn-secondary:hover {
    background: var(--demo-coral);
    border-color: var(--demo-coral);
    color: white !important;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18px -16px -16px 18px;
    background: var(--demo-sun);
    border-radius: 8px;
}

.hero-image-shape {
    position: relative;
    overflow: hidden;
    height: clamp(380px, 34vw, 560px);
    border: 8px solid white;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(36, 50, 47, 0.18);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-demo {
        padding-top: 48px;
    }

    .hero-demo-container {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 575.98px) {
    .hero-demo-container {
        padding-left: 18px;
        padding-right: 18px;
    }
}
