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

html {
    overflow-x: hidden;
}

body {
    background-color: #0a0a0a;
    color: white;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FF6B35; }

/* Progress Timeline */
.progress-timeline {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-track {
    width: 2px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #FF6B35, #FF8F6B);
    border-radius: 2px;
    transition: height 0.05s ease-out;
}

.progress-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.progress-percent {
    font-size: 11px;
    font-weight: 600;
    color: #FF6B35;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .progress-timeline {
        display: none;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    will-change: transform, opacity;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    will-change: transform, opacity;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth hover transitions */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s ease;
}

.btn-shine:hover::before {
    left: 100%;
}

/* Card border glow on hover */
.card-glow {
    position: relative;
    transition: all 0.3s ease;
}

.card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card-glow:hover::before {
    opacity: 1;
}

/* Counter */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse ring */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #FF6B35;
    border-radius: 50%;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Magnetic button effect */
.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Nav blur */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Grain overlay */
.grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Urgency Banner */
.urgency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(90deg, #150500, #2a0d00, #150500);
    border-bottom: 1px solid rgba(255, 107, 53, 0.35);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.urgency-banner-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 16px;
}

.urgency-pulse {
    width: 8px;
    height: 8px;
    background: #FF6B35;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5); }
    50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 4px rgba(255, 107, 53, 0); }
}

.urgency-text {
    color: rgba(255, 255, 255, 0.85);
}

.urgency-text strong {
    color: #FF6B35;
}

.urgency-countdown-mini {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: monospace;
    font-weight: 700;
    color: #FF6B35;
    font-size: 13px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.urgency-countdown-mini .countdown-sep {
    color: rgba(255, 107, 53, 0.4);
    margin: 0 1px;
}

.urgency-spots {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #aaa;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.urgency-spots strong {
    color: #fff;
}

@media (max-width: 640px) {
    .urgency-banner-inner {
        gap: 8px;
    }
    .urgency-text .banner-detail {
        display: none;
    }
    .urgency-spots {
        display: none;
    }
}

/* Pricing Urgency Block */
.pricing-urgency {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.06), rgba(12, 4, 0, 0.6));
    border: 1px solid rgba(255, 107, 53, 0.22);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-urgency-inner {
    display: flex;
    gap: 36px;
    align-items: center;
    flex-wrap: wrap;
}

.pricing-countdown {
    flex: 1;
    min-width: 200px;
}

.pricing-countdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.pricing-countdown-timer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 60px;
}

.timer-value {
    font-size: 26px;
    font-weight: 800;
    color: #FF6B35;
    font-variant-numeric: tabular-nums;
    font-family: monospace;
    line-height: 1;
}

.timer-label {
    font-size: 9px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.timer-sep {
    font-size: 22px;
    font-weight: 800;
    color: rgba(255, 107, 53, 0.25);
    margin-bottom: 18px;
    line-height: 1;
}

.spots-indicator {
    flex: 1;
    min-width: 220px;
}

.spots-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.spots-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.spots-text strong {
    color: #aaa;
}

@media (max-width: 640px) {
    .pricing-urgency {
        padding: 20px;
    }
    .pricing-urgency-inner {
        flex-direction: column;
        gap: 20px;
    }
    .timer-value {
        font-size: 20px;
    }
    .timer-unit {
        min-width: 48px;
        padding: 8px 10px;
    }
}

/* Pricing card popular */
.pricing-popular {
    position: relative;
    border-color: #FF6B35;
}

.pricing-popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B35;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* Exit-Intent Popup */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.exit-popup {
    background: #111111;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    padding: 40px 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.exit-popup-close:hover { color: #fff; }

.exit-popup-icon {
    margin-bottom: 16px;
}

.exit-popup-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.exit-popup-text {
    font-size: 15px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
}

.exit-popup-text strong { color: #fff; }

.exit-popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF6B35;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 14px;
    width: 100%;
    justify-content: center;
}

.exit-popup-cta:hover {
    background: #E85A24;
    transform: scale(1.02);
}

.exit-popup-dismiss {
    background: none;
    border: none;
    color: #444;
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: block;
    width: 100%;
    text-align: center;
}

.exit-popup-dismiss:hover { color: #666; }

/* Accessibility: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
    .float { animation: none; }
    .hover-lift { transition: none; }
    .hover-lift:hover { transform: none; }
    .btn-shine::before { transition: none; }
    .magnetic-btn { transition: none; }
    .marquee-inner { animation: none; }
    .path-icon-wrap::after { animation: none; }
    .typewriter-cursor { animation: none; }
}

/* ============================================
   V2 NEW STYLES
   ============================================ */

/* Hero Canvas — starfield background */
#starCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Hero cursor glow */
#heroGlow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
    z-index: 1;
}

/* Typewriter */
.typewriter-line {
    min-height: 1.5em;
    display: block;
}

#typewriter {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 0.85em;
    background: #FF6B35;
    margin-left: 2px;
    vertical-align: middle;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Member Wins Marquee */
.marquee-section {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, #0d0d0d, transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, #0d0d0d, transparent);
}

.marquee-track {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    align-items: center;
    animation: marquee-scroll 42s linear infinite;
    font-size: 13px;
    color: #666;
}

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

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 36px;
    white-space: nowrap;
    color: #666;
    transition: color 0.2s;
    cursor: default;
}

.marquee-item:hover {
    color: #999;
}

.marquee-sep {
    color: #FF6B35;
    opacity: 0.3;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats bar */
.stats-bar {
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 32px 0;
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.stats-bar-item {
    text-align: center;
    padding: 8px 56px;
    position: relative;
}

.stats-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.07);
}

.stats-bar-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    display: block;
}

.stats-bar-label {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 7px;
    display: block;
}

@media (max-width: 640px) {
    .stats-bar-item {
        padding: 8px 28px;
    }
    .stats-bar-number {
        font-size: 1.9rem;
    }
}

/* 90-Day Path Section */
.path-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 53, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    background: rgba(255, 107, 53, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.path-node:hover .path-icon-wrap {
    background: rgba(255, 107, 53, 0.18);
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.2);
}

.path-icon-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    animation: path-pulse 3s ease-in-out infinite;
}

@keyframes path-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.path-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 26px;
    transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.path-node:hover .path-card {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-6px);
}

.path-milestone-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.path-milestone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #FF6B35;
    font-weight: 600;
    background: rgba(255, 107, 53, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255, 107, 53, 0.15);
}

/* Improved Testimonials */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -16px;
    right: 16px;
    font-size: 110px;
    color: rgba(255, 107, 53, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.18);
    color: #FF6B35;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-top: 14px;
}

/* Hero pill badge */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 100px;
    background: rgba(255, 107, 53, 0.07);
    color: #FF6B35;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.hero-pill-dot {
    width: 7px;
    height: 7px;
    background: #FF6B35;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 88;
    padding: 10px 16px 22px;
    background: linear-gradient(to top, rgba(10,10,10,0.97) 65%, transparent);
    transform: translateY(110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    visibility: hidden;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

@media (max-width: 767px) {
    .mobile-sticky-cta {
        display: block;
    }
    body {
        padding-bottom: 88px;
    }
}

.mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #FF6B35;
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 -8px 40px rgba(255, 107, 53, 0.2), 0 4px 20px rgba(255, 107, 53, 0.25);
    transition: background 0.2s;
}

.mobile-sticky-btn:hover,
.mobile-sticky-btn:active {
    background: #E85A24;
}

/* Stagger helpers */
.stagger-item {
    opacity: 0;
    transform: translateY(24px);
}
