/* --- HOME SPECIFIC STYLES --- */

/* Hero Overrides */
.home-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}




.home-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through if needed, but buttons handle pointer-events */
}

.home-hero-content>* {
    pointer-events: auto;
}

.home-super-title {
    font-size: var(--fs-body-sm);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0;
    display: block;
    margin: 0 0 1rem;
}

.sticky-text-col p {
    color: var(--text-secondary);
    font-size: var(--fs-body-lg);
    margin-bottom: 2rem;
}

.home-main-title {
    font-size: var(--fs-display-lg);
    line-height: 1;
    margin-bottom: 2rem;
    background: var(--hero-tittle-bg-color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    /* Slight opacity for blend */
}

.home-hero-desc {
    font-size: var(--fs-body-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Product Grid */
.product-showcase {
    padding: 8rem 4rem;
    background: var(--bg-body);
}

.showcase-header {
    text-align: center;
    margin-bottom: 6rem;
}

.showcase-header h2 {
    font-size: var(--fs-display-md);
    margin-bottom: 1rem;
    color: var(--text-titles);
}





/* Values / Philosophy Section */
.values-strip {
    padding: 8rem 4rem;

}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
    margin: 0 auto;
}



.values-content h2 {
    font-size: var(--fs-display-md);
    margin-bottom: 2rem;
}

.values-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.stat-row {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
}

@media (max-width: 768px) {
    .stat-row {
        flex-direction: column;
        gap: 2rem;
        padding-top: 2rem;
    }
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-item span {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.values-image {
    position: relative;
}

.values-image img {
    width: 100%;
    border-radius: 4px;
    filter: brightness(0.8);
}

@media (max-width: 1024px) {
    .home-main-title {
        font-size: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }
}

/* Split Layout (Home specific port) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    /* Important for sticky */
}

.sticky-text-col {
    position: sticky;
    top: 140px;
    /* Adjust based on header */
}

/* Application Cards Section */
.application-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.app-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: all 0.3s ease;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--default-card-box-shadow);
}

.app-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface-accent);
}

.app-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.app-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.app-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-row {
    margin-bottom: 0.5rem;
}

.app-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.app-row p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.app-target {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.app-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: background 0.2s ease;
    display: none;
}

.app-link:hover {
    background: var(--bg-surface-accent);
}

/* Standards Grid (Replaces old stat-row) */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
}

.standard-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--bg-surface);
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
}

.standard-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--default-card-box-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.standard-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
    opacity: 0.9;
}

.standard-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.standard-item h3 {
    font-size: var(--fs-display-sm);
    /* 1.5rem */
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.standard-item p {
    margin: 0;
    color: var(--text-tertiary);
    font-size: var(--fs-body-md);
    /* 0.95 -> 1rem */
    margin-bottom: 2rem;
    line-height: 1.6;
}

#families {
    padding: 8rem 4rem;
    background: var(--bg-body);
}

@media (max-width: 600px) {
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-hero {
        min-height: 55vh;
        padding: calc(var(--header-height) * 2) 2rem 0;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .sticky-text-col {
        position: relative;
        top: unset;
    }

    #families {
        padding: 4rem 4rem;
    }

    .products-carousel-container {
        padding: 0;
    }

    .values-strip {
        padding: 4rem 2rem;
    }

}

@media (max-width: 1024px) {


    .standards-grid {
        grid-template-columns: 1fr;
        /* 2x2 on tablets */
    }

    .product-showcase {
        padding: 4rem 0 4rem 2rem;
    }

}

/* Animation Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Families overrides */
.families-title {
    font-size: var(--fs-display-md);
    margin-bottom: 2rem;
}

.section-desc.families-desc {
    margin: 0;
    max-width: 100%;
    text-align: left;
}

/* Technology overrides */
.ac-bar {
    width: 45%;
}

.ec-bar {
    width: 95%;
}

.tech-cta-centered {
    margin-top: 4rem;
    text-align: center;
}