/* ============================================
   TanHef Website - Complete CSS Styling
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #161616;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --accent-blue: #00aaff;
    --accent-blue-hover: #0088cc;
    --accent-green: #00cc66;
    --accent-red: #ff4444;
    --accent-yellow: #ffcc00;
    --border-color: #2a2a2a;
    --gradient-blue: linear-gradient(135deg, #00aaff 0%, #0066cc 100%);
    --shadow-glow: 0 0 30px rgba(0, 170, 255, 0.3);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Utility class - hide on mobile, show on desktop */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Gradient Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(0, 170, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(0, 204, 102, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(128, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(0, 170, 255, 0.04) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

/* ============================================
   Reading Progress Bar
   ============================================ */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green), var(--accent-blue));
    background-size: 200% 100%;
    animation: progressGradient 3s ease infinite;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

/* Base reveal class - hidden by default */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
}

/* Fade Up Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Left Animation */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right Animation */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In Animation */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay classes */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Dynamic Candlestick Background - TanHef Style */
.chart-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: bgFadeIn 12s ease-in forwards;
}

@keyframes bgFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.central-area {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1400px) {
    .central-area {
        width: 100%;
    }
}

.candlestick {
    position: absolute;
    bottom: 0;
    width: 10px;
    animation: candlePulse 0.5s ease-in;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.candle-body {
    position: absolute;
    width: 100%;
    background: linear-gradient(to top, #2ecc71, #27ae60);
    box-shadow: 0 0 2px #2ecc71, 0 0 4px #2ecc71;
}

.candle-body.down {
    background: linear-gradient(to top, #e74c3c, #c0392b);
    box-shadow: 0 0 2px #e74c3c, 0 0 4px #e74c3c;
}

.candle-wick {
    position: absolute;
    width: 2px;
    height: 10px;
    left: 4px;
    box-shadow: 0 0 10px #00ff00;
}

.candle-wick.small {
    height: 5px;
}

.peak-label,
.trough-label {
    position: absolute;
    color: #00ccff;
    font-size: 16px;
    text-align: center;
    width: 20px;
    text-shadow: 0 0 5px #00ccff;
    animation: hologram 1s infinite alternate;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trend-line {
    position: absolute;
    stroke: #ffd700;
    stroke-width: 2;
    stroke-dasharray: 5;
    opacity: 0.7;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes candlePulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes hologram {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-blue-hover);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo:hover {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.dropdown-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-blue);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.8rem 2rem;
    color: var(--text-secondary);
}

.mobile-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Mobile Login Button */
.mobile-login-btn {
    display: block;
    padding: 0.8rem 2rem !important;
    color: var(--accent-blue) !important;
    font-weight: 600;
    background: rgba(0, 170, 255, 0.1);
    border-left: 3px solid var(--accent-blue);
}

.mobile-login-btn:hover {
    background: rgba(0, 170, 255, 0.2) !important;
}

/* Mobile User Section */
.mobile-user-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
    padding: 3rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.video-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.video-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wistia-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 170, 255, 0.2);
}

.wistia-video:hover {
    box-shadow: 0 15px 50px rgba(0, 170, 255, 0.3);
}

@media (max-width: 768px) {
    .video-section h2 {
        font-size: 1.8rem;
    }

    .wistia-video {
        border-radius: 8px;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--text-primary);
}

.btn-submit {
    width: 100%;
    background: var(--text-muted);
    color: var(--bg-primary);
    cursor: not-allowed;
}

.btn-submit:not(:disabled) {
    background: var(--gradient-blue);
    cursor: pointer;
}

.btn-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 1rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 170, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid #d4a600;
    border-radius: 50%;
    color: #d4a600;
    font-size: 0.85rem;
    font-style: normal;
    cursor: help;
    margin-left: 0.3rem;
    vertical-align: middle;
}

/* Tooltip Styles */
.tooltip-wrapper {
    position: relative;
    display: inline;
}

.tooltip-trigger {
    color: #4ecdc4;
    cursor: help;
}

.tooltip-trigger:hover {
    color: #5de0d7;
}

.tooltip-content {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    width: max-content;
    max-width: 350px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #1a1a1a;
}

.tooltip-wrapper:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Slider
   ============================================ */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.chart-demo {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.chart-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.chart-body {
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.8rem;
    height: calc(100% - 100px);
    position: relative;
}

.candle {
    width: 20px;
    height: 60px;
    border-radius: 4px;
}

.candle.green {
    background: linear-gradient(to top, #00cc66, #00ff88);
}

.candle.red {
    background: linear-gradient(to top, #ff4444, #ff6666);
}

.candle.tall {
    height: 100px;
}

.rank-signal {
    position: absolute;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.rank-signal.buy {
    bottom: 20%;
    left: 20%;
    background: var(--accent-green);
    color: #000;
}

.rank-signal.sell {
    top: 20%;
    right: 20%;
    background: var(--accent-red);
    color: #fff;
}

.chart-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background: var(--bg-tertiary);
}

.indicator-bar {
    flex: 1;
    height: 20px;
    border-radius: 4px;
}

.indicator-bar.oversold {
    background: linear-gradient(to right, #00cc66, #66ff99);
}

.indicator-bar.neutral {
    background: var(--text-muted);
}

.indicator-bar.overbought {
    background: linear-gradient(to right, #ff6666, #ff4444);
}

/* Screener demo */
.chart-body.screener {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 1rem;
}

.screener-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.9rem;
}

.rank-green {
    color: var(--accent-green);
    font-weight: 700;
}

.rank-red {
    color: var(--accent-red);
    font-weight: 700;
}

.rank-neutral {
    color: var(--text-muted);
    font-weight: 700;
}

/* Alerts demo */
.chart-body.alerts {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 1.5rem;
}

.alert-item {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.slider-btn.prev {
    left: -25px;
}

.slider-btn.next {
    right: -25px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--accent-blue);
    transform: scale(1.2);
}

/* ============================================
   Tutorial Section
   ============================================ */
.tutorial {
    padding: 0 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.tutorial-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.quick-start {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    display: inline-block;
    width: 100%;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-text {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    background: transparent;
    padding: 1rem 0;
    border-radius: 16px;
    border: none;
}

.intro-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intro-image {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Intro Image Slider - Premium Full Width Design */
.intro-slider-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 50%, #050505 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.intro-slider {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.intro-slide {
    display: none;
    animation: introSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-slide.active {
    display: block;
}

@keyframes introSlideIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.intro-slide-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.intro-slide-image:hover {
    transform: scale(1.01);
}

/* Navigation Wrapper */
.intro-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Navigation Buttons - Premium Style */
.intro-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.intro-slider-btn:hover {
    background: rgba(0, 170, 255, 0.15);
    border-color: var(--accent-blue);
    box-shadow:
        0 0 20px rgba(0, 170, 255, 0.4),
        inset 0 0 20px rgba(0, 170, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.intro-prev {
    left: -85px;
}

.intro-next {
    right: -85px;
}

/* Slider Dots - Premium Moon Phase Style */
.intro-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.intro-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3a3a3a 0%, #252525 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.6),
        inset -1px -1px 4px rgba(255, 255, 255, 0.1);
}

.intro-dot:hover {
    background: linear-gradient(145deg, #4a4a4a 0%, #353535 100%);
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.intro-dot.active {
    background: linear-gradient(145deg, #ffffff 0%, #d0d0d0 100%);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        inset -2px -2px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive for intro slider */
@media (max-width: 1300px) {
    .intro-slider-container {
        padding: 1.5rem;
    }

    .intro-prev {
        left: 15px;
    }

    .intro-next {
        right: 15px;
    }

    .intro-slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        background: rgba(0, 0, 0, 0.6);
    }
}

@media (max-width: 768px) {
    .intro-slider-container {
        padding: 0;
        border-radius: 0;
        border: none;
        background: transparent;
    }

    .intro-slider {
        border-radius: 0;
    }

    .intro-slide-image {
        border-radius: 0;
    }

    /* Navigation wrapper becomes visible flex row on mobile */
    .intro-slider-nav {
        margin-top: 1rem;
        gap: 0.8rem;
    }

    /* Buttons become static (not absolute) on mobile */
    .intro-slider-btn {
        position: static;
        transform: none;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        border-width: 2px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .intro-slider-btn:hover {
        transform: scale(1.1);
    }

    .intro-slider-dots {
        gap: 0.6rem;
        margin-top: 0;
        padding: 0;
    }

    .intro-dot {
        width: 14px;
        height: 14px;
    }
}

.screener-info {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.screener-image {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.intro-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.intro-link {
    display: block;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.intro-link:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.intro-link strong {
    color: var(--accent-blue);
}

/* Indicator & Screener Info */
.indicator-info,
.screener-info,
.vids-info {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.indicator-info h3,
.screener-info h3,
.vids-info h3 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.indicator-info ul,
.screener-info ul {
    list-style: none;
    margin-top: 1rem;
}

.indicator-info li,
.screener-info li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.video-placeholder {
    margin-top: 1.5rem;
    padding: 3rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    background: var(--bg-secondary);
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.faq-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Comparison Table Section
   ============================================ */
.comparison {
    padding: 3rem 2rem 6rem;
    background: var(--bg-primary);
    text-align: center;
}

.comparison h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.comparison-intro {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead tr {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.comparison-table th {
    padding: 1.5rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table th.feature-col {
    text-align: left;
    width: 35%;
}

.comparison-table th.trabar-col {
    background: linear-gradient(135deg, rgba(0, 204, 102, 0.2), rgba(0, 170, 255, 0.2));
    width: 32.5%;
}

.comparison-table th.other-col {
    width: 32.5%;
    color: var(--text-muted);
}

.brand-name {
    font-size: 1.1rem;
    color: var(--accent-green);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table td {
    padding: 1.2rem 1rem;
    text-align: center;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td.trabar-value {
    background: rgba(0, 204, 102, 0.05);
}

.comparison-table td.other-value {
    background: rgba(255, 68, 68, 0.05);
}

.check {
    color: var(--accent-green);
    font-weight: 600;
}

.cross {
    color: var(--accent-red);
    opacity: 0.8;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 1.5rem 2rem 4rem;
    background: var(--bg-primary);
    text-align: center;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Testimoni Slider - Same style as Intro */
.testimoni-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimoni-slider {
    position: relative;
}

.testimoni-slide {
    display: none;
    animation: fadeIn 0.3s ease;
}

.testimoni-slide.active {
    display: block;
}

.testimoni-slide-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimoni-slide-image:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(0, 170, 255, 0.2);
}

.testimoni-slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(100, 100, 100, 0.7);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.testimoni-slider-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.testimoni-prev {
    left: 0;
}

.testimoni-next {
    right: 0;
}

.testimoni-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.testimoni-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.testimoni-dot.active,
.testimoni-dot:hover {
    background: var(--accent-blue);
    transform: scale(1.2);
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: -12px;
        right: -12px;
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: -4rem;
}

.pricing-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Countdown Timer */
.promo-countdown {
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.15), rgba(255, 50, 100, 0.15));
    border: 1px solid rgba(255, 100, 50, 0.3);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: countdownGlow 2s ease-in-out infinite;
}

.countdown-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.fire-emoji {
    font-size: 1.3rem;
    animation: fireWiggle 0.5s ease-in-out infinite;
}

.promo-text {
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b35;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    min-width: 70px;
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', monospace;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.countdown-separator {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b35;
    animation: separatorPulse 1s ease-in-out infinite;
}

@keyframes countdownGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 100, 50, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 100, 50, 0.4);
    }
}

@keyframes fireWiggle {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

@keyframes separatorPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    min-width: 260px;
    flex: 1;
    max-width: 320px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
}

/* Strikethrough Price Styles */
.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.7;
    margin-right: 0.3rem;
}

.discounted-price {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1em;
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(0, 204, 102, 0.3);
    }

    50% {
        text-shadow: 0 0 15px rgba(0, 204, 102, 0.6);
    }
}

/* Discount Badge */
.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff4444);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    animation: badgeShine 3s ease-in-out infinite;
}

.discount-badge-secondary {
    background: linear-gradient(135deg, #ffa500, #ff7f00);
}

.discount-badge-tertiary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

@keyframes badgeShine {

    0%,
    100% {
        box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
    }
}

.secure-payment {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trial-link {
    color: var(--accent-blue);
    font-weight: 500;
}

.trial-link:hover {
    text-decoration: underline;
}

/* ============================================
   Trial Form Section
   ============================================ */
.trial-form {
    padding: 6rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.trial-form h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.risk-disclosure {
    max-width: 800px;
    margin: 0 auto;
}

.risk-disclosure details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
}

.risk-disclosure summary {
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
}

.risk-disclosure p {
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .tutorial,
    .pricing,
    .trial-form {
        padding: 4rem 1rem;
    }

    .tutorial h2,
    .pricing h2 {
        font-size: 1.8rem;
    }

    .tabs {
        gap: 0.3rem;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-features span:nth-child(even) {
        display: none;
    }

    /* Testimonials Responsive */
    .testimonials {
        padding: 4rem 1rem;
    }

    .testimonials h2 {
        font-size: 1.6rem;
    }

    .testimoni-slider-container {
        padding: 0 40px;
    }

    .testimoni-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .chart-body {
        padding: 1rem;
        gap: 0.4rem;
    }

    .candle {
        width: 12px;
        height: 40px;
    }

    .candle.tall {
        height: 70px;
    }
}

/* Risk Disclosure Styling */
.risk-disclosure {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
}

.risk-disclosure p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.risk-disclosure p:last-child {
    margin-bottom: 0;
    text-align: center;
    color: var(--text-secondary);
}

.risk-disclosure strong {
    color: var(--text-secondary);
}

/* Disabled Social Icons */
.social-icon.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* TradingView Widget */
.tradingview-widget-container {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2rem;
}

/* Video Slider */
.vids-info {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.video-slider-container {
    max-width: 100%;
    margin: 1.5rem auto 0;
    position: relative;
    padding: 0 60px;
}

.video-slider {
    position: relative;
}

.video-slide {
    display: none;
    animation: fadeIn 0.3s ease;
}

.video-slide.active {
    display: block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-title {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.video-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.video-dot.active,
.video-dot:hover {
    background: var(--accent-blue);
    transform: scale(1.2);
}

/* Video Slider Navigation Buttons */
.video-slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-slider-btn:hover {
    background: #0095e0;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

.video-prev {
    left: 10px;
}

.video-next {
    right: 10px;
}

@media (max-width: 768px) {
    .video-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .video-prev {
        left: -10px;
    }

    .video-next {
        right: -10px;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    color: white;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: #333;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* Responsive floating button */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   Exit Intent Popup
   ============================================ */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.exit-popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.exit-popup {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.exit-popup-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.exit-popup-content {
    text-align: center;
}

.exit-popup-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.exit-popup h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.exit-popup p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.exit-popup-offer {
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.15), rgba(255, 50, 100, 0.15));
    border: 1px solid rgba(255, 100, 50, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff4757);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.offer-text {
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
}

.exit-popup-btn {
    display: inline-block;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.exit-popup-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.exit-popup-skip {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    margin: 0 !important;
    transition: var(--transition);
}

.exit-popup-skip:hover {
    color: var(--text-secondary) !important;
    text-decoration: underline;
}

/* Responsive popup */
@media (max-width: 480px) {
    .exit-popup {
        padding: 2rem 1.5rem;
    }

    .exit-popup-emoji {
        font-size: 3rem;
    }

    .exit-popup h3 {
        font-size: 1.5rem;
    }

    .exit-popup-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Mobile Responsive - Full Width Layout
   ============================================ */
@media (max-width: 600px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    * {
        max-width: 100vw;
    }

    /* Hide candlestick background on mobile */
    .chart-container,
    .central-area {
        display: none !important;
    }

    /* Hero Section - Full Width */
    .hero {
        padding: 6rem 0 1rem;
        overflow: hidden;
    }

    /* TradingView Widget - Contain overflow */
    .tradingview-widget-container {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .hero h1 {
        white-space: normal;
        font-size: 1.6rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .hero-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Slider - Full Width */
    .slider-container {
        max-width: 100%;
        padding: 0;
    }

    .slider {
        border-radius: 0;
    }

    .slide-image {
        border-radius: 0;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    /* Video Section - Full Width */
    .video-section {
        padding: 2rem 0;
    }

    .video-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .video-section h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .video-subtitle {
        padding: 0 1rem;
        font-size: 0.9rem;
    }

    .wistia-video {
        border-radius: 0;
    }

    /* Tutorial Section - Full Width */
    .tutorial {
        padding: 2rem 0;
        max-width: 100%;
    }

    .tutorial h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .tutorial-intro {
        padding: 0 1rem;
        font-size: 0.95rem;
    }

    .quick-start {
        margin: 0 1rem 2rem;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .tabs {
        padding: 0 0.5rem;
        gap: 0.3rem;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .tab-content {
        padding: 0 0.5rem;
    }

    .intro-text {
        border-radius: 0;
        padding: 1.5rem 1rem;
    }

    .intro-slider-container {
        margin: 0;
    }

    /* Intro Slider - Full Width */
    .intro-slider {
        border-radius: 0;
    }

    .intro-slide-image {
        border-radius: 0;
    }

    /* FAQ Grid - Full Width */
    .faq-grid {
        padding: 0 0.5rem;
        gap: 0.8rem;
    }

    .faq-item {
        padding: 1rem;
    }

    /* Comparison Section - Full Width */
    .comparison {
        padding: 2rem 0;
    }

    .comparison h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .comparison-intro {
        padding: 0 1rem;
    }

    .comparison-table-wrapper {
        padding: 0 0.5rem;
    }

    /* Testimonials Section - Full Width */
    .testimonials {
        padding: 2rem 0;
    }

    .testimonials-container {
        padding: 0;
        max-width: 100%;
    }

    .testimonials h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .testimoni-slider-container {
        padding: 0;
    }

    .testimoni-slide-image {
        border-radius: 0;
    }

    /* Pricing Section - Full Width */
    .pricing {
        padding: 2rem 0;
    }

    .pricing h2 {
        font-size: 1.8rem;
    }

    .pricing-intro {
        padding: 0 1rem;
    }

    .promo-countdown {
        margin: 0 0.5rem 1.5rem;
        padding: 1rem;
    }

    .pricing-cards {
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    /* Footer - Full Width */
    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        padding: 0;
    }

    /* Navigation - Full Width */
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Tooltip */
    .tooltip-content {
        max-width: 280px;
        font-size: 0.85rem;
    }

    /* Floating WhatsApp Button */
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   Promo Features Card - SMC ICT Indicator
   ============================================ */
.promo-features-card {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(128, 0, 255, 0.1) 100%);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 170, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.promo-features-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00aaff, #00ff88, #ffcc00, #00aaff);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.promo-intro {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-align: center;
}

.promo-intro strong {
    color: #00ff88;
    font-weight: 700;
}

.promo-subtitle {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 170, 255, 0.15);
    border-color: rgba(0, 170, 255, 0.4);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.feature-text {
    font-size: 0.95rem;
    color: #e0e0e0;
}

.promo-zoom {
    margin-top: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-features-card {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }

    .promo-intro {
        font-size: 1rem;
    }

    .feature-item {
        padding: 0.6rem 0.8rem;
    }

    .feature-icon {
        font-size: 1.3rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   Authentication Modal - Premium Design
   ============================================ */

/* Auth Notification Toast */
.auth-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10002;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-notification.show {
    transform: translateX(0);
}

.auth-notification.success {
    border-left: 4px solid var(--accent-green);
}

.auth-notification.error {
    border-left: 4px solid var(--accent-red);
}

.auth-notification.info {
    border-left: 4px solid var(--accent-blue);
}

.notification-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.auth-notification.success .notification-icon {
    color: var(--accent-green);
}

.auth-notification.error .notification-icon {
    color: var(--accent-red);
}

.auth-notification.info .notification-icon {
    color: var(--accent-blue);
}

.notification-message {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Auth Modal Overlay */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Auth Modal Container */
.auth-modal {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auth-modal-overlay.active .auth-modal {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.auth-modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.auth-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.auth-modal-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.auth-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tab Switcher */
.auth-tab-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin: 1.5rem 2rem 0;
}

.auth-tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab-btn.active {
    background: var(--gradient-blue);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
}

.auth-tab-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Modal Body */
.auth-modal-body {
    padding: 1.5rem 2rem 2rem;
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Groups */
.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.auth-form-input::placeholder {
    color: var(--text-muted);
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--text-primary);
}

/* Forgot Password Link */
.forgot-password-link {
    display: block;
    text-align: right;
    color: var(--accent-blue);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-blue);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-submit-btn.loading {
    color: transparent;
}

.auth-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
}

/* Social Login Buttons */
.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-social-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.auth-social-btn svg {
    width: 20px;
    height: 20px;
}

/* Google colors */
.auth-social-btn.google:hover {
    border-color: #4285f4;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2);
}

/* Referral Badge - Subtle styling */
.referral-badge {
    background: rgba(60, 60, 60, 0.25);
    border: 1px solid rgba(80, 80, 80, 0.15);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: rgba(140, 140, 140, 0.7);
    opacity: 0.6;
}

.referral-badge-icon {
    font-size: 0.8rem;
}

.referral-badge strong {
    color: rgba(160, 160, 160, 0.8);
    font-weight: 500;
}

/* Auth Modal Footer */
.auth-modal-footer {
    text-align: center;
    padding: 1rem 2rem 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-modal-footer a {
    color: var(--accent-blue);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-blue);
}

.terms-checkbox label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.terms-checkbox label a {
    color: var(--accent-blue);
}

/* Nav Login Button */
.nav-login-btn {
    background: var(--gradient-blue);
    color: var(--text-primary) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.25);
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 170, 255, 0.35);
}

/* User Menu (when logged in) */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-blue);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.user-dropdown-email {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.user-dropdown-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 204, 102, 0.15);
    color: var(--accent-green);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.user-dropdown-status.expired {
    background: rgba(255, 68, 68, 0.15);
    color: var(--accent-red);
}

.user-dropdown a,
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.user-dropdown-icon {
    width: 18px;
    text-align: center;
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

.logout-btn {
    color: var(--accent-red) !important;
}

/* Reset Password Form */
.reset-password-form {
    display: none;
}

.reset-password-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.back-to-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-to-login:hover {
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-modal {
        max-width: 100%;
        margin: 0.5rem;
        border-radius: 20px;
    }

    .auth-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .auth-modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }

    .auth-tab-switcher {
        margin: 1rem 1.5rem 0;
    }

    .auth-notification {
        left: 20px;
        right: 20px;
        top: 70px;
    }

    .user-name {
        display: none;
    }

    .user-avatar-btn {
        padding: 0.3rem;
    }
}

/* ============================================
   Checkout Modal Styles
   ============================================ */

.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.checkout-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.98), rgba(15, 15, 15, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 170, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.checkout-modal-overlay.active .checkout-modal {
    transform: scale(1) translateY(0);
}

.checkout-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.checkout-close:hover {
    background: var(--accent-red);
    color: white;
    transform: rotate(90deg);
}

.checkout-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.checkout-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.checkout-body {
    padding: 1.5rem 2rem;
}

/* Package Summary */
.checkout-package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.15), rgba(0, 102, 204, 0.1));
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.package-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.package-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 204, 102, 0.2);
    color: var(--accent-green);
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.package-price .price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-blue);
}

/* User Info */
.checkout-user-info {
    padding: 1rem;
    background: rgba(0, 204, 102, 0.1);
    border: 1px solid rgba(0, 204, 102, 0.2);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.checkout-user-info p {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Login Prompt */
.checkout-login-prompt {
    padding: 1rem;
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid rgba(255, 200, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    text-align: center;
}

.checkout-login-prompt p {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* Payment Methods */
.checkout-payment {
    margin-bottom: 1.25rem;
}

.checkout-payment h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.payment-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.payment-icon {
    font-size: 1.2rem;
}

.payment-name {
    font-weight: 600;
    color: var(--text-primary);
}

.payment-details {
    padding: 1rem;
}

.payment-details p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.payment-details code {
    background: rgba(0, 170, 255, 0.15);
    color: var(--accent-blue);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-weight: 600;
}

.bank-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Order Summary */
.checkout-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Referral Info - Subtle styling */
.checkout-referral {
    padding: 0.4rem 0.6rem;
    background: rgba(60, 60, 60, 0.25);
    border: 1px solid rgba(80, 80, 80, 0.15);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.checkout-referral p {
    color: rgba(140, 140, 140, 0.7);
    font-size: 0.65rem;
    margin: 0;
}

.checkout-referral strong {
    color: rgba(160, 160, 160, 0.8);
    font-weight: 500;
    font-size: 0.65rem;
}

/* Footer */
.checkout-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-confirm {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-note {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 480px) {
    .checkout-modal {
        max-height: 95vh;
        border-radius: 16px;
        margin-top: 2.5rem;
        /* Space for close button */
    }

    .checkout-header,
    .checkout-body,
    .checkout-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .checkout-package {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .package-info {
        align-items: center;
    }

    /* Mobile close button - fixed at top of overlay for easy access */
    .checkout-close {
        position: fixed;
        top: 5rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
        background: rgba(255, 68, 68, 0.9);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        z-index: 10001;
    }

    .checkout-close:hover {
        background: var(--accent-red);
        transform: scale(1.1);
    }
}