/* ================================================================
   ABOUT US PAGE — Screenshot-Aligned Layout (Ultra Premium V3)
   ================================================================ */

.about-main-section {
    position: relative;
    width: 100%;
    z-index: 2;
    padding-top: calc(9rem + var(--app-safe-top, env(safe-area-inset-top, 0px)));
    padding-bottom: 7rem;
}

/* === HERO TAGLINE === */
.about-hero-tagline {
    max-width: 960px;
    margin: 0 auto 3rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 25px rgba(201, 168, 76, 0.15);
    letter-spacing: -0.4px;
}

/* === TWO COLUMN CONTAINER === */
.about-split-container {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: stretch;
    gap: 0;
    margin-bottom: 6rem;
}

/* Left Column: Description Paragraphs */
.about-paragraphs-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.2rem;
    padding-right: 2rem;
}

.about-p {
    font-size: 1.15rem;
    color: rgba(236, 232, 225, 0.85);
    line-height: 1.95;
    text-align: left;
}

/* Center Column: Divider Line */
.about-divider-col {
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 100%;
}

.about-vertical-divider {
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--accent) 15%, 
        var(--accent) 85%, 
        transparent 100%
    );
    height: 100%;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Right Column: Stacked Cards */
.about-cards-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding-left: 2rem;
}

.about-right-card {
    position: relative;
    padding: 3rem 2.2rem;
    border-radius: var(--r-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(27, 23, 15, 0.78) 0%, rgba(12, 10, 7, 0.88) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.right-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 65%);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.about-right-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(201, 168, 76, 0.15);
}

.about-right-card:hover .right-card-glow {
    opacity: 0.45;
}

.right-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    margin-bottom: 1.4rem;
    z-index: 1;
    transition: transform 0.4s var(--ease-out), background-color 0.4s ease, border-color 0.4s ease;
}

.about-right-card:hover .right-card-icon {
    transform: scale(1.08);
    background-color: rgba(201, 168, 76, 0.15);
    border-color: var(--accent);
}

.right-card-icon svg {
    width: 24px;
    height: 24px;
}

.right-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    z-index: 1;
}

.right-card-desc {
    font-size: 0.92rem;
    color: rgba(236, 232, 225, 0.65);
    line-height: 1.7;
    max-width: 320px;
    z-index: 1;
}

/* === BOTTOM CTA CARD === */
.about-cta-section {
    position: relative;
    border-radius: var(--r-lg);
    background: linear-gradient(145deg, rgba(27, 23, 15, 0.88) 0%, rgba(12, 10, 7, 0.96) 100%) !important;
    border: 1px solid rgba(201, 168, 76, 0.1) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 4.5rem 2rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-cta-glow {
    position: absolute;
    bottom: -100px;
    width: 400px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.25) 0%, transparent 80%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.about-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    font-weight: 750;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    z-index: 1;
}

.about-cta-desc {
    font-size: 0.98rem;
    color: rgba(236, 232, 225, 0.65);
    margin-bottom: 2.2rem;
    max-width: 500px;
    z-index: 1;
}

.btn-about-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--r-sm);
    box-shadow: 0 8px 25px var(--accent-glow);
    transition: all 0.3s var(--ease-out);
    z-index: 1;
}

.btn-about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--accent-glow);
}

/* === RESPONSIVE STYLING === */
@media (max-width: 900px) {
    .about-main-section {
        padding-top: calc(7rem + var(--app-safe-top, env(safe-area-inset-top, 0px)));
        padding-bottom: 3.5rem;
    }
    .about-hero-tagline {
        margin-bottom: 2.5rem;
        font-size: 1.45rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    .about-split-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        margin-bottom: 4rem;
    }
    .about-paragraphs-col {
        order: 2;
        padding-right: 0;
        margin-bottom: 0;
        gap: 1.5rem;
    }
    .about-p {
        font-size: 0.95rem;
        line-height: 1.8;
        text-align: center;
        color: rgba(236, 232, 225, 0.75);
        padding: 0 1rem;
    }
    .about-divider-col {
        display: none;
    }
    .about-cards-col {
        order: 1;
        padding-left: 0;
        gap: 1.2rem;
        padding: 0 0.5rem;
    }
    .about-right-card {
        display: grid;
        grid-template-columns: 105px 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.8rem;
        row-gap: 0.2rem;
        align-items: center;
        padding: 1.2rem 1rem;
        text-align: left;
        background: linear-gradient(145deg, rgba(25, 25, 30, 0.8) 0%, rgba(10, 10, 12, 0.9) 100%) !important;
        border-radius: var(--r-md);
    }
    .right-card-icon {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0.2rem;
        width: 40px;
        height: 40px;
        justify-self: center;
    }
    .right-card-title {
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 0;
        font-size: 0.82rem;
        font-weight: 700;
        text-align: center;
        justify-self: center;
        line-height: 1.2;
    }
    .right-card-desc {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
        text-align: left;
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0.8rem;
        min-height: 45px;
        display: flex;
        align-items: center;
    }
    .about-cta-section {
        padding: 3rem 1.2rem;
        border-radius: var(--r-md);
    }
    .about-cta-title {
        font-size: 1.35rem;
    }
    .about-cta-desc {
        font-size: 0.88rem;
        margin-bottom: 1.8rem;
        padding: 0 1rem;
    }
    .btn-about-cta {
        padding: 0.75rem 1.8rem;
        font-size: 0.85rem;
    }
}

/* === ABOUT MODAL OVERLAY === */
.about-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.about-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.about-modal-card {
    position: relative;
    width: 90%;
    max-width: 580px;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(20, 17, 11, 0.96) 0%, rgba(7, 7, 5, 0.99) 100%) !important;
    border: 1px solid rgba(201, 168, 76, 0.15) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(201, 168, 76, 0.08);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    z-index: 1;
}

.about-modal-overlay.active .about-modal-card {
    transform: scale(1);
    opacity: 1;
}

.about-modal-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 140px;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.about-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.about-modal-close:hover {
    background: rgba(235, 87, 87, 0.1);
    border-color: rgba(235, 87, 87, 0.25);
    color: #EB5757;
    transform: rotate(90deg);
}

.about-modal-close svg {
    width: 18px;
    height: 18px;
}

.about-modal-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    z-index: 1;
    position: relative;
}

.about-modal-icon svg {
    width: 28px;
    height: 28px;
}

.about-modal-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff 30%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    position: relative;
}

.about-modal-body {
    font-size: 1.05rem;
    color: rgba(236, 232, 225, 0.85);
    line-height: 1.85;
    text-align: center;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.5rem;
    z-index: 1;
    position: relative;
}

/* Custom scrollbar for modal body */
.about-modal-body::-webkit-scrollbar {
    width: 5px;
}
.about-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.about-modal-body::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.2);
    border-radius: 10px;
}
.about-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.4);
}

@media (max-width: 900px) {
    .about-modal-card {
        padding: 2.5rem 1.5rem;
        max-width: 90%;
    }
    .about-modal-title {
        font-size: 1.45rem;
    }
    .about-modal-body {
        font-size: 0.95rem;
        line-height: 1.7;
        max-height: 260px;
    }
}
