/* ========================================
   About Page Styles
   ======================================== */

/* ========================================
   Hero Section (Brand Manifesto)
   ======================================== */
.about-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1a1a 100%);
    overflow: hidden;
    padding-top: 100px;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(190, 18, 60, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(190, 18, 60, 0.08) 0%, transparent 40%);
    z-index: 1;
}

.about-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 0;
}

.about-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.about-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.about-hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Story Cards Section - WHY RONGHAO
   ======================================== */
.story-cards {
    background: var(--color-background);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.story-card {
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.story-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.story-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.story-card:hover .story-card-icon {
    transform: scale(1.1);
}

.story-card-icon svg {
    width: 28px;
    height: 28px;
    transition: var(--transition);
}

.story-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.story-card-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.story-card-content {
    font-size: 15px;
    line-height: 1.7;
}

.story-card-data {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.story-card-data-item {
    text-align: center;
}

.story-card-data-value {
    font-size: 20px;
    font-weight: 700;
}

.story-card-data-label {
    font-size: 12px;
    margin-top: 4px;
}

/* Card 1: Pain Point - Background Color per Design System */
.story-card-pain {
    background: var(--color-background);
    border: 1px solid rgba(0,0,0,0.06);
}

.story-card-pain .story-card-title {
    color: var(--color-primary);
}

.story-card-pain .story-card-subtitle {
    color: var(--color-accent);
}

.story-card-pain .story-card-content {
    color: var(--color-secondary);
}

.story-card-pain .story-card-icon {
    background: rgba(190, 18, 60, 0.1);
}

.story-card-pain .story-card-icon svg {
    color: var(--color-accent);
}

.story-card-pain:hover .story-card-icon {
    background: var(--color-accent);
}

.story-card-pain:hover .story-card-icon svg {
    color: var(--color-white);
}

.story-card-pain .story-card-data-value {
    color: var(--color-accent);
}

.story-card-pain .story-card-data-label {
    color: var(--color-secondary);
}

/* Card 2: Capability - Primary Color per Design System & PRD */
.story-card-capability {
    background: var(--color-primary);
    color: var(--color-white);
}

.story-card-capability .story-card-title {
    color: var(--color-white);
}

.story-card-capability .story-card-subtitle {
    color: rgba(255,255,255,0.7);
}

.story-card-capability .story-card-content {
    color: rgba(255,255,255,0.8);
}

.story-card-capability .story-card-icon {
    background: rgba(255,255,255,0.1);
}

.story-card-capability .story-card-icon svg {
    color: var(--color-white);
}

.story-card-capability:hover .story-card-icon {
    background: var(--color-accent);
}

.story-card-capability .story-card-data {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.story-card-capability .story-card-data-value {
    color: var(--color-white);
}

.story-card-capability .story-card-data-label {
    color: rgba(255,255,255,0.6);
}

/* Card 3: Value - Background Color per Design System & PRD */
.story-card-value {
    background: var(--color-background);
    border: 1px solid rgba(0,0,0,0.06);
}

.story-card-value .story-card-title {
    color: var(--color-primary);
}

.story-card-value .story-card-subtitle {
    color: var(--color-accent);
}

.story-card-value .story-card-content {
    color: var(--color-secondary);
}

.story-card-value .story-card-icon {
    background: rgba(38, 38, 38, 0.08);
}

.story-card-value .story-card-icon svg {
    color: var(--color-primary);
}

.story-card-value:hover .story-card-icon {
    background: var(--color-primary);
}

.story-card-value:hover .story-card-icon svg {
    color: var(--color-white);
}

/* Card 4: Promise - Accent Color per Design System & PRD */
.story-card-promise {
    background: var(--color-accent);
    color: var(--color-white);
}

.story-card-promise .story-card-title {
    color: var(--color-white);
}

.story-card-promise .story-card-subtitle {
    color: rgba(255,255,255,0.8);
}

.story-card-promise .story-card-content {
    color: rgba(255,255,255,0.9);
}

.story-card-promise .story-card-icon {
    background: rgba(255,255,255,0.15);
}

.story-card-promise .story-card-icon svg {
    color: var(--color-white);
}

.story-card-promise:hover .story-card-icon {
    background: var(--color-white);
}

.story-card-promise:hover .story-card-icon svg {
    color: var(--color-accent);
}

.promise-list-inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.promise-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.promise-list-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-white);
    flex-shrink: 0;
}

/* ========================================
   How We Work Section
   ======================================== */
.how-we-work {
    background: var(--color-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 40px 24px;
    background: var(--color-background);
    border-radius: 16px;
    transition: var(--transition);
}

.process-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transform: translateY(-50%);
}

.process-number {
    font-size: 72px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
    transition: var(--transition);
}

.process-step:hover .process-number {
    opacity: 0.6;
}

.process-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 20px;
    box-shadow: var(--shadow-sm);
}

.process-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.process-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.process-subtitle {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.process-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.process-features {
    text-align: left;
}

.process-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.process-feature svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   Bento Grid Section (Core Data) - 4x4 Layout
   ======================================== */
.core-data {
    background: var(--color-background);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 160px);
    gap: 16px;
}

.bento-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Large Card: 2x2 - 25M+ Capacity */
.bento-card-large {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 32px;
}

/* Wide Cards: 2x1 */
.bento-card-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Tall Cards: 1x2 */
.bento-card-tall {
    grid-column: span 1;
    grid-row: span 2;
}

/* Accent Card */
.bento-card-accent {
    background: var(--color-accent);
    color: var(--color-white);
}

.bento-card-accent .bento-number {
    color: var(--color-white);
}

.bento-card-accent .bento-label {
    color: rgba(255,255,255,0.8);
}

.bento-card-accent .bento-sublabel {
    color: rgba(255,255,255,0.6);
}

.bento-card-accent .bento-description {
    color: rgba(255,255,255,0.8);
}

.bento-card-accent .cert-badge {
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
}

/* Primary Card */
.bento-card-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.bento-card-primary .bento-number {
    color: var(--color-white);
}

.bento-card-primary .bento-label {
    color: rgba(255,255,255,0.8);
}

.bento-card-primary .bento-sublabel {
    color: rgba(255,255,255,0.6);
}

.bento-card-primary .bento-description {
    color: rgba(255,255,255,0.8);
}

.bento-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.bento-card-large .bento-number {
    font-size: 80px;
    color: var(--color-white);
}

.bento-card-tall .bento-number {
    font-size: 56px;
}

.bento-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.bento-card-large .bento-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.bento-sublabel {
    font-size: 12px;
    color: var(--color-secondary);
}

.bento-card-large .bento-sublabel {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.bento-description {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-secondary);
    margin-top: 8px;
}

.bento-card-large .bento-description {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 90%;
}

.bento-icon-card {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.bento-icon-card .bento-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.bento-card-large .bento-icon {
    width: 48px;
    height: 48px;
    color: var(--color-white);
}

.bento-card-primary .bento-icon {
    color: var(--color-white);
}

.bento-icon-card .bento-label {
    font-size: 14px;
    margin-bottom: 4px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.cert-badge {
    background: var(--color-background);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-secondary);
}

.bento-card-large .cert-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

/* Feature List for Wide Cards */
.bento-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 8px;
}

.bento-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-secondary);
}

.bento-feature-item svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.bento-card-primary .bento-feature-item {
    color: rgba(255,255,255,0.8);
}

.bento-card-primary .bento-feature-item svg {
    color: var(--color-white);
}

/* Horizontal Layout for Wide Cards */
.bento-card-horizontal {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.bento-card-horizontal .bento-icon-wrap {
    flex-shrink: 0;
}

.bento-card-horizontal .bento-content {
    flex: 1;
}

/* ========================================
   Certifications Section
   ======================================== */
.certifications {
    background: var(--color-white);
}

.cert-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.cert-category {
    background: var(--color-background);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.cert-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cert-category-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
}

.cert-category-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.cert-category-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.cert-list {
    text-align: left;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.cert-item svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.third-party-highlight {
    background: linear-gradient(135deg, rgba(190, 18, 60, 0.05) 0%, rgba(190, 18, 60, 0.1) 100%);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.third-party-content {
    flex: 1;
}

.third-party-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.third-party-subtitle {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.third-party-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.third-party-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.third-party-service {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
}

.third-party-service svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.third-party-logos {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.third-party-logo {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-secondary);
}

/* ========================================
   Factory Gallery Section
   ======================================== */
.factory-gallery {
    background: var(--color-background);
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 16/9;
    background: var(--color-primary);
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1a1a 100%);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(190, 18, 60, 0.4);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(190, 18, 60, 0.5);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
    margin-left: 4px;
}

.video-label {
    margin-top: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: linear-gradient(135deg, #e5e5e5 0%, #d4d4d4 100%);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(190, 18, 60, 0.15) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.counter-animate {
    animation: countUp 0.6s ease-out forwards;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 991px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-card-large {
        grid-column: span 2;
        grid-row: span 2;
        min-height: 320px;
    }

    .bento-card-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-card-tall {
        grid-column: span 1;
        grid-row: span 2;
        min-height: 200px;
    }

    .bento-card {
        min-height: 160px;
    }

    .cert-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .third-party-highlight {
        flex-direction: column;
        text-align: center;
    }

    .third-party-services {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-subtitle {
        font-size: 16px;
    }

    .story-card {
        padding: 28px;
    }

    .story-card-title {
        font-size: 20px;
    }

    .process-number {
        font-size: 56px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card-large,
    .bento-card-wide,
    .bento-card-tall {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }

    .bento-card-large .bento-number {
        font-size: 56px;
    }

    .bento-number {
        font-size: 40px;
    }

    .bento-card {
        padding: 20px;
    }

    .bento-card-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .cert-categories {
        grid-template-columns: 1fr;
    }

    .third-party-services {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
