/* ═══════════════════════════════════════════════════════════
   about.css — Blockverse About Us Page — Complete Redesign
   Matches homepage atmospheric gradient aesthetic
   ═══════════════════════════════════════════════════════════ */

/* ── Shared Tokens ── */
.about-page {
    background: transparent;
    overflow-x: hidden;
}

.ab-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 16px;
}

.ab-label--light {
    color: var(--ink-dim);
}

.section-label-purple {
    display: inline-block;
    font-family: var(--font-primary) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 24px;
    line-height: 1;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.ab-hero__label-wrap {
    margin-bottom: 24px;
}

/* ── Buttons ── */
.ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(.16, 1, .3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.ab-btn svg {
    transition: transform 0.3s ease;
}

.ab-btn:hover svg {
    transform: translateX(4px);
}

.ab-btn--primary {
    background: var(--gradient-primary);
    color: var(--ink-dark) !important; /* matches industries CTA text color */
    background-size: 200% 200%;
    background-position: 0% 50%;
}

.ab-btn--primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 61, 138, 0.35);
    color: var(--ink-dark) !important;
}

.ab-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ab-btn--ghost:hover {
    border-color: var(--ink-dim);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.ab-btn--white {
    background: var(--ink);
    color: #111;
}

.ab-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    color: #111;
}

.ab-btn--ghost-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ab-btn--ghost-light:hover {
    border-color: var(--ink);
    color: var(--ink);
    transform: translateY(-2px);
}

.ab-btn svg {
    transition: transform 0.3s ease;
}

.ab-btn:hover svg {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════
   SECTION 1 — HERO
   ═══════════════════════════════════════════════════════ */
.ab-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ab-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.ab-hero__sky {
    position: absolute;
    inset: 0;
    background-image: url('../../images/about_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: abHeroScale 30s ease-out infinite alternate;
}

.ab-hero__sky::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Clean blue overlay - low opacity */
    background:
        radial-gradient(ellipse at 80% 10%, rgba(255, 61, 138, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(255, 181, 71, 0.08) 0%, transparent 60%),
        linear-gradient(155deg, rgba(6, 18, 46, 0.97), rgba(1, 43, 96, 0.92), rgba(6, 18, 46, 0.97));
}

@keyframes abHeroScale {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.ab-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
}

.ab-hero__orb--1 {
    width: 900px;
    height: 900px;
    top: -250px;
    right: -200px;
    background: radial-gradient(circle, rgba(255, 61, 138, 0.18), transparent 60%);
}

.ab-hero__orb--2 {
    width: 700px;
    height: 600px;
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(255, 61, 138, 0.12), transparent 60%);
}

.ab-hero__orb--3 {
    width: 500px;
    height: 500px;
    top: 30%;
    left: 40%;
    background: radial-gradient(circle, rgba(255, 61, 138, 0.06), transparent 55%);
}

/* Floating shapes */
.ab-hero__shape {
    position: absolute;
    border-radius: 12px;
    pointer-events: none;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(2px);
    animation: abFloat 12s ease-in-out infinite;
}

.ab-hero__shape--1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.ab-hero__shape--2 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 15%;
    animation-delay: -3s;
    transform: rotate(-20deg);
    border-radius: 50%;
}

.ab-hero__shape--3 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 20%;
    animation-delay: -6s;
    transform: rotate(45deg);
}

.ab-hero__shape--4 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 10%;
    animation-delay: -2s;
    transform: rotate(-10deg);
}

.ab-hero__shape--5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 60%;
    animation-delay: -8s;
    border-radius: 50%;
}

@keyframes abFloat {

    0%,
    100% {
        transform: translateY(0) rotate(var(--r, 15deg));
    }

    50% {
        transform: translateY(-20px) rotate(var(--r, 15deg));
    }
}

.ab-hero__grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.05) 70%, transparent);
}

.ab-hero__grid-line--h1 {
    top: 38%;
}

.ab-hero__grid-line--h2 {
    top: 65%;
    opacity: 0.5;
}

.ab-hero__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.ab-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ab-hero__title {
    font-family: var(--font-primary), sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 800 !important;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.ab-hero__title-accent {
    font-family: var(--font-primary);
    font-weight: 800 !important;
    background: var(--gradient-primary, var(--grad-cta)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ab-hero__sub {
    font-family: var(--font-primary);
    font-size: 18px; /* reduced from 20px */
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0 0 48px 0; /* Removed auto margins for left align */
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ab-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.ab-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ab-hero__scroll[data-ab-anim] {
    transform: translateX(-50%) translateY(30px);
}

.ab-hero__scroll[data-ab-anim].ab-visible {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
}

.ab-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    animation: abScrollPulse 2.5s ease-in-out infinite;
}

@keyframes abScrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }
}

.ab-hero__scroll span {
    font-family: var(--font-mono), monospace;
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════════════════
   SECTION 2 — STORY
   ═══════════════════════════════════════════════════════ */
.ab-story {
    padding: 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.ab-story__bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    /* Spotlight effect using mask */
    -webkit-mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent);
    mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent);
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease;
}

.ab-story:hover .ab-story__bg-grid {
    opacity: 1;
}

.ab-story .container {
    position: relative;
    z-index: 2;
}

.ab-story__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.ab-story__content {
    max-width: 480px;
}

.ab-story__title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 24px;
}

.ab-story__text {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 48px;
}

.ab-story__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 40px;
}

.ab-story__stat {
    display: flex;
    flex-direction: column;
}

.ab-story__stat-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.ab-story__stat-num {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}

.ab-story__stat-plus {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 400;
    color: var(--pink);
}

.ab-story__stat-label {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
}

.ab-story__stat-desc {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
}

/* Right Image Layout */
.ab-story__visual {
    position: relative;
}

.ab-story__image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.ab-story__image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.ab-story__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.ab-story__image-wrapper:hover .ab-story__image {
    transform: scale(1.05);
}

.ab-story__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 10, 5, 0.2), rgba(255, 61, 138, 0.1));
    mix-blend-mode: multiply;
    transition: opacity 0.5s ease;
}

.ab-story__image-wrapper:hover .ab-story__image-overlay {
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════
   SECTION 3 — VALUES
   ═══════════════════════════════════════════════════════ */
.ab-values {
    padding: 160px 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.ab-values .container {
    position: relative;
    z-index: 1;
}

.ab-values__minimal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.ab-values__header-col {
    position: sticky;
    top: 120px;
    align-self: start;
}

.ab-values__header-decor {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 180px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    line-height: 1;
    font-family: var(--font-primary);
}

.ab-values__header-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    color: #9ca3af;
    line-height: 1.6;
    margin-top: 24px;
    max-width: 320px;
}

.ab-values__title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-top: 16px;
}

.ab-values__list-col {
    display: flex;
    flex-direction: column;
}

.ab-value-item {
    display: flex;
    gap: 40px;
    padding: 40px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    margin: 0;
    position: relative;
}

.ab-value-item:first-child {
    margin-top: 0;
}

.ab-value-item:hover {
    background: var(--glass-bg);
    border-color: transparent;
    box-shadow: var(--shadow-soft);
}

.ab-value-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 61, 138, 0);
    border-radius: 16px;
    transition: all 0.5s ease;
    pointer-events: none;
}

.ab-value-item:hover::after {
    border-color: rgba(255, 61, 138, 0.15);
    inset: -1px;
}

.ab-value-num {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 300;
    color: var(--pink);
    padding-top: 4px;
    transition: transform 0.5s ease;
}

.ab-value-item:hover .ab-value-num {
    transform: scale(1.2);
}

.ab-value-content h3 {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.ab-value-content p {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

/* Custom Hero Visit Blockverse Button */
.ab-hero__btn-visit {
    font-family: var(--font-primary), sans-serif !important;
    font-size: 24px !important;
    padding: 18px 40px !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700 !important;
    background: var(--grad-cta) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(255, 61, 138, 0.4) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ab-hero__btn-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 61, 138, 0.6) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .ab-hero__btn-visit {
        font-size: 18px !important;
        padding: 12px 28px !important;
        border-radius: 12px !important;
    }
}

/* Top spacing adjustment for about page when hero is hidden */
.about-page .ab-story:first-of-type {
    padding-top: 156px !important;
}
@media screen and (max-width: 992px) {
    .about-page .ab-story:first-of-type {
        padding-top: 120px !important;
    }
}
