/* Home Page V2 Styles
 * Redesigned for crisp, modern, cohesive look
 * Uses CSS variables from base/variables.css
 */

/* ============================================
   SECTION SYSTEM
   Consistent spacing, alternating backgrounds
   ============================================ */
.home-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* All white backgrounds */
.stats-section-v2,
.about-section,
.value-props-section,
.features-section {
    background-color: #ffffff;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--color-text, #333333);
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 0;
}

.hero-image-wrapper {
    max-width: 550px;
}

/* ============================================
   VISION TO DECISION SECTION (prominent)
   ============================================ */
.vision-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.vision-content {
    max-width: 650px;
    margin: 0 auto;
}

.vision-logo {
    max-width: 280px;
    height: auto;
}

.vision-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: #333333;
    letter-spacing: 0.15em;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.vision-description {
    font-size: 0.95rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   WHY SECTION (moved up, no icons)
   ============================================ */
.why-section {
    padding: 2rem 0 3rem;
    background-color: #ffffff;
}

.why-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.why-description {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* Image reveal animation (preserved from original) */
.image-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: reveal 10s ease-out infinite;
}

@keyframes reveal {
    from { left: 0; }
    to { left: 100%; }
}

.mona-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section-v2 {
    position: relative;
    padding: 3rem 0;
    background-color: #ffffff;
}

.stats-section-v2 .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   COMBINED SECTION (embedding + visual intelligence)
   ============================================ */
.combined-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

/* Stats above embedding - horizontal */
.stats-above {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #555555;
}

.stat-inline {
    display: inline;
}

.stat-inline strong {
    font-weight: 600;
    color: #333333;
}

.stat-separator {
    margin: 0 0.75rem;
    color: #cccccc;
}

/* Embedding container - clean image */
.embedding-container {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.embedding-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Remove old card styles */
.stat-card-v2 {
    display: none;
}

/* Background container - no longer needed as separate */
.stats-bg-container {
    display: none;
}

/* ============================================
   VALUE PROPOSITIONS SECTION
   ============================================ */
.value-props-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.value-card {
    background: transparent;
    padding: 2rem 1rem;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-card:hover {
    /* subtle hover effect */
}

.value-card-accent {
    display: none;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: #333333;
}

/* Text animation - letter highlighting (no color change) */
.value-title span {
    transition: font-weight 0.2s ease;
    font-weight: 300;
}

.value-title span.active {
    font-weight: 700;
    color: #333333;
}

.value-description {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 1.25rem;
}

.about-block {
    margin-bottom: 1rem;
}

.about-block:last-child {
    margin-bottom: 0;
}

.lead-text {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
    color: #666666;
}

.about-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: #444444;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-block p {
    font-size: 0.85rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* About images */
.about-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-figure {
    margin: 0;
}

.about-img {
    border-radius: 6px;
    width: 100%;
}

.about-caption {
    font-size: 0.55rem;
    color: #aaaaaa;
    text-align: right;
    margin-top: 0.25rem;
    font-weight: 300;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.feature-card-v2 {
    background: var(--color-bg-secondary, #f8f9fa);
    border-radius: var(--radius-xl, 10px);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--color-border, #dee2e6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feature-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
    background: var(--color-bg, #ffffff);
    border-color: var(--color-primary, #5b6ac4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b6ac4, #7c8bd9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.feature-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
    .home-section {
        padding: 4rem 0;
    }

    .hero-section {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }

    .hero-logo {
        max-width: 220px;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    .about-images {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .home-section {
        padding: 3rem 0;
    }

    .hero-tagline {
        font-size: 1.75rem;
    }

    .hero-logo {
        max-width: 180px;
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .stat-card-v2 {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .value-card,
    .feature-card-v2 {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* ============================================
   FOOTER V2 - Adaline-inspired clean design
   ============================================ */
.footer-v2 {
    background-color: #ffffff;
    padding: 3rem 0 2rem;
    border-top: 1px solid #f0f0f0;
}

.footer-v2 .footer-brand {
    max-width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-v2 .footer-tagline {
    font-size: 0.75rem;
    font-weight: 300;
    color: #666666;
    margin-bottom: 0.75rem;
}

.footer-v2 .footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-v2 .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-v2 .footer-social a:hover {
    opacity: 1;
}

.footer-v2 .footer-social img {
    width: 18px;
    height: 18px;
}

.footer-v2 .footer-copyright {
    font-size: 0.65rem;
    color: #999999;
    margin: 0;
}

.footer-v2 .footer-column-title {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #333333;
    margin-bottom: 0.75rem;
}

.footer-v2 .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-v2 .footer-links li {
    margin-bottom: 0.4rem;
}

.footer-v2 .footer-links a {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-v2 .footer-links a:hover {
    color: #333333;
}

/* Footer responsive */
@media (max-width: 991px) {
    .footer-v2 {
        padding: 3rem 0 2rem;
    }

    .footer-v2 .footer-brand-col {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .footer-v2 .footer-column-title {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
}
