@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    /* Premium Dark Theme Variable Defaults */
    --bg-primary: #090d16;
    --bg-secondary: #111726;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.07);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --color-indigo: #6366f1;
    --color-purple: #a855f7;
    --accent-gradient: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-purple) 100%);
    --accent-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    --card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg-primary: #fdfcf7;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(43, 31, 29, 0.02);
    --border-glass: rgba(43, 31, 29, 0.08);
    --text-primary: #2b1f1d;
    --text-secondary: #7a6e6d;
    --color-indigo: #f07127;
    --color-purple: #d97706;
    --accent-gradient: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-purple) 100%);
    --card-shadow: 0 12px 40px 0 rgba(43, 31, 29, 0.06);
    --success: #15803d;
    --danger: #b91c1c;
    --warning: #b45309;
    --info: #0369a1;
}

/* Global Reset & Base Styling */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.glass-nav {
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}
.glass-nav .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.3s ease;
}
.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
    color: var(--color-indigo) !important;
}

[data-theme="light"] .glass-nav {
    background: rgba(244, 246, 250, 0.8);
}
[data-theme="light"] .glass-nav .nav-link {
    color: #475569 !important;
}
[data-theme="light"] .glass-nav .nav-link:hover,
[data-theme="light"] .glass-nav .nav-link.active {
    color: var(--color-indigo) !important;
}

/* Button & Accent Gradients */
.bg-gradient-accent {
    background: var(--accent-gradient);
}

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

.btn-gradient {
    background: var(--accent-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-gradient:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-outline-glass {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-outline-glass:hover {
    background: var(--bg-glass);
    border-color: var(--color-indigo);
    color: var(--text-primary);
}

/* Custom Interactive IPA Chart Elements */
.ipa-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ipa-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-indigo);
    border-bottom: 2px solid var(--border-glass);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.ipa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 12px;
}

.ipa-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.ipa-card:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

.ipa-card:hover .ipa-symbol,
.ipa-card:hover .ipa-name {
    color: #ffffff;
}

.ipa-symbol {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-indigo);
}

.ipa-name {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gamification Badges & Progress */
.badge-xp {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-weight: 600;
}

.streak-counter {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: 600;
}

.progress-premium {
    height: 8px;
    border-radius: 4px;
    background-color: var(--border-glass);
    overflow: hidden;
}

.progress-bar-premium {
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Waveform Pulse Animation for Audio recording */
.pulse-record {
    width: 60px;
    height: 60px;
    background: var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: recording-pulse 1.6s infinite;
}

@keyframes recording-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Mouth Shape SVG Container styling */
.mouth-shape-box {
    width: 100%;
    height: 180px;
    border: 1px dashed var(--border-glass);
    border-radius: 12px;
    background: rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Neon Glow utilities */
.glow-text {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.glow-border {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Custom Nav tabs */
.nav-pills .nav-link {
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.nav-pills .nav-link.active {
    background: var(--accent-gradient);
    color: #fff !important;
}

/* Custom Accordion for Lessons & FAQs */
.custom-accordion-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.custom-accordion-button {
    background: transparent !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    border: none;
    box-shadow: none !important;
    padding: 18px 24px;
}

.custom-accordion-button:not(.collapsed) {
    border-bottom: 1px solid var(--border-glass);
    color: var(--color-indigo) !important;
}

/* Grid background pattern for Landing Page */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
    z-index: -1;
}

/* Custom Translucent Badges for Premium Contrast */
.badge-success-glass {
    background: rgba(16, 185, 129, 0.12) !important;
    color: var(--success) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
.badge-primary-glass {
    background: rgba(99, 102, 241, 0.12) !important;
    color: var(--color-indigo) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
}
.badge-warning-glass {
    background: rgba(245, 158, 11, 0.12) !important;
    color: var(--warning) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
.badge-danger-glass {
    background: rgba(239, 68, 68, 0.12) !important;
    color: var(--danger) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
}
.badge-dark-glass {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
[data-theme="light"] .badge-dark-glass {
    background: rgba(0, 0, 0, 0.06) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Theme Adaptive Sound Wave Background */
.theme-wave-bg {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .theme-wave-bg {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Theme Adaptive Form Inputs and Selection Cards */
.form-control-glass {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.form-control-glass:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--color-indigo) !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2) !important;
    color: var(--text-primary) !important;
}

[data-theme="light"] .form-control-glass {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .form-control-glass:focus {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: var(--color-indigo) !important;
}

/* Icon Prefix Containers */
.input-group-text-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-secondary) !important;
    border-radius: 8px 0 0 8px !important;
}

[data-theme="light"] .input-group-text-glass {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* Option Cards (e.g., Learner vs Teacher choices) */
.option-card-glass {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-primary) !important;
    transition: all 0.2s ease !important;
}

[data-theme="light"] .option-card-glass {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

.option-card-glass:hover {
    border-color: var(--color-indigo) !important;
    background: rgba(99, 102, 241, 0.03) !important;
}

/* Authentic IPA Chart Grid Layout and Cell Styles */
.vowels-section {
    background-color: #1e828c !important;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.consonants-section {
    background-color: #7cbde3 !important;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ipa-section-header {
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 30px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none !important;
}

.ipa-subsection-header {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 20px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.phoneme-cell {
    display: flex;
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 82px;
    color: #1e293b !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.phoneme-cell:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.phoneme-symbol-bar {
    width: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.phoneme-details {
    width: 68%;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
}

.phoneme-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.phoneme-word {
    font-weight: 700;
    font-size: 0.8rem;
    margin: 2px 0 0 0;
    color: #0f172a !important;
    text-transform: capitalize;
}

.phoneme-ipa {
    font-size: 0.68rem;
    color: #64748b !important;
    font-family: monospace;
    margin-top: 1px;
}

.monophthongs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.diphthongs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.consonants-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

/* Theme Adaptive Premium Dropdown Menu */
.dropdown-menu-premium {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-glass) !important;
    box-shadow: var(--card-shadow) !important;
    border-radius: 12px !important;
    padding: 10px !important;
}

.dropdown-menu-premium .dropdown-header {
    color: var(--text-secondary) !important;
}

.dropdown-menu-premium .dropdown-item {
    color: var(--text-primary) !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease !important;
}

.dropdown-menu-premium .dropdown-item:hover {
    background-color: var(--bg-glass) !important;
    color: var(--color-indigo) !important;
}

.dropdown-menu-premium .dropdown-divider {
    border-color: var(--border-glass) !important;
}

/* Responsive Grid Adapters */
@media (max-width: 1200px) {
    .consonants-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .monophthongs-grid,
    .diphthongs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .consonants-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .monophthongs-grid,
    .diphthongs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .monophthongs-grid,
    .diphthongs-grid,
    .consonants-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Overlapping Circles Graphic (Logoipsum style) */
.hero-graphic-container {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-circle:hover {
    transform: scale(1.08) rotate(2deg);
}

.hero-circle-center {
    width: 210px;
    height: 210px;
    top: 110px;
    left: 22%;
    border: 6px solid #f59e0b; /* Yellow-Orange border */
    z-index: 10;
}

.hero-circle-tr {
    width: 160px;
    height: 160px;
    top: 30px;
    left: 56%;
    border: 5px solid #8b5cf6; /* Indigo-Purple border */
    z-index: 8;
}

.hero-circle-tl {
    width: 120px;
    height: 120px;
    top: 60px;
    left: 5%;
    border: 4px solid #ec4899; /* Pink-Rose border */
    z-index: 8;
}

.hero-circle-br {
    width: 140px;
    height: 140px;
    top: 270px;
    left: 50%;
    border: 4px solid #06b6d4; /* Teal-Cyan border */
    z-index: 9;
}

.hero-blob-blue {
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(14, 165, 233, 0.18);
    filter: blur(30px);
    border-radius: 50%;
    top: 240px;
    left: 10%;
    z-index: 1;
}

.hero-blob-pink {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(236, 72, 153, 0.12);
    filter: blur(25px);
    border-radius: 50%;
    top: 15px;
    left: 48%;
    z-index: 1;
}

/* Responsive adjustments for circles */
@media (max-width: 576px) {
    .hero-graphic-container {
        height: 350px;
    }
    .hero-circle-center { width: 140px; height: 140px; top: 90px; left: 15%; }
    .hero-circle-tr { width: 110px; height: 110px; top: 30px; left: 55%; }
    .hero-circle-tl { width: 80px; height: 80px; top: 50px; left: 2%; }
    .hero-circle-br { width: 95px; height: 95px; top: 220px; left: 48%; }
}

/* Centered Hero Section (Picture 1 style) */
.hero-centered-layout {
    background-color: #fcfbf7 !important;
    color: #4a3e3d !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .hero-centered-layout {
    background-color: #120e0a !important;
    color: #eae3db !important;
}

.hero-centered-layout h1 {
    color: #2b1f1d;
    font-family: var(--font-serif) !important;
    line-height: 1.15;
}

[data-theme="dark"] .hero-centered-layout h1 {
    color: #ffffff !important;
}

.hero-centered-layout .text-secondary {
    color: #7a6e6d !important;
}

[data-theme="dark"] .hero-centered-layout .text-secondary {
    color: #bbb2a9 !important;
}

/* Orange Asymmetrical Leaf Button */
.btn-orange-leaf {
    background: #f07127 !important;
    color: #ffffff !important;
    border-radius: 24px 4px 24px 24px !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 40px !important;
    border: none;
    box-shadow: 0 10px 25px rgba(240, 113, 39, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-orange-leaf:hover {
    background: #e05e17 !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 30px rgba(240, 113, 39, 0.45);
    color: #ffffff !important;
}

/* Student Shape Wrappers */
.student-shape-wrapper {
    position: relative;
    width: 250px;
    height: 330px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.student-shape-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
}

.bg-success-curve {
    background-color: #55c84d !important;
    border-radius: 120px 120px 10px 120px !important;
}

.bg-warning-curve {
    background-color: #f7cb2f !important;
    border-radius: 120px 120px 120px 10px !important;
}

.student-shape-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Float Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

.float-item {
    animation: float-slow 4s infinite ease-in-out;
}

/* Responsive adjustment for Centered Layout */
@media (max-width: 991px) {
    .student-shape-wrapper {
        width: 200px;
        height: 270px;
        margin-bottom: 20px;
    }
}

/* Stylish Module Card Colors */
.module-card-premium {
    position: relative;
    border: 1px solid var(--border-glass) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.module-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-radius: 16px 16px 0 0;
    transition: height 0.25s ease;
}

.module-card-premium:hover {
    transform: translateY(-4px);
}

.module-card-premium:hover::before {
    height: 8px;
}

/* Teal theme (Module 1) */
.module-card-teal::before { background: linear-gradient(90deg, #14b8a6, #0d9488); }
.module-card-teal:hover { border-color: rgba(20, 184, 166, 0.35) !important; box-shadow: 0 15px 30px rgba(20, 184, 166, 0.08) !important; }

/* Orange theme (Module 2) */
.module-card-orange::before { background: linear-gradient(90deg, #f97316, #ea580c); }
.module-card-orange:hover { border-color: rgba(249, 115, 22, 0.35) !important; box-shadow: 0 15px 30px rgba(249, 115, 22, 0.08) !important; }

/* Indigo theme (Module 3) */
.module-card-indigo::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.module-card-indigo:hover { border-color: rgba(99, 102, 241, 0.35) !important; box-shadow: 0 15px 30px rgba(99, 102, 241, 0.08) !important; }

/* Purple theme (Module 4) */
.module-card-purple::before { background: linear-gradient(90deg, #a855f7, #9333ea); }
.module-card-purple:hover { border-color: rgba(168, 85, 247, 0.35) !important; box-shadow: 0 15px 30px rgba(168, 85, 247, 0.08) !important; }

/* Pink theme (Module 5) */
.module-card-pink::before { background: linear-gradient(90deg, #ec4899, #db2777); }
.module-card-pink:hover { border-color: rgba(236, 72, 153, 0.35) !important; box-shadow: 0 15px 30px rgba(236, 72, 153, 0.08) !important; }

/* Emerald theme (Module 6) */
.module-card-emerald::before { background: linear-gradient(90deg, #10b981, #059669); }
.module-card-emerald:hover { border-color: rgba(16, 185, 129, 0.35) !important; box-shadow: 0 15px 30px rgba(16, 185, 129, 0.08) !important; }

/* Rose theme (Module 7) */
.module-card-rose::before { background: linear-gradient(90deg, #f43f5e, #e11d48); }
.module-card-rose:hover { border-color: rgba(244, 63, 94, 0.35) !important; box-shadow: 0 15px 30px rgba(244, 63, 94, 0.08) !important; }

/* Cyan theme (Module 8) */
.module-card-cyan::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.module-card-cyan:hover { border-color: rgba(6, 182, 212, 0.35) !important; box-shadow: 0 15px 30px rgba(6, 182, 212, 0.08) !important; }

/* Blue theme (Module 9) */
.module-card-blue::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.module-card-blue:hover { border-color: rgba(59, 130, 246, 0.35) !important; box-shadow: 0 15px 30px rgba(59, 130, 246, 0.08) !important; }

/* Violet theme (Module 10) */
.module-card-violet::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.module-card-violet:hover { border-color: rgba(139, 92, 246, 0.35) !important; box-shadow: 0 15px 30px rgba(139, 92, 246, 0.08) !important; }

/* Features Ad Section (Picture 1 style) */
.features-ad-section {
    background-color: #fcfbf7 !important;
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .features-ad-section {
    background-color: #120e0a !important;
}

.features-ad-header h2 {
    font-family: var(--font-serif) !important;
    color: #2b1f1d;
    font-weight: 700;
    line-height: 1.15;
}

[data-theme="dark"] .features-ad-header h2 {
    color: #ffffff !important;
}

.features-ad-header .text-secondary {
    color: #7a6e6d !important;
}

[data-theme="dark"] .features-ad-header .text-secondary {
    color: #bbb2a9 !important;
}

.btn-enroll-pill {
    background: #ffffff !important;
    color: #2b1f1d !important;
    border: 2px solid #2b1f1d !important;
    border-radius: 30px !important;
    font-weight: 700;
    padding: 12px 35px !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-enroll-pill:hover {
    background: #f07127 !important;
    color: #ffffff !important;
    border-color: #f07127 !important;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-enroll-pill {
    background: #2b1f1d !important;
    color: #ffffff !important;
    border-color: #eae3db !important;
}

[data-theme="dark"] .btn-enroll-pill:hover {
    background: #f07127 !important;
    border-color: #f07127 !important;
}

.feature-ad-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    color: #ffffff;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-ad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-ad-card h3 {
    font-family: var(--font-serif) !important;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    z-index: 10;
    max-width: 75%;
}

.feature-ad-card-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 80%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 5;
}

.feature-ad-card-orange {
    background-color: #f07127 !important;
    border-radius: 40px 40px 10px 40px !important;
}

.feature-ad-card-green {
    background-color: #1b8a5a !important;
    border-radius: 40px 40px 40px 10px !important;
}

.feature-ad-card-blue {
    background-color: #2563eb !important;
    border-radius: 40px 40px 10px 40px !important;
}

/* Light Theme Frosted Glass Cards */
[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.65) !important;
    border-color: rgba(43, 31, 29, 0.08) !important;
    box-shadow: 0 10px 30px rgba(43, 31, 29, 0.04) !important;
}

[data-theme="light"] .glass-card:hover {
    border-color: var(--color-indigo) !important;
    box-shadow: 0 15px 35px rgba(240, 113, 39, 0.08) !important;
}
