/* ABOUT-LEXORIA PAGE — premium redesign + scroll animations */
body { font-family: 'Vazirmatn', sans-serif !important; }

[data-reveal] {
    opacity: 0; transform: translateY(30px);
    transition: opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1);
    will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal="zoom"].revealed { transform: scale(1); }
[data-reveal="right"] { transform: translateX(-36px); }
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="left"] { transform: translateX(36px); }
[data-reveal="left"].revealed { transform: translateX(0); }

.about-hero {
    position: relative; min-height: 68vh; display: flex; align-items: center; overflow: hidden;
    background: linear-gradient(rgba(16,24,40,.88), rgba(16,24,40,.8)), url('../img/lexoria.jpg');
    background-size: cover; background-position: center; color: #fff;
}
.about-hero::before, .about-hero::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(200,164,93,0.14);
    filter: blur(2px); animation: aboutFloat 9s ease-in-out infinite; z-index: 1;
}
.about-hero::before { width: 420px; height: 420px; right: -140px; top: -120px; }
.about-hero::after { width: 260px; height: 260px; left: -100px; bottom: -80px; animation-delay: 2.4s; }
@keyframes aboutFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-22px) scale(1.05); } }
.about-hero .container { position: relative; z-index: 2; }
.about-hero .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.15;
    background: linear-gradient(90deg, #ffffff 20%, #e8d9bd 55%, #c8a45d 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px;
}
.about-hero h2.text-warning { font-weight: 600; letter-spacing: .5px; }
.about-hero .lead { color: rgba(255,255,255,.88); }
.about-hero p:not(.lead) { color: rgba(255,255,255,.7); }
.scroll-cue {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
    color: rgba(255,255,255,.75); font-size: 22px; animation: aboutBounce 2s ease-in-out infinite;
}
@keyframes aboutBounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

.about-img-wrap { position: relative; border-radius: 28px; overflow: hidden; }
.about-img-wrap img { transition: transform .7s cubic-bezier(.16,.84,.44,1); display: block; max-width: 100%; height: auto; }
.about-img-wrap:hover img { transform: scale(1.06) rotate(.3deg); }
.about-img-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(200,164,93,.25); pointer-events: none; }

.value-card {
    background: #fff; border-radius: 22px; padding: 44px 30px; text-align: center; height: 100%;
    box-shadow: 0 15px 40px rgba(16,24,40,.06); transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s;
}
.value-card:hover { transform: translateY(-10px); box-shadow: 0 26px 60px rgba(200,164,93,.2); }
.value-icon {
    width: 82px; height: 82px; border-radius: 50%; background: rgba(200,164,93,.12); color: #c8a45d;
    display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 22px;
    transition: .4s cubic-bezier(.16,.84,.44,1);
}
.value-card:hover .value-icon { background: linear-gradient(135deg,#c8a45d,#d8bb79); color: #fff; transform: rotate(8deg) scale(1.08); }
.value-card h4 { font-weight: 700; margin-bottom: 10px; }
.value-card p { color: #5b6572; margin-bottom: 0; }

.timeline-wrap { position: relative; }
.timeline-line { position: absolute; top: 30px; right: 12%; left: 12%; height: 3px; background: rgba(200,164,93,.18); z-index: 0; border-radius: 3px; overflow: hidden; }
.timeline-line-fill { position: absolute; top: 0; right: 0; height: 100%; width: 0%; background: linear-gradient(90deg,#c8a45d,#d8bb79); transition: width 1.6s cubic-bezier(.16,.84,.44,1); }
@media (max-width: 768px) { .timeline-line { display: none; } }
.timeline-step {
    position: relative; z-index: 1; background: #fff; padding: 30px; border-radius: 20px; width: 220px;
    text-align: center; box-shadow: 0 15px 40px rgba(16,24,40,.07); transition: transform .35s ease, box-shadow .35s ease;
}
.timeline-step:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(200,164,93,.2); }
.timeline-step span {
    display: flex; width: 60px; height: 60px; margin: auto auto 15px; border-radius: 50%;
    background: linear-gradient(135deg,#c8a45d,#d8bb79); color: #fff; align-items: center; justify-content: center;
    font-weight: bold; font-size: 18px; transition: .35s ease;
}
.timeline-step:hover span { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(200,164,93,.15); }
.timeline-step h5 { font-weight: 700; margin: 0; }

.trust-badge {
    display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid rgba(24,37,59,.06);
    border-radius: 18px; padding: 22px; height: 100%; box-shadow: 0 10px 28px rgba(16,24,40,.05);
    transition: transform .35s ease, box-shadow .35s ease;
}
.trust-badge:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(200,164,93,.15); }
.trust-badge i { font-size: 26px; color: #c8a45d; flex-shrink: 0; }
.trust-badge span { font-weight: 600; color: #243041; font-size: .95rem; }

.about-cta { position: relative; overflow: hidden; background: linear-gradient(135deg,#18253b,#243452); border-radius: 32px; padding: 60px 40px; color: #fff; text-align: center; }
.about-cta::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(200,164,93,.10); right: -120px; top: -120px; }
.about-cta h2 { font-weight: 800; color: #fff; }
.about-cta p { color: rgba(255,255,255,.85); }
.about-cta .btn-warning { background: linear-gradient(135deg,#c8a45d,#d8bb79); border: none; font-weight: 600; box-shadow: 0 12px 30px rgba(200,164,93,.3); }

@media (max-width: 768px) {
    .about-hero { min-height: 62vh; text-align: center; }
    .about-cta { padding: 44px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .about-hero::before, .about-hero::after, .scroll-cue { animation: none !important; }
}

/* Responsive safety net (about-lexoria.html doesn't load css3.css) */
html { max-width: 100%; overflow-x: hidden; }
body { max-width: 100%; }
img { max-width: 100%; height: auto; }
.navbar.sticky-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1030; }
