/* ==========================================================================
   ABOUT PAGE STYLES (Ultra-Pro SaaS Vibe)
   ========================================================================== */

/* --- 1. HERO SECTION --- */
.dwu-about-hero {
    background-color: #0f172a; 
    padding: clamp(6rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dwu-about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 1;
}

.dwu-about-hero .dwu-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.dwu-about-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.dwu-about-hero h1 span {
    color: #2563eb; 
}

.dwu-about-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin: 0 auto;
    font-weight: 400;
}

/* --- 2. THE POWER STATS GRID --- */
.dwu-about-stats {
    padding: 5rem 0;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--glass-border);
}

.dwu-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.dwu-stat-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dwu-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.dwu-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

.dwu-stat-card:hover::before {
    transform: scaleX(1);
}

.dwu-counter {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.dwu-stat-card p {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 1.05rem;
    margin: 0;
}

/* --- 3 & 5. SPLIT LAYOUTS (BRAND STORY & OVERVIEW) --- */
.dwu-brand-story {
    padding: 7rem 0;
    background-color: #ffffff;
}

.dwu-story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .dwu-story-layout {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.dwu-story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
    aspect-ratio: 4/3; 
}

.dwu-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.dwu-story-image:hover img {
    transform: scale(1.05);
}

.dwu-image-backdrop {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    pointer-events: none;
}

/* --- 4. DEVELOPER LEGACY GRID --- */
.dwu-developer-legacy {
    padding: 6rem 0;
    background-color: #ffffff;
}

.dwu-legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dwu-legacy-card {
    background: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dwu-legacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.dwu-legacy-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
}

.dwu-legacy-card h3 {
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dwu-legacy-card p {
    color: #334155 !important;
    font-weight: 500 !important;
    line-height: 1.7;
    margin: 0;
}