/* =========================================================
   VUDEV - TRANG GIỚI THIỆU (ĐẲNG CẤP - ĐỒNG BỘ 100%)
   Đồng bộ với home.css: dùng chung :root variables
   Dark  = default (#050505)
   Light = [data-theme="light"] (#ffffff)
   ========================================================= */

/* ================= SCROLL REVEAL ANIMATION ================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 40px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Dot Pattern nền mờ, giống hero::before */
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--text-muted, #64748b) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.08;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    position: relative;
    z-index: 2;
}

/* ================= FOUNDER BLOCK ================= */
.founder-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 48px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

/* Spotlight rọi theo chuột */
.founder-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.founder-block:hover::after { opacity: 1; }

.founder-block:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(168, 85, 247, 0.03);
}

[data-theme="light"] .founder-block {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .founder-block:hover {
    border-color: rgba(168, 85, 247, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .founder-block::after {
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.04), transparent 40%);
}

/* Ảnh Founder */
.founder-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 3px;
    /* Viền gradient chạy */
    background: conic-gradient(from 0deg, #a855f7, #ec4899, #0ea5e9, #10b981, #a855f7);
    background-size: 100% 100%;
    animation: founderBorderSpin 4s linear infinite;
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
    transition: all 0.5s ease;
    z-index: 1;
}

@keyframes founderBorderSpin {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.founder-image-wrapper:hover {
    box-shadow: 0 30px 70px rgba(168, 85, 247, 0.5);
    transform: translateY(-4px);
}

[data-theme="light"] .founder-image-wrapper {
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15);
}

.founder-img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.founder-image-wrapper:hover .founder-img {
    transform: scale(1.03);
}

.founder-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

[data-theme="light"] .founder-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
}

.founder-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: 100px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    z-index: 2;
}

[data-theme="light"] .founder-tag {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Nội dung Founder */
.founder-content {
    position: relative;
    z-index: 1;
}

.founder-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.founder-role {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: inline-block;
    /* Gradient chữ như hero */
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.founder-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

/* ================= ECOSYSTEM SECTION ================= */
.eco-block {
    text-align: center;
}

.eco-block > p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.eco-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.15s ease-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transform-style: preserve-3d;
}

/* Spotlight rọi theo chuột trên eco-card */
.eco-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.08), transparent 40%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.eco-card:hover::after { opacity: 1; }

/* Dải sáng Top Border */
.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a855f7, #0ea5e9, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.eco-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(168, 85, 247, 0.03);
}

.eco-card:hover::before { opacity: 1; }

[data-theme="light"] .eco-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .eco-card:hover {
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .eco-card::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.04), transparent 40%);
}

/* Eco Icon */
.eco-icon {
    width: 64px;
    height: 64px;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.eco-card:hover .eco-icon {
    background: #a855f7;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.6);
    transform: rotate(10deg) scale(1.1);
}

/* Shop Variant */
.eco-card.shop .eco-icon {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.eco-card.shop:hover .eco-icon {
    background: #ec4899;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.4);
}

.eco-card.shop:hover::before {
    background: linear-gradient(90deg, transparent, #ec4899, #f59e0b, transparent);
}

.eco-card.shop:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(236, 72, 153, 0.03);
}

.eco-card.shop::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(236, 72, 153, 0.08), transparent 40%);
}

[data-theme="light"] .eco-card.shop::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(236, 72, 153, 0.04), transparent 40%);
}

.eco-card h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.eco-card p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 25px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.eco-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.eco-features li {
    position: relative;
    padding: 10px 0 10px 30px;
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

[data-theme="light"] .eco-features li {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

.eco-features li:last-child { border-bottom: none; }

.eco-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: #a855f7;
    font-weight: 900;
    font-size: 0.9rem;
}

.eco-card.shop .eco-features li::before {
    color: #ec4899;
}

.eco-features li:hover {
    color: var(--text-color);
    padding-left: 34px;
}

/* ================= TIMELINE / MILESTONES ================= */
.milestone-section {
    padding: 40px 0 140px;
    position: relative;
}

/* Nền background Pattern */
.milestone-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

[data-theme="light"] .milestone-section::before {
    background-image:
        radial-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
        radial-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Dải Laser gradient dọc (giống Sci-Fi Wire) */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, #a855f7, #ec4899, #0ea5e9, #10b981);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    border-radius: 10px;
}

[data-theme="light"] .timeline::before {
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

/* Tia chớp chạy dọc Timeline */
.timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 5px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    border-radius: 10px;
    animation: timelineTravel 3s infinite linear;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    z-index: 1;
}

[data-theme="light"] .timeline::after {
    background: linear-gradient(to bottom, transparent, rgba(168, 85, 247, 0.8), transparent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

@keyframes timelineTravel {
    0% { top: -80px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 28px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.15s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform-style: preserve-3d;
}

/* Spotlight rọi */
.timeline-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.timeline-content:hover::after { opacity: 1; }

.timeline-content:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 0 25px rgba(168, 85, 247, 0.03);
}

[data-theme="light"] .timeline-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .timeline-content:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .timeline-content::after {
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.04), transparent 40%);
}

/* Timeline Dot - Phát sáng Glow */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: var(--body-bg);
    border: 4px solid #a855f7;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.8), 0 0 60px rgba(168, 85, 247, 0.3);
    transform: translateX(-50%) scale(1.3);
    background: #a855f7;
}

.timeline-date {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: inline-block;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .founder-block {
        grid-template-columns: 1fr;
    }

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

    .founder-content h2 {
        font-size: 2.2rem;
    }

    .about-container {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 20px 0 40px;
    }

    .about-container {
        gap: 40px;
    }

    .founder-block {
        padding: 24px;
        gap: 30px;
        border-radius: 20px;
    }

    .eco-card {
        padding: 28px;
    }

    .founder-content h2 {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-end;
    }

    .timeline-content {
        width: calc(100% - 70px);
    }

    .timeline-dot {
        left: 30px;
    }

    .milestone-section {
        padding-bottom: 80px;
    }
}
