/*
Theme Name: maindata
Theme URI: https://m2y.net
Author: M2Y Developers
Description: Professional educational platform theme for Smart Education - combining modern design with powerful learning tools
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maindata
*/

/* React Apps Integration Styles */
.react-app-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 10px 0;
    font-family: inherit;
}

.react-app-container {
    width: 100%;
    min-height: 400px;
    margin: 20px 0;
}

/* Single React App Page Styles */
.single-react-app {
    padding: 2rem 0;
}

.react-app-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color, #e2e8f0);
}

.react-app-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color, #2563eb);
    margin-bottom: 0.5rem;
}

.react-app-header .app-description {
    font-size: 1.125rem;
    color: var(--secondary-color, #64748b);
    max-width: 600px;
    margin: 0 auto;
}

.react-app-wrapper {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* App-specific styling */
.react-app-container[data-app="calculator"] {
    background: rgba(37, 99, 235, 0.02);
    border-radius: 8px;
    padding: 10px;
}

.react-app-container[data-app="chemistry"] {
    background: rgba(16, 185, 129, 0.02);
    border-radius: 8px;
    padding: 10px;
}

.react-app-container[data-app="physics"] {
    background: rgba(139, 92, 246, 0.02);
    border-radius: 8px;
    padding: 10px;
}

.react-app-container[data-app="AI_learning"] {
    background: rgba(245, 158, 11, 0.02);
    border-radius: 8px;
    padding: 10px;
}

/* Responsive design for React apps */
@media (max-width: 768px) {
    .single-react-app {
        padding: 1rem 0;
    }
    
    .react-app-header h1 {
        font-size: 2rem;
    }
    
    .react-app-wrapper {
        padding: 0.5rem;
        margin: 0 -0.5rem;
    }
}

/* CSS Custom Properties for Light/Dark Mode */
:root {
    /* Modern Friendly Color Palette - Dynamic Theme Support */
    --primary-color: #f97316;
    --primary-hover: #ea580c;
    --primary-light: #fb923c;
    --primary-dark: #c2410c;
    
    --secondary-color: #06b6d4;
    --secondary-hover: #0891b2;
    --secondary-light: #67e8f9;
    
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --accent-light: #fbbf24;
    
    --success-color: #10b981;
    --success-light: #34d399;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Softer Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --bg-gradient-start: #faf5ff;
    --bg-gradient-end: #f0f9ff;
    
    /* Improved Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --text-heading: #0f172a;
    
    /* Softer Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    
    /* Modern Shadow System */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Spacing System */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius System */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 3D Transform Variables */
    --perspective: 1000px;
    --transform-speed: 0.3s;
}

/* Dark Mode Colors */
@media (prefers-color-scheme: dark) {
    :root {
        /* Primary Colors */
        --primary-color: #3b82f6;
        --primary-hover: #2563eb;
        --secondary-color: #94a3b8;
        --accent-color: #fbbf24;
        
        /* Background Colors */
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --bg-tertiary: #334155;
        --bg-card: #1e293b;
        --bg-overlay: rgba(15, 23, 42, 0.95);
        
        /* Text Colors */
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --text-inverse: #1e293b;
        
        /* Border Colors */
        --border-light: #334155;
        --border-medium: #475569;
        --border-dark: #64748b;
        
        /* Status Colors */
        --success-color: #22c55e;
        --warning-color: #fbbf24;
        --error-color: #f87171;
        --info-color: #60a5fa;
        
        /* Shadow Colors */
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.4);
        --shadow-dark: rgba(0, 0, 0, 0.6);
    }
}

/* Manual Dark Mode Class Override */
[data-theme="dark"],
.dark-theme {
    /* Primary Colors */
    --primary-color: #3b82f6 !important;
    --primary-hover: #2563eb !important;
    --secondary-color: #94a3b8 !important;
    --accent-color: #fbbf24 !important;
    
    /* Background Colors */
    --bg-primary: #0f172a !important;
    --bg-secondary: #1e293b !important;
    --bg-tertiary: #334155 !important;
    --bg-card: #1e293b !important;
    --bg-overlay: rgba(15, 23, 42, 0.95) !important;
    
    /* Text Colors */
    --text-primary: #f8fafc !important;
    --text-secondary: #cbd5e1 !important;
    --text-muted: #94a3b8 !important;
    --text-inverse: #1e293b !important;
    
    /* Border Colors */
    --border-light: #334155 !important;
    --border-medium: #475569 !important;
    --border-dark: #64748b !important;
    
    /* Status Colors */
    --success-color: #22c55e !important;
    --warning-color: #fbbf24 !important;
    --error-color: #f87171 !important;
    --info-color: #60a5fa !important;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.3) !important;
    --shadow-medium: rgba(0, 0, 0, 0.4) !important;
    --shadow-dark: rgba(0, 0, 0, 0.6) !important;
}

/* Ensure cards and sections update properly */
[data-theme="dark"] .app-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .category-card-modern,
[data-theme="dark"] .course-card,
[data-theme="dark"] .article-card,
[data-theme="dark"] .testimonial-card,
.dark-theme .app-card,
.dark-theme .category-card,
.dark-theme .category-card-modern,
.dark-theme .course-card,
.dark-theme .article-card,
.dark-theme .testimonial-card {
    background: var(--bg-card) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
}

/* Ensure sections update properly */
[data-theme="dark"] .hero,
[data-theme="dark"] section,
.dark-theme .hero,
.dark-theme section {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .hero-modern,
[data-theme="dark"] .explore-categories-section,
[data-theme="dark"] .all-apps-section,
.dark-theme .hero-modern,
.dark-theme .explore-categories-section,
.dark-theme .all-apps-section {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .content-banner,
[data-theme="dark"] .app-classification-section,
.dark-theme .content-banner,
.dark-theme .app-classification-section {
    background: var(--bg-secondary) !important;
}

/* Ensure all text elements update */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div,
[data-theme="dark"] li,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6,
.dark-theme p,
.dark-theme span,
.dark-theme div,
.dark-theme li {
    color: var(--text-primary) !important;
}

/* Ensure inputs update */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
.dark-theme input,
.dark-theme textarea,
.dark-theme select {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-light) !important;
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    color-scheme: light dark;
    width: 100vw !important;
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Inter", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
    transition: background-color var(--transition-slow), color var(--transition-base);
    width: 100vw !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dark Mode Optimized Sections */
.apps-by-category {
    background: var(--bg-secondary);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

/* Explore Categories Section */
.explore-categories-section {
    background: transparent;
    padding: var(--spacing-3xl) 0;
    transition: background-color var(--transition-base);
}

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

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.science-category .category-title {
    color: #3b82f6; /* Blue */
}

.engineering-category .category-title {
    color: #ef4444; /* Red */
}

.technology-category .category-title {
    color: #3b82f6; /* Blue */
}

.utilities-category .category-title {
    color: #ef4444; /* Red */
}

.category-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--primary-dark);
}

/* App Classification Section */
.app-classification-section {
    background: var(--bg-secondary);
    padding: 40px 0;
    transition: background-color 0.3s ease;
}

.app-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-select,
.filter-input {
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.apps-count-display {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    transition: opacity 0.3s ease;
}

/* Compact Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.loading-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    margin: 8px 0;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: loading-slide 1.5s infinite;
}

.loading-bar:nth-child(2)::after {
    animation-delay: 0.2s;
}

.loading-bar:nth-child(3)::after {
    animation-delay: 0.4s;
}

.loading-text {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

@keyframes loading-slide {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.app-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-color: var(--primary-color);
}

.app-card-image img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.app-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0 10px 0;
    color: var(--text-primary);
}

.app-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.app-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.app-category,
.app-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.app-category.science {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.app-category.engineering {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.app-category.technology {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.app-category.utilities {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.app-status.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.app-status.coming_soon {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

/* Mobile responsiveness for categories */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .category-card {
        padding: 25px;
    }
    
    .app-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select,
    .filter-input {
        min-width: auto;
    }
}

/* Legal Pages Styling */
.page-hero {
    background: var(--bg-secondary);
    padding: 80px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.legal-content {
    padding: 60px 0;
    background: var(--bg-primary);
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.7;
}

.legal-text h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    padding-top: 20px;
    border-top: 2px solid var(--border-light);
}

.legal-text h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-text h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 25px 0 15px 0;
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-text li {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-info {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* About Page Specific Styles */
.about-mission {
    padding: 80px 0;
    background: var(--bg-primary);
}

.mission-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.mission-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.mission-details h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.mission-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-team {
    padding: 80px 0;
    background: var(--bg-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.value-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-cta {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page Specific Styles */
.contact-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.contact-form h3 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mobile Responsiveness for About and Contact Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .mission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid,
    .values-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-point {
        gap: 15px;
    }
    
    .contact-method {
        gap: 15px;
    }
}

.featured-apps-section {
    background: var(--bg-primary);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.courses-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.testimonials-section {
    background: var(--bg-primary);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

/* Text Elements Dark Mode */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

p, span, div, li {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* Form Elements Dark Mode */
input, textarea, select {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer Dark Mode */
.site-footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.site-footer a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--primary-color);
}

.site-footer h3, .site-footer h4 {
    color: var(--text-primary);
}

.contact-section {
    background: #f8f9fa;
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}
h2 { 
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}
h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}
h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}
h5 { 
    font-size: 1.125rem;
    font-weight: 600;
}
h6 { 
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

a {
    color: #4B4AEF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #3a39d9;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container & Layout */
.container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 var(--spacing-xl) !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md) !important;
    }
}

/* Main Content Wrapper */
.site-wrap, main {
    width: 100vw !important;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* Ensure footer is always at bottom */
.site-footer {
    margin-top: auto !important;
    width: 100vw !important;
    background: #2c3e50 !important;
    color: #ecf0f1 !important;
    padding: 60px 0 20px !important;
    display: block !important;
    position: relative !important;
    z-index: 1000 !important;
    border-top: 1px solid #34495e;
}

/* Responsive Container Adjustments */
@media (max-width: 1240px) {
    .container {
        width: 100vw !important;
        padding: 0 15px !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px !important;
    }
}

/* Header Styling with Dark Mode */
.site-header {
    background: var(--bg-card);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100vw !important;
    margin: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    width: 100%;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Header Authentication Styles */
.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-primary);
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-btn.google-login:hover {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.auth-btn.facebook-login:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.auth-btn.twitter-login:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.auth-icon {
    font-size: 14px;
}

.auth-text {
    font-size: 12px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    background: var(--accent-color);
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.user-avatar {
    font-size: 14px;
}

.user-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-btn {
    padding: 4px 8px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #ef4444;
    color: white;
}

/* Dark Mode Toggle - Fixed and Improved */
.dark-mode-toggle {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 50px;
    width: 50px;
    height: 28px;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.dark-mode-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.dark-mode-toggle:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.toggle-icon-light,
.toggle-icon-dark {
    font-size: 14px;
    position: relative;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.toggle-icon-dark {
    opacity: 0;
}

[data-theme="dark"] .toggle-icon-light {
    opacity: 0;
}

[data-theme="dark"] .toggle-icon-dark {
    opacity: 1;
}

.dark-mode-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .dark-mode-toggle::before {
    transform: translateX(22px);
    background: #7c3aed;
}

.toggle-icon-dark {
    opacity: 0;
}

[data-theme="dark"] .toggle-icon-light {
    opacity: 0;
}

[data-theme="dark"] .toggle-icon-dark {
    opacity: 1;
}

.brand {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    margin: 0;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Enhanced Navigation with Professional Design */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Navigation Support - Enhanced */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.main-nav .dropdown-arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.main-nav .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.main-nav .dropdown-menu a::after {
    display: none;
}

.main-nav .dropdown-menu a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

/* Brand Enhancement */
.site-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    margin: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title::before {
    content: '🎓';
    font-size: 28px;
    filter: drop-shadow(0 2px 4px var(--shadow-light));
}

.site-title:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: 0 5px 20px var(--shadow-medium);
    border-top: 1px solid var(--border-light);
    padding: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-mobile.open {
    display: block;
}

.nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mobile a {
    display: block;
    padding: 12px 0;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-mobile a:hover {
    color: var(--primary-color);
}

/* Hero Section with Dark Mode */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Enhanced Hero Variant - Modern Design */
.hero-variant-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    color: var(--text-inverse);
    padding: 60px 0;
    transition: background 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 35px 0;
    }
    
    .hero-variant-dark {
        padding: 45px 0;
    }
}

.hero-variant-dark .site-title-large {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-variant-dark .hero-sub {
    color: rgba(255, 255, 255, 0.9);
}

.hero-variant-dark .features-list li {
    color: rgba(255, 255, 255, 0.95);
}

.hero-variant-dark .stat-text {
    color: rgba(255, 255, 255, 0.8);
}

.hero-variant-dark .stat-icon {
    opacity: 0.9;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Mobile: stack vertically with less gap */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 25px;
        padding: 0 1rem;
    }
}

.hero-text {
    flex: 1;
}

.site-title-large {
    font-size: 2.75rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 5px;
    line-height: 1.1;
}

/* Mobile: smaller title */
@media (max-width: 768px) {
    .site-title-large {
        font-size: 2rem;
        margin-bottom: 3px;
    }
}

.site-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 15px;
    font-style: italic;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4B4AEF;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-cta {
    margin-bottom: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-inverse);
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--text-inverse);
    text-decoration: none;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    text-decoration: none;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-icon {
    font-size: 120px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.subject-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.subject-icon {
    position: absolute;
    font-size: 32px;
    animation: orbit 15s linear infinite;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.subject-icon:nth-child(1) { 
    animation-delay: 0s;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.subject-icon:nth-child(2) { 
    animation-delay: -3.75s;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
}

.subject-icon:nth-child(3) { 
    animation-delay: -7.5s;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.subject-icon:nth-child(4) { 
    animation-delay: -11.25s;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(60px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* Apps Section */
.apps-page {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.apps-page:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 74, 239, 0.02) 0%, rgba(124, 58, 237, 0.01) 100%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title:after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    display: block;
    margin: var(--spacing-md) auto 0;
    border-radius: var(--radius-full);
}
    height: 3px;
    background: linear-gradient(135deg, #4B4AEF, #7c3aed);
    border-radius: 2px;
    display: block;
    margin: 12px auto 0;
}

.section-sub {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile adjustments for section titles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }
    
    .section-title:after {
        width: 40px;
        height: 3px;
        margin: 10px auto 0;
    }
    
    .section-sub {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Featured Apps Grid - Small Grid Like Image 2 */
.featured-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-content: center;
}

/* Make ALL cards in featured-apps-grid small and consistent */
.featured-apps-grid .app-card,
.featured-apps-grid .featured-app-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 200px;
    max-height: 250px;
    display: flex;
    flex-direction: column;
}

.featured-apps-grid .app-card:hover,
.featured-apps-grid .featured-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hide large content sections in featured-app-card to make them small */
.featured-apps-grid .featured-app-details {
    display: none;
}

.featured-apps-grid .featured-app-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.featured-apps-grid .featured-app-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.featured-apps-grid .featured-app-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
    color: var(--text-primary);
}

.featured-apps-grid .featured-app-header p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-apps-grid .featured-app-button {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: auto;
    display: inline-block;
    transition: all 0.3s ease;
}

.featured-apps-grid .featured-app-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Specific styles for regular app cards in grid */
.featured-apps-grid .app-card-media {
    margin-bottom: 8px;
}

.featured-apps-grid .app-card-media img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.featured-apps-grid .app-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}

.featured-apps-grid .app-card-desc {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-apps-grid .app-card-actions {
    margin-top: auto;
}

.featured-apps-grid .app-card-actions .btn-secondary {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* ============================================= */
/* ALL APPS SECTION - Large Cards with Big Images */
/* ============================================= */

.all-apps-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.all-apps-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.all-apps-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .all-apps-section {
        padding: 30px 0;
    }
    
    .all-apps-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .all-apps-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Mobile-First Grid Layout - Optimized for All Devices */
.all-apps-grid {
    display: grid;
    /* Mobile first - single column */
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Small phones (320px - 480px) - Single column, compact */
@media (min-width: 320px) {
    .all-apps-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 0.75rem;
    }
}

/* Large phones (480px - 640px) - 2 columns for landscape */
@media (min-width: 480px) {
    .all-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 1rem;
    }
}

/* Tablets portrait (640px - 768px) - 2 columns */
@media (min-width: 640px) {
    .all-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Tablets landscape (768px - 1024px) - 3 columns */
@media (min-width: 768px) {
    .all-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0 1.5rem;
    }
}

/* Small laptops (1024px - 1280px) - 4 columns */
@media (min-width: 1024px) {
    .all-apps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

/* Large screens (1280px+) - 4 columns */
@media (min-width: 1280px) {
    .all-apps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

/* Compact Card Design - Mobile Optimized */
.all-app-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile: even more compact */
@media (max-width: 768px) {
    .all-app-card {
        padding: 0;
        min-height: 360px;
    }
}

.all-app-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Touch-friendly hover states */
@media (hover: hover) {
    .all-app-card:hover:before {
        opacity: 1;
    }
    
    .all-app-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }
}

/* Active state for touch devices */
.all-app-card:active {
    transform: scale(0.98);
}

.all-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.all-app-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Compact Media Container */
.all-app-media {
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: -0.875rem -0.875rem 1rem -0.875rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 200px;
}

.all-app-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.all-app-card:hover .all-app-media img {
    transform: scale(1.05);
}

.all-app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 1rem 1.25rem 1.25rem;
}

/* Compact Typography */
.all-app-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
}

.all-app-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.all-app-actions {
    margin-top: auto;
    text-align: center;
}

/* Improved Button Design with Better Contrast */
.all-app-actions .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.all-app-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Responsive design for All Apps - Optimized for 100+ items */
@media (max-width: 1400px) {
    .all-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .all-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .all-app-card {
        padding: 1rem;
        min-height: 300px;
    }
    
    .all-app-media {
        min-height: 80px;
        padding: 0.5rem;
    }
    
    .all-app-media img {
        width: 70px;
        height: 70px;
    }
    
    .all-app-title {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    
    .all-app-desc {
        font-size: 0.813rem;
    }
}

@media (max-width: 768px) {
    .all-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .all-app-card {
        padding: 1rem;
        min-height: 280px;
    }
    
    .all-app-media {
        min-height: 70px;
    }
    
    .all-app-media img {
        width: 60px;
        height: 60px;
    }
    
    .all-app-title {
        font-size: 0.95rem;
        min-height: 2.2rem;
    }
    
    .all-app-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
    
    .all-app-actions .btn-primary {
        padding: 8px 16px;
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .all-apps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .all-app-card {
        min-height: 260px;
    }
}

.featured-app-card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 250px;
    margin: 0 auto;
    min-height: 280px;
}

.featured-app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.featured-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-app-header {
    text-align: center;
    margin-bottom: 1rem;
}

.featured-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.featured-app-header h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.featured-app-header p {
    color: #7f8c8d;
    font-size: 0.85em;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.featured-app-details {
    margin-bottom: 1rem;
}

.featured-app-section {
    margin-bottom: 0.8rem;
}

.featured-app-section h4 {
    font-size: 0.9em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.featured-app-section h4::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    font-size: 0.8em;
}

.featured-app-section p {
    color: #7f8c8d;
    line-height: 1.3;
    font-size: 0.8em;
}

.featured-app-button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    font-size: 0.9em;
}

.featured-app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Page Styles for Apps, Contact, About */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Apps Page Styles */
.apps-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.app-showcase-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.app-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.app-showcase-image {
    text-align: center;
    margin-bottom: 1rem;
}

.app-showcase-image img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
}

.app-showcase-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.app-showcase-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.app-showcase-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.app-showcase-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.app-showcase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #7f8c8d;
    margin: 0.2rem 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* About Page Styles */
.about-mission {
    padding: 80px 0;
    background: #f8fafc;
}

.mission-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1.1em;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mission-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-details h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.mission-details p {
    color: #7f8c8d;
}

.mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-size: 2em;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 0.5rem;
}

.about-features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.about-team {
    padding: 80px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.value-card h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 200px;
        text-align: center;
    }
}

.app-card {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    padding: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-card:hover:before {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    text-decoration: none;
    border-color: var(--primary-color);
}

/* Marketing & Conversion Elements - Professional Design */

/* Statistics Section Enhancement */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="white" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Call-to-Action Sections */
.cta-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Indicators */
.trust-section {
    background: var(--bg-card);
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.trust-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials Enhancement */
.testimonials-section {
    background: var(--bg-primary);
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.testimonial-content {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    color: var(--text-primary);
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Newsletter Signup Enhancement */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.newsletter-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    min-width: 250px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* App Detail Pages - Professional Marketing Design */
.app-detail-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* App Hero Section */
.app-hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.app-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.app-hero-section.chemistry-theme::before {
    background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.app-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.app-hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.app-hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Hero Image */
.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    opacity: 0.1;
    z-index: 1;
}

.chemistry-bg {
    background: linear-gradient(135deg, #10b981, #059669);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

/* Overview Section */
.app-overview-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.overview-content p {
    margin-bottom: 24px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px var(--shadow-light);
    border-color: var(--primary-color);
}

.feature-icon {
    background: var(--success-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-item h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* Perfect For Section */
.app-perfect-for-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.perfect-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.perfect-for-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.perfect-for-item:hover {
    transform: translateX(8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.perfect-for-icon {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.perfect-for-item p {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Demo Section */
.app-demo-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.demo-item {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.demo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
    border-color: var(--primary-color);
}

.demo-item h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.demo-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-link:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

.demo-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.demo-link:hover::after {
    transform: translateX(4px);
}

/* App CTA Section */
.app-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    text-align: center;
}

.app-cta-section.chemistry-cta {
    background: linear-gradient(135deg, #10b981, #059669);
}

.app-cta-section .cta-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.app-cta-section .cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-cta-section .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.app-cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.app-cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.app-cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Mobile Responsive for App Pages */
@media (max-width: 768px) {
    .app-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .app-hero-title {
        font-size: 2.5rem;
    }
    
    .app-hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .app-hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .app-hero-actions .btn-primary,
    .app-hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .app-hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .perfect-for-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .app-cta-section .cta-title {
        font-size: 2.2rem;
    }
    
    .app-cta-section .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .app-cta-section .btn-primary,
    .app-cta-section .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* Category Pages Styling */
.category-hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.category-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.engineering-hero::before {
    background: radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}

.technology-hero::before {
    background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.utilities-hero::before {
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.category-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.category-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.category-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Category Visualizations */
.science-visualization,
.engineering-visualization,
.technology-visualization,
.utilities-visualization {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.science-visualization > div,
.engineering-visualization > div,
.technology-visualization > div,
.utilities-visualization > div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 100px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.science-visualization > div:hover,
.engineering-visualization > div:hover,
.technology-visualization > div:hover,
.utilities-visualization > div:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tool-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow-medium);
    border-color: var(--primary-color);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.tool-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-features {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

/* Disciplines Grid */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.discipline-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.discipline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px var(--shadow-medium);
}

.discipline-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.discipline-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.discipline-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.discipline-tools {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mobile Responsive for Category Pages */
@media (max-width: 768px) {
    .category-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .category-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .science-visualization,
    .engineering-visualization,
    .technology-visualization,
    .utilities-visualization {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .science-visualization > div,
    .engineering-visualization > div,
    .technology-visualization > div,
    .utilities-visualization > div {
        font-size: 2rem;
        height: 80px;
    }
    
    .tools-grid,
    .disciplines-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-card,
    .discipline-card {
        padding: 25px 20px;
    }
}

/* User Authentication Section */
.login-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.login-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.login-text-content {
    max-width: 500px;
}

.auth-benefits-list {
    margin: 40px 0;
}

.benefit-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.benefit-highlight:last-child {
    margin-bottom: 0;
}

.benefit-highlight .benefit-icon {
    font-size: 1.5rem;
    background: var(--primary-color);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-alternative {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.contact-alternative p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-hover);
}

.login-form-content {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .login-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .login-text-content {
        max-width: none;
    }
    
    .benefit-highlight {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Social Proof */
.social-proof {
    padding: 20px 0;
    text-align: center;
    background: var(--bg-secondary);
}

.social-proof-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.social-proof-logo {
    height: 30px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.social-proof-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.app-card.coming-soon {
    position: relative;
    opacity: 0.75;
}

.app-card.coming-soon:hover {
    transform: translateY(-4px); /* Less hover effect for coming soon */
    opacity: 0.85;
}

.coming-soon-card {
    cursor: not-allowed;
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.coming-soon-btn {
    background: #e2e8f0 !important;
    color: #64748b !important;
    cursor: not-allowed;
}

.coming-soon-btn:hover {
    background: #e2e8f0 !important;
    color: #64748b !important;
    transform: none !important;
}

.app-card.coming-soon .app-card-media img {
    filter: grayscale(50%) opacity(0.7);
}

.app-card.coming-soon .app-card-title {
    color: #64748b;
}

.app-card.coming-soon .app-card-desc {
    color: #94a3b8;
}

.app-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.app-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.app-card-media {
    margin-bottom: 15px;
    position: relative;
}

.app-card-media:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(75, 74, 239, 0.1), rgba(124, 58, 237, 0.05));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.app-card:hover .app-card-media:before {
    opacity: 1;
}

.app-card-media img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.app-card:hover .app-card-media img {
    transform: scale(1.1);
}

.app-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.app-card:hover .app-card-title {
    color: #4B4AEF;
}

.app-card-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.app-card-actions {
    margin-top: auto;
}

.btn-secondary {
    background: #f8f9fa;
    color: #4B4AEF;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #4B4AEF;
    position: relative;
    overflow: hidden;
}

.btn-secondary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4B4AEF, #7c3aed);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-secondary span {
    position: relative;
    z-index: 2;
}

.btn-secondary:hover:before {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 74, 239, 0.3);
}

/* Stats Section Enhancement */
.stats-section {
    background: linear-gradient(135deg, #4B4AEF 0%, #7c3aed 100%);
    padding: 60px 0;
    color: white;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23fff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23fff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-grain)"/></svg>');
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Courses Section - Educational Focus */
.courses-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.courses-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 74, 239, 0.02) 0%, rgba(124, 58, 237, 0.01) 100%);
    pointer-events: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.course-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f1f1;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.course-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4B4AEF, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover:before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(75, 74, 239, 0.15);
    border-color: rgba(75, 74, 239, 0.1);
}

.course-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.course-level {
    font-size: 0.9rem;
    color: #4B4AEF;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.student-count {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.course-type {
    background: linear-gradient(135deg, #4B4AEF, #7c3aed);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline {
    background: transparent;
    color: #4B4AEF;
    padding: 12px 25px;
    border: 2px solid #4B4AEF;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #4B4AEF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 74, 239, 0.3);
    text-decoration: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.testimonials-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 74, 239, 0.03) 0%, rgba(124, 58, 237, 0.02) 100%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f1f1;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(75, 74, 239, 0.1);
}

.quote-icon {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
}

.student-info {
    border-top: 1px solid #f1f1f1;
    padding-top: 20px;
}

.student-name {
    font-size: 1.1rem;
    color: #000;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.student-course {
    font-size: 0.9rem;
    color: #4B4AEF;
    font-weight: 500;
}

/* Enhanced Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4B4AEF, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.feature-desc {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }
    
    .main-nav ul {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-image {
        flex: none;
        order: -1;
    }
    
    .site-title-large {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-sub {
        font-size: 1.1rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .course-card {
        padding: 25px;
    }
    
    .course-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .course-title {
        font-size: 1.3rem;
    }
    
    .course-stats {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
        padding: 0 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .apps-page, .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-mobile {
        padding: 25px 20px;
    }
    
    .nav-mobile ul li {
        margin-bottom: 10px;
    }
    
    .nav-mobile a {
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #f1f1f1;
    }
}

@media (max-width: 480px) {
    .site-title-large {
        font-size: 2rem;
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .app-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

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

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

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

/* Enhanced Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4B4AEF 0%, #7c3aed 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.dots-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Hover Effects */
.app-card-media img {
    filter: drop-shadow(0 4px 8px rgba(75, 74, 239, 0.1));
    transition: all 0.3s ease;
}

.app-card:hover .app-card-media img {
    filter: drop-shadow(0 8px 16px rgba(75, 74, 239, 0.2));
}

/* Academic-style Accent Elements */
.section-title:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #4B4AEF, #7c3aed);
    border-radius: 1px;
}

/* Enhanced Focus States for Accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.app-card-link:focus {
    outline: 3px solid rgba(75, 74, 239, 0.3);
    outline-offset: 2px;
}

/* Professional Gradient Overlays */
.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(75, 74, 239, 0.3), transparent);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Coming Soon Notification Styles */
.coming-soon-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid #4B4AEF;
}

.coming-soon-notification .notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.coming-soon-notification .notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.coming-soon-notification .notification-text {
    flex: 1;
    color: #333;
    line-height: 1.4;
}

.coming-soon-notification .notification-text strong {
    color: #4B4AEF;
    font-weight: 600;
}

.coming-soon-notification .notification-text small {
    color: #666;
    font-size: 13px;
}

.coming-soon-notification .notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.coming-soon-notification .notification-close:hover {
    background: #f0f0f0;
    color: #333;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Force hide any modals from other sources */
[id*="modal"], 
[class*="modal"],
.modal,
#app-modal,
.app-modal,
[data-modal] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ensure app cards navigate directly */
.app-card-link {
    cursor: pointer !important;
    text-decoration: none !important;
}

/* Coming Soon Card Styles */
.coming-soon-card {
    position: relative;
    opacity: 0.7;
    filter: grayscale(50%);
    cursor: pointer;
}

.coming-soon-card .card-body {
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    z-index: 5;
}

.coming-soon-card:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.coming-soon-card .btn-secondary,
.coming-soon-btn {
    background: #ccc !important;
    border-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #feca57, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.stat-icon {
    font-size: 1.2rem;
}

.stat-text {
    font-weight: 600;
}

/* Live Stats Counters */
.stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4fc3f7;
    margin-bottom: 5px;
    font-family: 'Nunito Sans', sans-serif;
}

.stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Categories Section - Like reference site */
.categories-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.categories-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.categories-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .categories-section {
        padding: 30px 0;
    }
    
    .categories-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .categories-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.categories-grid {
    display: grid;
    /* Mobile-first */
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tablets and up */
@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

.category-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* Mobile: smaller cards */
@media (max-width: 768px) {
    .category-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.category-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-apps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.app-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
    padding-left: 0.5rem;
}

/* Hero Section Updates */
.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-image {
    max-width: 500px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Quick Stats */
.quick-stats {
    background: #f8fafc;
    padding: 60px 0;
}

.quick-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.quick-stats .stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.quick-stats .stat-card:hover {
    transform: translateY(-5px);
}

.quick-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #4B4AEF;
    margin-bottom: 8px;
}

.quick-stats .stat-label {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Enhanced Apps by Category Section - Marketing Professional Design */
.apps-by-category {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.apps-by-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23f1f5f9" fill-opacity="0.3"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
    z-index: 1;
}

.apps-by-category .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.category-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 50px 35px;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: var(--primary-color);
}

/* Professional CSS Icons */
.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.category-icon.science-tools {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-icon.engineering {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.category-icon.technology {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-icon.utilities {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

/* CSS-based Professional Icons */
.category-icon::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
}

.category-icon.science-tools::before {
    content: '⚗️';
    font-size: 48px;
}

.category-icon.engineering::before {
    content: '⚡';
    font-size: 48px;
}

.category-icon.technology::before {
    content: '💻';
    font-size: 48px;
}

.category-icon.utilities::before {
    content: '🧮';
    font-size: 48px;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.category-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-app-tag {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.category-app-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.category-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-cta:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

.category-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.category-cta:hover::after {
    transform: translateX(4px);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.category-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.category-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.app-tag {
    background: #f1f5f9;
    color: #4B4AEF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.app-tag.active {
    background: #4B4AEF;
    color: white;
}

.app-tag.coming-soon {
    background: #fef3f2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Enhanced Featured Apps Section - Marketing Professional Design */
.featured-apps {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 120px 0;
    position: relative;
}

.featured-apps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.featured-apps .container {
    position: relative;
    z-index: 2;
}

.apps-grid.modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.app-card.modern {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-light);
}

.app-card.modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.app-card.modern:hover::before {
    transform: scaleX(1);
}

.app-card.modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: var(--primary-color);
}

/* App Card Hero Image */
.app-card-hero {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="white" fill-opacity="0.1"><circle cx="20" cy="20" r="1.5"/></g></svg>');
    opacity: 0.5;
}

.app-card-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card.modern:hover .app-card-hero img {
    transform: scale(1.05);
}

/* App Card Content */
.app-card.modern .app-card-content {
    padding: 30px;
}

.app-card.modern .app-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.app-card.modern .app-card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* App Features List */
.app-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.app-features li::before {
    content: '✓';
    background: var(--success-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* App Meta Information */
.app-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.app-category-tag {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.app-status-tag {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
}

.app-status-tag.active {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.app-status-tag.coming-soon {
    background: #fef3c7;
    color: #92400e;
    border-color: #fed7aa;
}

/* App Actions */
.app-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-card.modern .btn-primary {
    flex: 1;
    text-align: center;
    padding: 12px 24px;
    font-size: 0.95rem;
}

.app-card.modern .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Coming Soon Styling */
.app-card.modern.coming-soon {
    position: relative;
}

.app-card.modern.coming-soon .app-card-hero::after {
    content: 'Coming Soon';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warning-color);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 10;
}

.coming-soon-overlay .coming-soon-badge {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.app-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card.modern:hover .app-image img {
    transform: scale(1.05);
}

.app-content {
    padding: 30px;
}

.app-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.app-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.app-button {
    display: inline-block;
    background: #4B4AEF;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.app-button:hover {
    background: #3730A3;
    transform: translateY(-2px);
}

.app-button.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.contact-text strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat strong {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid.modern {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Additional Page Styles */

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.mission-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
    background: white;
}

.founder-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-photo img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.founder-bio h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.founder-bio h3 {
    color: #667eea;
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.founder-title {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.founder-journey {
    margin-top: 30px;
}

.journey-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.journey-item strong {
    min-width: 100px;
    color: #667eea;
}

/* Policy Content */
.policy-content {
    padding: 80px 0;
    background: white;
}

.policy-document {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    color: #667eea;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .journey-item strong {
        min-width: auto;
    }
}

/* Footer Styles */
.site-footer {
    margin-top: auto;
    width: 100%;
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.site-footer h4 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-email {
    color: #3498db !important;
    font-weight: 600;
}

.footer-legal {
    margin-top: 20px;
}

.footer-legal p {
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

.site-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}

.site-footer .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* Footer Container Override */
.site-footer .container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
}

/* Modern Hero Section */
.hero-image {
    margin: 30px 0;
    text-align: center;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.category-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.app-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.app-tag:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.05);
}

.app-tag.coming-soon {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Enhanced Featured Apps */
.featured-apps-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-app {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-app:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.app-card-media {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.app-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-app:hover .app-card-media img {
    transform: scale(1.05);
}

.app-card-body {
    padding: 25px;
}

.app-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.app-card-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-card-actions {
    margin-top: auto;
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

/* Advanced Showcase Link */
.advanced-showcase-link {
    text-align: center;
    margin-top: 30px;
}

.btn-showcase {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-showcase:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* App Classification and Statistics Styles */
.app-classification-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.classification-header {
    text-align: center;
    margin-bottom: 40px;
}

.classification-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.classification-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* App Statistics */
.app-statistics {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.popular-category {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Categories Overview */
.categories-overview {
    margin-bottom: 40px;
}

.categories-overview h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.categories-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-overview-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.category-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-counts {
    margin-bottom: 20px;
}

.category-counts span {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.total-count {
    font-weight: 600;
    color: #3498db;
}

.active-count {
    color: #27ae60;
}

.coming-soon-count {
    color: #f39c12;
}

.category-filter-btn {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter-btn:hover {
    background: #3498db;
    color: white;
    transform: scale(1.05);
}

/* App Filters */
.app-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    min-width: 150px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.apps-count-display {
    font-weight: 600;
    color: #666;
    margin-left: auto;
}

/* Enhanced App Cards for Classification */
.app-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.app-card.coming-soon {
    opacity: 0.8;
}

.app-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card:hover .app-card-image img {
    transform: scale(1.05);
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.app-card-content {
    padding: 25px;
}

.app-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.app-card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.app-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}

.app-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-status.active {
    background: #e8f5e8;
    color: #4caf50;
}

.app-status.soon,
.app-status.coming_soon {
    background: #fff3e0;
    color: #ff9800;
}

.app-card-actions {
    margin-top: auto;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-secondary.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* No Apps Message */
.no-apps-message {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    color: #666;
    font-size: 1.1rem;
}

/* Real-time Counters */
.real-time-counter {
    transition: all 0.3s ease;
}

.real-time-counter.updating {
    color: #3498db;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select,
    .filter-group input {
        min-width: auto;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .categories-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .classification-header h2 {
        font-size: 2rem;
    }
    
    .classification-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .category-overview-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .site-footer .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card,
    .featured-app {
        margin: 0 10px;
    }
}

/* ===============================================
   COMING SOON PAGE ADVANCED ANIMATIONS & STYLES
   =============================================== */

/* Advanced Animations for Coming Soon Page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: var(--progress, 75%);
    }
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Coming Soon Hero Section */
.coming-soon-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px, 25px 25px;
    animation: float 20s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    margin-bottom: 30px;
    animation: pulse 3s infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 1.3rem;
    animation: bounceIn 1.5s ease-out;
}

.badge-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: 50px;
    max-width: 650px;
    line-height: 1.6;
}

/* Enhanced Countdown Timer */
.countdown-timer {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    min-width: 110px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: glow 4s ease-in-out infinite;
}

.timer-section:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.timer-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    animation: countUp 0.5s ease-out;
}

.timer-label {
    font-size: 0.85rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

/* Enhanced Email Signup */
.email-signup-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.email-signup-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.form-group input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.btn-notify {
    padding: 18px 35px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-notify:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-note {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
    line-height: 1.4;
}

/* Enhanced Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.floating-icon:nth-child(1) { top: 15%; left: 10%; }
.floating-icon:nth-child(2) { top: 65%; left: 85%; }
.floating-icon:nth-child(3) { top: 25%; left: 80%; }
.floating-icon:nth-child(4) { top: 75%; left: 15%; }
.floating-icon:nth-child(5) { top: 35%; left: 90%; }

/* Enhanced Coming Soon Apps Section */
.coming-soon-apps-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.coming-soon-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.coming-soon-app-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.coming-soon-app-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.app-card-inner {
    position: relative;
    height: 100%;
}

.app-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.app-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.coming-soon-app-card:hover .app-image {
    transform: scale(1.15);
}

.app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.coming-soon-app-card:hover .app-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.coming-soon-app-card:hover .overlay-content {
    transform: translateY(0);
}

.coming-soon-badge {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.release-date {
    font-size: 1.1rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.app-content {
    padding: 40px;
    height: calc(100% - 280px);
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    flex: 1;
    margin-right: 20px;
    line-height: 1.3;
}

.app-category-badge {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.app-category-badge.science { 
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); 
    color: #1976d2; 
}

.app-category-badge.engineering { 
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); 
    color: #7b1fa2; 
}

.app-category-badge.technology { 
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%); 
    color: #4caf50; 
}

.app-category-badge.utilities { 
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); 
    color: #ff9800; 
}

.app-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.features-preview {
    margin-bottom: 30px;
}

.features-preview h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.feature-icon {
    color: #ffd700;
    font-size: 1.1rem;
}

.feature-text {
    color: #666;
    font-size: 0.95rem;
}

/* Enhanced Progress Bar */
.development-progress {
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-header span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

.progress-percentage {
    color: #667eea;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    animation: progressFill 2.5s ease-out;
    width: 0%;
    position: relative;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2s infinite;
}

/* Enhanced Action Buttons */
.app-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-beta-signup,
.btn-early-access {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-beta-signup {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-beta-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-early-access {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-early-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

/* Enhanced Development Timeline */
.development-timeline {
    padding: 120px 0;
    background: white;
    position: relative;
}

.development-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out both;
}

.timeline-item:nth-child(2n) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3n) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(4n) {
    animation-delay: 0.6s;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 25px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-item.completed .timeline-marker {
    background: #4caf50;
    animation: pulse 2s infinite;
}

.timeline-item.in-progress .timeline-marker {
    background: #ff9800;
    animation: glow 2s infinite;
}

.timeline-item.upcoming .timeline-marker {
    background: #e0e0e0;
}

.timeline-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    width: 42%;
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 58%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 58%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
    border-right-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
    border-left-color: white;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Enhanced Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-text p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
}

.subscriber-count {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.count-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3498db;
    animation: countUp 2s ease-out;
}

.count-text {
    opacity: 0.85;
    font-size: 0.95rem;
}

.subscription-form {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.subscription-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.subscription-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.btn-subscribe {
    padding: 18px 35px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-item {
    font-size: 0.9rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .coming-soon-apps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .coming-soon-hero {
        padding: 80px 0;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .timer-section {
        min-width: 90px;
        padding: 20px 15px;
    }
    
    .timer-number {
        font-size: 2.2rem;
    }
    
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .subscription-form {
        flex-direction: column;
    }
    
    .app-content {
        padding: 30px;
    }
    
    .email-signup-form {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .coming-soon-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .app-content {
        padding: 25px;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .newsletter-content {
        gap: 40px;
    }
}

/* Enhanced Professional Mobile Design - Marketing Optimized */
@media (max-width: 992px) {
    /* Tablet adjustments */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .apps-grid.modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Professional Mobile Navigation */
    .header-inner {
        padding: 10px 15px;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .main-nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Enhanced Category Cards Mobile */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .category-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .category-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }
    
    .category-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .category-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Professional Apps Grid Mobile */
    .apps-grid.modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .app-card.modern {
        border-radius: 20px;
    }
    
    .app-card.modern .app-card-content {
        padding: 25px;
    }
    
    .app-card.modern .app-card-title {
        font-size: 1.3rem;
    }
    
    /* Enhanced Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* CTA Sections Mobile */
    .cta-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
    }
    
    /* Newsletter Enhancement Mobile */
    .newsletter-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .newsletter-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Header Auth Mobile */
    .auth-buttons {
        gap: 4px;
    }
    
    .auth-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .auth-text {
        display: none;
    }
    
    .auth-icon {
        font-size: 16px;
    }
    
    .user-name {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
    }
    
    /* Professional Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
        border-radius: 18px;
    }
    
    .testimonial-content {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Trust Section Mobile */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .trust-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra Professional Mobile Optimization */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .category-card {
        padding: 30px 20px;
        margin-bottom: 15px;
    }
    
    .category-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .app-card.modern .app-card-content {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .newsletter-title {
        font-size: 1.6rem;
    }
}

/* Additional Device-Specific Responsive Styles */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}

/* Desktop (1200px to 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablet Landscape (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Tablet Portrait (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .header-inner {
        padding: 10px 0;
    }
}

/* Mobile (up to 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .header-inner {
        padding: 8px 0;
        height: auto;
        min-height: 60px;
    }
}

/* Force Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent Horizontal Overflow */
.site-wrap, main, section {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    /* Form optimizations */
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

/* =================================================
   DYNAMIC APPS LANDING PAGE STYLES
   ================================================= */

/* Dynamic Apps Landing Page Styles */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-stat {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    min-width: 120px;
}

.category-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.category-stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Enhanced App Cards */
.app-card {
    position: relative;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.status-badge.coming-soon {
    background: #ff9500;
    color: white;
}

.status-badge.early-access {
    background: #34c759;
    color: white;
}

.app-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.app-rating {
    margin: 0.5rem 0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating-text {
    font-weight: 600;
    color: #333;
}

.downloads {
    color: #666;
    font-size: 0.7rem;
}

/* Coming Soon Section */
.coming-soon-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.coming-soon-grid .app-card {
    opacity: 0.8;
}

.coming-soon-grid .app-card:hover {
    opacity: 1;
}

.expected-release {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
    margin: 0.5rem 0;
}

.btn-disabled {
    background: #ccc;
    color: #999;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-stats {
        gap: 1rem;
    }
    
    .category-stat {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .category-stat strong {
        font-size: 1.5rem;
    }
}

/* =================================================
   COMPLETE LANDING PAGE STYLES
   ================================================= */

.landing-page .hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.landing-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.landing-stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.landing-stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: #f8f9ff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin: 1rem 0;
    color: #333;
    font-size: 1.5rem;
}

.category-count {
    margin: 1rem 0;
}

.active-count {
    background: #34c759;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.coming-count {
    background: #ff9500;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.category-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.category-link:hover {
    color: #764ba2;
}

/* All Apps Section */
.all-apps-section {
    padding: 4rem 0;
}

.category-section {
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
}

.category-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Enhanced App Features */
.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.feature-tag {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Updates Notice */
.updates-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.updates-notice h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.updates-notice p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .landing-stats {
        gap: 1rem;
    }
    
    .landing-stat {
        min-width: 80px;
        padding: 0.8rem;
    }
    
    .landing-stat strong {
        font-size: 1.8rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-section {
        padding: 0 1rem;
    }
}

/* Featured Highlights Section - Enhanced Modern Design */
.featured-highlights-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.featured-highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.featured-highlights-section .container {
    position: relative;
    z-index: 1;
}

.featured-highlights-section .section-title {
    margin-bottom: 0.5rem;
}

.featured-highlights-section .section-subtitle {
    margin-bottom: 1.5rem;
}

.featured-highlights-grid {
    display: grid;
    /* Mobile-first: 1 column */
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Progressive enhancement for larger screens */
@media (min-width: 768px) {
    .featured-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .featured-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .featured-highlights-section {
        padding: 30px 0;
    }
    
    .featured-highlights-grid {
        gap: 1.25rem;
        margin-top: 1.25rem;
    }
}

/* Featured app cards with modern gradient design */
.featured-highlights-grid .featured-app-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile: more compact cards */
@media (max-width: 768px) {
    .featured-highlights-grid .featured-app-card {
        border-radius: 12px;
    }
}

/* Gradient accent bar at top */
.featured-highlights-grid .featured-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-highlights-grid .featured-app-card:nth-child(1)::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.featured-highlights-grid .featured-app-card:nth-child(2)::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.featured-highlights-grid .featured-app-card:nth-child(3)::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* Touch-friendly hover states */
@media (hover: hover) {
    .featured-highlights-grid .featured-app-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(99, 102, 241, 0.3);
    }
    
    .featured-highlights-grid .featured-app-card:hover::before {
        opacity: 1;
    }
}

/* Active state for touch devices */
.featured-highlights-grid .featured-app-card:active {
    transform: scale(0.98);
}

.featured-highlights-grid .featured-app-header {
    text-align: center;
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.5) 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.featured-highlights-grid .featured-app-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .featured-highlights-grid .featured-app-card:hover .featured-app-icon {
        transform: scale(1.1) rotate(5deg);
    }
}

.featured-highlights-grid .featured-app-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.featured-highlights-grid .featured-app-header p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Mobile: smaller text */
@media (max-width: 768px) {
    .featured-highlights-grid .featured-app-header {
        padding: 1.25rem 1.25rem 0.875rem;
    }
    
    .featured-highlights-grid .featured-app-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .featured-highlights-grid .featured-app-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .featured-highlights-grid .featured-app-header p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

.featured-highlights-grid .featured-app-details {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: white;
}

.featured-highlights-grid .featured-app-section {
    margin-bottom: 1rem;
    padding: 0.625rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
    transition: all 0.3s ease;
}

.featured-highlights-grid .featured-app-section:last-child {
    margin-bottom: 0;
}

/* Mobile: more compact sections */
@media (max-width: 768px) {
    .featured-highlights-grid .featured-app-details {
        padding: 1rem 1.25rem;
    }
    
    .featured-highlights-grid .featured-app-section {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }
}

.featured-highlights-grid .featured-app-card:nth-child(1) .featured-app-section {
    border-left-color: #3b82f6;
}

.featured-highlights-grid .featured-app-card:nth-child(2) .featured-app-section {
    border-left-color: #8b5cf6;
}

.featured-highlights-grid .featured-app-card:nth-child(3) .featured-app-section {
    border-left-color: #10b981;
}

@media (hover: hover) {
    .featured-highlights-grid .featured-app-section:hover {
        background: rgba(248, 250, 252, 1);
        transform: translateX(3px);
    }
}

.featured-highlights-grid .featured-app-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.featured-highlights-grid .featured-app-section h4::before {
    content: '▸';
    color: #3b82f6;
    font-size: 1.1rem;
}

.featured-highlights-grid .featured-app-card:nth-child(2) .featured-app-section h4::before {
    color: #8b5cf6;
}

.featured-highlights-grid .featured-app-card:nth-child(3) .featured-app-section h4::before {
    color: #10b981;
}

.featured-highlights-grid .featured-app-section p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Mobile: smaller text */
@media (max-width: 768px) {
    .featured-highlights-grid .featured-app-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        gap: 0.3rem;
    }
    
    .featured-highlights-grid .featured-app-section h4::before {
        font-size: 1rem;
    }
    
    .featured-highlights-grid .featured-app-section p {
        font-size: 0.825rem;
        line-height: 1.45;
    }
}

.featured-highlights-grid .featured-app-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    margin: 0 1.5rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Mobile: smaller buttons */
@media (max-width: 768px) {
    .featured-highlights-grid .featured-app-button {
        padding: 0.75rem 1.5rem;
        margin: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.4rem;
    }
}

.featured-highlights-grid .featured-app-card:nth-child(1) .featured-app-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.featured-highlights-grid .featured-app-card:nth-child(2) .featured-app-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.featured-highlights-grid .featured-app-card:nth-child(3) .featured-app-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (hover: hover) {
    .featured-highlights-grid .featured-app-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }
    
    .featured-highlights-grid .featured-app-card:nth-child(2) .featured-app-button:hover {
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    }
    
    .featured-highlights-grid .featured-app-card:nth-child(3) .featured-app-button:hover {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
}

.featured-highlights-grid .featured-app-button:active {
    transform: translateY(0);
}

/* Responsive design for featured highlights - already handled above with mobile-first approach */

/* Dark mode support for App Highlights */
@media (prefers-color-scheme: dark) {
    .featured-highlights-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    .featured-highlights-grid .featured-app-card {
        background: #1e293b;
        border-color: rgba(51, 65, 85, 0.8);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    @media (hover: hover) {
        .featured-highlights-grid .featured-app-card:hover {
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        }
    }
    
    .featured-highlights-grid .featured-app-header {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
        border-bottom-color: rgba(51, 65, 85, 0.5);
    }
    
    .featured-highlights-grid .featured-app-header h3 {
        color: #f1f5f9;
    }
    
    .featured-highlights-grid .featured-app-header p {
        color: #94a3b8;
    }
    
    .featured-highlights-grid .featured-app-details {
        background: #1e293b;
    }
    
    .featured-highlights-grid .featured-app-section {
        background: rgba(15, 23, 42, 0.5);
        border-left-color: #334155;
    }
    
    .featured-highlights-grid .featured-app-card:nth-child(1) .featured-app-section {
        border-left-color: #3b82f6;
    }
    
    .featured-highlights-grid .featured-app-card:nth-child(2) .featured-app-section {
        border-left-color: #8b5cf6;
    }
    
    .featured-highlights-grid .featured-app-card:nth-child(3) .featured-app-section {
        border-left-color: #10b981;
    }
    
    @media (hover: hover) {
        .featured-highlights-grid .featured-app-section:hover {
            background: rgba(15, 23, 42, 0.8);
        }
    }
    
    .featured-highlights-grid .featured-app-section h4 {
        color: #e2e8f0;
    }
    
    .featured-highlights-grid .featured-app-section p {
        color: #94a3b8;
    }
}

body.dark-mode .featured-highlights-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .featured-highlights-grid .featured-app-card {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (hover: hover) {
    body.dark-mode .featured-highlights-grid .featured-app-card:hover {
        border-color: rgba(99, 102, 241, 0.4);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
}

body.dark-mode .featured-highlights-grid .featured-app-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

body.dark-mode .featured-highlights-grid .featured-app-header h3 {
    color: #f1f5f9;
}

body.dark-mode .featured-highlights-grid .featured-app-header p {
    color: #94a3b8;
}

body.dark-mode .featured-highlights-grid .featured-app-details {
    background: #1e293b;
}

body.dark-mode .featured-highlights-grid .featured-app-section {
    background: rgba(15, 23, 42, 0.5);
    border-left-color: #334155;
}

body.dark-mode .featured-highlights-grid .featured-app-card:nth-child(1) .featured-app-section {
    border-left-color: #3b82f6;
}

body.dark-mode .featured-highlights-grid .featured-app-card:nth-child(2) .featured-app-section {
    border-left-color: #8b5cf6;
}

body.dark-mode .featured-highlights-grid .featured-app-card:nth-child(3) .featured-app-section {
    border-left-color: #10b981;
}

@media (hover: hover) {
    body.dark-mode .featured-highlights-grid .featured-app-section:hover {
        background: rgba(15, 23, 42, 0.8);
    }
}

body.dark-mode .featured-highlights-grid .featured-app-section h4 {
    color: #e2e8f0;
}

body.dark-mode .featured-highlights-grid .featured-app-section p {
    color: #94a3b8;
}

/* Beautiful White Hero Section */
.hero-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Hero Branding */
.hero-branding {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-brand-text .site-title-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 5px 0 0 0;
    font-weight: 500;
}

.brand-highlight {
    color: #6366f1;
    font-weight: 700;
}

/* Hero Text */
.hero-tagline {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 20px 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

/* Features Highlight */
.features-highlight {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

/* Beautiful Stats */
.stats-beautiful {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    border: 2px solid #f1f5f9;
}

.element-1 { top: 10%; left: 20%; animation-delay: 0s; }
.element-2 { top: 20%; right: 10%; animation-delay: 1s; }
.element-3 { top: 60%; left: 10%; animation-delay: 2s; }
.element-4 { bottom: 20%; right: 20%; animation-delay: 3s; }
.element-5 { top: 40%; left: 50%; animation-delay: 4s; }
.element-6 { bottom: 10%; left: 40%; animation-delay: 5s; }

.central-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 10;
}

.brain-tech-icon .tech-symbol {
    font-size: 3rem;
    filter: brightness(0) invert(1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-tagline {
        font-size: 2.5rem;
    }
    
    .hero-illustration {
        width: 300px;
        height: 300px;
    }
    
    .floating-element {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .central-graphic {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        padding: 0 20px;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-branding {
        justify-content: center;
    }
    
    .features-highlight {
        justify-content: center;
    }
    
    .stats-beautiful {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-illustration {
        width: 250px;
        height: 250px;
    }
}

/* ========================================
   COURSES AND CATEGORY ENHANCEMENTS
   ======================================== */

/* Category Count Display */
.category-count {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

/* AI & Learning Category Card */
.ai-learning-category .category-title {
    color: #8b5cf6; /* Purple */
}

.ai-learning-category:hover {
    border-color: #8b5cf6;
}

/* Improved Course Cards with Better Text Visibility */
.course-card {
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(109, 40, 217, 0.02) 100%);
}

.course-card:hover {
    border-left-color: #6d28d9;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(109, 40, 217, 0.04) 100%);
}

.course-card .all-app-media {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid #e5e7eb;
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Improved Course Level Badge - Better Contrast */
.course-level {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Course Duration - Better Visibility */
.course-duration {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-top: 8px;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

/* Course Title - Better Contrast */
.course-card .all-app-title {
    color: #1e293b;
    font-weight: 700;
}

/* Course Description - Better Readability */
.course-card .all-app-desc {
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
}

/* Subsection Titles - Enhanced for Better Organization */
.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 2rem;
    margin-top: 3rem;
    text-align: left;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subsection-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    margin-left: 1rem;
}

/* Item Count Badge for Sections */
.section-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1rem;
    white-space: nowrap;
}

/* Show More / Load More Button */
.load-more-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.load-more-btn {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
}

.load-more-btn:active {
    transform: translateY(0);
}

/* Hidden items for progressive loading */
.app-item-hidden {
    display: none;
}

/* Fade in animation for newly loaded items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-item-loaded {
    animation: fadeInUp 0.5s ease-out;
}

/* Category Grid - 5 items support */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   DARK MODE ENHANCEMENTS
   ======================================== */

/* Dark mode specific improvements for better text contrast */
@media (prefers-color-scheme: dark) {
    .course-card {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(109, 40, 217, 0.05) 100%);
    }
    
    .course-card:hover {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(109, 40, 217, 0.08) 100%);
    }
    
    .course-card .all-app-media {
        background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
        border-color: #475569;
    }
    
    .course-card .all-app-title {
        color: #f1f5f9;
    }
    
    .course-card .all-app-desc {
        color: #cbd5e1;
    }
    
    .course-level {
        background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
        box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5);
    }
    
    .course-duration {
        background: rgba(99, 102, 241, 0.2);
        color: #e0e7ff;
    }
    
    .all-app-card {
        background: var(--bg-card);
        border-color: #334155;
    }
    
    .all-app-card:hover {
        border-color: #6366f1;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    }
    
    .all-app-media {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }
    
    .category-count {
        background: rgba(99, 102, 241, 0.2);
        color: #c7d2fe;
    }
}

/* Force better contrast for dark mode when manually toggled */
body.dark-mode .course-card .all-app-title {
    color: #f1f5f9 !important;
}

body.dark-mode .course-card .all-app-desc {
    color: #cbd5e1 !important;
}

body.dark-mode .course-level {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%) !important;
    color: #ffffff !important;
}

body.dark-mode .all-app-actions .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
}

/* =================================================================
   HOMEPAGE UI IMPROVEMENTS - 2024
   ================================================================= */

/* Compact Hero Section */
.hero-compact {
    min-height: 450px !important;
    padding: 3rem 0 2rem !important;
}

.hero-compact .hero-inner {
    padding: 1.5rem 0 !important;
}

/* Inline Features Layout */
.features-inline {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2.5rem !important;
    margin: 1.5rem 0 !important;
}

.features-inline .feature-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-width: 120px !important;
}

.features-inline .feature-icon {
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
}

.features-inline .feature-text {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* Compact Stats */
.stats-compact {
    margin-top: 2rem !important;
}

.stats-compact .stat-card {
    padding: 1rem 1.5rem !important;
}

/* Content Banner */
.content-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.content-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.banner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.banner-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.banner-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.banner-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.banner-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Course Filters */
.course-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

.filter-select {
    padding: 0.6rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-reset-filters {
    padding: 0.6rem 1.5rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-reset-filters:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.btn-load-more {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.load-more-count {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Course Level Badges */
.course-level-beginner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.course-level-intermediate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.course-level-advanced {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* No Courses Message */
.no-courses-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-courses-message h3 {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.no-courses-message p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-compact {
        min-height: 400px !important;
        padding: 2rem 0 1.5rem !important;
    }
    
    .features-inline {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .features-inline .feature-item {
        flex-direction: row !important;
        min-width: auto !important;
        gap: 1rem !important;
    }
    
    .banner-content h2 {
        font-size: 1.75rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .course-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .btn-reset-filters {
        margin-left: 0;
        width: 100%;
    }
}

/* Dark Mode Support */
body.dark-mode .content-banner {
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

body.dark-mode .course-filters {
    background: #1e293b;
}

body.dark-mode .filter-select {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

body.dark-mode .no-courses-message {
    background: #1e293b;
    border-color: #475569;
}

body.dark-mode .no-courses-message h3 {
    color: #e2e8f0;
}

body.dark-mode .no-courses-message p {
    color: #cbd5e1;
}
/* =================================================================
   ULTRA COMPACT 2-LINE HERO - Features + Stats
   ================================================================= */

/* Compact Hero - Even Shorter */
.hero-compact {
    min-height: 380px !important;
    padding: 2rem 0 1.5rem !important;
}

.hero-compact .hero-inner {
    padding: 1rem 0 !important;
}

/* Features + Stats Combo Container */
.features-stats-combo {
    margin: 1.5rem auto;
    max-width: 1000px;
}

/* Line 1: Mini Features - Horizontal */
.features-inline-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
}

.feature-mini {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4f46e5;
    white-space: nowrap;
}

/* Line 2: Mini Stats - Horizontal */
.stats-inline-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 0.75rem;
}

.stat-mini {
    font-size: 0.9rem;
    color: #64748b;
    white-space: nowrap;
}

.stat-mini strong {
    color: #6366f1;
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

/* Featured App Image Support */
.featured-app-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: -20px -20px 15px -20px;
}

.featured-app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-app-card {
    position: relative;
    overflow: hidden;
}

/* When there's an image, adjust icon display */
.featured-app-card .featured-app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* No apps message */
.no-apps-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 12px;
    color: #64748b;
}

/* Mobile Responsive - Stack to 2 lines vertically */
@media (max-width: 768px) {
    .hero-compact {
        min-height: 350px !important;
        padding: 1.5rem 0 1rem !important;
    }
    
    .features-inline-mini {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .feature-mini {
        font-size: 0.85rem;
    }
    
    .stats-inline-mini {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-mini {
        font-size: 0.85rem;
    }
    
    .stat-mini strong {
        font-size: 1.1rem;
    }
    
    .featured-app-image {
        height: 150px;
    }
}

/* Dark Mode Support */
body.dark-mode .feature-mini {
    color: #818cf8;
}

body.dark-mode .stat-mini {
    color: #cbd5e1;
}

body.dark-mode .stat-mini strong {
    color: #a5b4fc;
}

body.dark-mode .no-apps-message {
    background: #1e293b;
    color: #cbd5e1;
}

/* ============================================================
   ENHANCED HERO SECTION - Modern Design with Image
   ============================================================ */

.hero-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-modern .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 20px 0 30px 0;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-icon {
    font-size: 1.2rem;
}

/* Hero Visual Side */
.hero-visual-side {
    position: relative;
}

/* New Stats Visual Background */
.hero-stats-visual {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stats-visual-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-animation-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.2);
    animation: pulse-circle 3s ease-in-out infinite;
}

.stats-animation-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.stats-animation-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    animation-delay: 1s;
}

.stats-animation-circle:nth-child(3) {
    width: 400px;
    height: 400px;
    animation-delay: 2s;
}

@keyframes pulse-circle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.hero-image-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    max-height: 500px;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.placeholder-icon {
    font-size: 5rem;
    opacity: 0.6;
}

.hero-stats-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    max-width: 500px;
    z-index: 10;
}

.stats-heading {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .stat-badge {
    background: rgba(30, 41, 59, 0.95);
}

.stat-badge:hover {
    transform: translateY(-5px) scale(1.02);
}

.stat-badge.trust-badge-main {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95));
    justify-content: center;
}

.stat-badge.trust-badge-main .trust-text {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-content strong {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.stat-content span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trust-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-modern .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats-overlay {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-features {
        justify-content: center;
    }
}

/* ============================================================
   ENHANCED CATEGORY CARDS - With Images
   ============================================================ */

.categories-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card-modern {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-visual {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card-modern:hover .category-image {
    transform: scale(1.1);
}

.category-visual .category-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.8;
}

.category-content {
    padding: 25px;
}

.category-content .category-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.category-content .category-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.category-content .category-count {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.category-content .category-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-content .category-link:hover {
    gap: 8px;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .categories-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================================
   ENHANCED APP CARDS - With Badges and User Counts
   ============================================================ */

.app-card-enhanced {
    position: relative;
}

.app-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-active {
    background: #10b981;
    color: white;
}

.status-coming {
    background: #f59e0b;
    color: white;
}

.app-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    z-index: 10;
}

.app-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.app-users {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.app-fallback-icon {
    font-size: 4rem;
    text-align: center;
    padding: 20px;
}

/* ============================================================
   EDUCATIONAL ARTICLES SECTION
   ============================================================ */

.educational-articles-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.article-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    opacity: 0.3;
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.article-category,
.article-date,
.article-reading-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-category {
    color: var(--primary-color);
    font-weight: 600;
}

.article-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-author {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.author-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-link:hover {
    transform: translateX(5px);
    display: inline-block;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonials-section {
    background: var(--bg-primary);
    padding: 80px 0;
}

.testimonials-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0 60px 0;
    align-items: center;
}

.testimonials-visual {
    position: relative;
}

.testimonials-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    max-height: 400px;
}

.testimonials-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonials-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-stat {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    text-align: center;
}

.stat-rating {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 10px;
}

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

.stat-value-large {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    font-size: 2.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .testimonials-hero {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .success-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 20px;
    }
    
    .metric-value {
        font-size: 2rem;
    }
}

/* ============================================================
   ENHANCED APP HIGHLIGHTS SECTION - Modern Card Design
   ============================================================ */

.featured-highlights-section {
    background: var(--bg-primary);
    padding: 80px 0;
}

.featured-highlights-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.app-highlight-card-modern {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.app-highlight-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Hero Image Section */
.app-highlight-hero {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.app-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-highlight-card-modern:hover .app-hero-image {
    transform: scale(1.08);
}

.app-hero-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-fallback-icon {
    font-size: 5rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Badge Overlay */
.app-highlight-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.app-highlight-card-modern:hover .app-highlight-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content Section */
.app-highlight-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.app-highlight-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.app-highlight-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Detail Sections */
.app-highlight-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.highlight-detail-section {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.highlight-detail-section:hover {
    background: var(--bg-tertiary);
    border-left-width: 6px;
    padding-left: 22px;
}

.detail-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 1.2rem;
}

.detail-section-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Features List */
.features-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
}

.features-list li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

/* Action Button */
.app-highlight-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.app-highlight-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
}

.button-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.app-highlight-button:hover .button-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-highlights-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .featured-highlights-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .app-highlight-hero {
        height: 200px;
    }
    
    .app-highlight-content {
        padding: 25px;
    }
    
    .app-highlight-title {
        font-size: 1.4rem;
    }
    
    .app-highlight-badge {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
    }
    
    .hero-fallback-icon {
        font-size: 4rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .app-highlight-card-modern {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .app-highlight-card-modern:hover {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }
    
    .app-highlight-badge {
        background: rgba(30, 41, 59, 0.95);
    }
    
    .badge-category {
        color: #60a5fa;
    }
}

[data-theme="dark"] .app-highlight-card-modern {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .app-highlight-card-modern:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .app-highlight-badge {
    background: rgba(30, 41, 59, 0.95);
}

[data-theme="dark"] .badge-category {
    color: #60a5fa;
}

/* Animation for cards appearing */
.app-highlight-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.app-highlight-item:nth-child(1) { animation-delay: 0.1s; }
.app-highlight-item:nth-child(2) { animation-delay: 0.2s; }
.app-highlight-item:nth-child(3) { animation-delay: 0.3s; }
.app-highlight-item:nth-child(4) { animation-delay: 0.4s; }
.app-highlight-item:nth-child(5) { animation-delay: 0.5s; }
.app-highlight-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RATING SYSTEM STYLES
   ======================================== */

/* Rating Container */
.rating-container {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Rating Display (Read-only stars) */
.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-display {
    display: flex;
    gap: 2px;
}

.stars-display .star {
    font-size: 16px;
    line-height: 1;
}

.stars-display .star.full {
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.stars-display .star.half {
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stars-display .star.empty {
    color: #d1d5db;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #64748b;
}

.rating-value {
    font-weight: 600;
    color: #1e293b;
}

.rating-count {
    color: #94a3b8;
}

/* Dark mode rating display */
[data-theme="dark"] .rating-value {
    color: #e2e8f0;
}

[data-theme="dark"] .rating-count {
    color: #94a3b8;
}

[data-theme="dark"] .stars-display .star.empty {
    color: #475569;
}

/* Rating Input (Interactive stars) */
.rating-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.stars-input {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.star-input {
    font-size: 32px;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star-input:hover,
.star-input.hover {
    color: #fbbf24;
    transform: scale(1.2);
}

.star-input.active {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.rating-input button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-button {
    background: #2563eb;
    color: white;
}

.rate-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.rate-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.cancel-rate-button {
    background: #e2e8f0;
    color: #475569;
}

.cancel-rate-button:hover {
    background: #cbd5e1;
}

/* Add Rating Button */
.add-rating-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.add-rating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.add-rating-button .icon {
    font-size: 16px;
}

/* Rated Message */
.rated-message {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #dcfce7;
    color: #166534;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.rated-message .icon {
    font-size: 14px;
}

/* Success Toast */
.rating-success-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    animation: slideInRight 0.3s ease-out, fadeOut 0.3s ease-in 2.7s;
    z-index: 10000;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Dark mode adjustments */
[data-theme="dark"] .rating-input {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .rated-message {
    background: #065f46;
    color: #d1fae5;
}

[data-theme="dark"] .cancel-rate-button {
    background: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .cancel-rate-button:hover {
    background: #475569;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rating-container {
        margin: 8px 0;
    }
    
    .stars-display .star {
        font-size: 14px;
    }
    
    .star-input {
        font-size: 28px;
        gap: 6px;
    }
    
    .rating-success-toast {
        top: 10px;
        right: 10px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ========================================
   MODERN COURSES PAGE STYLES
   ======================================== */

/* Hero Section */
.courses-hero-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.courses-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content-modern {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-modern {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Filters Section */
.courses-filters-modern {
    padding: 40px 0;
    background: #f8f9fa;
}

.filters-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.filters-header h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0;
    font-weight: 700;
}

.btn-reset {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #cbd5e1;
    transform: translateY(-1px);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 600;
    font-size: 14px;
}

.filter-icon {
    font-size: 18px;
}

.filter-label {
    font-size: 14px;
}

.filter-select-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-select-modern:hover {
    border-color: #667eea;
}

.filter-select-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.courses-count-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
}

.count-icon {
    font-size: 20px;
}

/* Courses Grid */
.courses-grid-section {
    padding: 60px 0;
    background: white;
}

.courses-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Course Group Headers */
.course-group-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-light);
}

.course-group-header:first-child {
    margin-top: 0;
}

.group-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    white-space: nowrap;
}

.group-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: var(--radius-full);
}

/* Course Card */
.course-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.course-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.course-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Course Thumbnail */
.course-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card-modern:hover .course-image {
    transform: scale(1.1);
}

.course-icon-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.5;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.course-badge-beginner {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.course-badge-intermediate {
    background: rgba(251, 191, 36, 0.9);
    color: white;
}

.course-badge-advanced {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card-modern:hover .course-overlay {
    opacity: 1;
}

.quick-view {
    color: white;
    font-weight: 600;
    font-size: 16px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.course-card-modern:hover .quick-view {
    transform: translateY(0);
}

/* Course Content */
.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-category-tag {
    display: inline-block;
    background: #f0f4ff;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.course-title {
    font-size: 1.25rem;
    color: #1a202c;
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-description {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.course-rating {
    margin: 5px 0;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.meta-icon {
    font-size: 16px;
}

/* Course Action Button */
.course-action {
    margin-top: auto;
    padding-top: 15px;
}

.btn-course-start {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-course-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-course-start:hover .btn-arrow {
    transform: translateX(5px);
}

/* Empty State */
.no-courses-found {
    grid-column: 1 / -1;
    padding: 60px 20px;
}

.empty-state {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.empty-state p {
    color: #718096;
    margin-bottom: 25px;
}

/* CTA Section */
.courses-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-card-modern {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.cta-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-description {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-cta-secondary {
    background: white;
    color: #667eea;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #667eea;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    background: #f0f4ff;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .courses-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .courses-hero-modern {
        padding: 60px 0 40px;
    }
    
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filters-card {
        padding: 25px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .courses-grid-modern {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cta-card-modern {
        padding: 40px 25px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .courses-filters-modern {
    background: #1a202c;
}

[data-theme="dark"] .filters-card {
    background: #2d3748;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .filters-header h3,
[data-theme="dark"] .course-title {
    color: #f7fafc;
}

[data-theme="dark"] .filter-select-modern {
    background: #1a202c;
    border-color: #4a5568;
    color: #f7fafc;
}

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

[data-theme="dark"] .course-description,
[data-theme="dark"] .meta-item {
    color: #cbd5e1;
}

[data-theme="dark"] .cta-card-modern {
    background: #2d3748;
}

[data-theme="dark"] .cta-title {
    color: #f7fafc;
}

[data-theme="dark"] .cta-description {
    color: #cbd5e1;
}

/* ========================================
   ULTIMATE MEMBER COMPATIBILITY STYLES
   ======================================== */

/* Ensure UM pages have proper container */
.um-account-page .site-wrap,
.um-login-page .site-wrap,
.um-register-page .site-wrap {
    min-height: 70vh;
    padding: 40px 0;
}

/* UM Account Page Styling */
.um-account-page .um-account,
.um-login-page .um,
.um-register-page .um {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* UM Profile Header */
.um .um-profile-photo {
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* UM Tabs */
.um .um-profile-nav {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.um .um-profile-nav-item a {
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.um .um-profile-nav-item a:hover {
    background: #f0f4ff;
    color: #667eea;
}

.um .um-profile-nav-item.active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* UM Forms */
.um-form input[type="text"],
.um-form input[type="email"],
.um-form input[type="password"],
.um-form textarea,
.um-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.um-form input:focus,
.um-form textarea:focus,
.um-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* UM Buttons */
.um button[type="submit"],
.um input[type="submit"],
.um .um-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.um button[type="submit"]:hover,
.um input[type="submit"]:hover,
.um .um-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* UM Account Tabs Content */
.um .um-account-side {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.um .um-account-meta {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

/* UM Cover Photo */
.um .um-cover {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* UM Profile Stats */
.um .um-profile-headerinfo {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* UM Member Directory */
.um-members .um-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.um-members .um-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* UM Login Form */
.um-login {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.um-login .um-form-heading {
    text-align: center;
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 30px;
    font-weight: 800;
}

/* UM Error Messages */
.um .um-notice {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.um .um-notice.error {
    background: #fee;
    color: #c00;
    border-left: 4px solid #c00;
}

.um .um-notice.success {
    background: #efe;
    color: #090;
    border-left: 4px solid #090;
}

/* UM Loading States */
.um .um-loading {
    text-align: center;
    padding: 40px;
    color: #667eea;
}

/* UM Avatar Upload */
.um .um-profile-photo-upload {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.um .um-profile-photo-upload:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

/* Dark Mode UM Styles */
[data-theme="dark"] .um .um-profile-nav,
[data-theme="dark"] .um .um-account-side,
[data-theme="dark"] .um-login,
[data-theme="dark"] .um-members .um-member,
[data-theme="dark"] .um .um-profile-headerinfo {
    background: #2d3748;
    color: #f7fafc;
}

[data-theme="dark"] .um .um-account-meta {
    background: #1a202c;
}

[data-theme="dark"] .um-form input,
[data-theme="dark"] .um-form textarea,
[data-theme="dark"] .um-form select {
    background: #1a202c;
    border-color: #4a5568;
    color: #f7fafc;
}

[data-theme="dark"] .um .um-profile-nav-item a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #a5b4fc;
}

/* Ensure UM content is visible */
.um-page-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fix UM account blank page */
.um .um-account-name,
.um .um-account-heading {
    display: block;
}

.um-account .um-account-main {
    min-height: 300px;
}

/* UM Responsive */
@media (max-width: 768px) {
    .um-login {
        padding: 30px 20px;
    }
    
    .um .um-profile-nav-item a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

.page-template {
    min-height: 70vh;
    padding: 40px 0;
}

.page-template .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

.page-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin: 0;
    font-weight: 800;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #2d3748;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-content a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.page-content a:hover {
    border-bottom-color: #667eea;
}

/* Dark mode page template */
[data-theme="dark"] .page-title {
    color: #f7fafc;
}

[data-theme="dark"] .page-content {
    color: #cbd5e1;
}

[data-theme="dark"] .page-content h2,
[data-theme="dark"] .page-content h3,
[data-theme="dark"] .page-content h4 {
    color: #e2e8f0;
}

[data-theme="dark"] .page-header {
    border-bottom-color: #667eea;
}

/* =================================================
   APPS PAGE FILTERING STYLES
   ================================================= */

.apps-results-count {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
    padding: 0.75rem;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
    font-weight: 500;
}

.course-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.filter-select,
.filter-input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    min-width: 150px;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-reset-filters {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Coming Soon App Card Styling */
.all-app-card[data-status="coming_soon"] {
    opacity: 0.8;
    position: relative;
}

.all-app-card[data-status="coming_soon"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    pointer-events: none;
}

.all-app-card[data-status="coming_soon"] .app-card-link {
    cursor: not-allowed !important;
}

/* Responsive Filter Styles */
@media (max-width: 768px) {
    .course-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select,
    .filter-input {
        width: 100%;
    }
    
    .btn-reset-filters {
        width: 100%;
    }
}

/* ============================================================
   MODERN WEBSITE LAYOUT - INSPIRED BY SMART-ED-SPARK
   ============================================================ */

/* Modern Hero Section */
.hero-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.hero-text-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin: 0.5rem 0;
}

.hero-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    max-width: 90%;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary-large {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-large {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-large:hover {
    background: var(--primary-color);
    color: white;
}

.hero-features-row {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.hero-visual-section {
    position: relative;
}

.hero-image-wrapper {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 4/3;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon-large {
    font-size: 8rem;
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.stat-item-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item-inline.highlight {
    grid-column: span 2;
}

.stat-icon-small {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-lg);
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-title-main {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.section-description-main {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ========================================
   VIEW CONTROLS & THEME SELECTOR
   ======================================== */
.section-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.section-titles {
    flex: 1;
    min-width: 300px;
}

.view-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.control-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-toggle-buttons {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.view-btn, .view-btn-courses {
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.view-btn-courses span {
    padding: 0 8px;
}

.view-btn:hover, .view-btn-courses:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
}

.view-btn.active, .view-btn-courses.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.theme-selector {
    display: flex;
    gap: 0.5rem;
}

.theme-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-option.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px var(--bg-primary), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.15);
}

.theme-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Theme Color Variables */
[data-theme="blue"] {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
}

[data-theme="purple"] {
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
}

[data-theme="green"] {
    --primary-color: #10b981;
    --primary-dark: #059669;
}

[data-theme="orange"] {
    --primary-color: #f97316;
    --primary-dark: #ea580c;
}

[data-theme="pink"] {
    --primary-color: #ec4899;
    --primary-dark: #db2777;
}

/* List View Styles */
.categories-grid-modern.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.categories-grid-modern.list-view .category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem;
}

.categories-grid-modern.list-view .category-image-header {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-right: 2rem;
}

.categories-grid-modern.list-view .category-icon-bg {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    margin-right: 1.5rem;
}

.categories-grid-modern.list-view .category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.categories-grid-modern.list-view .category-explore-link {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.course-cards-wrapper.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-cards-wrapper.list-view .course-card-item {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    align-items: stretch;
}

.course-cards-wrapper.list-view .course-card-image {
    width: 250px;
    height: auto;
    flex-shrink: 0;
}

.course-cards-wrapper.list-view .course-card-content {
    flex: 1;
    padding: 1.5rem;
}

.course-cards-wrapper.list-view .course-card-title {
    font-size: 1.5rem;
}

.course-cards-wrapper.list-view .course-description {
    display: block;
    -webkit-line-clamp: 3;
}

@media (max-width: 768px) {
    .section-header-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .view-controls {
        justify-content: space-between;
        width: 100%;
    }
    
    .categories-grid-modern.list-view .category-card {
        flex-direction: column;
    }
    
    .categories-grid-modern.list-view .category-image-header {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .course-cards-wrapper.list-view .course-card-item {
        flex-direction: column;
    }
    
    .course-cards-wrapper.list-view .course-card-image {
        width: 100%;
        height: 200px;
    }
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.category-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.science-bg {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.engineering-bg {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.technology-bg {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

.utilities-bg {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.ai-bg {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.languages-bg {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
}

.category-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.category-emoji {
    font-size: 2.5rem;
}

.category-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.category-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.category-count-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-top: 0.5rem;
    width: fit-content;
}

.category-explore-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-base);
}

.category-explore-link:hover {
    transform: translateX(4px);
}

/* Modern Footer */
.site-footer-modern {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem;
}

.footer-tagline {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon-footer {
    font-size: 1.25rem;
}

.footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact-list a:hover {
    color: white;
}

.newsletter-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    background: #1e293b;
    color: white;
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-btn:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.footer-legal-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual-section {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
    }
    
    .hero-stats-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item-inline.highlight {
        grid-column: span 1;
    }
    
    .categories-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title-main {
        font-size: 1.75rem;
    }
    
    .hero-features-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================================
   MODERN HEADER NAVIGATION
   ============================================================ */

.site-header-modern {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand-section {
    flex-shrink: 0;
}

.site-brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-base);
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-signin,
.btn-account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-account {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn-signin:hover,
.btn-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-account:hover {
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.signin-icon,
.account-icon {
    font-size: 1.1rem;
}

.dark-mode-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-navigation {
    display: none;
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 1rem 0;
}

.mobile-navigation.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
}

.mobile-nav-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .btn-signin .signin-text,
    .btn-account .account-text {
        display: none;
    }
    
    .btn-signin,
    .btn-account {
        padding: 0.6rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}

/* ============================================================
   ADVANCED 3D EFFECTS & DYNAMIC ANIMATIONS
   ============================================================ */

/* Parallax & Particle Background */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3), transparent);
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 50%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 80%;
    left: 20%;
    animation-delay: 9s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    width: 90px;
    height: 90px;
    top: 20%;
    left: 70%;
    animation-delay: 12s;
    animation-duration: 16s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 60px) scale(1.1);
        opacity: 0.5;
    }
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(79, 70, 229, 0.15));
    animation: morphShape 15s infinite ease-in-out;
    backdrop-filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(270deg) scale(1.05);
    }
}

/* Animated Gradient Text */
.gradient-animated {
    background: linear-gradient(
        90deg,
        #4f46e5 0%,
        #06b6d4 25%,
        #8b5cf6 50%,
        #06b6d4 75%,
        #4f46e5 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Text Animation */
.animate-text {
    animation: textReveal 1s ease-out;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 3D Button Effects */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.btn-3d:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.btn-3d:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

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

/* 3D Feature Cards */
.feature-3d {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-3d:hover {
    transform: translateY(-5px) rotateX(5deg);
}

.icon-3d {
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

.icon-3d:hover {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

/* 3D Hero Image with Depth */
.image-3d {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-image-wrapper {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-wrapper:hover {
    transform: rotateY(5deg) rotateX(-5deg) scale(1.02);
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(6, 182, 212, 0.3));
    border-radius: var(--radius-2xl);
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.hero-image-wrapper:hover .image-glow {
    opacity: 1;
}

/* Floating Animated Icons */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.float-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.2);
    animation: floatIcon 6s infinite ease-in-out;
    transition: all 0.3s ease;
}

.float-icon svg {
    stroke: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3));
}

/* Icon positioning */
.float-icon.icon-1 {
    width: 70px;
    height: 70px;
    top: 8%;
    left: -8%;
    animation-delay: 0s;
}

.float-icon.icon-2 {
    width: 80px;
    height: 80px;
    top: 45%;
    right: -12%;
    animation-delay: 1.5s;
}

.float-icon.icon-3 {
    width: 65px;
    height: 65px;
    bottom: 15%;
    left: 5%;
    animation-delay: 3s;
}

.float-icon.icon-4 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 8%;
    animation-delay: 4.5s;
}

.float-icon.icon-5 {
    width: 72px;
    height: 72px;
    bottom: 35%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translateY(-25px) rotate(-3deg) scale(1.1);
    }
    75% {
        transform: translateY(-12px) rotate(3deg) scale(1.05);
    }
}

/* Hover effect on icons */
.float-icon:hover {
    transform: scale(1.2) rotate(10deg) !important;
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
}

/* Alternative animation for even icons */
.float-icon.icon-2,
.float-icon.icon-4 {
    animation-direction: reverse;
}

/* 3D Category Cards with Advanced Effects */
.category-card-3d {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.75s;
    z-index: 1;
}

.category-card-3d:hover .card-shine {
    left: 150%;
}

/* Category Image Header */
.category-image-header {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin: -2rem -2rem 1rem -2rem;
    position: relative;
    overflow: hidden;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    transition: background 0.3s;
}

.category-card-3d:hover .category-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* 3D Floating Icons */
.icon-3d-float {
    position: relative;
    animation: iconFloat 3s infinite ease-in-out;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    animation: glowPulse 2s infinite ease-in-out;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 3D Badge Effects */
.badge-3d {
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.badge-3d:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}

/* 3D Link Hover */
.link-3d {
    position: relative;
    display: inline-block;
}

.link-3d::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    transition: width 0.3s ease;
}

.link-3d:hover::after {
    width: 100%;
}

/* Glassmorphism Effects */
.hero-stats-bar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Depth Layers */
.hero-modern {
    position: relative;
    z-index: 1;
}

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

/* Scroll Reveal Animation */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mouse Parallax Effect */
.parallax-element {
    transition: transform 0.3s ease-out;
}

/* Responsive 3D Effects */
@media (max-width: 1024px) {
    .category-card-3d:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .hero-image-wrapper:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .hero-particles,
    .floating-shapes {
        display: none;
    }
    
    .stat-bubble {
        display: none;
    }
    
    .category-card-3d:hover {
        transform: translateY(-5px);
    }
    
    .icon-3d-float {
        animation: none;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   3D APP & COURSE CARDS
   ============================================================ */

.section-3d {
    position: relative;
    overflow: hidden;
}

.card-3d-hover {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card-3d-hover:hover {
    transform: translateY(-10px) rotateX(2deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    opacity: 0.3;
    transition: opacity 0.4s;
    z-index: 0;
}

.card-3d-hover:hover .app-card-bg {
    opacity: 0.5;
}

.app-icon-3d {
    position: relative;
    z-index: 2;
    transition: transform 0.4s;
}

.card-3d-hover:hover .app-icon-3d {
    transform: scale(1.1) translateY(-5px);
}

.course-icon-3d {
    position: relative;
    z-index: 2;
    transition: transform 0.4s;
}

.card-3d-hover:hover .course-icon-3d {
    transform: scale(1.1) translateY(-5px);
}

.category-badge-3d {
    position: relative;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
}

.card-3d-hover:hover .category-badge-3d {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* Dark Mode Toggle Enhancement */
.dark-mode-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.dark-mode-toggle .toggle-icon-light,
.dark-mode-toggle .toggle-icon-dark {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.dark-mode-toggle .toggle-icon-dark {
    display: none;
}

body.dark-theme .dark-mode-toggle {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

body.dark-theme .dark-mode-toggle .toggle-icon-light {
    display: none;
}

body.dark-theme .dark-mode-toggle .toggle-icon-dark {
    display: block;
}

/* Ensure all sections have proper spacing */
.all-apps-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.all-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Ensure all buttons and links are clickable */
button, a, .btn-primary, .btn-secondary, .btn-load-more, .category-explore-link {
    cursor: pointer;
    pointer-events: auto;
}

.btn-load-more {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-load-more:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-load-more:active {
    transform: translateY(0);
}

.load-more-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.load-more-count {
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-3d-hover:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .all-apps-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   GLOBAL THEME COLOR APPLICATION
   ======================================== */

/* Buttons */
.btn, .btn-primary, .cta-button, .btn-load-more,
.explore-button, .category-explore-link,
.start-button, .enroll-button {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn:hover, .btn-primary:hover, .cta-button:hover,
.explore-button:hover, .category-explore-link:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* Links */
a, .link-primary {
    color: var(--primary-color);
}

a:hover, .link-primary:hover {
    color: var(--primary-dark);
}

/* Headings with gradient */
.hero-title, .section-title, .section-title-main,
h1, h2, h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badges */
.badge, .category-count-badge, .status-badge,
.course-badge, .course-level, .tag {
    background: var(--primary-color);
    color: white;
}

/* Icons and accents */
.category-icon-bg, .icon-3d-float {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* Borders and accents */
.card-active, .category-card:hover,
.course-card:hover, .app-card:hover {
    border-color: var(--primary-color) !important;
}

/* Progress bars */
.progress-bar, .loading-bar {
    background: var(--primary-color);
}

/* Active states */
.active, .selected, .current {
    color: var(--primary-color) !important;
}

/* ========================================
   3D MOUSE MOVEMENT EFFECTS
   ======================================== */

.mouse-3d-effect {
    perspective: var(--perspective);
    transform-style: preserve-3d;
    transition: transform var(--transform-speed) ease-out;
    will-change: transform;
}

.mouse-3d-effect.active {
    transform: rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) translateZ(20px);
}

/* Apply 3D to all cards */
.category-card, .course-card-item, .app-card,
.app-highlight-item, .stats-card {
    perspective: var(--perspective);
    transform-style: preserve-3d;
    transition: all var(--transform-speed) ease-out;
    will-change: transform;
}

.category-card.mouse-active,
.course-card-item.mouse-active,
.app-card.mouse-active {
    transform: 
        rotateX(var(--rotate-x, 0deg)) 
        rotateY(var(--rotate-y, 0deg)) 
        translateZ(30px)
        scale(1.05);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--primary-color);
}

/* 3D Inner elements */
.mouse-3d-effect .category-info,
.mouse-3d-effect .course-card-content,
.mouse-3d-effect .card-inner {
    transform: translateZ(50px);
}

.mouse-3d-effect .category-image-header,
.mouse-3d-effect .course-card-image {
    transform: translateZ(20px);
}

/* Shine effect on mouse move */
.mouse-3d-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.mouse-3d-effect.mouse-active::before {
    opacity: 1;
}

/* 3D Button effects */
button, .btn, .cta-button {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

button:hover, .btn:hover, .cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.3),
        0 0 20px var(--primary-color);
}

button:active, .btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Hero section parallax layers */
.hero-content {
    transform-style: preserve-3d;
}

.hero-content .hero-title {
    transform: translateZ(60px);
}

.hero-content .hero-subtitle {
    transform: translateZ(40px);
}

.hero-content .hero-cta {
    transform: translateZ(80px);
}

/* Floating shapes 3D */
.floating-shape, .particle {
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-20px) translateZ(30px) rotateX(10deg) rotateY(10deg);
    }
    50% {
        transform: translateY(0) translateZ(60px) rotateX(0deg) rotateY(20deg);
    }
    75% {
        transform: translateY(20px) translateZ(30px) rotateX(-10deg) rotateY(10deg);
    }
}

/* Section parallax on scroll */
.section-3d {
    transform-style: preserve-3d;
    perspective: 2000px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .mouse-3d-effect.mouse-active {
        transform: scale(1.02);
    }
    
    .category-card.mouse-active,
    .course-card-item.mouse-active {
        transform: translateY(-5px) scale(1.02);
    }
}

/* ========================================
   3D WHEEL CAROUSEL STYLES
   ======================================== */

.categories-wheel-3d {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.categories-wheel-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.05), transparent 70%);
    pointer-events: none;
}

/* 3D Wheel Container */
.wheel-3d-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    position: relative;
    min-height: 600px;
}

.wheel-3d-scene {
    width: 100%;
    height: 500px;
    perspective: 1500px;
    perspective-origin: 50% 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-3d {
    width: 350px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

/* Individual Wheel Items */
.wheel-item {
    position: absolute;
    width: 280px;
    height: 320px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -160px;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Position items in a circle using 3D transforms */
.wheel-item[data-index="0"] {
    transform: rotateY(0deg) translateZ(450px);
}

.wheel-item[data-index="1"] {
    transform: rotateY(60deg) translateZ(450px);
}

.wheel-item[data-index="2"] {
    transform: rotateY(120deg) translateZ(450px);
}

.wheel-item[data-index="3"] {
    transform: rotateY(180deg) translateZ(450px);
}

.wheel-item[data-index="4"] {
    transform: rotateY(240deg) translateZ(450px);
}

.wheel-item[data-index="5"] {
    transform: rotateY(300deg) translateZ(450px);
}

.wheel-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.wheel-item:hover .wheel-item-inner {
    transform: scale(1.1) translateZ(30px);
}

.wheel-item-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: white;
}

/* Full background image for cards */
.wheel-item-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gradient overlay for better text readability */
.wheel-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.85;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.wheel-item-content {
    position: relative;
    height: 100%;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.wheel-emoji {
    font-size: 64px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    animation: floatEmoji 3s ease-in-out infinite;
}

@keyframes floatEmoji {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.wheel-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 8px 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wheel-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 16px 0;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.wheel-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Wheel Controls */
.wheel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.wheel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wheel-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.wheel-nav-btn:active {
    transform: scale(0.95);
}

/* Wheel Indicators */
.wheel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.wheel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.wheel-indicator:hover {
    background: #cbd5e1;
    transform: scale(1.2);
}

.wheel-indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Selected Category Info */
.selected-category-info {
    text-align: center;
    margin-top: 60px;
    padding: 40px 24px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(251, 146, 60, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(249, 115, 22, 0.1);
}

.selected-info-content {
    max-width: 600px;
    margin: 0 auto;
}

.selected-category-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 12px 0;
}

.selected-category-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

.selected-explore-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.selected-explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.4);
}

.selected-explore-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wheel-3d {
        width: 300px;
        height: 300px;
    }
    
    .wheel-item {
        width: 240px;
        height: 280px;
        margin-left: -120px;
        margin-top: -140px;
    }
    
    .wheel-item[data-index="0"],
    .wheel-item[data-index="1"],
    .wheel-item[data-index="2"],
    .wheel-item[data-index="3"],
    .wheel-item[data-index="4"],
    .wheel-item[data-index="5"] {
        transform: rotateY(calc(var(--index) * 60deg)) translateZ(380px);
    }
}

@media (max-width: 768px) {
    .categories-wheel-3d {
        padding: 60px 0;
    }
    
    .wheel-3d-container {
        min-height: 500px;
        padding: 20px 10px;
    }
    
    .wheel-3d-scene {
        height: 400px;
    }
    
    .wheel-3d {
        width: 250px;
        height: 250px;
    }
    
    .wheel-item {
        width: 200px;
        height: 240px;
        margin-left: -100px;
        margin-top: -120px;
    }
    
    .wheel-item[data-index="0"],
    .wheel-item[data-index="1"],
    .wheel-item[data-index="2"],
    .wheel-item[data-index="3"],
    .wheel-item[data-index="4"],
    .wheel-item[data-index="5"] {
        transform: rotateY(calc(var(--index) * 60deg)) translateZ(300px);
    }
    
    .wheel-emoji {
        font-size: 48px;
    }
    
    .wheel-title {
        font-size: 18px;
    }
    
    .wheel-desc {
        font-size: 13px;
    }
    
    .wheel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .wheel-controls {
        padding: 0 10px;
    }
    
    .selected-category-title {
        font-size: 24px;
    }
    
    .selected-category-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .wheel-3d-scene {
        height: 350px;
    }
    
    .wheel-3d {
        width: 200px;
        height: 200px;
    }
    
    .wheel-item {
        width: 180px;
        height: 220px;
        margin-left: -90px;
        margin-top: -110px;
    }
    
    .wheel-item[data-index="0"],
    .wheel-item[data-index="1"],
    .wheel-item[data-index="2"],
    .wheel-item[data-index="3"],
    .wheel-item[data-index="4"],
    .wheel-item[data-index="5"] {
        transform: rotateY(calc(var(--index) * 60deg)) translateZ(250px);
    }
    
    .wheel-item-content {
        padding: 20px 16px;
    }
}

/* ========================================
   BANNER STYLE FOR FEATURED APPS & COURSES
   ======================================== */

.section-banner .apps-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

/* Banner-style app card */
.section-banner .app-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 280px;
}

.section-banner .app-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.section-banner .app-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.section-banner .app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.section-banner .app-card:hover .app-card-image img {
    transform: scale(1.08);
}

.section-banner .app-card-content {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-banner .app-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.section-banner .app-card-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-banner .app-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.section-banner .app-category,
.section-banner .app-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-banner .app-category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
}

.section-banner .app-status.active {
    background: #d1fae5;
    color: #065f46;
}

.section-banner .app-status.coming_soon {
    background: #fef3c7;
    color: #92400e;
}

.section-banner .app-card-actions {
    display: flex;
    gap: 12px;
}

.section-banner .app-card-actions .btn-primary,
.section-banner .app-card-actions .btn-coming-soon {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.section-banner .app-card-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.section-banner .app-card-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.section-banner .app-card-actions .btn-coming-soon {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}

/* Alternate layout for variety */
.section-banner .app-card:nth-child(even) {
    grid-template-columns: 1fr 400px;
}

.section-banner .app-card:nth-child(even) .app-card-image {
    order: 2;
}

.section-banner .app-card:nth-child(even) .app-card-content {
    order: 1;
}

/* Grid view toggle */
.section-banner.view-grid .apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.section-banner.view-grid .app-card {
    grid-template-columns: 1fr;
    height: auto;
}

.section-banner.view-grid .app-card-image {
    height: 220px;
}

.section-banner.view-grid .app-card:nth-child(even) {
    grid-template-columns: 1fr;
}

.section-banner.view-grid .app-card:nth-child(even) .app-card-image,
.section-banner.view-grid .app-card:nth-child(even) .app-card-content {
    order: initial;
}

.section-banner.view-grid .app-card-content {
    padding: 24px;
}

.section-banner.view-grid .app-card-title {
    font-size: 22px;
}

.section-banner.view-grid .app-card-description {
    font-size: 14px;
    -webkit-line-clamp: 2;
}

/* Responsive Banner Styles */
@media (max-width: 1024px) {
    .section-banner .app-card {
        grid-template-columns: 350px 1fr;
        height: 260px;
    }
    
    .section-banner .app-card:nth-child(even) {
        grid-template-columns: 1fr 350px;
    }
    
    .section-banner .app-card-content {
        padding: 24px 32px;
    }
    
    .section-banner .app-card-title {
        font-size: 24px;
    }
    
    .section-banner .app-card-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .section-banner .app-card,
    .section-banner .app-card:nth-child(even) {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .section-banner .app-card-image {
        height: 200px;
    }
    
    .section-banner .app-card:nth-child(even) .app-card-image,
    .section-banner .app-card:nth-child(even) .app-card-content {
        order: initial;
    }
    
    .section-banner .app-card-content {
        padding: 24px;
    }
    
    .section-banner .app-card-title {
        font-size: 22px;
    }
    
    .section-banner .app-card-description {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .section-banner .app-card-image {
        height: 180px;
    }
    
    .section-banner .app-card-content {
        padding: 20px;
    }
    
    .section-banner .app-card-title {
        font-size: 20px;
    }
    
    .section-banner .app-card-description {
        font-size: 13px;
    }
    
    .section-banner .app-card-actions .btn-primary,
    .section-banner .app-card-actions .btn-coming-soon {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* ========================================
   3D VERTICAL WHEEL FOR FEATURED APPS
   ======================================== */

.section-vertical-wheel {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.vertical-wheel-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 40px 20px;
    position: relative;
    min-height: 700px;
}

.vertical-wheel-scene {
    width: 100%;
    height: 600px;
    perspective: 2000px;
    perspective-origin: 50% 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-wheel {
    width: 900px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

/* Vertical Wheel Items */
.vertical-wheel-item {
    position: absolute;
    width: 850px;
    height: 400px;
    left: 50%;
    top: 50%;
    margin-left: -425px;
    margin-top: -200px;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.vertical-wheel-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.vertical-wheel-item:hover .vertical-wheel-item-inner {
    transform: scale(1.02) translateZ(20px);
}

.vertical-wheel-item-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    background: white;
    display: grid;
    grid-template-columns: 450px 1fr;
}

/* Item Image */
.vertical-wheel-item-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.vertical-wheel-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vertical-wheel-item:hover .vertical-wheel-item-overlay {
    opacity: 1;
}

/* Item Content */
.vertical-wheel-item-content {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.vertical-item-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    width: fit-content;
}

.vertical-item-status.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.vertical-item-status.coming-soon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.vertical-item-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.vertical-item-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vertical-item-category {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    width: fit-content;
}

.vertical-item-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.vertical-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.4);
}

.vertical-item-btn.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.vertical-item-btn.disabled:hover {
    transform: none;
}

/* Vertical Wheel Controls */
.vertical-wheel-controls {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    z-index: 10;
}

.vertical-wheel-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.vertical-wheel-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.4);
}

.vertical-wheel-nav-btn:active {
    transform: scale(0.95);
}

/* Progress Indicators */
.vertical-wheel-progress {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-text span {
    color: var(--primary-color);
    font-size: 18px;
}

/* Responsive Vertical Wheel */
@media (max-width: 1200px) {
    .vertical-wheel {
        width: 750px;
        height: 380px;
    }
    
    .vertical-wheel-item {
        width: 700px;
        height: 340px;
        margin-left: -350px;
        margin-top: -170px;
    }
    
    .vertical-wheel-item-front {
        grid-template-columns: 380px 1fr;
    }
    
    .vertical-wheel-item-content {
        padding: 32px 40px;
    }
    
    .vertical-item-title {
        font-size: 30px;
    }
    
    .vertical-item-desc {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .vertical-wheel-scene {
        height: 500px;
    }
    
    .vertical-wheel {
        width: 600px;
        height: 320px;
    }
    
    .vertical-wheel-item {
        width: 560px;
        height: 300px;
        margin-left: -280px;
        margin-top: -150px;
    }
    
    .vertical-wheel-item-front {
        grid-template-columns: 300px 1fr;
    }
    
    .vertical-wheel-item-content {
        padding: 24px 32px;
    }
    
    .vertical-item-title {
        font-size: 26px;
    }
    
    .vertical-item-desc {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .vertical-wheel-container {
        min-height: 600px;
        padding: 20px 10px;
    }
    
    .vertical-wheel-scene {
        height: 450px;
    }
    
    .vertical-wheel {
        width: 100%;
        max-width: 500px;
        height: 280px;
    }
    
    .vertical-wheel-item {
        width: 90%;
        max-width: 460px;
        height: 260px;
        margin-left: -45%;
        margin-top: -130px;
    }
    
    .vertical-wheel-item-front {
        grid-template-columns: 1fr;
        grid-template-rows: 140px 1fr;
    }
    
    .vertical-wheel-item-content {
        padding: 20px 24px;
    }
    
    .vertical-item-title {
        font-size: 22px;
    }
    
    .vertical-item-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .vertical-item-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .vertical-wheel-controls {
        right: 10px;
    }
    
    .vertical-wheel-nav-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .vertical-wheel-scene {
        height: 400px;
    }
    
    .vertical-wheel {
        max-width: 420px;
        height: 250px;
    }
    
    .vertical-wheel-item {
        max-width: 380px;
        height: 230px;
        margin-top: -115px;
    }
    
    .vertical-wheel-item-front {
        grid-template-rows: 120px 1fr;
    }
    
    .vertical-wheel-item-content {
        padding: 16px 20px;
    }
    
    .vertical-item-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .vertical-item-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .vertical-item-category {
        padding: 6px 16px;
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .vertical-item-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* ============================================
   MARKETING SECTIONS - Launch Promo & Pricing CTA
   ============================================ */

/* Launch Special Banner */
.launch-promo-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 24px 0;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.promo-text {
    flex: 1;
    min-width: 300px;
}

.promo-text h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin: 0;
}

.promo-cta-btn {
    background: white;
    color: #059669;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.promo-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f0fdf4;
}

/* Pricing CTA Section */
.pricing-cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    margin: 60px 0;
}

.pricing-cta-content {
    text-align: center;
}

.pricing-hero h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 48px;
}

.pricing-plans-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.plan-popular {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.plan-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-free .plan-badge {
    background: #e5e7eb;
    color: #374151;
}

.plan-premium .plan-badge.popular {
    background: #3b82f6;
    color: white;
}

.plan-professional .plan-badge {
    background: #8b5cf6;
    color: white;
}

.plan-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.plan-price {
    margin-bottom: 24px;
}

.plan-price .price {
    font-size: 48px;
    font-weight: 800;
    color: #3b82f6;
}

.plan-price .period {
    font-size: 16px;
    color: #6b7280;
}

.plan-features-short {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.plan-features-short li {
    padding: 10px 0;
    color: #374151;
    font-size: 15px;
}

.plan-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    margin-top: 24px;
}

.plan-cta-primary {
    background: #3b82f6;
    color: white;
}

.plan-cta-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.plan-cta-secondary {
    background: #f3f4f6;
    color: #374151;
}

.plan-cta-secondary:hover {
    background: #e5e7eb;
}

.pricing-cta-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.pricing-cta-footer p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 16px;
}

.view-all-plans {
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s;
}

.view-all-plans:hover {
    transform: translateX(4px);
    color: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .promo-content {
        text-align: center;
        justify-content: center;
    }
    
    .promo-text h3 {
        font-size: 20px;
    }
    
    .promo-text p {
        font-size: 14px;
    }
    
    .pricing-hero h2 {
        font-size: 32px;
    }
    
    .pricing-subtitle {
        font-size: 16px;
    }
    
    .pricing-plans-preview {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .plan-popular {
        transform: scale(1);
    }
    
    .plan-card:hover,
    .plan-popular:hover {
        transform: translateY(-4px);
    }
}
