/* ============================================
   المنصة التعليمية الذكية - Stylesheet
   Saudi Educational Technology Company
   Version: 1.0.0
   Author: Smart Education Platform
   
   Table of Contents:
   1. CSS Variables & Root
   2. Base Styles & Reset
   3. Typography
   4. Preloader
   5. Navbar
   6. Hero Section
   7. Trusted By Section
   8. Statistics Section
   9. Products Section
   10. AI Section
   11. Dashboard Section
   12. Timeline Section
   13. Testimonials Section
   14. Pricing Section
   15. FAQ Section
   16. Contact Section
   17. Footer
   18. Utilities & Components
   19. Animations
   20. Responsive Styles
============================================= */

/* ============================================
   1. CSS Variables & Root
============================================= */
:root {
    /* Primary Colors */
    --primary: #0B57D0;
    --primary-light: #4285F4;
    --primary-dark: #0842A0;
    --primary-rgb: 11, 87, 208;
    
    /* Secondary Colors */
    --secondary: #00AEEF;
    --secondary-light: #33C1F3;
    --secondary-dark: #0096D6;
    --secondary-rgb: 0, 174, 239;
    
    /* Neutral Colors */
    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-lighter: #334155;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --light: #F8FAFC;
    --white: #FFFFFF;
    
    /* Accent Colors */
    --success: #10B981;
    --success-light: #34D399;
    --success-dark: #059669;
    --warning: #F59E0B;
    --warning-light: #FBBF24;
    --warning-dark: #D97706;
    --danger: #EF4444;
    --danger-light: #F87171;
    --danger-dark: #DC2626;
    --info: #06B6D4;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --pink: #EC4899;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0B57D0 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-ai: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 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);
    --shadow-primary: 0 10px 40px -10px rgba(var(--primary-rgb), 0.4);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-preloader: 9999;
}

/* ============================================
   2. Base Styles & Reset
============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ============================================
   3. Typography
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

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

p {
    margin-bottom: 1rem;
}

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

/* ============================================
   4. Preloader
============================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse 1.5s ease infinite;
}

.preloader-icon i {
    font-size: 40px;
    color: var(--white);
}

.preloader-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

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

/* ============================================
   5. Navbar
============================================= */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    z-index: var(--z-fixed);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.navbar:not(.scrolled) .logo-icon {
    color: var(--white);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    transition: var(--transition);
}

.navbar:not(.scrolled) .logo-text {
    color: var(--white);
}

.navbar-nav {
    gap: 5px;
}

.navbar .nav-link {
    color: var(--dark);
    font-weight: 600;
    padding: 10px 18px !important;
    border-radius: var(--radius);
    transition: var(--transition);
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    margin-top: 10px;
    min-width: 220px;
}

.navbar .dropdown-item {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.navbar .dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.navbar .dropdown-item i {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    padding: 10px;
    border-radius: var(--radius);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F172A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-cta {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px -10px rgba(var(--primary-rgb), 0.5);
    color: var(--white);
}

/* ============================================
   6. Hero Section
============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float-shape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    top: 50%;
    left: 30%;
    animation: float-shape 18s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--success);
    bottom: 20%;
    right: 20%;
    animation: float-shape 12s ease-in-out infinite reverse;
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: var(--warning);
    top: 30%;
    left: 10%;
    animation: float-shape 10s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.hero-content {
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--warning);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title .gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--secondary) 0%, #00E5FF 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.btn-hero.btn-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
    box-shadow: var(--shadow-xl);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.3);
    background: var(--white);
    color: var(--primary);
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.hero-feature i {
    color: var(--success);
    font-size: 16px;
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    padding: 20px;
}

.mockup-wrapper {
    position: relative;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.floating-card-3 {
    top: 40%;
    right: -30px;
    animation-delay: 2s;
}

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

.floating-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.floating-icon.bg-success { background: var(--success); }
.floating-icon.bg-primary { background: var(--primary); }
.floating-icon.bg-warning { background: var(--warning); }

.floating-content {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.floating-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

/* Dashboard Mockup */
.mockup-dashboard {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-header {
    background: var(--gray-100);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C840; }

.dashboard-url {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    background: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
}

.dashboard-content {
    display: flex;
    min-height: 350px;
}

.dashboard-sidebar {
    width: 60px;
    background: var(--dark);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: var(--primary);
    color: var(--white);
}

.dashboard-main {
    flex: 1;
    padding: 20px;
    background: var(--gray-50);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 15px;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-align: center;
}

.stat-card i {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-card span {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.stat-card small {
    font-size: 11px;
    opacity: 0.9;
}

.stat-blue { background: var(--primary); }
.stat-green { background: var(--success); }
.stat-purple { background: var(--purple); }

.dashboard-chart {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100px;
    gap: 10px;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: var(--transition);
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   7. Trusted By Section
============================================= */
.trusted-section {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.trusted-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.trusted-title {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 500;
}

.trusted-logos {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 40px;
    animation: scroll-logos 30s linear infinite;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.logo-placeholder:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.logo-placeholder i {
    font-size: 28px;
    color: var(--primary);
}

.logo-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

/* ============================================
   8. Statistics Section
============================================= */
.statistics-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.stats-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.stat-box:hover {
    background: var(--gray-50);
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-plus, .stat-percent {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   9. Products Section
============================================= */
.products-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 40px;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-primary::before { background: var(--primary); }
.product-card-secondary::before { background: var(--secondary); }
.product-card-success::before { background: var(--success); }
.product-card-warning::before { background: var(--warning); }

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.product-card-primary .product-icon {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.product-card-secondary .product-icon {
    background: rgba(0, 174, 239, 0.1);
    color: var(--secondary);
}

.product-card-success .product-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.product-card-warning .product-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

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

.product-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-features {
    margin-bottom: 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--success);
}

.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gray-100);
    color: var(--dark);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.btn-product:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-product i {
    transition: var(--transition);
}

.btn-product:hover i {
    transform: translateX(-5px);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.product-badge-new {
    background: var(--success);
}

/* ============================================
   10. AI Section
============================================= */
.ai-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.ai-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ai-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-ai);
}

.ai-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 35px;
    height: 100%;
    transition: var(--transition);
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.ai-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.ai-card-title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.ai-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ai-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.ai-card-cta {
    background: var(--gradient-primary);
    border: none;
    text-align: center;
}

.ai-card-cta .ai-card-icon {
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 25px;
}

.ai-card-cta .btn-light {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}

.ai-card-cta .btn-light:hover {
    background: var(--gray-100);
}

/* ============================================
   11. Dashboard Section
============================================= */
.dashboard-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.dashboard-tabs {
    margin-bottom: 40px;
}

.dashboard-tabs .nav-pills {
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dashboard-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    color: var(--gray-600);
    font-weight: 600;
    transition: var(--transition);
}

.dashboard-tabs .nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.dashboard-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.dashboard-tabs .nav-link i {
    font-size: 18px;
}

.dashboard-content {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-preview {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.preview-header {
    background: var(--gray-100);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

.preview-body {
    display: flex;
    min-height: 500px;
}

.preview-sidebar {
    width: 70px;
    background: var(--dark);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-logo {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 30px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
    cursor: pointer;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-light);
}

.preview-main {
    flex: 1;
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
}

.preview-topbar {
    background: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-50);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: var(--gray-400);
    font-size: 14px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-500);
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.preview-content {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.preview-welcome {
    margin-bottom: 25px;
}

.preview-welcome h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.preview-welcome p {
    color: var(--gray-500);
    margin: 0;
}

.preview-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.preview-stat-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-stat-card i {
    font-size: 28px;
    opacity: 0.9;
}

.preview-stat-card.blue { background: var(--primary); }
.preview-stat-card.green { background: var(--success); }
.preview-stat-card.purple { background: var(--purple); }
.preview-stat-card.orange { background: var(--warning); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-info .stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.preview-charts {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.preview-chart-card,
.preview-activity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.preview-chart-card h5,
.preview-activity-card h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
}

.chart-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.chart-bar-item .bar {
    width: 30px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.chart-bar-item span {
    font-size: 12px;
    color: var(--gray-500);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.activity-icon.blue { background: var(--primary); }
.activity-icon.green { background: var(--success); }
.activity-icon.purple { background: var(--purple); }

.activity-info {
    flex: 1;
}

.activity-info span {
    display: block;
    font-size: 13px;
    color: var(--gray-700);
}

.activity-info small {
    font-size: 11px;
    color: var(--gray-400);
}

/* Teacher Panel Styles */
.preview-schedule {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.preview-schedule h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.schedule-item:hover {
    background: var(--gray-100);
}

.schedule-time {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 60px;
}

.schedule-info {
    flex: 1;
}

.schedule-subject {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.schedule-info small {
    color: var(--gray-500);
    font-size: 12px;
}

.schedule-badge {
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.schedule-badge.active {
    background: var(--success);
    color: var(--white);
}

/* Student Panel Styles */
.preview-progress-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
}

.progress-card,
.courses-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.progress-card {
    text-align: center;
}

.progress-card h5,
.courses-card h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.progress-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
}

.progress-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 8;
}

.progress-fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke: var(--primary);
}

.progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.progress-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin: 0;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
}

.course-item:last-child {
    border-bottom: none;
}

.course-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.course-icon.math { background: var(--primary); }
.course-icon.science { background: var(--success); }
.course-icon.arabic { background: var(--purple); }

.course-info {
    flex: 1;
}

.course-info span {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.course-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.course-progress .progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.course-percent {
    font-weight: 700;
    color: var(--primary);
}

/* Parent Panel Styles */
.children-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.child-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.child-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.child-avatar.female {
    background: var(--pink);
}

.child-info {
    flex: 1;
}

.child-info h6 {
    font-size: 1.125rem;
    margin-bottom: 3px;
    color: var(--dark);
}

.child-info span {
    font-size: 13px;
    color: var(--gray-500);
}

.child-stats {
    display: flex;
    gap: 25px;
}

.child-stat {
    text-align: center;
}

.child-stat .stat-label {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 3px;
}

.child-stat .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.child-stat .stat-value.success {
    color: var(--success);
}

.child-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.notifications-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.notifications-card h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.notification-icon.success { background: var(--success); }
.notification-icon.warning { background: var(--warning); }

.notification-content {
    flex: 1;
}

.notification-content span {
    display: block;
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 3px;
}

.notification-content small {
    font-size: 11px;
    color: var(--gray-400);
}

/* ============================================
   12. Timeline Section
============================================= */
.timeline-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.timeline-wrapper {
    position: relative;
    margin-top: 60px;
}

.timeline-line {
    display: none;
}

.timeline-item {
    position: relative;
    padding-top: 50px;
    height: 100%;
}

.timeline-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
    z-index: 2;
}

.timeline-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 35px;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
    transform: translateY(-5px);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 25px;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.timeline-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.timeline-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.timeline-points li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   13. Testimonials Section
============================================= */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonials-swiper {
    padding: 30px 10px 60px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 18px;
}

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

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

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.author-avatar.female {
    background: var(--pink);
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Swiper Customization */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: var(--radius-full);
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   14. Pricing Section
============================================= */
.pricing-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.toggle-label {
    font-weight: 600;
    color: var(--gray-600);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.toggle-badge {
    background: var(--success);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 45px 35px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card-featured:hover {
    transform: scale(1.07);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 25px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.pricing-price {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-500);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.custom-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-features {
    flex: 1;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 14px;
    width: 22px;
    text-align: center;
}

.pricing-features li.included {
    color: var(--gray-700);
}

.pricing-features li.included i {
    color: var(--success);
}

.pricing-features li.not-included {
    color: var(--gray-400);
}

.pricing-features li.not-included i {
    color: var(--gray-300);
}

.btn-pricing {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.btn-pricing.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-primary);
}

.btn-pricing.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
}

.btn-pricing.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-pricing.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.pricing-note {
    color: var(--gray-500);
}

.pricing-note i {
    color: var(--primary);
}

/* ============================================
   15. FAQ Section
============================================= */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.faq-header {
    position: sticky;
    top: 100px;
}

.faq-header .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.faq-header .section-description {
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-accordion .accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    background: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B57D0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button i {
    color: var(--primary);
}

.faq-accordion .accordion-body {
    padding: 0 30px 25px;
    color: var(--gray-600);
    line-height: 1.9;
}

/* ============================================
   16. Contact Section
============================================= */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 50px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 18px;
    pointer-events: none;
}

.textarea-wrapper i {
    top: 20px;
    transform: none;
}

.form-control,
.form-select {
    padding: 16px 18px 16px 50px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: none;
}

.btn-submit {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.contact-info-card {
    background: var(--dark);
    border-radius: var(--radius-2xl);
    padding: 45px;
    color: var(--white);
    flex: 1;
}

.contact-info-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-info-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.info-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.contact-social h5 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-500);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
}

.map-placeholder span {
    font-weight: 600;
}

.map-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   17. Footer
============================================= */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-light);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 350px;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.badge-item i {
    color: var(--success);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: var(--white);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 15px 25px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   18. Utilities & Components
============================================= */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: var(--z-fixed);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* Buttons */
.btn {
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ============================================
   19. Animations
============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   20. Responsive Styles
============================================= */

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-card-3 {
        display: none;
    }
    
    .preview-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 80px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius-lg);
        margin-top: 15px;
        box-shadow: var(--shadow-xl);
    }
    
    .navbar:not(.scrolled) .navbar-collapse .nav-link {
        color: var(--gray-700);
    }
    
    .navbar-cta {
        margin-top: 15px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-mockup {
        margin-top: 60px;
    }
    
    .floating-card {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .preview-body {
        flex-direction: column;
    }
    
    .preview-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        padding: 15px;
    }
    
    .sidebar-menu {
        flex-direction: row;
    }
    
    .preview-charts {
        grid-template-columns: 1fr;
    }
    
    .preview-progress-section {
        grid-template-columns: 1fr;
    }
    
    .faq-header {
        position: static;
        margin-bottom: 40px;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .pricing-card-featured:hover {
        transform: translateY(-10px);
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-wrapper {
        padding: 40px 25px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .product-card {
        padding: 30px;
    }
    
    .ai-card {
        padding: 25px;
    }
    
    .dashboard-tabs .nav-pills {
        flex-direction: column;
        width: 100%;
    }
    
    .dashboard-tabs .nav-link {
        justify-content: center;
    }
    
    .preview-content {
        padding: 20px;
    }
    
    .preview-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .child-card {
        flex-wrap: wrap;
    }
    
    .child-stats {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .child-actions {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .testimonials-slider {
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .pricing-price .amount {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .contact-info-card {
        padding: 30px;
    }
    
    .footer-top {
        padding: 60px 0 40px;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
    
    .copyright {
        text-align: center;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    .hero-badge {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-box {
        padding: 20px 10px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .stat-number {
        font-size: 1.875rem;
    }
    
    .product-card {
        padding: 25px;
    }
    
    .timeline-card {
        padding: 25px;
    }
    
    .pricing-card {
        padding: 35px 25px;
    }
    
    .form-control,
    .form-select {
        padding: 14px 18px 14px 45px;
    }
    
    .input-wrapper i {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .scroll-indicator,
    #preloader {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }
    
    section {
        break-inside: avoid;
    }
}
