@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@200;400;700;900&display=swap');

/* BhuuX Studio: Mobile Masterpiece & Platinum Signature Configuration */
:root {
    --bg: #000000;
    --zinc-900: #0a0a0a;
    --zinc-800: #141414;
    --accent: #00f2ff;
    --accent-dim: rgba(0, 242, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #71717a;
    --border: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, background 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.1);
    border-color: #fff;
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none;
    }
}

@keyframes platinumShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.platinum-text {
    background: linear-gradient(90deg,
            #a3a3a3 0%,
            #ffffff 15%,
            #ffffff 25%,
            #e2e2e2 50%,
            #ffffff 75%,
            #ffffff 85%,
            #a3a3a3 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: platinumShine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.splash-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 12px;
    font-weight: 900;
    opacity: 0;
    transform: scale(0.9);
    animation: splashReveal 2s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splashReveal {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
        filter: blur(10px);
    }

    50% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.splash-loader {
    width: 40px;
    height: 2px;
    background: var(--zinc-800);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.splash-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    animation: loaderMove 2s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes loaderMove {
    to {
        transform: translateX(0);
    }
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--zinc-900);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    transform: translateY(-5px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Cinematic Background Engineering */
.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000;
    overflow: hidden;
}

.nebula {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.25) 0%, transparent 70%);
    filter: blur(100px);
    border-radius: 50%;
    animation: nebulaMove 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.nebula:nth-child(2) {
    background: radial-gradient(circle, rgba(0, 242, 255, 0.18) 0%, transparent 70%);
    top: -20%;
    left: -20%;
    animation-delay: -7s;
    animation-duration: 30s;
}

@keyframes nebulaMove {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 85%);
    opacity: 0.8;
}

.hero,
.bento-item,
.btn-luxury {
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(15, 15, 15, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.05);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

nav {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-rail {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(30px) saturate(150%);
    border: 0.5px solid var(--border);
    padding: 0.6rem 1.8rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero {
    min-height: 100vh;
    padding: clamp(100px, 15vh, 140px) 5% 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.motive-eyebrow {
    background: var(--zinc-800);
    border: 0.5px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 2rem;
    width: 100%;
}

.hero p {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 3.5rem;
    padding: 0 5%;
}

.btn-luxury {
    background: #fff;
    color: #000;
    padding: 1.1rem 2.8rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-luxury:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.3);
    transform: translateY(-2px);
}

.btn-luxury:active {
    transform: scale(0.95);
    background: var(--accent);
}

.bento-container {
    padding: 0 6%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
    margin-bottom: 8rem;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

.bento-item {
    background: var(--zinc-900);
    border: 0.5px solid var(--border);
    border-radius: 30px;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    position: relative;
    overflow: hidden;
    grid-column: span 12;
}

.bento-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 0.6rem;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bento-item img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 2rem;
    border-radius: 18px;
    border: 0.5px solid var(--border);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--accent-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.manifesto {
    padding: 6rem 8%;
    text-align: center;
    width: 100%;
}

.manifesto h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.manifesto p {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Founder & FAQ Styles */
.founder-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    max-width: 1000px;
    margin: 4rem auto;
    display: flex;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.founder-image-wrapper {
    flex: 0 0 300px;
    height: 400px;
    background: linear-gradient(45deg, #111, #222);
    border-radius: 20px;
    position: relative;
}

.founder-info {
    text-align: left;
}

.faq-container {
    max-width: 800px;
    margin: 6rem auto;
    padding: 0 5%;
}

.faq-item {
    background: var(--zinc-900);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 2rem;
}

.faq-item.active {
    border-color: var(--accent);
}

/* Device Tilt Effect */
.device-mockup {
    perspective: 1000px;
    margin-top: 4rem;
}

.device-frame {
    width: 280px;
    height: 580px;
    background: #000;
    border: 12px solid #1a1a1a;
    border-radius: 45px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    background: #0a0a0a;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }

    .founder-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .founder-info {
        text-align: center;
    }
}

@media (min-width: 768px) {

    .item-small-1,
    .item-small-2,
    .item-small-3 {
        grid-column: span 6;
    }
}

@media (min-width: 1024px) {
    .bento-container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 260px;
        max-width: 1250px;
        margin: 0 auto 10rem;
        gap: 2rem;
    }

    .bento-item {
        grid-column: span 12;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .item-main {
        grid-column: span 8;
        grid-row: span 2;
        padding-right: 50%;
        /* Strictly clear the right half */
    }

    .item-stats {
        grid-column: span 4;
        grid-row: span 2;
        padding-bottom: 60%;
        /* Push text up to avoid image */
    }

    .item-small-1,
    .item-small-2,
    .item-small-3 {
        grid-column: span 4;
        grid-row: span 1;
        text-align: center;
        padding-top: 3rem;
    }

    .item-small-1 .icon-circle,
    .item-small-2 .icon-circle,
    .item-small-3 .icon-circle {
        margin: 0 auto 1rem;
    }

    /* Strict Desktop Text Zones */
    .item-main h3,
    .item-main p,
    .item-main .icon-circle {
        max-width: 100%;
        position: relative;
        z-index: 2;
    }

    .bento-item img {
        position: absolute;
        margin-top: 0;
        object-fit: contain;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1;
        border: none;
        box-shadow: none;
    }

    /* Target specific images for perfect desktop alignment */
    .item-main img {
        width: 50%;
        height: 100%;
        top: 0;
        right: 0;
        object-fit: cover;
        border-radius: 0 30px 30px 0;
    }

    .item-stats img {
        width: 90%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(5%);
        border-radius: 20px 20px 0 0;
    }

    .bento-item:hover img {
        transform: scale(1.05);
    }

    .item-stats:hover img {
        transform: translateX(-50%) translateY(0);
    }
}

footer {
    padding: 10rem 8% 4rem;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.footer-main .logo-text {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tagline {
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.copyright {
    color: #1a1a1a;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: 2rem;
}

.footer-watermark {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    pointer-events: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-end;
    }
}