/* ============================================================
   ABOUT PAGE V2 — about.css
   ============================================================ */

/* ─── GENERAL OVERRIDES ──────────────────────────────────────── */
.inline-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.inline-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--accent);
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.5);
}

.btn-glow:hover::after {
    opacity: 0.2;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ─── DIAGONAL HERO ──────────────────────────────────────────── */
.about-hero-v2 {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--primary-dark);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 37, 64, 0.95) 0%, rgba(10, 61, 98, 0.8) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.about-hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
}

.hero-v2-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 5;
}

/* ─── ASYMMETRIC OVERVIEW ────────────────────────────────────── */
.overview-v2-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.ov2-visual {
    position: relative;
    height: 500px;
}

.ov2-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid white;
}

.ov2-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 380px;
    z-index: 1;
}

.img-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 260px;
    z-index: 2;
    border: 4px solid var(--bg-white);
}

.ov2-badge-float {
    position: absolute;
    top: -30px;
    right: 10%;
    z-index: 3;
    background: var(--bg-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(10, 61, 98, 0.15);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: floatV 4s ease-in-out infinite alternate;
}

.ov2-badge-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.ov2-badge-num sup {
    font-size: 1.1rem;
}

.ov2-badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

@keyframes floatV {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-12px);
    }
}

.ov2-title {
    font-size: 2.8rem;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.ov2-title span {
    color: var(--primary-light);
}

.ov2-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.ov2-text p:not(.ov2-lead) {
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 16px;
}

.ov2-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.ov2-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(10, 61, 98, 0.03);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.ov2-highlight i {
    font-size: 1.6rem;
    color: var(--accent);
    flex-shrink: 0;
}

.ov2-highlight strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
}

.ov2-highlight span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── VISION V2 (DARK MODE + CIRCUIT) ────────────────────────── */
.vision-v2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a3d62 0%, #041424 100%);
    color: white;
}

.circuit-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circuit-bg svg {
    width: 100%;
    height: 100%;
}

.vision-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-v2-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    transition: transform 0.4s;
}

.vision-v2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.v2-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-v2-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: white;
}

.v2-card-line {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.v2-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v2-card-list li {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.v2-card-list li i {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* ─── TIMELINE COMMITMENT ────────────────────────────────────── */
.commit-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.commit-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.commit-header p {
    color: var(--text-mid);
    font-size: 1.05rem;
}

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

.timeline-v2::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 4px;
    background: var(--border);
    border-radius: 4px;
}

.tl-item {
    position: relative;
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-marker {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: var(--bg-white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: 0 0 0 8px var(--bg-white);
    transition: transform 0.3s;
}

.tl-item:hover .tl-marker {
    transform: scale(1.1);
    background: var(--accent);
    color: var(--primary-dark);
}

.tl-content {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    flex: 1;
    transition: transform 0.4s, border-color 0.4s;
}

.tl-item:hover .tl-content {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.tl-content h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.tl-content p {
    color: var(--text-mid);
    line-height: 1.6;
}

/* ─── DIAGONAL CTA (Home Sync) ───────────────────────────────── */
.cta-v2 {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--primary-dark);
    color: white;
    text-align: center;
}

.cta-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.2;
}

.cta-v2-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
}

.cta-v2-inner {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
}

.cta-v2-inner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-v2-inner h2 span {
    color: var(--accent);
}

.cta-v2-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .overview-v2-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ov2-visual {
        height: 400px;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .ov2-text {
        text-align: center;
    }

    .inline-tag::before {
        display: none;
    }

    .inline-tag {
        padding-left: 0;
    }

    .ov2-highlights {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }

    .ov2-highlight {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 800px) {
    .vision-v2-grid {
        grid-template-columns: 1fr;
    }

    .ov2-highlights {
        grid-template-columns: 1fr;
    }

    .ov2-highlight {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .timeline-v2::before {
        left: 20px;
    }

    .tl-marker {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .tl-item {
        gap: 20px;
    }

    .tl-content {
        padding: 24px;
    }



    .cta-v2-inner h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .ov2-visual {
        height: 320px;
    }

    .img-large {
        height: 260px;
    }

    .img-small {
        height: 180px;
    }

    .ov2-badge-float {
        padding: 12px 16px;
        top: -15px;
    }

    .ov2-badge-num {
        font-size: 1.6rem;
    }

    .ov2-badge-text {
        font-size: 0.65rem;
    }
}
