/* ============================================
   JAADA Modern Home Page - Complete Styles
   ============================================ */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Properties */
.jaada-modern-home {
    --jm-bg-primary: #080C14;
    --jm-bg-secondary: #0A1525;
    --jm-bg-card: #0F1A2E;
    --jm-accent-blue: #38BDF8;
    --jm-accent-cyan: #2DD4BF;
    --jm-accent-teal: #34D399;
    --jm-accent-gold: #FBBF24;
    --jm-accent-orange: #FB923C;
    --jm-accent-rose: #F43F5E;
    --jm-accent-purple: #A78BFA;
    --jm-text-primary: #FFFFFF;
    --jm-text-secondary: rgba(255,255,255,0.7);
    --jm-text-tertiary: rgba(255,255,255,0.5);
    --jm-text-muted: rgba(255,255,255,0.3);
    --jm-border-subtle: rgba(255,255,255,0.05);
    --jm-border-light: rgba(255,255,255,0.1);
    --jm-border-accent: rgba(56,189,248,0.2);
    --jm-radius-sm: 0.5rem;
    --jm-radius-md: 1rem;
    --jm-radius-lg: 1.5rem;
    --jm-radius-xl: 2rem;
    --jm-radius-full: 9999px;
}

/* Base Reset & Overrides */
.jaada-modern-home {
    background: var(--jm-bg-primary) !important;
    color: var(--jm-text-primary);
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

.jaada-modern-home,
.jaada-modern-home *,
.jaada-modern-home *::before,
.jaada-modern-home *::after {
    box-sizing: border-box;
}

.jaada-modern-home body {
    background: var(--jm-bg-primary) !important;
    color: var(--jm-text-primary);
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.jaada-modern-home a {
    color: inherit;
    text-decoration: none;
}

.jaada-modern-home img {
    max-width: 100%;
    height: auto;
}

.jaada-modern-home ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Hide WP admin bar on this page */
.jaada-modern-home #wpadminbar { display: none !important; }

/* Hide theme elements that leak outside our template */
.sc_studi_smart_nav,
.sc_studi_smart_nav_content,
.studi_custom_floating_btn,
.swss_floting_ticket,
.sc_studi_hamburger,
#woosw-popup,
.elementor-location-footer,
.elementor-location-header,
#back-to-top,
#sc_scroll_progress {
    display: none !important;
}

/* Override theme styles that might leak */
.jaada-modern-home .wrap { max-width: 100% !important; padding: 0 !important; }
.jaada-modern-home .main-page-content { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.jaada-modern-home .site-content-inner { max-width: 100% !important; padding: 0 !important; }

/* Container */
.jm-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .jm-container { padding: 0 2rem; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.jm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.25rem 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.jm-nav.scrolled {
    background: rgba(8,12,20,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--jm-border-subtle);
}

.jm-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-lg);
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .jm-nav-inner { padding: 0.75rem 2rem; }
}

.jm-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jm-text-primary);
}

.jm-nav-logo svg {
    width: 28px;
    height: 28px;
    color: var(--jm-accent-cyan);
}

.jm-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .jm-nav-links { display: flex; }
}

.jm-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--jm-text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.jm-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--jm-accent-blue);
    transition: width 0.3s ease;
}

.jm-nav-links a:hover {
    color: var(--jm-text-primary);
}

.jm-nav-links a:hover::after {
    width: 100%;
}

.jm-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jm-btn-ghost {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--jm-text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    border-radius: var(--jm-radius-md);
}

.jm-btn-ghost:hover {
    color: var(--jm-text-primary);
}

.jm-btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1D4ED8, #0891B2);
    border: none;
    border-radius: var(--jm-radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.jm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(14,165,233,0.5);
}

.jm-btn-secondary {
    padding: 0.625rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--jm-text-secondary);
    background: transparent;
    border: 1px solid var(--jm-border-light);
    border-radius: var(--jm-radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.jm-btn-secondary:hover {
    color: var(--jm-text-primary);
    border-color: rgba(56,189,248,0.5);
    background: rgba(56,189,248,0.05);
    box-shadow: 0 0 20px rgba(56,189,248,0.15);
}

.jm-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--jm-border-light);
    border-radius: var(--jm-radius-md);
    color: var(--jm-text-primary);
    cursor: pointer;
}

@media (min-width: 768px) {
    .jm-mobile-toggle { display: none; }
}

/* Mobile Menu */
.jm-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8,12,20,0.98);
    backdrop-filter: blur(20px);
    z-index: 100;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.jm-mobile-menu.active {
    display: flex;
}

.jm-mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--jm-text-primary);
    padding: 0.75rem 0;
}

.jm-mobile-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--jm-border-light);
    border-radius: var(--jm-radius-md);
    color: var(--jm-text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.jm-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

/* Grid Background */
.jm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Animated Orbs */
.jm-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: jm-orb-float 12s ease-in-out infinite;
    pointer-events: none;
}

.jm-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56,189,248,0.6) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-duration: 15s;
}

.jm-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52,211,153,0.6) 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    filter: blur(100px);
    animation-duration: 18s;
    animation-delay: -3s;
}

.jm-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251,146,60,0.6) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    filter: blur(120px);
    animation-duration: 14s;
    animation-delay: -7s;
}

.jm-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.jm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: var(--jm-radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--jm-accent-blue);
    margin-bottom: 2rem;
    animation: jm-slide-up 0.8s ease-out forwards;
}

.jm-hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 1.5rem;
    animation: jm-slide-up 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .jm-hero-title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
    .jm-hero-title { font-size: 6rem; }
}

.jm-gradient-text {
    background: linear-gradient(135deg, #60A5FA, #38BDF8 40%, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jm-hero-desc {
    font-size: 1.0625rem;
    color: var(--jm-text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    animation: jm-slide-up 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.jm-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: jm-slide-up 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.jm-hero-actions .jm-btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.jm-hero-actions .jm-btn-secondary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social Proof */
.jm-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: jm-slide-up 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.jm-avatar-group {
    display: flex;
    align-items: center;
}

.jm-avatar-group img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--jm-bg-primary);
    margin-right: -10px;
    object-fit: cover;
}

.jm-avatar-group img:first-child {
    margin-right: 0;
}

.jm-social-proof-text {
    font-size: 0.8125rem;
    color: var(--jm-text-tertiary);
}

.jm-social-proof-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.jm-social-proof-rating .jm-stars {
    display: flex;
    gap: 2px;
    color: var(--jm-accent-gold);
}

.jm-social-proof-rating span {
    font-size: 0.8125rem;
    color: var(--jm-text-tertiary);
}

/* Scroll Indicator */
.jm-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: jm-float 3s ease-in-out infinite;
}

.jm-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--jm-text-muted);
}

.jm-scroll-indicator svg {
    width: 20px;
    height: 20px;
    color: var(--jm-text-muted);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.jm-stats {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.jm-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .jm-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.jm-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.jm-stat-card:hover {
    border-color: var(--jm-border-light);
    transform: translateY(-2px);
}

.jm-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--jm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.jm-stat-icon svg {
    width: 24px;
    height: 24px;
}

.jm-stat-icon.blue { background: rgba(56,189,248,0.1); color: var(--jm-accent-blue); }
.jm-stat-icon.teal { background: rgba(52,211,153,0.1); color: var(--jm-accent-teal); }
.jm-stat-icon.gold { background: rgba(251,191,36,0.1); color: var(--jm-accent-gold); }
.jm-stat-icon.purple { background: rgba(167,139,250,0.1); color: var(--jm-accent-purple); }

.jm-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--jm-text-primary);
    margin-bottom: 0.25rem;
}

.jm-stat-label {
    font-size: 0.875rem;
    color: var(--jm-text-tertiary);
}

/* ============================================
   MARQUEE SECTION
   ============================================ */
.jm-marquee {
    padding: 2rem 0;
    border-top: 1px solid var(--jm-border-subtle);
    border-bottom: 1px solid var(--jm-border-subtle);
    overflow: hidden;
}

.jm-marquee-track {
    display: flex;
    gap: 3rem;
    animation: jm-marquee 25s linear infinite;
    width: max-content;
}

.jm-marquee-item {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--jm-text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jm-marquee-item::before {
    content: '◆';
    font-size: 0.5rem;
    color: var(--jm-accent-cyan);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.jm-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.jm-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.jm-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: var(--jm-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jm-accent-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jm-section-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: var(--jm-text-primary);
}

@media (min-width: 768px) {
    .jm-section-title { font-size: 3rem; }
}

.jm-section-desc {
    font-size: 1rem;
    color: var(--jm-text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

.jm-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .jm-categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .jm-categories-grid { grid-template-columns: repeat(6, 1fr); }
}

.jm-category-card {
    padding: 1.5rem;
    border-radius: var(--jm-radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.jm-category-card:hover {
    transform: translateY(-8px);
}

.jm-category-card.blue {
    background: rgba(56,189,248,0.08);
    border-color: rgba(56,189,248,0.12);
}
.jm-category-card.teal {
    background: rgba(52,211,153,0.08);
    border-color: rgba(52,211,153,0.12);
}
.jm-category-card.orange {
    background: rgba(251,146,60,0.08);
    border-color: rgba(251,146,60,0.12);
}
.jm-category-card.purple {
    background: rgba(167,139,250,0.08);
    border-color: rgba(167,139,250,0.12);
}
.jm-category-card.pink {
    background: rgba(244,63,94,0.08);
    border-color: rgba(244,63,94,0.12);
}
.jm-category-card.yellow {
    background: rgba(251,191,36,0.08);
    border-color: rgba(251,191,36,0.12);
}

.jm-category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--jm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
}

.jm-category-card.blue .jm-category-icon { background: rgba(56,189,248,0.15); }
.jm-category-card.teal .jm-category-icon { background: rgba(52,211,153,0.15); }
.jm-category-card.orange .jm-category-icon { background: rgba(251,146,60,0.15); }
.jm-category-card.purple .jm-category-icon { background: rgba(167,139,250,0.15); }
.jm-category-card.pink .jm-category-icon { background: rgba(244,63,94,0.15); }
.jm-category-card.yellow .jm-category-icon { background: rgba(251,191,36,0.15); }

.jm-category-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--jm-text-primary);
    margin-bottom: 0.25rem;
}

.jm-category-count {
    font-size: 0.75rem;
    color: var(--jm-text-tertiary);
}

/* ============================================
   COURSES SECTION
   ============================================ */
.jm-courses-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.jm-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--jm-text-tertiary);
    background: transparent;
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.jm-tab:hover,
.jm-tab.active {
    color: var(--jm-text-primary);
    background: rgba(56,189,248,0.1);
    border-color: rgba(56,189,248,0.3);
}

.jm-courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .jm-courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .jm-courses-grid { grid-template-columns: repeat(4, 1fr); }
}

.jm-course-card {
    background: linear-gradient(145deg, #0F1A2E, #0A1525);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
    position: relative;
}

.jm-course-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56,189,248,0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.jm-course-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(56,189,248,0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 30px rgba(56,189,248,0.1);
}

.jm-course-card:hover::after {
    opacity: 1;
}

.jm-course-img {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.jm-course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jm-course-card:hover .jm-course-img img {
    transform: scale(1.05);
}

.jm-course-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--jm-radius-full);
    z-index: 2;
}

.jm-course-badge.bestseller {
    background: rgba(251,191,36,0.15);
    color: var(--jm-accent-gold);
    border: 1px solid rgba(251,191,36,0.25);
}

.jm-course-badge.new {
    background: rgba(52,211,153,0.15);
    color: var(--jm-accent-teal);
    border: 1px solid rgba(52,211,153,0.25);
}

.jm-course-badge.popular {
    background: rgba(244,63,94,0.15);
    color: var(--jm-accent-rose);
    border: 1px solid rgba(244,63,94,0.25);
}

.jm-course-level {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: var(--jm-text-secondary);
    border-radius: var(--jm-radius-full);
    z-index: 2;
}

.jm-course-body {
    padding: 1.25rem;
    position: relative;
    z-index: 2;
}

.jm-course-category {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--jm-accent-blue);
    margin-bottom: 0.5rem;
}

.jm-course-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--jm-text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.jm-course-instructor {
    font-size: 0.75rem;
    color: var(--jm-text-tertiary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.jm-course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--jm-text-muted);
    margin-bottom: 1rem;
}

.jm-course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.jm-course-meta-item svg {
    width: 14px;
    height: 14px;
}

.jm-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--jm-border-subtle);
}

.jm-course-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jm-text-primary);
}

.jm-course-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--jm-text-tertiary);
}

.jm-course-btn {
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jm-accent-blue);
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: var(--jm-radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.jm-course-btn:hover {
    background: rgba(56,189,248,0.15);
    border-color: rgba(56,189,248,0.4);
}

/* ============================================
   FEATURES / WHY JAADA SECTION
   ============================================ */
.jm-features-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .jm-features-layout { grid-template-columns: 1fr 1fr; }
}

.jm-features-image {
    position: relative;
    border-radius: var(--jm-radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.jm-features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--jm-radius-xl);
}

.jm-floating-badge {
    position: absolute;
    background: rgba(15,26,46,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-border-light);
    border-radius: var(--jm-radius-lg);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: jm-float 5s ease-in-out infinite;
}

.jm-floating-badge-1 {
    top: 1.5rem;
    right: 1.5rem;
}

.jm-floating-badge-2 {
    bottom: 1.5rem;
    left: 1.5rem;
    animation-delay: -2.5s;
}

.jm-floating-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jm-floating-badge-icon.green {
    background: rgba(52,211,153,0.15);
    color: var(--jm-accent-teal);
}

.jm-floating-badge-icon.blue {
    background: rgba(56,189,248,0.15);
    color: var(--jm-accent-blue);
}

.jm-floating-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jm-text-primary);
    line-height: 1.4;
}

.jm-floating-badge-text span {
    display: block;
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--jm-text-tertiary);
}

.jm-features-content h2 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
    .jm-features-content h2 { font-size: 3rem; }
}

.jm-features-content > p {
    color: var(--jm-text-tertiary);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.jm-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .jm-features-grid { grid-template-columns: 1fr 1fr; }
}

.jm-feature-card {
    padding: 1.25rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-lg);
    transition: all 0.3s ease;
}

.jm-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--jm-border-light);
}

.jm-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--jm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: rgba(56,189,248,0.1);
    color: var(--jm-accent-blue);
}

.jm-feature-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.375rem;
    color: var(--jm-text-primary);
}

.jm-feature-card p {
    font-size: 0.8125rem;
    color: var(--jm-text-tertiary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   INSTRUCTORS SECTION
   ============================================ */
.jm-instructors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .jm-instructors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .jm-instructors-grid { grid-template-columns: repeat(4, 1fr); }
}

.jm-instructor-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.jm-instructor-card:hover {
    transform: translateY(-4px);
    border-color: var(--jm-border-light);
}

.jm-instructor-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255,255,255,0.1);
}

.jm-instructor-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jm-text-primary);
    margin-bottom: 0.25rem;
}

.jm-instructor-title {
    font-size: 0.8125rem;
    color: var(--jm-accent-blue);
    margin-bottom: 1rem;
}

.jm-instructor-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--jm-text-tertiary);
}

.jm-instructor-stats div {
    text-align: center;
}

.jm-instructor-stats strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--jm-text-primary);
    margin-bottom: 0.125rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.jm-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .jm-testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.jm-testimonial-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-lg);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.jm-testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--jm-border-light);
}

.jm-testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--jm-accent-gold);
    margin-bottom: 1rem;
}

.jm-testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.jm-testimonial-quote {
    font-size: 0.9375rem;
    color: var(--jm-text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.jm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jm-testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.jm-testimonial-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--jm-text-primary);
}

.jm-testimonial-author-role {
    font-size: 0.75rem;
    color: var(--jm-text-tertiary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.jm-cta {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.jm-cta-inner {
    max-width: 64rem;
    margin: 0 auto;
    background: linear-gradient(135deg, #0F2340, #0A1F35 50%, #0D2A20);
    border: 1px solid var(--jm-border-subtle);
    border-radius: var(--jm-radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .jm-cta-inner { padding: 4rem 3rem; }
}

.jm-cta-inner::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.jm-cta-inner::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,211,153,0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.jm-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: rgba(52,211,153,0.08);
    border: 1px solid rgba(52,211,153,0.15);
    border-radius: var(--jm-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jm-accent-teal);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.jm-cta h2 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 1rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .jm-cta h2 { font-size: 3rem; }
}

.jm-cta p {
    color: var(--jm-text-tertiary);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.75;
    position: relative;
    z-index: 2;
}

.jm-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.jm-cta-note {
    font-size: 0.8125rem;
    color: var(--jm-text-muted);
    position: relative;
    z-index: 2;
}

/* ============================================
   FOOTER
   ============================================ */
.jm-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--jm-border-subtle);
    position: relative;
    z-index: 2;
}

.jm-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .jm-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .jm-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.jm-footer-brand {
    max-width: 300px;
}

.jm-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jm-text-primary);
    margin-bottom: 1rem;
}

.jm-footer-logo svg {
    width: 28px;
    height: 28px;
    color: var(--jm-accent-cyan);
}

.jm-footer-brand p {
    font-size: 0.875rem;
    color: var(--jm-text-tertiary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.jm-footer-social {
    display: flex;
    gap: 0.75rem;
}

.jm-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--jm-radius-md);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--jm-border-subtle);
    color: var(--jm-text-tertiary);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.jm-footer-social a:hover {
    background: rgba(56,189,248,0.1);
    border-color: rgba(56,189,248,0.3);
    color: var(--jm-accent-blue);
}

.jm-footer-col h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--jm-text-primary);
    margin: 0 0 1.25rem;
}

.jm-footer-col ul li {
    margin-bottom: 0.75rem;
}

.jm-footer-col ul li a {
    font-size: 0.875rem;
    color: var(--jm-text-tertiary);
    transition: color 0.3s ease;
}

.jm-footer-col ul li a:hover {
    color: var(--jm-text-primary);
}

.jm-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--jm-border-subtle);
    font-size: 0.8125rem;
    color: var(--jm-text-muted);
}

.jm-footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.jm-footer-bottom-links a {
    color: var(--jm-text-muted);
    transition: color 0.3s ease;
}

.jm-footer-bottom-links a:hover {
    color: var(--jm-text-secondary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes jm-slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes jm-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes jm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes jm-orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(15px, 10px) scale(1.02);
    }
}

@keyframes jm-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes jm-pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes jm-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Scroll Reveal */
.jm-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.jm-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.jm-delay-1 { transition-delay: 0.1s; }
.jm-delay-2 { transition-delay: 0.2s; }
.jm-delay-3 { transition-delay: 0.3s; }
.jm-delay-4 { transition-delay: 0.4s; }
.jm-delay-5 { transition-delay: 0.5s; }
.jm-delay-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 767px) {
    .jm-hero { padding: 6rem 0 3rem; }
    .jm-section { padding: 4rem 0; }
    .jm-stats { padding: 3rem 0; }
    .jm-cta { padding: 4rem 0; }
    .jm-stat-number { font-size: 1.5rem; }
    .jm-hero-desc { font-size: 0.9375rem; }
    .jm-course-img { height: 10rem; }
    .jm-features-image { margin-bottom: 0; }
    .jm-footer-bottom { flex-direction: column; text-align: center; }
}
