/* Fitness Program Theme - Premium & Modern */
:root {
    --primary-color: #1e293b;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    /* Vibrant Emerald */
    --accent-hover: #059669;
    --accent-dark: #047857;
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 1rem;
    --radius-sm: 0.75rem;
    --radius-lg: 1.5rem;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Dark Mode Variables - deeply refined for professional contrast */
[data-theme="dark"],
body.dark-mode {
    --primary-color: #f8fafc;
    --secondary-color: #cbd5e1;
    --accent-color: #34d399;
    --accent-hover: #10b981;
    --accent-dark: #059669;

    /* Text Colors - High Contrast */
    --text-primary: #f1f5f9;
    /* Almost white for main text */
    --text-secondary: #cbd5e1;
    /* Light gray for secondary */
    --text-light: #94a3b8;
    /* Muted blue-gray */

    /* Backgrounds - Professional Dark Palette */
    --bg-primary: #1e293b;
    /* Slate-800: Main element background */
    --bg-secondary: #0f172a;
    /* Slate-900: Body background - Deep Dark */
    --bg-light: #334155;
    /* Slate-700: Hover/Active states */
    --bg-dark: #020617;
    /* Slate-950: Deepest contrast */

    --border-color: #334155;
    /* Subtle border for dark mode */

    /* Shadows - More intense for depth in dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

/* Global Dark Mode Component Overrides */
[data-theme="dark"] .card,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu,
body.dark-mode .card,
body.dark-mode .modal-content,
body.dark-mode .dropdown-menu {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .text-muted,
body.dark-mode .text-muted {
    color: var(--text-light) !important;
}

[data-theme="dark"] .table,
body.dark-mode .table {
    color: var(--text-primary);
    --bs-table-color: var(--text-primary);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--border-color);
}

[data-theme="dark"] .btn-close,
body.dark-mode .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

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

html {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 76px;
    padding-bottom: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile body padding */
@media (max-width: 991.98px) {
    body {
        padding-top: 60px;
        padding-bottom: 58px;
    }
}

/* Navigation */
/* Navigation */
.navbar-modern {
    background-color: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar-modern {
    background-color: #1e293b;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
    background-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .navbar-nav .nav-link:hover,
[data-theme="dark"] .navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
    background-color: rgba(255, 255, 255, 0.05);
}

/* User Avatar & Dropdown */
.profile-dropdown-toggle {
    padding: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    transition: transform 0.2s ease;
}

.profile-dropdown-toggle:hover {
    transform: scale(1.05);
}

.profile-dropdown-toggle::after {
    display: none;
}

.user-avatar-text {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.premium-dropdown {
    border: none;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .premium-dropdown {
    background: #1e293b;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.premium-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.premium-dropdown .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--text-primary);
    transform: translateX(4px);
}

.premium-dropdown .dropdown-header {
    font-weight: 700;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
}

.mobile-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile Top Bar - Modern Native App Style */
.mobile-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    z-index: 9999;
    padding-top: calc(env(safe-area-inset-top) + 0.5rem);
    padding-bottom: 0.75rem;
}

[data-theme="dark"] .mobile-top-bar {
    background-color: #1e293b;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.navbar-brand-mobile {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.2s ease;
}

.navbar-brand-mobile:active {
    transform: scale(0.95);
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-actions .btn-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-actions .btn-link:active {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(0.9);
}

[data-theme="dark"] .mobile-actions .btn-link:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Dark Mode Toggle */
#darkModeToggleDesktop {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

#darkModeToggleDesktop:hover {
    background: var(--bg-secondary);
    color: var(--accent-color);
    transform: rotate(15deg) scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

#darkModeToggleDesktop:active {
    transform: rotate(15deg) scale(0.95);
}

#darkModeToggleMobile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    /* Ensure centering */
    align-items: center;
    /* Ensure centering */
    justify-content: center;
    /* Ensure centering */
}

#darkModeToggleMobile:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Register Button - Minimalistic Squircle Outline Style */
.btn-register-modern {
    background: transparent;
    color: var(--accent-color);
    border: 1.5px solid var(--accent-color);
    padding: 0.6rem 1.4rem;
    border-radius: 16px;
    /* Squircle shape - smooth continuous curvature */
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.btn-register-modern:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-register-modern:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.2);
}

/* Bottom Navigation - Premium Optimized Style */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 0.5px solid var(--border-color);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    padding-bottom: calc(env(safe-area-inset-bottom) + 0.25rem);
    padding-top: 0.25rem;
}

[data-theme="dark"] .bottom-nav {
    background-color: rgba(17, 24, 39, 0.98);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.375rem 0.125rem;
    max-width: 100%;
    height: 52px;
    min-height: 52px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.5rem;
    color: #8E8E93;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 10px;
    margin: 0 0.125rem;
    gap: 0.125rem;
}

[data-theme="dark"] .bottom-nav-item {
    color: #9ca3af;
}

.bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    border-radius: 10px;
    opacity: 0.12;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.bottom-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    line-height: 1;
    font-weight: 400;
}

.bottom-nav-item span {
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    line-height: 1;
    margin-top: 0.125rem;
}

.bottom-nav-item.active {
    color: var(--accent-color);
}

.bottom-nav-item.active::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.12;
}

.bottom-nav-item.active i {
    transform: scale(1.08);
    filter: drop-shadow(0 1px 2px rgba(99, 102, 241, 0.2));
    font-weight: 600;
    color: var(--accent-color);
}

.bottom-nav-item.active span {
    font-weight: 700;
    transform: scale(1.01);
    color: var(--accent-color);
}

/* Click animation - subtle scale only, no color change */
.bottom-nav-item:active {
    transform: scale(0.96);
}

.bottom-nav-item:active i {
    transform: scale(0.95);
    color: inherit;
}

.bottom-nav-item:active span {
    transform: scale(0.98);
    color: inherit;
}

.bottom-nav-item:active::before {
    transform: translate(-50%, -50%) scale(0.9);
}

/* Keep colors static on hover - no color changes */
@media (hover: hover) {
    .bottom-nav-item:hover:not(.active) {
        background: rgba(0, 0, 0, 0.02);
    }

    .bottom-nav-item:hover.active {
        background: rgba(99, 102, 241, 0.05);
    }
}

/* Premium icon styling */
.bottom-nav-item i {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ripple effect on tap - optimized */
.bottom-nav-item {
    overflow: hidden;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.bottom-nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.bottom-nav-item:active::after {
    width: 150px;
    height: 150px;
    animation: ripple 0.4s ease-out;
}

/* Keep icon colors static - no color changes on click */
.bottom-nav-item i {
    color: inherit;
}

.bottom-nav-item.active i.nav-icon-active {
    color: var(--accent-color);
}

.bottom-nav-item.active i.nav-icon-inactive {
    color: var(--accent-color);
}

.bottom-nav-item:not(.active) i {
    color: #8E8E93;
}

.bottom-nav-item:not(.active) i.nav-icon-active,
.bottom-nav-item:not(.active) i.nav-icon-inactive {
    color: #8E8E93;
}

[data-theme="dark"] .bottom-nav-item:not(.active) i {
    color: #9ca3af;
}

[data-theme="dark"] .bottom-nav-item:not(.active) i.nav-icon-active,
[data-theme="dark"] .bottom-nav-item:not(.active) i.nav-icon-inactive {
    color: #9ca3af;
}

/* Smooth icon transitions */
.bottom-nav-item i.nav-icon-active,
.bottom-nav-item i.nav-icon-inactive {
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--text-primary) !important;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Page Headers & Content */
.page-header-section {
    padding: 8rem 0 4rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}


.page-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-modern {
    padding: 4rem 0;
}

.content-card {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

@media (max-width: 767.98px) {
    .content-card {
        padding: 1.5rem;
    }
}

[data-theme="dark"] .content-card {
    background: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Contact Styles */
.contact-card {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767.98px) {
    .contact-card {
        padding: 1.5rem;
    }
}

[data-theme="dark"] .contact-card {
    background: #1e293b;
}

.contact-info-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    transition: transform 0.2s;
    height: 100%;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.form-control {
    background-color: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    background-color: var(--bg-primary);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-floating>label {
    padding: 1rem;
}


/* Hero Section */
.hero-section {
    position: relative;
    margin-top: -70px;
    padding-top: 70px;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
}

/* Hero Background Slider */
.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-background-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
    z-index: 0;
}

.hero-background-slider img.active {
    opacity: 1 !important;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Hero Video Restart Button */
.hero-video-restart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-video-restart:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-video-restart i {
    font-size: 1.3rem;
}

/* Welcome Message on Hero Video */
.welcome-message-hero {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem 0;
    text-align: center;
}

.welcome-message-hero .container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: inline-block;
}

[data-theme="dark"] .welcome-message-hero .container {
    background: rgba(17, 24, 39, 0.95);
}

/* Hero Content Section (Below Video) */
.hero-content-section {
    padding: 5rem 0 3rem 0;
    background: var(--bg-secondary);
}

/* Features Section */
.features-section {
    padding: 2rem 0 2rem 0;
    background: var(--bg-secondary);
}

@media (max-width: 767.98px) {
    .features-section {
        padding: 1rem 0;
    }
}

/* Mobile Features - No Scroll, Fit Screen */
.features-scroll-wrapper {
    width: 100%;
    overflow-x: visible;
    padding: 0.5rem 0;
}

.features-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.features-scroll-container {
    display: flex;
    gap: 0.75rem;
    padding: 0 1rem;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
}

.feature-card-mobile {
    flex: 1;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
}

.feature-card-mobile:active {
    transform: scale(0.95);
}

.feature-icon-mobile {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-icon-mobile.icon-green {
    background: #10b981;
}

.feature-icon-mobile.icon-blue {
    background: #3b82f6;
}

.feature-icon-mobile.icon-teal {
    background: #14b8a6;
}

.feature-title-mobile {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

/* Center features on mobile - no scroll, fit screen */
@media (max-width: 767.98px) {
    .features-scroll-wrapper {
        overflow-x: visible !important;
        padding: 0.25rem 0.75rem;
    }

    .features-scroll-container {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
    }

    .feature-card-mobile {
        flex: 1;
        min-width: 0;
        max-width: none;
        padding: 0.75rem 0.375rem;
    }

    .feature-title-mobile {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Success Stories Shorts Card */
.shorts-card {
    border-radius: 20px;
    background: #000;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Desktop: Standard Short Aspect Ratio (9:16) roughly or fixed max height */
@media (min-width: 992px) {
    .shorts-card {
        height: 600px;
        width: 100%;
        max-width: 340px;
        /* Force mobile-like width on desktop */
        margin: 0 auto;
    }
}

/* Mobile: Full Screen Height Feel */
@media (max-width: 991.98px) {
    .shorts-card {
        height: calc(100vh - 140px);
        /* Fill most of screen minus header/nav */
        width: 100%;
    }
}

.shorts-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Ensure no black bars if possible */
}

/* Courses Selection Section */

/* Horizontal Scroll for Stories */
.stories-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (max-width: 767.98px) {
    .stories-scroll-wrapper {
        padding-bottom: 1rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.stories-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.stories-scroll-container {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.story-item {
    flex: 0 0 auto;
    width: 300px;
    /* Base width */
    scroll-snap-align: center;
}

/* Mobile specific styling */
@media (max-width: 991.98px) {
    .stories-scroll-wrapper {
        scroll-snap-type: x mandatory;
        padding-left: 1rem;
        /* Peeking effect */
        padding-right: 1rem;
    }

    .story-item {
        width: 85vw;
        /* Almost full width on mobile */
    }
}

/* Desktop specific adjustments - Exact 9:16 Ratio */
@media (min-width: 992px) {
    .story-item {
        /* 600px height * (9/16) aspect ratio ~= 337.5px */
        width: 338px;
    }

    .shorts-card {
        height: 600px;
        width: 100%;
        max-width: 100%;
        /* Let parent .story-item control width */
    }
}

/* Scroll Hint Indicator */
.scroll-hint-overlay {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
}

.scroll-hint-overlay.show {
    opacity: 1;
    animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translate(0, -50%);
    }

    50% {
        transform: translate(5px, -50%);
    }
}

/* Mobile Icon Buttons - Premium Minimalistic */
.mobile-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-icon-btn:active {
    background: var(--bg-light);
    transform: scale(0.95);
}

[data-theme="dark"] .mobile-icon-btn {
    color: var(--text-primary);
}

.mobile-icon-btn i {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

/* Specific Accent for Register Icon */
.register-icon-btn i {
    color: var(--accent-color);
}

/* Horizontal Scroll Indicators using Mask Image */
.stories-scroll-wrapper {
    /* Create a fade effect on the right side to indicate more content */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.courses-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

@media (max-width: 767.98px) {
    .courses-section {
        padding: 2rem 0;
    }
}

/* Mobile Courses - Horizontal Scroll */
.courses-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 767.98px) {
    .courses-scroll-wrapper {
        padding: 0.5rem 0 1rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.courses-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.courses-scroll-container {
    display: flex;
    gap: 1rem;
    padding: 0;
    width: max-content;
}

.course-card-mobile {
    flex: 0 0 auto;
    width: calc(100vw - 2rem);
    max-width: 400px;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    scroll-snap-align: center;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .course-card-mobile {
    background: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.course-card-mobile:active {
    transform: scale(0.98);
}

.course-mobile-header {
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-mobile-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-mobile-body {
    padding: 0 1.5rem 1.5rem;
}

.course-mobile-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.course-mobile-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.course-mobile-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-mobile-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.course-mobile-feature i {
    color: var(--accent-color);
    font-size: 1rem;
}

.course-mobile-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Psychological "Join Now" Button */
.btn-join-now {
    background: var(--accent-color);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.btn-join-now:active {
    transform: scale(0.98);
    background: var(--accent-hover);
}

.btn-join-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-join-subtext {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.2px;
}


.course-selection-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .course-selection-card {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course-selection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.course-selection-card.featured-course {
    border-color: var(--accent-color);
    border-width: 2px;
}

.course-badge {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.course-badge .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.course-icon-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.course-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.karate-icon {
    background: #ef5350;
}

.weightloss-icon {
    background: var(--accent-color);
}

.course-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.course-card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.course-features-list {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.course-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.course-feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.course-price-section {
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.course-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.course-price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mobile optimization for side by side cards */
/* Mobile optimization for side by side cards - Premium & Compact */
@media (max-width: 991px) {
    .courses-section .col-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .course-selection-card {
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
    }

    .course-badge {
        margin-bottom: 0.75rem;
    }

    .course-icon-circle {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 0.5rem;
    }

    .course-card-title {
        font-size: 1rem;
        /* Smaller title */
        margin-bottom: 0.4rem;
        min-height: 2.4rem;
        /* Ensure alignment */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        /* Compatibility */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .course-card-description {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* Limit description lines */
        line-clamp: 3;
        /* Compatibility */
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--text-secondary);
    }

    .course-feature-item {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        gap: 0.35rem;
    }

    .course-feature-item i {
        font-size: 0.8rem;
    }

    .course-price-section {
        padding: 0.5rem 0;
        margin-bottom: 0.75rem;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Ensure course cards show full width on mobile */
    .course-card-mobile {
        width: calc(100vw - 2rem);
        max-width: 100%;
    }

    .course-price {
        font-size: 1.4rem;
        margin-bottom: 0;
    }

    .course-price-label {
        font-size: 0.65rem;
    }

    .course-badge .badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }

    .btn-primary-modern {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
        width: 100%;
        border-radius: 10px;
    }

    .btn-primary-modern i {
        display: none;
        /* Hide icon on very small screens to save space */
    }
}

.feature-card {
    padding: 2.5rem 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto;
}

.icon-green {
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
}

.icon-blue {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
}

.icon-teal {
    background: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Welcome Message */
.welcome-message {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease-out;
}

.welcome-message-hero .welcome-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.welcome-message-hero .welcome-title span {
    color: var(--accent-color);
}

.welcome-message-hero .welcome-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    margin: 0;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

#defaultHeroContent .text-muted {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.pricing-badge {
    margin-bottom: 1rem;
}

.pricing-badge .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* Success Stories Section */
.success-stories-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

@media (max-width: 767.98px) {
    .success-stories-section {
        padding: 2rem 0;
    }
}

.success-story-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.before-after-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.before-after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.story-details {
    padding: 1.5rem;
    text-align: center;
}

.story-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Course Selection Modal Styles */
.course-selection-card {
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.course-selection-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .course-selection-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.course-selection-icon {
    flex-shrink: 0;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

@media (max-width: 767.98px) {
    .final-cta-section {
        padding: 2rem 0;
    }
}

.cta-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-card .btn-primary-modern {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-card .btn-primary-modern:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 2rem 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Modern Buttons */
.btn-primary-modern {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
}

.btn-primary-modern:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary-modern {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary-modern:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline-modern {
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    background: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(72, 187, 120, 0.4);
}

/* Sections */
.section-modern {
    padding: 6rem 0;
    scroll-margin-top: 90px;
    background: var(--bg-primary);
}

@media (max-width: 767.98px) {
    .section-modern {
        padding: 1.5rem 0;
    }
}

.section-modern .section-title.d-none+.row {
    margin-top: 0;
}

.bg-light-modern {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .section-subtitle {
        margin-bottom: 2rem;
        font-size: 1rem;
    }
}

/* Cards */
.card-modern {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-modern:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card-modern.border-0 {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
}

.card-modern.border-0:hover {
    transform: none;
    box-shadow: none;
}

.card-modern.border-0 .card-body {
    padding: 0 !important;
}

.card-modern.border-0 .youtube-layout {
    margin-top: 0;
}

.card-header-modern {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 2rem;
    border: none;
    border-bottom: 1px solid var(--border-color);
}

.card-header-modern.bg-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
}

.card-header-modern h4 {
    color: inherit;
    font-weight: 700;
    margin: 0;
}

.card-modern .card-body {
    padding: 2.5rem;
}

/* YouTube-like Video Layout */
.youtube-layout {
    margin-top: 2rem;
    padding-top: 1rem;
}

.main-video-player {
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.main-video-container {
    width: 100%;
    background: var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
}

[data-theme="dark"] .main-video-container {
    background: #000000;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* YouTube-style Replay Button */
.video-replay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.video-replay-button:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: white;
}

.video-replay-button i {
    font-size: 2.5rem;
    color: white;
    animation: rotateReplay 0.6s ease-in-out;
}

@keyframes rotateReplay {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.video-replay-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Video Play Overlay (when paused) */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay i {
    font-size: 3rem;
    color: white;
}

.video-play-overlay:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Make video cursor pointer */
.main-video {
    cursor: pointer;
}

.main-video-info {
    padding: 0 0.5rem;
}

.main-video-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Video Playlist Sidebar */
.video-playlist {
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.playlist-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.playlist-videos {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.playlist-video-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.playlist-video-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.playlist-video-item.active {
    background: linear-gradient(to right, #eef2ff 0%, #ffffff 100%);
    border-color: var(--accent-color);
}

.playlist-video-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.playlist-video-item.locked:hover {
    background: var(--bg-secondary);
}

.playlist-video-thumbnail {
    width: 168px;
    min-width: 168px;
    height: 94px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.playlist-video-thumbnail img,
.playlist-video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-video-thumbnail .lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.playlist-video-thumbnail .lock-overlay i {
    font-size: 1.5rem;
}

.playlist-video-info {
    flex: 1;
    min-width: 0;
}

.playlist-video-info h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.playlist-video-info .video-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playlist-video-info .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
}

.playlist-video-info .badge.current-week {
    background: var(--accent-color);
    color: white;
}

/* Scrollbar for playlist */
.playlist-videos::-webkit-scrollbar {
    width: 6px;
}

.playlist-videos::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.playlist-videos::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 10px;
}

.playlist-videos::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Progress Bar */
.progress {
    height: 8px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    transition: width 0.6s ease;
    border-radius: 10px;
}

/* Payment Methods */
.payment-method {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
}

.payment-method:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.payment-method.selected {
    border-color: var(--accent-color);
    background: linear-gradient(to right, #eef2ff 0%, #ffffff 100%);
    box-shadow: var(--shadow-md);
}

/* BMI Result */
.bmi-result {
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1.5rem;
    border-left: 4px solid;
}

.bmi-underweight {
    background: linear-gradient(to right, #dbeafe 0%, #ffffff 100%);
    border-left-color: #3b82f6;
}

.bmi-normal {
    background: linear-gradient(to right, #d1fae5 0%, #ffffff 100%);
    border-left-color: #10b981;
}

.bmi-overweight {
    background: linear-gradient(to right, #fef3c7 0%, #ffffff 100%);
    border-left-color: #f59e0b;
}

.bmi-obese {
    background: linear-gradient(to right, #fee2e2 0%, #ffffff 100%);
    border-left-color: #ef4444;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    background-color: var(--bg-primary);
}

.modal-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
    background-color: var(--bg-primary);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

/* Auth Modal - Premium Design */
.auth-modal .modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.auth-modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0;
}

.auth-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.auth-input::placeholder {
    color: var(--text-light);
}

.auth-submit-btn {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.auth-switch-text {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.auth-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.form-control {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

/* Guest Course Info Sections */
#karateGuestInfo,
#weightLossGuestInfo {
    color: var(--text-primary);
}

#karateGuestInfo h5,
#karateGuestInfo h6,
#weightLossGuestInfo h5,
#weightLossGuestInfo h6 {
    color: var(--text-primary);
}

#karateGuestInfo .bg-light,
#weightLossGuestInfo .bg-light {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] #karateGuestInfo .bg-light,
[data-theme="dark"] #weightLossGuestInfo .bg-light {
    background-color: var(--bg-secondary) !important;
}

#karateGuestInfo .text-primary,
#weightLossGuestInfo .text-success {
    font-weight: 700;
}

#karateGuestInfo .list-unstyled li,
#weightLossGuestInfo .list-unstyled li {
    color: var(--text-secondary);
}

#karateGuestInfo .badge,
#weightLossGuestInfo .badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Footer - Minimalistic Design */
.footer-modern {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
}

[data-theme="dark"] .footer-modern {
    background-color: var(--bg-secondary);
    border-top-color: var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-brand-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.footer-social-link.instagram:hover { background: #E4405F; color: white; border-color: #E4405F; }
.footer-social-link.facebook:hover { background: #1877F2; color: white; border-color: #1877F2; }
.footer-social-link.youtube:hover { background: #FF0000; color: white; border-color: #FF0000; }
.footer-social-link.threads:hover { background: #000000; color: white; border-color: #000000; }
.footer-social-link.whatsapp:hover { background: #25D366; color: white; border-color: #25D366; }
.footer-social-link.email:hover { background: var(--accent-color); color: white; border-color: var(--accent-color); }

.footer-links-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-separator {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0 0.25rem;
}

/* Desktop Footer Layout */
@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .footer-brand {
        text-align: left;
        align-items: flex-start;
        flex: 0 0 auto;
        min-width: 250px;
    }
    
    .footer-social-links {
        justify-content: flex-start;
    }
    
    .footer-links-section {
        flex: 1;
        align-items: flex-end;
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .footer-links {
        justify-content: flex-end;
    }
    
    .footer-copyright {
        margin-bottom: 0.5rem;
    }
}

/* Mobile Footer Adjustments */
@media (max-width: 767.98px) {
    .footer-modern {
        padding: 1.5rem 0;
        margin-top: 2rem;
        margin-bottom: 60px; /* Space for bottom nav */
    }
    
    .footer-content {
        gap: 0.5rem;
    }
    
    .footer-copyright {
        font-size: 0.8125rem;
    }
    
    .footer-link {
        font-size: 0.8125rem;
    }
}

/* Native app feel - prevent text selection on navigation */
.bottom-nav-item,
.mobile-top-bar * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Better scrolling on mobile */
body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* Enhanced Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Ensure smooth scrolling for all scrollable elements */
* {
    -webkit-overflow-scrolling: touch;
}

/* Smooth scrolling for any scrollable containers */
.container,
.row,
.col,
.card,
.overflow-auto,
.overflow-y-auto,
.overflow-x-auto {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Empty State */
.main-video-info h4:empty::before {
    content: 'Select a video from the playlist';
    color: var(--text-light);
    font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: -60px;
        padding-top: 60px;
    }

    .hero-content {
        padding: 0.75rem 0;
        min-height: auto;
    }

    .section-modern {
        padding: 1.5rem 0;
    }

    /* Reduce padding when course is purchased (videos shown directly) */
    .section-modern .section-title.d-none~.row .card-modern.border-0 {
        margin-bottom: 0;
    }

    .section-modern .section-title.d-none~.row .card-modern.border-0 .card-body {
        padding: 0;
    }

    .card-modern .card-body {
        padding: 1rem;
    }

    .video-thumbnail {
        height: 150px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .playlist-video-thumbnail {
        width: 120px;
        min-width: 120px;
        height: 68px;
    }

    .playlist-video-info h6 {
        font-size: 0.8rem;
    }

    .video-playlist {
        max-height: 400px;
    }

    .purchased-course-card {
        max-width: 100%;
    }

    .purchased-courses-hero h2 {
        font-size: 1.75rem;
    }

    .footer-modern {
        padding-bottom: 80px;
    }

    /* Enhanced bottom navigation for mobile - optimized */
    .bottom-nav-container {
        height: 52px;
        min-height: 52px;
        padding: 0.375rem 0.125rem;
    }

    .bottom-nav-item {
        padding: 0.375rem 0.5rem;
        min-height: 44px;
        gap: 0.125rem;
    }

    .bottom-nav-item i {
        font-size: 1.5rem;
    }

    .bottom-nav-item span {
        font-size: 0.6rem;
        margin-top: 0.125rem;
    }

    /* Better touch targets */
    .bottom-nav-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .bottom-nav-container {
        height: 50px;
        min-height: 50px;
        padding: 0.25rem 0.125rem;
    }

    .bottom-nav-item {
        padding: 0.25rem 0.375rem;
        min-height: 42px;
    }

    .bottom-nav-item span {
        font-size: 0.575rem;
    }

    .bottom-nav-item i {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {

    .youtube-layout .col-lg-8,
    .youtube-layout .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-modern {
    animation: fadeIn 0.5s ease-out;
}

/* Purchased Courses */
.purchased-courses-hero {
    width: 100%;
    padding: 2rem 0;
}

@media (max-width: 767.98px) {
    .purchased-courses-hero {
        padding: 1rem 0;
    }
}

.purchased-courses-hero h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.purchased-course-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 350px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767.98px) {
    .purchased-course-card {
        padding: 1.25rem;
    }
}

.purchased-course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.purchased-course-card .course-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.purchased-course-card h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.course-progress-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.course-progress-bar {
    flex: 1;
    height: 6px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.course-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.course-progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: right;
}

.purchased-course-card .btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    min-width: 200px;
    margin-top: 0.5rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item .course-icon-small {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.dropdown-header {
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
}

/* Weight Loss Promotional Card */
.weight-loss-promo-container {
    padding: 0.75rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

.weight-loss-promo-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.promo-icon {
    font-size: 1.75rem;
    color: #10b981;
}

.weight-loss-promo-card h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.weight-loss-promo-card .small {
    font-size: 0.75rem;
    line-height: 1.3;
}

.weight-loss-promo-card .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 768px) {

    /* Hero Video Mobile Adjustments */
    .hero-section {
        min-height: 50vh;
    }

    .welcome-message-hero .container {
        padding: 1.5rem;
    }

    .hero-video-restart {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-video-restart i {
        font-size: 1.1rem;
    }

    .hero-content-section {
        padding: 3rem 0;
    }

    .weight-loss-promo-container {
        padding: 0.5rem 0;
    }

    .weight-loss-promo-card {
        padding: 0.625rem 0.875rem;
    }

    .promo-icon {
        font-size: 1.5rem;
    }

    .weight-loss-promo-card h6 {
        font-size: 0.85rem;
    }

    .weight-loss-promo-card .small {
        font-size: 0.7rem;
    }

    .weight-loss-promo-card .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Course Name Badge */
.course-name-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.course-name-badge i {
    font-size: 1rem;
}

/* Karate course badge */
.course-badge-karate {
    background: linear-gradient(135deg, #fee2e2 0%, #ffffff 100%);
    border-color: #ef4444;
    color: #ef4444;
}

/* Weight loss course badge */
.course-badge-weightloss {
    background: linear-gradient(135deg, #d1fae5 0%, #ffffff 100%);
    border-color: #10b981;
    color: #10b981;
}

/* Utility Classes */
.text-muted {
    color: var(--text-secondary) !important;
}

.lead {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Google Sign-In Button */
.btn-google-modern {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-google-modern:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: #c7c7c7;
}

.btn-google-modern:active {
    transform: translateY(0);
    background-color: #e5e7eb;
}

[data-theme="dark"] .btn-google-modern {
    background-color: #2d3748;
    border-color: #4a5568;
    color: white;
}

[data-theme="dark"] .btn-google-modern:hover {
    background-color: #374151;
    border-color: #718096;
}

/* YouTube Hero Video */
.youtube-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.hero-youtube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 177.78vh;
    height: 56.25vw;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .youtube-hero-wrapper {
        min-height: 300px;
    }
}

/* Preview Cards */
.preview-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
    .preview-card {
        margin-bottom: 1rem;
    }
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.preview-video-container {
    position: relative;
    padding: 25px;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 767.98px) {
    .preview-video-container {
        padding: 1rem;
        gap: 1rem;
    }
}

.preview-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.preview-play-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.preview-info {
    flex: 1;
}

.preview-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.preview-info h5 {
    margin: 0 0 5px 0;
    font-weight: 700;
    color: var(--text-primary);
}

/* Welcome Message Hero */
.welcome-message-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.welcome-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .welcome-message-hero {
        min-height: 300px;
    }

    .welcome-title {
        font-size: 1.8rem;
    }
}


/* Hero Click Layer - on top of iframe */
button.hero-click-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

/* Fullscreen Hint */
.fullscreen-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.fullscreen-hint.fade-out {
    opacity: 0;
}

.fullscreen-hint i {
    font-size: 0.8rem;
}

/* Fullscreen Video Modal */
.fullscreen-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.fullscreen-video-modal.active {
    display: flex;
}

.fullscreen-video-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.close-fullscreen-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.fullscreen-video-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fullscreen-video-container iframe,
.fullscreen-video-container video {
    width: 100%;
    height: 100%;
    max-width: 1600px;
    max-height: 900px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .play-button-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .fullscreen-video-container {
        padding: 10px;
    }

    .close-fullscreen-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Payment Method Selection Styles (Moved from JS) */
.payment-method {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-method.selected {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.payment-method.disabled-method {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-style: dashed;
}

.payment-method.disabled-method:hover {
    transform: none;
    box-shadow: none;
}

/* Login ID Popup Styles (Moved from JS) */
.login-id-popup {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1050;
    max-width: 280px;
    animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-id-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-credentials {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

@media (max-width: 768px) {
    .login-id-popup {
        bottom: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Google Auth Button */
.btn-white {
    background-color: white;
    border: 1px solid #dadce0;
    color: #3c4043;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background-color: #f8f9fa;
    border-color: #d2e3fc;
    background-color: rgba(66, 133, 244, 0.04);
    color: #3c4043;
    box-shadow: 0 1px 3px rgba(66, 133, 244, 0.1);
}

.btn-white:active {
    background-color: #eeeeee;
    box-shadow: none;
    transform: scale(0.98);
}

[data-theme="dark"] .btn-white {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .btn-white:hover {
    background-color: #4a5568;
}

/* Pulse Animation for Offer Button */
@keyframes pulse-custom {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.pulse-animation {
    animation: pulse-custom 2s infinite;
}

/* Quick Contact Modal Styles */
.quick-contact-modal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quick-contact-modal .modal-xl {
    max-width: 1200px;
}

.quick-contact-modal .modal-header {
    padding: 1.5rem 1.5rem 1rem;
}

.quick-contact-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.quick-contact-modal .modal-title i {
    color: var(--accent-color);
}

.quick-contact-modal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

/* Form Progress Bar */
.form-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.progress-step.completed .step-circle {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.progress-step.completed .step-circle::before {
    content: '✓';
    font-weight: bold;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.progress-step.active .step-label {
    color: var(--accent-color);
}

.progress-step.completed .step-label {
    color: var(--accent-color);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.5rem;
    position: relative;
    top: -10px;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    margin-bottom: 1rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.contact-summary {
    border: 1px solid var(--border-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 767.98px) {
    .features-section {
        padding: 1rem 0 0.75rem;
    }

    .courses-section {
        padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.75rem;
    }

    .quick-contact-modal .modal-dialog {
        margin: 1rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Payment Coming Soon Styles */
.payment-coming-soon {
    background: var(--bg-primary);
    border-radius: 16px;
}

.payment-coming-soon i.bi-credit-card {
    animation: pulse-slow 2s infinite;
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.payment-coming-soon h5 {
    color: var(--text-primary);
}

.payment-coming-soon p {
    color: var(--text-secondary);
}

.feature-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Checkout Page Styles - Matching Cashfree Design */
.checkout-container {
    display: flex;
    gap: 0;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .checkout-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.checkout-form-step {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.checkout-left {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 0;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.checkout-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.checkout-left-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.checkout-header-info {
    font-size: 0.85rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.checkout-header-info i {
    color: #fbbf24;
}

/* Minimal Premium Brand Section */
.checkout-brand-minimal {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-logo-minimal {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    color: #10b981;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.checkout-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Course Info Section */
.checkout-course-info {
    margin-bottom: 3rem;
    flex: 1;
}

.course-name-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

/* Minimal Premium Price Display */
.checkout-price-minimal {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-main .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.price-main .price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
    letter-spacing: -1px;
}

/* Trust Section */
.checkout-trust-minimal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-item i {
    font-size: 1rem;
    color: #10b981;
    width: 20px;
    text-align: center;
}

.checkout-offers-section {
    background: white;
    color: #1f2937;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: auto;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.offers-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.offers-count {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.offer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.offer-desc {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.btn-offer-apply {
    background: #14b8a6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-offer-apply:hover {
    background: #0d9488;
}

.checkout-secured-footer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.checkout-page-section {
    min-height: 100vh;
    background: var(--bg-light);
    transition: background-color 0.3s ease;
}

.checkout-right {
    flex: 1;
    background: var(--bg-light);
    padding: 2rem;
    transition: background-color 0.3s ease;
}

.checkout-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.checkout-payment-header strong {
    color: var(--text-primary);
}

.change-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.change-link:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

.qr-payment-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.qr-code-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: #f9fafb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-qr-show {
    background: #14b8a6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.btn-qr-show:hover {
    background: #0d9488;
}

.qr-info {
    flex: 1;
}

.qr-info p {
    margin: 0.5rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.upi-logos {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0.75rem 0;
}

.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-method-item {
    background: var(--bg-primary);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.payment-method-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .payment-method-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.payment-method-item span {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.payment-method-item i.bi-chevron-right {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.payment-method-item.active {
    border: 2px solid var(--accent-color);
    background: rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .payment-method-item.active {
    background: rgba(16, 185, 129, 0.15);
}

.payment-method-item.active i.bi-chevron-right {
    color: #14b8a6;
}

.quick-contact-modal .modal-body {
    padding: 0;
}

#paymentStep {
    padding: 0;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .checkout-container {
        flex-direction: column;
    }
    
    .checkout-left {
        flex: 1;
    }
    
    .qr-payment-section {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .quick-contact-modal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    
    .checkout-container {
        border-radius: 0;
    }
    
    .checkout-left-content {
        padding: 2rem 1.5rem;
    }
    
    .checkout-brand-minimal {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .checkout-logo-minimal {
        font-size: 1.75rem;
        letter-spacing: 3px;
    }
    
    .checkout-course-info {
        margin-bottom: 2rem;
    }
    
    .course-title {
        font-size: 1.25rem;
    }
    
    .checkout-price-minimal {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .price-main .price-amount {
        font-size: 2.25rem;
    }
    
    .checkout-trust-minimal {
        padding-top: 1.5rem;
        gap: 0.75rem;
    }
}

/* Hero Courses Section */
.hero-courses {
    min-height: auto;
    background: #0f172a;
    /* Premium Deep Dark for contrast */
    position: relative;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .hero-courses {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
}

.hero-courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-text-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .hero-text-container {
        padding: 0 1rem;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #f8fafc;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Premium Course Cards - Minimalist */
.premium-course-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.premium-course-card:hover {
    transform: translateY(-4px);
    border-color: var(--course-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .premium-course-card {
    background: #1e293b;
    border-color: var(--border-color);
}

[data-theme="dark"] .premium-course-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
}

.course-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.price-tag {
    background: transparent;
    padding: 0.5rem 0;
    border-radius: 8px;
    font-weight: 700;
}

.price-tag .currency {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-right: 2px;
}

.price-tag .amount {
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    font-weight: 800;
}

.course-title-premium {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-desc-premium {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 0;
}

.course-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.meta-item i {
    font-size: 0.875rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.meta-item span {
    white-space: nowrap;
}

.btn-premium-action {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    margin-top: auto;
}

.btn-premium-action:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-1px);
}

.btn-premium-action:active {
    transform: scale(0.98);
}

/* Custom Horizontal Scroll */
.custom-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.custom-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .premium-courses-wrapper {
        position: relative;
        overflow: hidden;
        padding: 0 !important;
        width: 100vw;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        left: 0;
        right: 0;
    }

    /* Remove container padding influence */
    .container .premium-courses-wrapper {
        margin-left: calc(-50vw + 50% - 0.75rem) !important;
        margin-right: calc(-50vw + 50% - 0.75rem) !important;
    }

    .premium-courses-wrapper .row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 0 !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-padding: 0 !important;
        scroll-padding-left: 0 !important;
        scroll-padding-right: 0 !important;
        width: 100%;
    }

    .premium-courses-wrapper .row::-webkit-scrollbar {
        display: none;
    }

    .premium-courses-wrapper .col-9 {
        scroll-snap-align: start;
        flex: 0 0 100vw !important;
        max-width: 100vw !important;
        width: 100vw !important;
        min-width: 100vw !important;
        margin: 0 !important;
        padding: 1rem;
        box-sizing: border-box;
    }

    /* Scroll hint indicator - auto-animating right arrow */
    .course-scroll-hint {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        z-index: 10;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .course-scroll-hint.show {
        opacity: 1;
        animation: pulseArrow 2.5s ease-in-out infinite;
    }

    @keyframes pulseArrow {
        0%, 100% {
            transform: translateY(-50%) translateX(0);
            opacity: 0.8;
        }
        50% {
            transform: translateY(-50%) translateX(8px);
            opacity: 1;
        }
    }

    .course-scroll-hint i {
        animation: bounceRight 2.5s ease-in-out infinite;
    }

    @keyframes bounceRight {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(4px);
        }
    }

    /* Hide hint when scrolled to end */
    .premium-courses-wrapper.scrolled-end .course-scroll-hint {
        opacity: 0;
        display: none;
    }

    .premium-course-card {
        padding: 1.25rem;
        border-radius: 12px;
        min-height: auto;
    }

    .hero-courses {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .course-icon-badge {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .course-title-premium {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }

    .course-desc-premium {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    .course-meta-grid {
        gap: 0.375rem;
        padding: 0.625rem 0;
        margin-bottom: 0.75rem;
    }

    .meta-item {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }

    .meta-item i {
        font-size: 0.75rem;
    }

    .btn-premium-action {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }

    .price-tag .amount {
        font-size: 1.25rem;
    }
}

/* Dark Mode Tweaks - Minimalist */
[data-theme="dark"] .meta-item {
    background: #334155;
}

/* Stats Section */
.stats-section {
    background: var(--bg-primary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

[data-theme="dark"] .stat-card {
    background: #1e293b;
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.stat-value {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .stats-grid {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
    }
    
    .stat-label {
        font-size: 0.8125rem;
    }
}

/* Join Now Course Cards Section */
.join-now-cards-section {
    background: var(--bg-secondary);
    position: relative;
}

.join-cards-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 1rem 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.join-cards-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.join-cards-container {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
    width: max-content;
}

/* Desktop: Horizontal scroll for course cards */
@media (min-width: 768px) {
    .join-cards-scroll-wrapper {
        padding: 0 1.5rem;
    }
    
    .join-cards-container {
        padding: 0 1.5rem;
        width: max-content;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

.join-now-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.join-now-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.join-now-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.join-now-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.join-now-card:hover::before {
    opacity: 0.8;
}

[data-theme="dark"] .join-now-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
}

.join-now-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Psychology Badge */
.join-now-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.join-now-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.join-now-card:hover .join-now-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.join-now-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.join-now-description {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Psychology Features List */
.join-now-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.join-now-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.join-now-feature-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    flex-shrink: 0;
}

.join-now-price-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.join-now-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
}

.join-now-price-currency {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.join-now-price-amount {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -2px;
}

.join-now-price-period {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0.25rem;
}

.btn-join-now-modern {
    background: white;
    color: var(--accent-color);
    border: none;
    border-radius: 16px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    min-width: 200px;
    height: 68px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-sizing: border-box;
}

.btn-join-now-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-join-now-modern:hover:not(.processing):not(:disabled) {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    color: var(--accent-dark);
}

.btn-join-now-modern:hover:not(.processing):not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.btn-join-now-modern:active:not(.processing):not(:disabled) {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
}

.btn-join-now-modern.processing,
.btn-join-now-modern:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    transform: translateY(0);
    pointer-events: none;
}

.btn-join-content,
.btn-join-processing {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease;
    box-sizing: border-box;
}

.btn-join-content {
    flex-direction: column;
    gap: 0.25rem;
    opacity: 1;
    pointer-events: auto;
}

.btn-join-processing {
    flex-direction: row;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
}

.btn-join-processing span:not(.spinner-border) {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-join-text {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.btn-join-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

/* Spinner in button */
.btn-join-now-modern .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    border-color: var(--accent-color);
    border-right-color: transparent;
}

/* Modern Redesigned Join Card with Images */
.join-now-card-modern {
    flex: 0 0 auto;
    width: 100%;
    max-width: 900px;
    min-width: 320px;
    scroll-snap-align: start;
}

.join-now-card-wrapper-modern {
    display: flex;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 500px;
    height: 500px;
}

[data-theme="dark"] .join-now-card-wrapper-modern {
    background: var(--bg-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.join-now-card-wrapper-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .join-now-card-wrapper-modern:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Image Section */
.join-now-card-image-section {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-color, #10b981) 0%, var(--card-color, #10b981)dd 100%);
}

.join-now-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-color, #10b981) 0%, var(--card-color, #10b981)dd 100%);
}

.join-now-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.join-now-image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.join-now-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.join-now-image-slide.active {
    opacity: 1;
}

.join-now-image-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.join-now-image-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.join-now-image-indicator.active {
    background: white;
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.join-now-card-content-modern {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    height: 100%;
}

.card-link-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
}

/* Ensure buttons and links are clickable above overlay */
.join-now-card-content-modern > div[style*="z-index"] {
    position: relative;
    z-index: 10 !important;
}

.join-now-card-content-modern > div[style*="z-index"] button,
.join-now-card-content-modern > div[style*="z-index"] a {
    position: relative;
    z-index: 11 !important;
    pointer-events: auto !important;
}

.join-now-badge-modern {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 1rem;
    align-self: flex-start;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.join-now-icon-small {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.join-now-title-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.join-now-description-modern {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.join-now-price-section-modern {
    margin-bottom: 1.5rem;
}

.join-now-price-wrapper-modern {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.join-now-price-currency-modern {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.join-now-price-amount-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--card-color, #10b981);
    line-height: 1;
}

.join-now-price-period-modern {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.btn-join-now-modern-new {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
    position: relative;
    z-index: 10 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 70px;
    pointer-events: auto !important;
}

.btn-join-now-modern-new::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.5s ease;
}

.btn-join-now-modern-new:hover::before {
    left: 100%;
}

.btn-join-now-modern-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-dark) 100%);
    color: white;
}

.btn-join-now-modern-new:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-join-now-modern-new .btn-join-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.btn-join-now-modern-new .btn-join-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.btn-join-now-modern-new .btn-join-subtext {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.2px;
}

.btn-join-now-modern-new .btn-join-processing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .btn-join-now-modern-new {
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.25);
}

[data-theme="dark"] .btn-join-now-modern-new:hover {
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.35);
}

.join-now-details-link {
    color: var(--card-color, #10b981) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.join-now-details-link:hover {
    color: var(--card-color, #10b981) !important;
    text-decoration: underline !important;
}

/* Mobile: 2 cards visible at a time with scrolling */
@media (max-width: 767.98px) {
    .join-now-cards-section {
        padding: 1rem 0;
    }

    .join-cards-scroll-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .join-cards-container {
        gap: 1rem;
        padding: 0;
    }

    .join-now-card-modern {
        flex: 0 0 calc(100vw - 3rem);
        min-width: calc(100vw - 3rem);
        max-width: calc(100vw - 3rem);
        scroll-snap-align: center;
    }

    .join-now-card-wrapper-modern {
        flex-direction: column;
        min-height: auto;
    }

    .join-now-card-image-section {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .join-now-card-content-modern {
        padding: 1.5rem;
    }

    .join-now-title-modern {
        font-size: 1.5rem;
    }

    .join-now-price-amount-modern {
        font-size: 2rem;
    }
    
    .btn-join-now-modern-new {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 65px;
    }
    
    .btn-join-now-modern-new .btn-join-text {
        font-size: 1rem;
    }
    
    .btn-join-now-modern-new .btn-join-subtext {
        font-size: 0.8rem;
    }

    .join-now-card {
        flex: 0 0 calc(50vw - 2rem);
        min-width: calc(50vw - 2rem);
        max-width: calc(50vw - 2rem);
        scroll-snap-align: start;
        padding: 2rem 1.25rem;
    }

    .join-now-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .join-now-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .join-now-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .join-now-features-list {
        gap: 0.375rem;
        margin-bottom: 1.25rem;
        padding: 0.75rem 0;
    }
    
    .join-now-feature-item {
        font-size: 0.75rem;
    }
    
    .join-now-feature-item i {
        font-size: 0.875rem;
    }
    
    .join-now-badge {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
        margin-bottom: 0.75rem;
    }

    .join-now-price-amount {
        font-size: 1.75rem;
    }

    .join-now-price-period {
        font-size: 0.75rem;
    }

    .join-now-price-section {
        margin-bottom: 1.25rem;
    }

    .btn-join-now-modern {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-width: auto;
        width: 100%;
    }

    .btn-join-text {
        font-size: 0.95rem;
    }

    .btn-join-subtext {
        font-size: 0.65rem;
    }
}

/* Desktop: Cards in grid or row */
@media (min-width: 768px) {
    .join-now-card {
        flex: 0 0 auto;
        width: 380px;
        max-width: 380px;
    }
}

@media (max-width: 375px) {
    .join-now-card {
        padding: 1.5rem 1rem;
    }

    .join-now-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .join-now-title {
        font-size: 1.125rem;
    }

    .join-now-price-amount {
        font-size: 1.5rem;
    }
}