/* Hero section — ikas-style layout */
.hero-section {
    padding: 7rem 0 5rem;
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 8.5rem 0 6.5rem;
    }
}

/* White hero — vertical breathing room */
.hero-section:not(.hero-section--dark) {
    padding-top: 12rem;
    padding-bottom: 9rem;
}

.hero-section:not(.hero-section--dark) .hero-shell {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 1024px) {
    .hero-section:not(.hero-section--dark) {
        padding-top: 14rem;
        padding-bottom: 10.5rem;
    }

    .hero-section:not(.hero-section--dark) .hero-shell {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.hero-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.hero-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 44rem;
    min-width: 0;
    text-align: center;
}

@media (min-width: 1536px) {
    .hero-slider-wrap {
        max-width: 48rem;
    }
}

.hero-slider-stage {
    position: relative;
    width: 100%;
}

.hero-slider-slide {
    display: none;
    flex-direction: column;
    align-items: center;
}

.hero-slider-slide.is-active {
    display: flex;
    animation: hero-slide-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.625rem;
    margin-bottom: 2rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.hero-social-avatars {
    display: flex;
    align-items: center;
}

.hero-social-avatars img {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -0.4rem;
}

.hero-social-avatars img:first-child {
    margin-left: 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.625rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.hero-desc {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #64748b;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .hero-desc {
        font-size: 1.1875rem;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.875rem 1.75rem;
    margin: 0 0 2.25rem;
    padding: 0;
    list-style: none;
}

.hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.hero-features li i {
    font-size: 1.25rem;
    color: #4f46e5;
}

.hero-slider-slide[data-theme="sky"] .hero-features li i {
    color: #0284c7;
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-cta-row {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2.25rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
    .hero-cta-btn {
        width: auto;
        min-width: 13rem;
    }
}

.hero-cta-btn--indigo {
    background: #111827;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.28);
}

.hero-cta-btn--indigo:hover {
    background: #000;
    transform: translateY(-1px);
}

.hero-cta-btn--sky {
    background: #111827;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.28);
}

.hero-cta-btn--sky:hover {
    background: #000;
    transform: translateY(-1px);
}

.hero-cta-video {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hero-cta-video:hover {
    color: #0f172a;
}

.hero-cta-video-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 1.25rem;
}

.hero-slider-glow {
    transition: background-color 0.7s ease;
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.hero-slider-dot {
    width: 2rem;
    height: 0.3rem;
    border: none;
    border-radius: 9999px;
    background: #e2e8f0;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.hero-slider-dot.is-active {
    width: 2.5rem;
}

.hero-slider-dot.is-active[data-theme="indigo"] {
    background: #4f46e5;
}

.hero-slider-dot.is-active[data-theme="sky"] {
    background: #0284c7;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider-slide.is-active {
        animation: none;
    }

    .hero-slider-glow {
        transition: none;
    }
}

/* Dark hero variant */
.hero-section--dark .hero-shell {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .hero-section--dark .hero-shell {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }
}

.hero-section--dark .hero-social-proof {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.85);
}

.hero-section--dark .hero-social-avatars img {
    border-color: #020205;
}

.hero-section--dark .hero-title {
    color: #fff;
}

.hero-section--dark .hero-desc {
    color: rgba(255, 255, 255, 0.78);
}

.hero-section--dark .hero-features li {
    color: rgba(255, 255, 255, 0.88);
}

.hero-section--dark .hero-features li i {
    color: #a5b4fc;
}

.hero-section--dark .hero-slider-slide[data-theme="sky"] .hero-features li i {
    color: #7dd3fc;
}

.hero-section--dark .hero-cta-video {
    color: rgba(255, 255, 255, 0.75);
}

.hero-section--dark .hero-cta-video:hover {
    color: #fff;
}

.hero-section--dark .hero-cta-video-icon {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.hero-section--dark .hero-slider-dot {
    background: rgba(255, 255, 255, 0.2);
}

.hero-section--dark .hero-slider-dot.is-active[data-theme="indigo"] {
    background: #818cf8;
}

.hero-section--dark .hero-slider-dot.is-active[data-theme="sky"] {
    background: #38bdf8;
}
