/**
 * About Page Styles - Jaw-Dropping Unisex Premium Luxury Tech
 * Adapts to Light/Dark Mode via data-theme
 */

/* =========================================
   BASE & GLOBALS
   ========================================= */
body.page-template-page-about {
    overflow-x: hidden;
    cursor: none;
    background-color: var(--bg-primary);
    position: relative;
}

/* Global Noise Overlay for Texture */
.global-noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9998;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
}

/* Custom Cursor */
#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
    background-color: rgba(var(--accent-rgb), 0.05);
    backdrop-filter: blur(2px);
}

#cursor-glow.hovering {
    width: 80px;
    height: 80px;
    background-color: rgba(var(--accent-rgb), 0.2);
    border-color: transparent;
    mix-blend-mode: difference;
}

#cursor-dot.hovering {
    transform: translate(-50%, -50%) scale(0);
}

[data-theme="light"] #cursor-glow.hovering {
    mix-blend-mode: multiply;
}

/* Typography Enhancements */
.about-page-wrapper h1,
.about-page-wrapper h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--text-secondary) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientText 5s linear infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
.about-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Dynamic Hero Orbs */
.hero-orb-1,
.hero-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
    animation: floatOrb 20s ease-in-out infinite alternate;
}

.hero-orb-1 {
    width: 60vw;
    height: 60vw;
    background: var(--accent-glow);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--text-secondary) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(128, 128, 128, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 128, 128, 0.05) 1px, transparent 1px);
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
}

.kinetic-text {
    font-size: clamp(3rem, 10vw, 12rem);
    display: flex;
    flex-direction: column;
    letter-spacing: -2px;
    color: var(--text-hero);
    perspective: 1000px;
}

.kinetic-text span {
    display: block;
    transform: translateY(100px) rotateX(20deg);
    opacity: 0;
    animation: heroTextReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-style: preserve-3d;
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.kinetic-text .line-1 {
    animation-delay: 0.1s;
    display: inline-block;
}

.kinetic-text .line-2 {
    animation-delay: 0.2s;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(2rem, 6vw, 6.5rem);
    letter-spacing: 0.3em;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
    display: inline-block;
}

.kinetic-text .line-3 {
    animation-delay: 0.3s;
    display: inline-block;
}

.hero-subtitle {
    margin-top: 2rem;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 650px;
    margin-inline: auto;
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: heroTextReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 1.5px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 2px;
    animation: mouseWheel 1.5s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes mouseWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.pulse-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    animation: textPulse 2s infinite alternate;
}

@keyframes textPulse {
    from {
        color: var(--text-muted);
        text-shadow: none;
    }

    to {
        color: var(--accent);
        text-shadow: 0 0 8px var(--accent-glow);
    }
}

/* =========================================
   3D MARQUEE
   ========================================= */
.about-marquee-container {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.about-marquee {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.05);
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    align-items: center;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-inner span {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.marquee-inner span.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-secondary);
}

.marquee-inner i {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   VISION (ASYMMETRICAL PARALLAX GRID)
   ========================================= */
.about-vision {
    padding: 15vw 0;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

.grid-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.glassmorphism-premium {
    background: rgba(var(--bg-card-rgb), 0.6);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 4.5rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .glassmorphism-premium {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.decorative-dots {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.3;
}

.vision-card h2 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.vision-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.accent-line-animated {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-card.is-revealed .accent-line-animated {
    width: 120px;
}

.vision-image {
    border-radius: 32px;
    position: relative;
    height: 700px;
    perspective: 1000px;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
}

.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: scale(1.15);
    transform-origin: center;
    will-change: transform;
    transition: filter 0.5s ease;
    filter: saturate(0.8) brightness(0.9);
}

.image-wrapper:hover .parallax-img {
    filter: saturate(1.1) brightness(1.05);
}

.floating-badge {
    position: absolute;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    animation: floatBadge 6s infinite ease-in-out;
}

[data-theme="light"] .floating-badge {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.floating-badge i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.top-right {
    top: 3rem;
    right: -2rem;
    animation-delay: 0s;
}

.bottom-left {
    bottom: 4rem;
    left: -2rem;
    animation-delay: 2s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* =========================================
   CRAFTSMANSHIP (SPOTLIGHT CARDS)
   ========================================= */
.about-craftsmanship {
    padding: 100px 0 150px;
    background: var(--bg-primary);
    position: relative;
}

.craft-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    color: transparent;
    -webkit-text-stroke: 1px rgba(128, 128, 128, 0.1);
    font-weight: 700;
    z-index: 0;
    pointer-events: none;
}

[data-theme="dark"] .title-bg {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

.title-fg {
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

#craft-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    perspective: 1000px;
}

.spotlight-card {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    /* For the gradient border */
    overflow: hidden;
    background: rgba(128, 128, 128, 0.1);
    transform-style: preserve-3d;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.1),
            transparent 40%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-border {
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--accent),
            transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.spotlight-card:hover .spotlight-border {
    opacity: 1;
}

.card-content-inner {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border-radius: 22px;
    padding: 3.5rem 2.5rem;
    height: 100%;
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.spotlight-card:hover .card-content-inner {
    transform: translateZ(40px);
}

.icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.craft-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.spotlight-card:hover .icon-glow {
    opacity: 0.3;
}

.card-content-inner h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-primary);
}

.card-content-inner p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* =========================================
   FINAL CTA (IMMERSIVE MULTI-LAYER)
   ========================================= */
.about-cta {
    padding: 100px 0 200px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-inline: 1.5rem;
    perspective: 1000px;
}

.cta-glass-box {
    background: rgba(var(--bg-card-rgb), 0.5);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 1100px;
    width: 100%;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

[data-theme="light"] .cta-glass-box {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 1);
}

.cta-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
    transform: translateZ(-50px);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    background: conic-gradient(from 0deg at 50% 50%, var(--accent) 0deg, transparent 60deg, var(--accent) 120deg, transparent 180deg, var(--accent) 240deg, transparent 300deg, var(--accent) 360deg);
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.15;
    animation: spinGlow 20s linear infinite;
    filter: blur(80px);
}

@keyframes spinGlow {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cta-content-wrapper {
    position: relative;
    z-index: 10;
    transform: translateZ(40px);
}

.cta-glass-box .massive-text {
    font-size: clamp(3rem, 7vw, 7rem);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.1;
    transform: translateZ(60px);
}

.cta-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 650px;
    margin-inline: auto;
    transform: translateZ(30px);
}

.massive-btn {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    transform: translateZ(50px);
}

.btn-circle-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-glow-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.massive-btn:hover .btn-glow-layer {
    transform: translateX(100%);
}

/* =========================================
   ANIMATIONS & UTILS (Scroll Reveals)
   ========================================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .grid-vision {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    #craft-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glassmorphism-premium {
        padding: 3rem 2rem;
    }

    .vision-image {
        height: 500px;
    }

    .cta-glass-box {
        padding: 5rem 2rem;
    }

    .floating-badge {
        display: none;
        /* Hide for cleaner mobile */
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 100px;
    }

    .vision-image {
        height: 400px;
    }
}