/* ===== ANTIGRAVITY-INSPIRED HERO OVERRIDE ===== */

/* Reset hero section from styles.css */
.hero.section {
    background: #f8f9fa !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
    padding: 0 !important;
}

/* Canvas */
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Container */
.hero__container {
    position: relative;
    z-index: 2;
    display: flex !important;
    grid-template-columns: none !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
}

/* Center Block */
.hero__center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Eyebrow */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.hero__eyebrow i {
    color: #f59e0b;
    font-size: 1rem;
}

/* Headline */
.hero__headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}


/* Rotating text — slides right to left */
.hero__headline-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero__headline-accent.slide-out {
    opacity: 0;
    transform: translateX(-40px);
}

.hero__headline-accent.slide-in {
    opacity: 0;
    transform: translateX(40px);
}

.hero__headline-accent.slide-active {
    opacity: 1;
    transform: translateX(0);
}

/* Price line — conditional visibility */
.hero__price-line {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0 auto 0.5rem;
    letter-spacing: 0.2px;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    overflow: hidden;
    max-height: 40px;
}

.hero__price-line.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

.hero__price-line strong {
    color: #0f172a;
    font-weight: 700;
}

/* Service description — dynamic per service */
.hero__service-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    min-height: 52px;
    transition: opacity 0.35s ease;
}

.hero__service-desc.fade-out {
    opacity: 0;
}

/* CTAs */
.hero__ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Inter', sans-serif;
}

.hero__cta-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.hero__cta-primary i {
    font-size: 1.2rem;
}

.hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    background: rgba(15, 23, 42, 0.06);
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Inter', sans-serif;
}

.hero__cta-secondary:hover {
    background: rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

/* Stats Row */
.hero__stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    color: #9ca3af;
}

.hero__scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.hero__scroll-arrow i {
    font-size: 1.2rem;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* Hide old hero elements that might still have styles */
.hero__background,
.hero__visual,
.hero__content,
.hero__title,
.hero__description,
.hero__features,
.hero__actions,
.hero__tech-stack,
.hero__floating-elements,
.hero__particles,
.hero__background-gradient,
.hero__background-pattern {
    display: none !important;
}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 768px) {
    .hero__headline {
        font-size: 2.75rem;
        letter-spacing: -0.5px;
    }

    .hero__subheadline {
        font-size: 1rem;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero__cta-primary,
    .hero__cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero__stats-row {
        gap: 1.25rem;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__stat-label {
        font-size: 0.7rem;
    }

    .hero__stat-divider {
        height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero__headline {
        font-size: 2.25rem;
    }

    .hero__eyebrow {
        font-size: 0.75rem;
    }

    .hero__stats-row {
        gap: 1rem;
    }
}