/* ==========================================================================
   CSS Reset & Premium Variables
   ========================================================================== */
   :root {
    --bg-dark: #0D0520;
    --bg-alt: #130a28;
    --bg-card: rgba(255, 255, 255, 0.015);
    --bg-card-hover: rgba(255, 255, 255, 0.03);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(139, 92, 246, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(245, 243, 255, 0.7);
    --text-muted: rgba(245, 243, 255, 0.4);
    
    --accent-primary: #8B5CF6;
    --accent-secondary: #A78BFA;
    --accent-gradient: linear-gradient(135deg, #7C3AED, #8B5CF6, #A78BFA);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
    
    --transition-slow: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --section-pad: 120px 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Refined Background Effects
   ========================================================================== */
.background-effects {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(20, 10, 45, 1) 0%, var(--bg-dark) 70%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
}

.orb-1 {
    top: -20%; left: -10%;
    width: 60vw; height: 60vw;
    background: var(--accent-primary);
}

.orb-2 {
    bottom: -20%; right: -10%;
    width: 50vw; height: 50vw;
    background: var(--accent-secondary);
}

/* ==========================================================================
   Typography & Utils
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    font-weight: 700;
}

.highlight {
    color: var(--accent-primary);
}

.highlight-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: var(--section-pad);
}

.section-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Premium Cards
   ========================================================================== */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-slow);
}

.glass:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.1);
}

.card {
    padding: 40px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    opacity: 0.95;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding-top: 40px; /* Reduced from 100px since navbar is gone */
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero-logo-wrapper {
    margin-bottom: 20px;
    mix-blend-mode: screen; /* Applied to wrapper to bypass stacking context issues from animations */
}

.hero-brand-logo {
    max-height: 140px; /* Reduced to fit the VSL above the fold */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hero-container {
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--accent-secondary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px auto;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.vsl-container {
    max-width: 860px;
    margin: 0 auto 48px auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border-color);
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.social-proof-meta {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.social-proof-sep {
    margin: 0 8px;
    color: var(--border-hover);
}

/* ==========================================================================
   Text Formatting
   ========================================================================== */
.what-is-body {
    font-size: 1.15rem;
    margin-bottom: 4rem; /* Restored spacing */
    text-align: center;
}

.glow-text {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.floating-3d-logo-wrapper {
    display: inline-block;
    animation: floatLogo 6s ease-in-out infinite;
    margin-bottom: 20px;
    
    /* Frame cropping rules */
    border-radius: var(--radius-md); /* Rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.1);
    overflow: hidden; /* This will crop the scaled image inside */
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-3d-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    display: block;
    
    /* Crop the bottom-right watermark */
    transform-origin: top left;
    transform: scale(1.18); /* Grows the image down and right, hiding the watermark outside the wrapper */
}

/* ==========================================================================
   Grids
   ========================================================================== */
.problem-grid, .pillar-grid, .membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* ==========================================================================
   Marquee Testimonials (Elegant)
   ========================================================================== */
.marquee-section {
    overflow: hidden;
    padding: 80px 0;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: scrollLeft 120s linear infinite; /* Slowed down from 40s */
    gap: 24px;
    padding-left: 24px;
}

.marquee-content.right {
    animation: scrollRight 120s linear infinite; /* Slowed down from 40s */
}

.marquee-img {
    height: 250px;
    width: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: var(--transition-slow);
}

.marquee-img:hover {
    border-color: rgba(139, 92, 246, 0.6);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.marquee:hover .marquee-content { animation-play-state: paused; }

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ==========================================================================
   Video Testimonials
   ========================================================================== */
.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
}

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

.video-item .video-wrapper {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition-slow);
}

.video-item:hover .video-wrapper {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(139, 92, 246, 0.15);
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-result {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.steps-container {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    gap: 32px;
}

.step-num {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--border-hover);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
    position: relative;
}

.step:not(:last-child) .step-num::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--border-hover), transparent);
}

.step-content {
    flex-grow: 1;
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Form Section
   ========================================================================== */
.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 48px;
    background: rgba(255,255,255,0.01);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 24px;
    line-height: 1.6;
}

.spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.hidden { display: none !important; }

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

/* ==========================================================================
   FAQs
   ========================================================================== */
.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    overflow: hidden;
    transition: var(--transition-slow);
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 32px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--accent-secondary);
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

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

.faq-question.active + .faq-answer {
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 32px 32px 32px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.brand-logo { max-height: 32px; width: auto; object-fit: contain; }
.footer-logo { opacity: 0.5; transition: var(--transition-fast); }
.footer-logo:hover { opacity: 1; }

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.copyright a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-down { animation: fadeInDown 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .video-testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px 0;
    }
    
    .hero { padding-top: 30px; padding-bottom: 60px; }
    .hero-title { font-size: 2.5rem; }
    .hero-brand-logo { max-height: 100px; }
    
    .section-header h2 { font-size: 2rem; }
    
    .form-wrapper { padding: 32px 24px; }
    
    .step { flex-direction: column; gap: 16px; }
    .step:not(:last-child) .step-num::after { display: none; }
}
