/* ===================================================
   FINASHLP WEBXR MEDITATION
   PART 2A - GLOBAL + HERO + GLASSMORPHISM
=================================================== */

:root{
--bg:#050816;
--card:rgba(255,255,255,.08);
--border:rgba(255,255,255,.15);
--primary:#7c3aed;
--secondary:#00e5ff;
--text:#ffffff;
--muted:#b8bfd4;
--radius:22px;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:linear-gradient(180deg,#050816,#0a0f2c,#050816);
color:var(--text);
overflow-x:hidden;
}

/* Loading */

#loading-screen{
position:fixed;
inset:0;
display:flex;
justify-content:center;
align-items:center;
background:#050816;
z-index:99999;
}

.loader{
text-align:center;
}

.spinner{
width:70px;
height:70px;
border:5px solid rgba(255,255,255,.15);
border-top:5px solid var(--secondary);
border-radius:50%;
animation:spin 1s linear infinite;
margin:auto auto 20px;
}

@keyframes spin{
to{transform:rotate(360deg);}
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1200px, 92%);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 28px;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    z-index: 1000;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    font-size: 28px;

    font-weight: 800;

    letter-spacing: 2px;

    flex-shrink: 0;
}

.logo a {
    color: #fff;

    text-decoration: none;
}


/* =====================================================
   MAIN NAVIGATION
===================================================== */

.main-nav {
    display: flex;

    align-items: center;
}


.main-nav > ul {
    display: flex;

    align-items: center;

    gap: 28px;

    list-style: none;

    margin: 0;
    padding: 0;
}


.main-nav li {
    position: relative;
}


.main-nav a {
    color: #fff;

    text-decoration: none;

    font-weight: 500;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}


.main-nav a:hover {
    color: var(--secondary);
}


/* =====================================================
   MEDITATION DROPDOWN LINK
===================================================== */

.dropdown-link {
    display: flex;

    align-items: center;

    gap: 7px;
}


.dropdown-arrow {
    display: inline-block;

    font-size: 17px;

    line-height: 1;

    transition: transform 0.3s ease;
}


/* =====================================================
   SUBMENU
===================================================== */

.submenu {
    position: absolute;

    left: 50%;

    transform: translateX(-50%) translateY(10px);

    width: 220px;

    padding: 10px;

    margin: 0;

    list-style: none;

    background: rgba(10, 14, 35, 0.96);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    z-index: 1100;
}


/* Small arrow above submenu */

.submenu::before {
    content: "";

    position: absolute;

    top: -6px;

    left: 50%;

    width: 12px;
    height: 12px;

    transform: translateX(-50%) rotate(45deg);

    background: rgba(10, 14, 35, 0.96);

    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* Submenu links */

.submenu li {
    width: 100%;
}


.submenu li a {
    display: block;

    padding: 12px 15px;

    border-radius: 10px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease;
}


.submenu li a:hover {
    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    padding-left: 20px;
}


/* =====================================================
   DESKTOP HOVER DROPDOWN
===================================================== */

@media (min-width: 769px) {

    .dropdown:hover > .submenu {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateX(-50%)
            translateY(0);
    }


    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

}


/* =====================================================
   START BUTTON
===================================================== */

.nav-start-link {
    text-decoration: none;
}


.nav-btn {
    padding: 12px 24px;

    border: none;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    color: #fff;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.nav-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0, 200, 255, 0.25);
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.06);

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}


.menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    background: #fff;

    border-radius: 5px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .navbar {

        top: 12px;

        width: calc(100% - 24px);

        padding: 13px 16px;

        border-radius: 16px;
    }


    .logo {
        font-size: 23px;
    }


    /* Show hamburger */

    .menu-toggle {

        display: flex;

        order: 2;

        margin-left: auto;
    }


    /* Hide desktop nav */

    .main-nav {

        position: absolute;

        top: calc(100% + 10px);

        left: 0;

        width: 100%;

        padding: 12px;

        background: rgba(8, 12, 30, 0.97);

        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);

        border: 1px solid rgba(255, 255, 255, 0.12);

        border-radius: 16px;

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }


    /* Open mobile menu */

    .main-nav.mobile-open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    .main-nav > ul {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 3px;

        width: 100%;
    }


    .main-nav > ul > li {

        width: 100%;
    }


    .main-nav > ul > li > a {

        display: flex;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        padding: 14px 15px;

        border-radius: 10px;
    }


    .main-nav > ul > li > a:hover {

        background: rgba(255, 255, 255, 0.06);
    }


    /* Mobile submenu */
/* =====================================================
   MEDITATION DROPDOWN - FIXED HOVER
===================================================== */

.dropdown {
    position: relative;
}


/* Submenu */

.submenu {
    position: absolute;

    /*
     * IMPORTANT:
     * No gap between parent and submenu.
     */
    top: 100%;

    left: 50%;

    transform: translateX(-50%) translateY(10px);

    width: 280px;

    padding: 12px;

    margin: 0;

    list-style: none;

    background: rgba(8, 12, 30, 0.97);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 1100;
}


/*
 * Invisible bridge.
 *
 * This fills the tiny visual area between
 * the Meditation text and submenu.
 */

.submenu::after {
    content: "";

    position: absolute;

    top: -15px;

    left: 0;

    width: 100%;

    height: 18px;

    background: transparent;
}


/* =====================================================
   SHOW SUBMENU
===================================================== */

@media (min-width: 769px) {

    .dropdown:hover > .submenu {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateX(-50%)
            translateY(0);
    }


    .dropdown:hover .dropdown-arrow {

        transform: rotate(180deg);
    }

}


/* =====================================================
   SUBMENU LINKS
===================================================== */

.submenu li {
    width: 100%;
}


.submenu li a {

    display: block;

    padding: 14px 16px;

    border-radius: 10px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}


.submenu li a:hover {

    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    padding-left: 21px;
}

    /* Rotate arrow */

    .dropdown.submenu-open .dropdown-arrow {

        transform: rotate(180deg);
    }


    /* Mobile Start button */

    .nav-start-link {

        display: none;
    }


    /* Hamburger animation */

    .menu-toggle.active span:nth-child(1) {

        transform:
            translateY(7px)
            rotate(45deg);
    }


    .menu-toggle.active span:nth-child(2) {

        opacity: 0;
    }


    .menu-toggle.active span:nth-child(3) {

        transform:
            translateY(-7px)
            rotate(-45deg);
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .navbar {

        width: calc(100% - 16px);

        top: 8px;
    }


    .logo {

        font-size: 21px;
    }

}

/* Hero */

.hero{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:120px 20px;
position:relative;
overflow:hidden;
}

.hero-content{
position:relative;
max-width:820px;
text-align:center;
padding:60px;
background:rgba(255,255,255,.06);
backdrop-filter:blur(25px);
border:1px solid rgba(255,255,255,.12);
border-radius:30px;
z-index:5;
}

.badge{
display:inline-block;
padding:10px 22px;
border-radius:999px;
background:rgba(124,58,237,.2);
border:1px solid rgba(124,58,237,.4);
margin-bottom:25px;
}

.hero h1{
font-size:70px;
line-height:1.1;
font-weight:800;
margin-bottom:20px;
}

.hero h1 span{
background:linear-gradient(90deg,#00e5ff,#7c3aed);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero p{
font-size:20px;
line-height:1.8;
color:var(--muted);
margin-bottom:35px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.hero-buttons button{
padding:16px 34px;
border:none;
border-radius:999px;
font-size:17px;
font-weight:700;
cursor:pointer;
transition:.35s;
}

.hero-buttons button:first-child{
background:linear-gradient(90deg,var(--primary),var(--secondary));
color:#fff;
}

.hero-buttons button:last-child{
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.15);
color:#fff;
}

.hero-buttons button:hover{
transform:translateY(-4px);
}

/* Stats */

.hero-stats{
display:flex;
justify-content:center;
gap:25px;
margin-top:55px;
flex-wrap:wrap;
}

.stat{
padding:20px 30px;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.12);
border-radius:18px;
min-width:140px;
}

.stat h2{
font-size:34px;
color:var(--secondary);
margin-bottom:6px;
}

.stat p{
margin:0;
font-size:15px;
}

/* Aurora */

.aurora-bg{
position:absolute;
inset:0;
overflow:hidden;
}

.blob{
position:absolute;
border-radius:50%;
filter:blur(90px);
opacity:.55;
animation:float 12s ease-in-out infinite;
}

.blob1{
width:360px;
height:360px;
background:#7c3aed;
top:8%;
left:10%;
}

.blob2{
width:320px;
height:320px;
background:#00e5ff;
right:12%;
top:18%;
}

.blob3{
width:420px;
height:420px;
background:#3b82f6;
left:40%;
bottom:-120px;
}

@keyframes float{
50%{
transform:translateY(-40px) translateX(30px) scale(1.1);
}
}

/* Scroll */

.scroll-indicator{
position:absolute;
bottom:30px;
left:50%;
transform:translateX(-50%);
opacity:.7;
font-size:14px;
letter-spacing:2px;
}

/* Mobile */

@media(max-width:768px){

.navbar{
padding:7px 8px;
}
.navbar a{
   font-size: 11px;
color:#fff;
text-decoration:none;
font-weight:100;
transition:.3s;
padding:4px;
letter-spacing:0.3px;
}
.navbar ul {
    display: flex;
    gap: 4px;
    list-style: none;
}
.logo{
font-size:15px;
font-weight:300;
color: #7c3aed;
letter-spacing:1px;
}
.hero-content{
padding:35px 22px;
}
.nav-btn {
    padding: 7px 10px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 400;
    cursor: pointer;
}
.hero h1{
font-size:42px;
}

.hero p{
font-size:17px;
}

.hero-stats{
flex-direction:column;
align-items:center;
}

.stat{
width:220px;
}

}
/* ===================================================
   FINASHLP WEBXR MEDITATION
   PART 2B - EXPERIENCE + WEBXR + BREATHING + RESPONSIVE
=================================================== */

section{
padding:60px 6%;
position:relative;
}

#experiences h2,
#webxr-viewer h2,
#breathing h2,
#audio-controls h2{
text-align:center;
font-size:42px;
margin-bottom:30px;
font-weight:700;
}

.experience-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:30px;
}

.card{
background:rgba(255,255,255,.06);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.12);
border-radius:22px;
padding:30px;
text-align:center;
transition:.35s;
}

.card:hover{
transform:translateY(-10px);
border-color:#00e5ff;
box-shadow:0 20px 40px rgba(0,229,255,.18);
}

.card h3{
font-size:28px;
margin-bottom:15px;
}

.card p{
color:#c7d0e0;
line-height:1.7;
margin-bottom:25px;
}

.card button{
padding:12px 28px;
border:none;
border-radius:999px;
cursor:pointer;
background:linear-gradient(90deg,#7c3aed,#00e5ff);
color:#fff;
font-weight:700;
}

#aframe-container{
   background-image: url('assets/media/land.jpg');
height:650px;
border-radius:28px;
overflow:hidden;
border:1px solid rgba(255,255,255,.15);

box-shadow:0 20px 60px rgba(0,0,0,.45);
}

#breathing-circle{
width:240px;
height:240px;
margin:40px auto;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
background:radial-gradient(circle,#ff5101fa,#ffe101fa,#fb7b02a2);
animation:breathe 8s ease-in-out infinite;
box-shadow:0 0 60px rgba(255, 136, 0, 2.2);
 transform: scale(1);

    /* IMPORTANT:
       No animation when inactive */
    
}
/* breathing text start */
/* =========================
   GUIDED BREATHING
========================= */

#breathing-circle.breathing-active {
    animation: breathingAnimation 10s ease-in-out infinite;
}

@keyframes breathingAnimation {

    /* Breathe In */
    0% {
        transform: scale(0.85);
    }

    40% {
        transform: scale(1.15);
    }

    /* Hold */
    60% {
        transform: scale(1.15);
    }

    /* Breathe Out */
    100% {
        transform: scale(0.85);
    }
}



/* breathing text end */
#breath-text{
font-size:20px;
font-weight:400;
color:#fff;
}

@keyframes breathe{
0%,100%{
transform:scale(.75);
}
50%{
transform:scale(1.15);
}
}

.timer-buttons{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:20px;
margin-top:40px;
}

.timer-buttons button,
#audio-controls button{
padding:15px 28px;
border-radius:999px;
border:none;
cursor:pointer;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.15);
color:#fff;
transition:.3s;
}

.timer-buttons button:hover,
#audio-controls button:hover{
background:linear-gradient(90deg,#7c3aed,#00e5ff);
}

#audio-controls{
text-align:center;
}

#audio-controls button{
margin:10px;
}

footer{
padding:70px 20px;
text-align:center;
border-top:1px solid rgba(255,255,255,.08);
margin-top:70px;
}

footer h3{
font-size:32px;
margin-bottom:12px;
}

footer p{
color:#bfc8d8;
}

@media(max-width:991px){
#aframe-container{
height:500px;
}
}

@media(max-width:768px){

section{
padding:70px 20px;
}

#experiences h2,
#webxr-viewer h2,
#breathing h2,
#audio-controls h2{
font-size:32px;
}

#aframe-container{
height:340px;
}

#breathing-circle{
width:180px;
height:180px;
}

#breath-text{
font-size:22px;
}

.card{
padding:22px;
}

}
#vr-preview-section{

    width:100%;
    padding:80px 20px;
    background:#081028;

}

.section-title{

    text-align:center;
    color:#fff;
    font-size:48px;
    margin-bottom:45px;
    font-weight:700;

}

.vr-preview-card{

    width:min(1300px,95%);
    margin:auto;
    overflow:hidden;
    border-radius:30px;
    position:relative;

    border:1px solid rgba(255,255,255,.15);

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

    box-shadow:0 30px 70px rgba(0,0,0,.45);

}

.vr-link{

    display:block;
    text-decoration:none;
    color:#fff;

}

.vr-preview-image{

    width:100%;
    height:650px;
    object-fit:cover;
    display:block;

    transition:.8s;

}

.vr-preview-card:hover .vr-preview-image{

    transform:scale(1.08);

}

.vr-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.15),
        rgba(0,0,0,.55),
        rgba(0,0,0,.88)
    );

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:60px;

}

.vr-badge{

    width:max-content;

    padding:12px 28px;

    border-radius:50px;

    background:#0ec7ff;

    color:#fff;

    font-weight:700;

    margin-bottom:22px;

}

.vr-overlay h3{

    font-size:52px;

    margin-bottom:15px;

}

.vr-overlay p{

    max-width:720px;

    font-size:20px;

    line-height:1.8;

    opacity:.92;

}

.enter-vr-btn{

    margin-top:35px;

    width:220px;

    height:62px;

    border:none;

    border-radius:60px;

    background:linear-gradient(
        90deg,
        #00c6ff,
        #6a5cff
    );

    color:#fff;

    font-size:19px;

    cursor:pointer;

    transition:.4s;

}

.enter-vr-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 40px rgba(0,198,255,.45);

}@media(max-width:991px){

.section-title{

font-size:34px;

}

.vr-preview-image{

height:420px;

}

.vr-overlay{

padding:30px;

}

.vr-overlay h3{

font-size:34px;

}

.vr-overlay p{

font-size:17px;

}

.enter-vr-btn{

width:180px;

height:52px;

}

}

@media(max-width:600px){

.section-title{

font-size:28px;

}

.vr-preview-image{

height:300px;

}

.vr-overlay{

padding:20px;

}

.vr-overlay h3{

font-size:25px;

}

.vr-overlay p{

font-size:15px;

line-height:1.6;

}

.enter-vr-btn{

width:160px;

height:48px;

font-size:15px;

}

}
/* contact page */

