/* ABOUT SECTION - Redesigned */
#sobre.about-section {
    background-color: var(--color-secondary); /* Dark background */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    z-index: 10;
}

/* Background Machine Image */
.about-bg-machine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-machine-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle visibility */
    transform: scale(1.1); /* Slight zoom for parallax potential */
    filter: grayscale(100%) contrast(1.2);
}

.bg-machine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(7, 7, 7, 0.95) 0%, 
        rgba(7, 7, 7, 0.85) 40%, 
        rgba(7, 7, 7, 0.6) 100%);
    z-index: 1;
}

/* Background Effect - Subtle Radial Gradient for depth */
#sobre.about-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(242, 192, 31, 0.04) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 2;
    align-items: start; /* Important for sticky behavior */
}

/* LEFT COLUMN - Sticky Visual */
.about-visual-col {
    position: relative;
    height: 100%;
}

.visual-sticky-wrapper {
    position: sticky;
    top: 120px; /* Distance from top when sticking */
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: flex;
    justify-content: center;
}

.founders-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* Portrait aspect ratio */
    border-radius: 32px; /* Apple-style rounded corners */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    background-color: #1a1a1a;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.founders-image-container:hover {
    transform: scale(1.02);
}

.founders-placeholder-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.2);
    gap: 20px;
}

.founders-placeholder-bg i {
    font-size: 4rem;
}

.founders-placeholder-bg span {
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.founders-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Glass Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px; /* Changed to right for better balance */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
    max-width: 260px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-title {
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.badge-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-family: var(--font-secondary);
}

/* RIGHT COLUMN - Scrolling Content */
.about-content-col {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-label-minimal {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0.8;
}

.about-headline-large {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.word-reveal {
    display: inline-block; /* For transform animation */
    /* Initial state handled by CSS or JS, here we set defaults */
    opacity: 0.2; 
    filter: blur(8px);
    transform: translateY(10px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Helper class triggered by JS */
.word-reveal.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Narrative Text */
.about-narrative {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.scroll-reveal-text {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    /* Initial state for scroll reveal */
    opacity: 0.2;
    filter: blur(4px); /* Added blur effect */
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.scroll-reveal-text strong {
    color: #fff;
    font-weight: 600;
}

.scroll-reveal-text.active {
    opacity: 1;
    filter: blur(0);
}

/* Stats Grid */
.minimal-stats-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
}

/* Modern Features List (Full Width Grid) */
.modern-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns on Desktop */
    gap: 30px;
    margin-top: 80px; /* Space between content and cards */
    position: relative;
    z-index: 2;
}

.modern-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    /* Only animate hover properties with CSS transition to avoid conflict with GSAP scroll animation */
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.modern-feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(242, 192, 31, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.feature-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(242, 192, 31, 0.1);
    border-radius: 16px;
    color: var(--color-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.modern-feature-card:hover .feature-icon-box {
    background: var(--color-primary);
    color: var(--color-secondary);
}

.feature-text h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-text p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .visual-sticky-wrapper {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 20px;
    }

    .founders-image-container {
        max-width: 600px;
        margin: 0 auto;
        aspect-ratio: 16/9; /* Landscape for tablet */
    }

    .about-content-col {
        padding-top: 0;
    }
    
    .modern-features-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 20px;
        margin-top: 60px;
    }
    
    .modern-features-list .modern-feature-card:last-child {
        grid-column: span 2; /* Center last item if 3 items */
    }
}

@media (max-width: 768px) {
    #sobre.about-section {
        padding: 60px 0;
    }

    .about-headline-large {
        font-size: 2.2rem;
    }

    .founders-image-container {
        aspect-ratio: 1/1; /* Square for mobile */
        border-radius: 24px;
    }

    .floating-badge {
        bottom: 20px;
        right: 20px;
        left: 20px; /* Full width-ish badge on mobile */
        width: auto;
        max-width: none;
        justify-content: center;
    }
    
    .minimal-stats-grid {
        justify-content: space-around;
        gap: 20px;
    }
    
    .modern-features-list {
        grid-template-columns: 1fr; /* Single column on mobile */
        margin-top: 40px;
    }
    
    .modern-features-list .modern-feature-card:last-child {
        grid-column: span 1; /* Reset span */
    }
    
    .modern-feature-card {
        padding: 24px;
    }
}
