/* ==========================================================================
   CINEMATIC DESIGN SYSTEM & STYLE - TORAH COM VOCÊ
   ========================================================================== */

/* 1. Core Reset & CSS Custom Properties */
:root {
    /* Harmonious Cinematic Color Palette */
    --deep-blue: #0B1B35;
    --night-blue: #13294B;
    --gold: #F2C14E;
    --cloud-white: #F7F9FC;
    --cream: #FFF5E6;
    --sunlight: #FFD977;
    --accent-blue: #1D3A6C;
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(11, 27, 53, 0.65);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions & FX */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --glow-gold: 0 0 25px rgba(242, 193, 78, 0.35);
    --glow-sun: 0 0 80px rgba(255, 217, 119, 0.45);
}

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

html {
    scroll-behavior: initial; /* Driven by Lenis */
    font-size: 16px;
    background-color: var(--deep-blue);
    color: var(--cloud-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* 2. Scrollbar customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--deep-blue);
}
::-webkit-scrollbar-thumb {
    background: var(--night-blue);
    border: 2px solid var(--deep-blue);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* 3. Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--cream);
    opacity: 0.9;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-padding {
    padding: 10rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-subtitle {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--cloud-white);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

.gradient-text-gold {
    background: linear-gradient(135deg, var(--sunlight) 0%, var(--gold) 50%, var(--cream) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: none !important; /* Fix browser text-shadow transparency bleed-through bug */
}

/* 4. Glassmorphism Panels */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(242, 193, 78, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* 5. Custom Cursor (Desktop Only) */
.custom-cursor {
    width: 26px;
    height: 26px;
    border: 2px solid rgba(242, 193, 78, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    display: none;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    display: none;
}

@media (pointer: fine) {
    .custom-cursor, .custom-cursor-dot {
        display: block;
    }
}

.cursor-hover {
    background: rgba(242, 193, 78, 0.08);
    border-color: var(--gold);
    transform: translate(-50%, -50%) scale(1.6);
}

/* Cloud Dive Fog Transition Layer */
.cloud-dive-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.9) 60%, rgba(210, 225, 250, 0.7) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    z-index: 950;
    opacity: 0;
    will-change: opacity, filter;
}

/* 6. Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(11, 27, 53, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cloud-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--gold);
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-login {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cream);
    opacity: 0.8;
    padding: 0.6rem 1rem;
}

.btn-login:hover {
    opacity: 1;
    color: var(--gold);
}

.btn-nav-subscribe {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    box-shadow: var(--glow-gold);
}

.btn-nav-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(242, 193, 78, 0.6);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--cloud-white);
    cursor: pointer;
}

.nav-actions-mobile {
    display: none;
}

/* 7. Continuous Parallax Hero Section (Above the Clouds) */
.hero-parallax-container {
    position: relative;
    width: 100vw;
    height: 120vh; /* Extra height to accommodate scroll travel */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark contrast backdrop vignette & top blend gradient */
.hero-parallax-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: 
        linear-gradient(to bottom, rgba(11, 27, 53, 0.8) 0%, rgba(11, 27, 53, 0) 20%),
        radial-gradient(circle at 20% 50%, rgba(11, 27, 53, 0.75) 0%, rgba(11, 27, 53, 0.25) 50%, transparent 80%);
}

/* Each parallax layer scales up and sits perfectly absolute */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%; /* Taller than container to prevent empty gaps on scroll */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.layer-sky {
    background-color: var(--deep-blue);
    z-index: 1;
    top: -20%; /* Offset for y: '15%' scroll translation */
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    display: block;
    z-index: 1;
    transition: opacity 1.2s ease;
}

.hero-bg-video.playing {
    opacity: 0.9;
}

.layer-sun {
    z-index: 2;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-glow {
    position: absolute;
    top: 15%;
    right: 20%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sunlight) 0%, rgba(242,193,78,0.6) 30%, rgba(11,27,53,0) 70%);
    filter: blur(10px);
    box-shadow: var(--glow-sun);
    animation: sunPulse 6s infinite ease-in-out;
}

.god-rays {
    position: absolute;
    top: 0;
    right: 10%;
    width: 600px;
    height: 600px;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 217, 119, 0.05) 0deg 15deg,
        rgba(255, 217, 119, 0) 15deg 30deg
    );
    mask-image: radial-gradient(circle, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black, transparent 70%);
    mix-blend-mode: screen;
    animation: rayRotation 40s infinite linear;
}

.layer-far-clouds {
    background-image: url('assets/nuvens.svg');
    background-size: 100% auto;
    background-position: center bottom;
    z-index: 3;
    opacity: 0.45;
    top: 45%;
}

.layer-mid-clouds {
    background-image: url('assets/nuvens_1.svg');
    background-size: 100% auto;
    background-position: center bottom;
    z-index: 4;
    opacity: 0.65;
    pointer-events: none;
    top: 60%;
}

/* A cena em video ja esta contida no bg.webm.mp4 */

.layer-fg-clouds {
    background-image: url('assets/nuvens_2.svg');
    background-size: 100% auto;
    background-position: center bottom;
    z-index: 12;
    opacity: 0.7;
    pointer-events: none;
    top: 75%;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #ffffff 0%, rgba(11, 27, 53, 0) 100%);
    z-index: 13;
    pointer-events: none;
}

.layer-particles {
    z-index: 7;
    pointer-events: none;
}

#particles-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 15;
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-gold {
    background: rgba(242, 193, 78, 0.08);
    border: 1px solid rgba(242, 193, 78, 0.25);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge-gold i {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(11, 27, 53, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 5px 20px rgba(11, 27, 53, 0.6);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    font-weight: 800;
    padding: 1.1rem 2.2rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--glow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(242, 193, 78, 0.6);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cloud-white);
    font-weight: 700;
    padding: 1.1rem 2.2rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cloud-white);
    transform: translateY(-2px);
}

.hero-quick-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    width: 100%;
}

.quick-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.8;
}

.video-preview-card {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 280px;
    height: 280px;
    cursor: pointer;
    text-align: center;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.video-preview-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: rgba(242,193,78,0.4);
}

.play-btn-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
    position: relative;
}

.play-btn-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid rgba(242, 193, 78, 0.3);
    animation: ringRipple 2.5s infinite linear;
}

.video-preview-card span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.8;
    pointer-events: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.mouse-icon {
    width: 22px;
    height: 38px;
    border: 2px solid var(--cloud-white);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.8s infinite ease-in-out;
}

/* Audio control badge */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 800;
    background: rgba(11,27,53,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-quick);
}

.audio-control:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* 8. Cloud ocean transition zone */
.cloud-divider {
    height: 60vh;
    position: relative;
    background-color: #ffffff;
    z-index: 5;
    overflow: hidden;
}

.cloud-blend-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247,249,252,0.04) 0%, transparent 80%);
}

/* 9. Celestial Section (Floating course islands) */
.celestial-section {
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

.celestial-section .section-title {
    color: var(--deep-blue) !important;
}

.celestial-section .section-subtitle {
    color: #C59B27 !important; /* Darker golden bronze for contrast on white */
}

.celestial-section .section-description {
    color: rgba(11, 27, 53, 0.75) !important;
}

.celestial-section .more-courses-notice p {
    color: rgba(11, 27, 53, 0.75) !important;
}

.celestial-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    color: var(--cream);
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-quick);
}

.filter-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
    color: var(--cloud-white);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    border-color: var(--gold);
    font-weight: 700;
    box-shadow: var(--glow-gold);
}

/* Swiper 3D Carousel Slider */
.course-swiper {
    width: 100%;
    padding: 3rem 0 5rem 0 !important;
    overflow: visible !important; /* Allow 3D cards to pop out */
}

.course-swiper .swiper-wrapper {
    align-items: center;
}

.course-swiper .swiper-slide {
    width: 320px;
    height: auto;
    opacity: 0.35;
    transition: opacity 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.course-swiper .swiper-slide-active {
    opacity: 1;
}

.celestial-island-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    animation: driftFloat 8s infinite ease-in-out;
}

/* Stagger floating islands animations slightly */
.course-swiper .swiper-slide:nth-child(2n) .celestial-island-card {
    animation-delay: -2s;
    animation-duration: 9s;
}
.course-swiper .swiper-slide:nth-child(3n) .celestial-island-card {
    animation-delay: -4s;
    animation-duration: 7s;
}

/* Pagination Bullets */
.course-swiper .swiper-pagination {
    bottom: 1.5rem !important;
}

.course-swiper .swiper-pagination-bullet {
    background: var(--cream) !important;
    opacity: 0.35;
    width: 9px;
    height: 9px;
    transition: var(--transition-quick);
}

.course-swiper .swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1;
    transform: scale(1.35);
    box-shadow: 0 0 12px rgba(242, 193, 78, 0.55);
}

/* Navigation Buttons */
.course-swiper .swiper-button-prev,
.course-swiper .swiper-button-next {
    color: var(--gold) !important;
    background: rgba(11, 27, 53, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: var(--transition-smooth);
}

.course-swiper .swiper-button-prev::after,
.course-swiper .swiper-button-next::after {
    font-size: 1.25rem !important;
    font-weight: 900;
}

.course-swiper .swiper-button-prev:hover,
.course-swiper .swiper-button-next:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--deep-blue) !important;
    box-shadow: 0 0 25px rgba(242, 193, 78, 0.5);
    transform: translateY(-50%) scale(1.08) !important;
}

.course-swiper .swiper-button-prev {
    left: 1.5rem !important;
}

.course-swiper .swiper-button-next {
    right: 1.5rem !important;
}

.island-visual-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.island-visual-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.celestial-island-card:hover .island-visual-container img {
    transform: scale(1.1);
}

.island-card-details {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
    transform: translateZ(20px); /* Push up details inside 3D card */
}

.island-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.6rem;
}

.island-card-details h3 {
    font-size: 1.35rem;
    color: var(--cloud-white);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.island-card-details p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.more-courses-notice {
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 3rem;
}

.more-courses-notice p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* 10. Benefits Cloud Section (Rising Cards) */
.benefits-cloud-section {
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

/* Scroll-driven canvas background wrapper */
.benefits-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

#benefits-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.benefits-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.35) 20%, 
        rgba(11, 27, 53, 0.25) 70%, 
        rgba(11, 27, 53, 1) 100%);
    z-index: 2;
}

.benefits-cloud-section .container {
    position: relative;
    z-index: 5; /* Pushes content above canvas and overlay */
}

.benefits-cloud-section .section-title {
    color: var(--deep-blue) !important;
}

.benefits-cloud-section .section-subtitle {
    color: #C59B27 !important; /* Darker golden bronze for contrast on white */
}

.benefits-cloud-section .section-description {
    color: rgba(11, 27, 53, 0.75) !important;
}

.benefits-cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.benefit-card-cloud {
    padding: 3rem 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: driftFloat 7s infinite ease-in-out;
}

.benefit-card-cloud:nth-child(even) {
    animation-delay: -3s;
    animation-duration: 8s;
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(242, 193, 78, 0.08);
    border: 1px solid rgba(242, 193, 78, 0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.benefit-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.benefit-card-cloud h3 {
    font-size: 1.45rem;
    color: var(--cloud-white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.benefit-card-cloud p {
    font-size: 0.95rem;
    color: var(--cream);
    opacity: 0.85;
}

.cloud-card-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,193,78,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* 11. Journey Road Section */
.journey-road-section {
    background-color: var(--deep-blue);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.journey-interactive-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 620px;
    margin: 3rem auto 0 auto;
}

.road-of-light-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.road-active-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000; /* Controlled by ScrollTrigger */
    filter: drop-shadow(0px 0px 8px rgba(242, 193, 78, 0.8));
}

.journey-island-step {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
}

.island-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--night-blue);
    border: 2px solid var(--border-glass);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    transition: var(--transition-quick);
}

.journey-island-step.active .island-badge {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
    transform: scale(1.15);
}

.island-popup {
    padding: 1.5rem;
    text-align: center;
    opacity: 0.6;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.journey-island-step.active .island-popup {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(242,193,78,0.3);
}

.island-popup h4 {
    font-size: 1.15rem;
    color: var(--cloud-white);
    margin-bottom: 0.5rem;
}

.island-popup p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 12. Mentor Celestial Section */
.mentor-celestial-section {
    background-color: var(--deep-blue);
    position: relative;
    z-index: 10;
}

.mentor-celestial-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 6rem;
}

.mentor-visual-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mentor-cloud-halo {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(242,193,78,0.06) 0%, rgba(11,27,53,0) 70%);
    filter: blur(20px);
    pointer-events: none;
}

.mentor-image-glass-frame {
    position: relative;
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
}

.mentor-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: grayscale(20%);
}

.mentor-label-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(11,27,53,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: 16px;
}

.mentor-label-badge h4 {
    font-size: 1.2rem;
    color: var(--cloud-white);
    margin-bottom: 0.25rem;
}

.mentor-label-badge span {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.mentor-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mentor-quote-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cream);
    margin-bottom: 2rem;
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    letter-spacing: -0.01em;
}

.mentor-description-text {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.mentor-mission-text {
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.55;
    font-family: var(--font-heading);
}

.mentor-achievements-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.achieve-pill {
    padding: 0.8rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.achieve-pill i {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

/* 13. Testimonials Cloud Section */
.testimonials-cloud-section {
    background-color: var(--deep-blue);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.testimonials-floating-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-row-marquee {
    display: flex;
    gap: 2.5rem;
    width: max-content;
}

.ltr-marquee {
    animation: marqueeLtr 35s linear infinite;
}

.rtl-marquee {
    animation: marqueeRtl 35s linear infinite;
}

.testimonial-cloud-card {
    width: 380px;
    padding: 2.2rem;
    flex-shrink: 0;
}

.t-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.t-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--gold);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.t-header h4 {
    font-size: 1.05rem;
    color: var(--cloud-white);
}

.t-header span {
    font-size: 0.8rem;
    color: var(--cream);
    opacity: 0.7;
}

.t-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.t-rating i {
    width: 14px;
    height: 14px;
}

.testimonial-cloud-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 14. Celestial Pricing Section */
.celestial-pricing-section {
    background-color: var(--deep-blue);
    position: relative;
    z-index: 10;
}

.celestial-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: stretch;
}

.pricing-card-celestial {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card-celestial.popular-pricing {
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(242,193,78,0.18);
    position: relative;
    transform: scale(1.03);
    background: linear-gradient(180deg, rgba(242, 193, 78, 0.08) 0%, rgba(11, 27, 53, 0.75) 100%) !important;
}

.popular-ribbon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cream);
    margin-right: 0.3rem;
}

.price {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--cloud-white);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--cream);
    opacity: 0.8;
}

.price-subtext {
    font-size: 0.85rem;
    color: var(--gold);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plan-features li i {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.plan-features li.muted {
    opacity: 0.45;
}

.plan-features li.muted i {
    color: var(--cream);
}

.btn-outline-pricing, .btn-gold-pricing {
    width: 100%;
    padding: 1rem 0;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    display: block;
}

.btn-outline-pricing {
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cloud-white);
}

.btn-outline-pricing:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--cloud-white);
}

.btn-gold-pricing {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    box-shadow: var(--glow-gold);
}

.btn-gold-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(242,193,78,0.5);
}

/* Guarantee Panel */
.pricing-guarantee-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 3rem;
    align-items: center;
    margin-top: 5rem;
}

.guarantee-badge-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(242, 193, 78, 0.08);
    border: 1px solid rgba(242, 193, 78, 0.25);
    color: var(--gold);
}

.guarantee-badge-large i {
    width: 36px;
    height: 36px;
    margin-bottom: 0.25rem;
}

.guarantee-badge-large span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guarantee-content h3 {
    font-size: 1.45rem;
    color: var(--cloud-white);
    margin-bottom: 0.8rem;
}

.guarantee-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* 15. FAQ Section */
.celestial-faq-section {
    background-color: var(--deep-blue);
    position: relative;
    z-index: 10;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item-celestial {
    padding: 0;
    overflow: hidden;
}

.faq-head-btn {
    width: 100%;
    padding: 1.8rem 2.2rem;
    background: none;
    border: none;
    color: var(--cloud-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-arrow-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-content p {
    padding: 0 2.2rem 1.8rem 2.2rem;
    font-size: 0.98rem;
    opacity: 0.9;
}

/* Active FAQ states */
.faq-item-celestial.active {
    border-color: rgba(242,193,78,0.3);
}

.faq-item-celestial.active .faq-arrow-icon {
    transform: rotate(180deg);
}

/* 16. Final CTA Section (Gigantic platform above the clouds) */
.final-cta-celestial-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

.final-cta-sky-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--deep-blue) 0%, #1a3c6d 50%, #d89f38 100%);
    opacity: 0.85;
    z-index: 1;
}

.final-cta-clouds-fg {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--deep-blue) 20%, rgba(247,249,252,0.1) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2;
}

.final-cta-wrapper {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.cta-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sunlight);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.cta-headline {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.1;
    color: var(--cloud-white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 3.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-gold-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--sunlight) 100%);
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.2rem 2.8rem;
    border-radius: 40px;
    box-shadow: var(--glow-gold);
}

.btn-gold-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(242,193,78,0.75);
}

.btn-outline-cta {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--cloud-white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 2.8rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-cta:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--cloud-white);
    transform: translateY(-2px);
}

.final-cta-trust {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.8;
}

.final-cta-trust span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.final-cta-trust i {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* 17. Footer styling */
.celestial-footer {
    background-color: #050c18;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 5rem 0 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    max-width: 320px;
    opacity: 0.75;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    color: var(--cloud-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--cream);
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* 18. Video modal popup */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 12, 24, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    color: var(--cloud-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.modal-close-btn:hover {
    background: var(--gold);
    color: var(--deep-blue);
    transform: scale(1.05);
}

.modal-close-btn i {
    width: 24px;
    height: 24px;
}

.modal-iframe-container {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active .modal-iframe-container {
    transform: scale(1);
}

.modal-iframe-container iframe {
    width: 100%;
    height: 100%;
}

/* 19. Keyframe Animations */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(242, 193, 78, 0.4));
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(242, 193, 78, 0.8));
    }
}

@keyframes sunPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes rayRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wheelScroll {
    0% {
        top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 26px;
        opacity: 0;
    }
}

@keyframes ringRipple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@keyframes driftFloat {
    0%, 100% {
        transform: translateY(0px) rotate3d(1, 1, 1, 0deg);
    }
    50% {
        transform: translateY(-12px) rotate3d(1, 1, 1, 1.5deg);
    }
}

@keyframes marqueeLtr {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRtl {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* 20. Responsive styling (Mobile & Tablet) */
@media (max-width: 1024px) {
    .section-padding {
        padding: 7rem 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-interactive-trigger-column {
        display: flex;
        justify-content: flex-start;
    }
    
    .video-preview-card {
        width: 100%;
        max-width: 450px;
        height: 160px;
        flex-direction: row;
        text-align: left;
    }
    
    .play-btn-circle {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    /* scene wrapper styles removed */
    
    .mentor-celestial-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .mentor-visual-column {
        order: 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* ==========================================================================
   16. TorahGo App Showcase Section
   ========================================================================== */
.torahgo-section {
    background-color: var(--deep-blue);
    position: relative;
    z-index: 10;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.torahgo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 5rem;
}

.torahgo-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-gold-app {
    background: rgba(242, 193, 78, 0.08);
    border: 1px solid rgba(242, 193, 78, 0.25);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge-gold-app i {
    width: 16px;
    height: 16px;
}

.app-section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--cloud-white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.app-section-desc {
    font-size: 1.15rem;
    color: var(--cream);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.app-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.app-feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(242, 193, 78, 0.08);
    border: 1px solid rgba(242, 193, 78, 0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-feat-icon i {
    width: 22px;
    height: 22px;
}

.app-feat-text h4 {
    font-size: 1.2rem;
    color: var(--cloud-white);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.app-feat-text p {
    font-size: 0.95rem;
    color: var(--cream);
    opacity: 0.8;
    line-height: 1.5;
}

.app-download-note {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.85;
}

.app-download-note i {
    color: var(--gold);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Premium 3D Phone Mockup Showcase */
.torahgo-visual-column {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible !important;
}

.app-mockup-showcase {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

/* Subtle gold background aura */
.showcase-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(242, 193, 78, 0.12) 0%, rgba(11, 27, 53, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}

.showcase-phone {
    position: absolute;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
}

/* Premium High-Fidelity Phone frame */
.phone-mockup-premium {
    position: relative;
    width: 270px;
    height: 550px;
    background: #090a0f;
    border-radius: 44px;
    padding: 8px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 3px 5px rgba(255, 255, 255, 0.15),
        inset 0 -3px 5px rgba(0, 0, 0, 0.6);
    border: 3px solid #3a3f4a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s ease;
}

/* Inner bezel outline */
.phone-frame-bezel {
    width: 100%;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    border: 2px solid #000000;
}

/* iPhone Dynamic Island capsule */
.phone-dynamic-island {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 19px;
    background: #000000;
    border-radius: 10px;
    z-index: 10;
    box-shadow: inset 0 0.5px 1px rgba(255, 255, 255, 0.15);
}

/* Screen viewport - hides status bars and bottom navigation */
.phone-screen-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000000;
}

/* Crop time, wifi, battery status bar (top) and home navigation indicator (bottom) */
.phone-screen-viewport img {
    position: absolute;
    top: -40px;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: calc(100% + 70px);
    object-fit: cover;
    display: block;
}

/* Diagonal glass screen glare/reflection overlay */
.phone-screen-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0) 26%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}

/* Floating zoom overlay indicator */
.phone-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 27, 53, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 8;
}

.phone-zoom-overlay i {
    width: 24px;
    height: 24px;
}

.phone-zoom-overlay span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Default state: Phone Fan coordinates in 3D space */
.phone-back-left {
    transform: translate3d(-105px, 20px, -150px) rotateY(16deg) scale(0.85);
    opacity: 0.45;
    filter: blur(2px);
    z-index: 1;
}

.phone-front-center {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    z-index: 3;
}

.phone-back-right {
    transform: translate3d(105px, 20px, -150px) rotateY(-16deg) scale(0.85);
    opacity: 0.45;
    filter: blur(2px);
    z-index: 1;
}

/* Interactive focus states (linked to features list hover via JavaScript) */
.app-mockup-showcase.focus-left .phone-back-left {
    transform: translate3d(-60px, -10px, 80px) rotateY(10deg) scale(1.02);
    opacity: 1;
    filter: blur(0);
    z-index: 5;
}
.app-mockup-showcase.focus-left .phone-front-center {
    transform: translate3d(85px, 15px, -100px) rotateY(-12deg) scale(0.85);
    opacity: 0.45;
    filter: blur(1.5px);
    z-index: 1;
}
.app-mockup-showcase.focus-left .phone-back-right {
    transform: translate3d(180px, 20px, -180px) rotateY(-18deg) scale(0.8);
    opacity: 0.25;
    filter: blur(3px);
    z-index: 0;
}

.app-mockup-showcase.focus-center .phone-front-center {
    transform: translate3d(0, -15px, 100px) scale(1.03);
    opacity: 1;
    filter: blur(0);
    z-index: 5;
}
.app-mockup-showcase.focus-center .phone-back-left {
    transform: translate3d(-110px, 15px, -100px) rotateY(12deg) scale(0.85);
    opacity: 0.4;
    filter: blur(1.5px);
    z-index: 1;
}
.app-mockup-showcase.focus-center .phone-back-right {
    transform: translate3d(110px, 15px, -100px) rotateY(-12deg) scale(0.85);
    opacity: 0.4;
    filter: blur(1.5px);
    z-index: 1;
}

.app-mockup-showcase.focus-right .phone-back-right {
    transform: translate3d(60px, -10px, 80px) rotateY(-10deg) scale(1.02);
    opacity: 1;
    filter: blur(0);
    z-index: 5;
}
.app-mockup-showcase.focus-right .phone-front-center {
    transform: translate3d(-85px, 15px, -100px) rotateY(12deg) scale(0.85);
    opacity: 0.45;
    filter: blur(1.5px);
    z-index: 1;
}
.app-mockup-showcase.focus-right .phone-back-left {
    transform: translate3d(-180px, 20px, -180px) rotateY(18deg) scale(0.8);
    opacity: 0.25;
    filter: blur(3px);
    z-index: 0;
}

/* Hover expansion on the focused mockup */
.showcase-phone:hover {
    z-index: 10 !important;
}

.showcase-phone:hover .phone-zoom-overlay {
    opacity: 1;
}

.showcase-phone:hover .phone-mockup-premium {
    box-shadow: 
        0 20px 45px rgba(242, 193, 78, 0.15),
        0 30px 65px rgba(0, 0, 0, 0.9);
    border-color: var(--gold);
}

/* Features list interactions */
.app-feature-item {
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    padding: 1.5rem;
    border-radius: 20px;
}

.app-feature-item.active {
    background: rgba(242, 193, 78, 0.03);
    border-color: rgba(242, 193, 78, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-feature-item.active .app-feat-icon {
    background: var(--gold);
    color: var(--deep-blue);
    box-shadow: var(--glow-gold);
    transform: scale(1.05);
}

.app-feature-item.active h4 {
    color: var(--gold);
}

/* Lightbox modal overlay styles */
.lightbox-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 12, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--cloud-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.lightbox-close-btn:hover {
    background: var(--gold);
    color: var(--deep-blue);
    transform: scale(1.05);
}

.lightbox-close-btn i {
    width: 24px;
    height: 24px;
}

.lightbox-content-container {
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-glass);
}

.lightbox-modal-overlay.active .lightbox-content-container {
    transform: scale(1);
}

.lightbox-content-container img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    display: block;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .torahgo-grid {
        gap: 3rem;
    }
    
    .header {
        padding: 1rem 0;
        background: rgba(11, 27, 53, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(5, 12, 24, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem;
        gap: 2rem;
        z-index: 890;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-glass);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 2rem;
    }
    
    .btn-login, .btn-nav-subscribe {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-menu {
        gap: 1.25rem;
    }
    .nav-link {
        font-size: 0.88rem;
    }
    .nav-actions {
        gap: 1rem;
    }
    .btn-login {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    .btn-nav-subscribe {
        font-size: 0.82rem;
        padding: 0.65rem 1.25rem;
    }
    .logo {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .section-padding {
        padding: 4.5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .hero-parallax-container {
        height: auto;
        min-height: 100vh;
        padding: 7rem 0 3.5rem 0;
        display: flex;
        align-items: center;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    
    /* Hide empty cloud divider on mobile to eliminate the 60vh white gap */
    .cloud-divider {
        display: none !important;
    }

    /* Pull the celestial section up to overlap the hero bottom fade and eliminate subpixel gap lines */
    .celestial-section {
        margin-top: -3px !important;
        position: relative;
        z-index: 10;
        border-top: none !important;
        box-shadow: none !important;
    }
    
    /* Disable complex parallax translations on mobile for optimal performance */
    .parallax-layer {
        height: 100%;
    }
    
    .layer-sky, .layer-sun {
        top: 0 !important;
    }
    
    .hero-parallax-container::before {
        background: 
            linear-gradient(to bottom, rgba(11, 27, 53, 0.75) 0%, rgba(11, 27, 53, 0.3) 30%, rgba(11, 27, 53, 0.75) 100%),
            radial-gradient(circle at 50% 50%, rgba(11, 27, 53, 0.65) 0%, transparent 80%) !important;
    }
    
    /* Hide heavy SVG clouds in the hero section on mobile to improve readability and rendering speed */
    .layer-far-clouds,
    .layer-mid-clouds,
    .layer-fg-clouds {
        display: none !important;
    }
    
    .hero-content-overlay {
        position: relative;
        padding-top: 0;
        height: auto;
        z-index: 15;
    }
    
    .hero-text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .badge-gold {
        padding: 0.45rem 0.9rem;
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
        margin-bottom: 1rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.45;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-gold, .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    /* Stats displayed side-by-side in a single row on mobile to save vertical space */
    .hero-quick-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding-top: 1.25rem;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .quick-stat {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .stat-num {
        font-size: 1.35rem;
    }
    
    .stat-lbl {
        font-size: 0.68rem;
        line-height: 1.2;
    }
    
    /* Adjust pricing grid gap and padding on mobile */
    .celestial-pricing-grid {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .pricing-card-celestial {
        padding: 2.2rem 1.5rem;
    }
    
    .pricing-card-celestial.popular-pricing {
        transform: none; /* Disable 3D scale zoom on mobile to prevent clipping and align nicely */
    }
    
    /* Adjust Testimonial Cards for mobile screens */
    .testimonial-cloud-card {
        width: 310px;
        padding: 1.5rem;
    }
    
    .journey-interactive-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .road-of-light-svg {
        display: none; /* Hide road path SVG on mobile */
    }
    
    .journey-island-step {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
    }
    
    .island-popup {
        opacity: 1;
        transform: none;
    }
    
    .pricing-guarantee-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .guarantee-badge-large {
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-gold-cta, .btn-outline-cta {
        width: 100%;
    }
    
    .final-cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Decrease floating animation intensity on mobile */
    @keyframes driftFloat {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-5px); }
    }

    /* Hide navigation on mobile and adjust slider slides width */
    .course-swiper .swiper-button-prev,
    .course-swiper .swiper-button-next {
        display: none !important;
    }
    .course-swiper .swiper-slide {
        width: 275px;
    }

    /* TorahGo App mobile styles */
    .torahgo-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .torahgo-text-column {
        align-items: center;
        text-align: center;
    }
    
    .badge-gold-app {
        margin-bottom: 1.25rem;
    }
    
    .app-section-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        margin-bottom: 1.25rem;
    }
    
    .app-section-desc {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .app-features-list {
        gap: 1rem;
        margin-bottom: 2rem;
        text-align: left;
        width: 100%;
    }
    
    .app-feature-item {
        gap: 1.2rem;
        padding: 1rem;
    }
    
    .app-download-note {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Mobile overrides for Showcase Fan */
    .app-mockup-showcase {
        height: 480px;
        max-width: 280px;
        perspective: none;
        overflow: visible;
    }

    .showcase-phone {
        position: absolute;
        left: 50% !important;
        top: 50% !important;
        transform: translate3d(-50%, -50%, 0) scale(0.9) !important;
        opacity: 0 !important;
        filter: none !important;
        visibility: hidden;
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .phone-mockup-premium {
        width: 220px;
        height: 450px;
        border-radius: 36px;
    }

    .phone-frame-bezel {
        border-radius: 30px;
    }

    /* Display only the focused phone screen on mobile */
    .app-mockup-showcase.focus-left .phone-back-left,
    .app-mockup-showcase.focus-center .phone-front-center,
    .app-mockup-showcase.focus-right .phone-back-right {
        opacity: 1 !important;
        visibility: visible;
        pointer-events: all;
        z-index: 5;
    }

    .phone-zoom-overlay {
        opacity: 0;
    }

    .showcase-phone:active .phone-zoom-overlay {
        opacity: 1;
    }
}

/* ==========================================================================
   WhatsApp Floating Button & Pulse Animation
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: pulse-whatsapp 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float i {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    background: #20ba5a;
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
