/* Modern Orbit LMS Styles */
:root {
    --primary: #6A3DE8;
    --primary-glow: rgba(106, 61, 232, 0.4);
    --wellness-pink: #FFB7C5;
    --wellness-maroon: #5E0B15;
    --bg-dark: #000000;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-sans: 'Poppins', sans-serif;
    --phone-width: 250px;
    --sidebar-width: 140px;
}

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

.is-hero-active * {
    cursor: none !important;
}

.is-content-active * {
    cursor: auto;
}

body {
    font-family: var(--font-sans);
    color: #fff;
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    min-height: 100vh;
    transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-transition-purple {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    background-attachment: fixed;
}

.bg-transition-wellness {
    background: linear-gradient(135deg, var(--wellness-pink) 0%, var(--wellness-maroon) 100%);
    background-attachment: fixed;
}

.cursor-trail-symbol {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    color: var(--primary);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    user-select: none;
    mix-blend-mode: screen;
    transition: color 0.6s ease;
}

.bg-transition-wellness .cursor-trail-symbol {
    color: var(--wellness-pink);
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 61, 232, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: background 0.6s ease;
}

.bg-transition-wellness .cursor-glow {
    background: radial-gradient(circle, rgba(255, 183, 197, 0.3) 0%, transparent 70%);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    background-color: #000000;
}

.hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.9;
    margin-bottom: 20px;
}

.interactive-title {
    display: inline-flex;
    white-space: pre;
}

.title-char {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                text-shadow 0.3s ease, 
                color 0.3s ease;
    font-family: var(--font-sans);
}

.title-char:hover {
    transform: scale(1.08);
    color: #fff;
    text-shadow: 
        0 0 20px var(--primary),
        0 0 40px var(--primary-glow),
        0 0 60px rgba(255, 255, 255, 0.2);
}

.title-space {
    display: inline-block;
}

.hero p {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 300;
    opacity: 0.6;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 28px; }
}

.interactive-scroll-zone {
    position: relative;
    width: 100%;
}

.sticky-phone-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.phone-mockup {
    grid-column: 1;
    justify-self: center;
    margin-left: var(--sidebar-width);
    width: var(--phone-width);
    aspect-ratio: 9 / 20;
    height: auto;
    max-height: 80vh;
    background: #050505;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 60px 120px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.phone-nav-btn {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 110;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.phone-nav-btn:hover { 
    background: var(--primary); 
    border-color: transparent; 
}

.phone-nav-btn.prev { 
    left: -75px; 
}

.phone-nav-btn.next { 
    right: -75px; 
}

.phone-screen {
    flex: 1;
    width: 100%;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    color: #111;
    position: relative;
}

.screen-inner { 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}

.app-bar { 
    display: none;
}

.screen-content { 
    flex: 1; 
    overflow: hidden; 
    position: relative; 
}

.sub-slide-container { 
    display: flex; 
    height: 100%; 
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); 
}

.sub-slide { 
    min-width: 100%; 
    height: 100%; 
    padding: 0;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    overflow: hidden;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.screen-dots { 
    padding: 12px; 
    display: flex; 
    justify-content: center; 
    gap: 6px; 
}

.s-dot { 
    width: 5px; 
    height: 5px; 
    border-radius: 50%; 
    background: #eee; 
    transition: all 0.3s; 
}

.s-dot.active { 
    background: var(--primary); 
    width: 15px; 
    border-radius: 4px; 
}

.content-layers {
    margin-top: -100vh;
}

.scroll-section {
    height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.text-content {
    grid-column: 2;
    padding-left: 10%;
    padding-right: 5%;
    z-index: 10;
    text-align: left;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.footer {
    padding: 100px 10% 50px;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(40px);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 110;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-section h3 { 
    font-family: var(--font-sans); 
    font-size: 1.2rem; 
    color: var(--primary); 
    margin-bottom: 25px; 
    font-weight: 600; 
}

.footer-section p { 
    font-family: var(--font-sans); 
    color: rgba(255,255,255,0.4); 
    display: block; 
    margin-bottom: 12px; 
    font-size: 0.9rem; 
}

.footer-section a { 
    font-family: var(--font-sans); 
    color: rgba(255,255,255,0.4); 
    text-decoration: none; 
    display: block; 
    margin-bottom: 12px; 
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom { 
    text-align: center; 
    padding-top: 40px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    font-size: 0.75rem; 
    color: rgba(255,255,255,0.2); 
}

.logo-container {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1001;
    pointer-events: auto;
}

.site-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.site-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating-nav {
    position: fixed;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.floating-nav.is-hero {
    top: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0 15px;
}

.floating-nav.is-sidebar {
    top: 100px;
    left: 30px;
    bottom: 100px;
    display: flex;
    align-items: center;
}

.nav-pill {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    padding: 6px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.is-sidebar .nav-pill {
    flex-direction: column;
    padding: 12px 6px;
    gap: 8px;
}

.nav-pill button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    padding: 12px 18px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.7rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.nav-pill button:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.nav-pill button.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-transition-wellness .nav-pill button.active {
    background: var(--wellness-pink);
    color: var(--wellness-maroon);
    box-shadow: 0 5px 15px rgba(255, 183, 197, 0.4);
}

@media (max-width: 768px) {
    .floating-nav {
        display: none !important;
    }

    .is-hero-active * { 
        cursor: auto !important; 
    }

    .sticky-phone-container {
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: flex-start;
        padding-top: 10vh;
    }

    .phone-mockup {
        grid-column: 1;
        margin-left: 0;
        width: 180px;
        max-height: 50vh;
        box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    }

    .phone-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .phone-nav-btn.prev { 
        left: -45px; 
    }
    
    .phone-nav-btn.next { 
        right: -45px; 
    }

    .scroll-section {
        grid-template-columns: 1fr;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 10vh;
    }

    .text-content {
        grid-column: 1;
        width: 90%;
        margin: 0 auto;
        padding: 24px;
        text-align: center;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .section-title {
        font-family: var(--font-sans);
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-family: var(--font-sans);
        font-size: 0.9rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero h1 { 
        font-size: 3.5rem; 
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    :root { 
        --sidebar-width: 80px; 
    }
    
    .text-content { 
        padding-left: 5%; 
    }
}
