/* =========================================================
   MALA LABS – HOME PAGE STYLES
   Page-specific enhancements for index.html
   Extends main.css (does NOT duplicate it)
   Production-grade, scalable, serious
========================================================= */

/* =========================================================
   HOME PAGE SCOPE
   (All selectors intentionally scoped)
========================================================= */

/* ---------------------------------------------------------
   HERO SECTION – HOME ONLY
--------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(37, 99, 235, 0.08),
        transparent 60%
    );
    pointer-events: none;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
}

.hero-title {
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.05rem;
}

/* ---------------------------------------------------------
   HERO ACTIONS MICRO-INTERACTION
--------------------------------------------------------- */

.hero-actions .button {
    min-width: 180px;
}

.hero-actions .primary-button {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.hero-actions .primary-button:hover {
    transform: translateY(-1px);
}

.hero-actions .secondary-button:hover {
    transform: translateY(-1px);
}

/* ---------------------------------------------------------
   IMPACT SECTION – HOME
--------------------------------------------------------- */

.impact {
    border-top: 1px solid #e5e7eb;
}

.impact-grid {
    margin-top: 2rem;
}

.impact-item {
    background-color: #ffffff;
    transition: box-shadow 0.25s ease,
                transform 0.25s ease;
}

.impact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.impact-note {
    line-height: 1.5;
}

/* ---------------------------------------------------------
   IMPACT VISUAL EMPHASIS (NO FAKE METRICS)
--------------------------------------------------------- */

.impact-item::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    background-color: #2563eb;
    margin-top: 1.25rem;
    border-radius: 2px;
}

/* ---------------------------------------------------------
   TESTIMONIALS SECTION – HOME
--------------------------------------------------------- */

.testimonials {
    border-top: 1px solid #e5e7eb;
}

.testimonial-placeholder {
    padding: 2.5rem;
    background-color: #ffffff;
    border: 1px dashed #cbd5f5;
    border-radius: 8px;
}

.testimonial-placeholder p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   AI AUTOMATION EXPLANATION – HOME
--------------------------------------------------------- */

.automation-explained {
    border-top: 1px solid #e5e7eb;
}

.explanation-text p {
    max-width: 720px;
}

/* Subtle rhythm for readability */
.explanation-text p + p {
    margin-top: 1.1rem;
}

/* ---------------------------------------------------------
   TRUST SECTION – HOME
--------------------------------------------------------- */

.trust {
    border-top: 1px solid #e5e7eb;
}

.trust-points {
    margin-top: 1.5rem;
}

.trust-points li {
    font-size: 0.95rem;
}

/* ---------------------------------------------------------
   FOOTER ADJUSTMENTS – HOME
--------------------------------------------------------- */

.footer {
    margin-top: 4rem;
}

/* ---------------------------------------------------------
   VISUAL CONSISTENCY UTILITIES (HOME ONLY)
--------------------------------------------------------- */

.hero,
.impact,
.testimonials,
.automation-explained,
.trust {
    scroll-margin-top: 90px;
}

/* ---------------------------------------------------------
   SUBTLE PAGE FLOW SEPARATORS
--------------------------------------------------------- */

.hero + .impact {
    margin-top: 1px;
}

.impact + .testimonials {
    margin-top: 1px;
}

.testimonials + .automation-explained {
    margin-top: 1px;
}

.automation-explained + .trust {
    margin-top: 1px;
}

/* ---------------------------------------------------------
   ACCESSIBILITY IMPROVEMENTS
--------------------------------------------------------- */

.hero-actions .button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.6);
    outline-offset: 3px;
}

.nav-link:focus-visible {
    outline: 2px dashed #2563eb;
    outline-offset: 4px;
}

/* ---------------------------------------------------------
   RESPONSIVE – TABLET
--------------------------------------------------------- */

@media (max-width: 1024px) {

    .hero-wrapper {
        max-width: 680px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .impact-grid {
        gap: 1.5rem;
    }

}

/* ---------------------------------------------------------
   RESPONSIVE – MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {

    .hero-description {
        font-size: 1rem;
    }

    .impact-item {
        padding: 1.75rem;
    }

    .testimonial-placeholder {
        padding: 2rem;
    }

    .trust-points li {
        font-size: 0.9rem;
    }

}

/* ---------------------------------------------------------
   RESPONSIVE – SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 480px) {

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .impact-item::after {
        width: 24px;
    }

}

/* ---------------------------------------------------------
   PRINT SAFETY (PROFESSIONAL TOUCH)
--------------------------------------------------------- */

@media print {

    .hero-actions,
    .navigation {
        display: none;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

}

/* ---------------------------------------------------------
   FUTURE EXTENSION PLACEHOLDERS
   (Intentionally empty – for real data later)
--------------------------------------------------------- */

/*
.home-case-studies {}
.home-client-logos {}
.home-metrics-verified {}
*/

/* ---------------------------------------------------------
   END OF HOME.CSS
   Clean. Honest. Extendable.
--------------------------------------------------------- */
