/* Ultra Modern Homepage - Revolutionary Design */
:root {
    /* Color System */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary: #ec4899;
    --secondary-dark: #db2777;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);
    --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.4);
    
    /* Border Radius */
    --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: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Ultra Modern Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: var(--transition-slow);
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.loader-animation {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: rotate 2s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: #6366f1;
    animation-delay: 0s;
}

.loader-ring:nth-child(2) {
    border-right-color: #8b5cf6;
    animation-delay: 0.3s;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.loader-ring:nth-child(3) {
    border-bottom-color: #ec4899;
    animation-delay: 0.6s;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.loader-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-align: center;
    animation: fade-text 2s ease-in-out infinite;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.loader-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    animation: progress 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes fade-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes progress {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Ultra Modern Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-normal);
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
    color: white;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.navbar-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition-normal);
    border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Ultra Modern Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

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

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

.particle {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float-particle 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 5px;
    height: 5px;
    top: 70%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.3;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    animation: fade-in-up 1s ease-out 0.5s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    animation: fade-in-up 1s ease-out 0.7s both;
}

.hero-title {
    font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-6xl));
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: #0f172a;
    animation: fade-in-up 1s ease-out 0.9s both;
}

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

.hero-subtitle {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    color: #64748b;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    animation: fade-in-up 1s ease-out 1.1s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    animation: fade-in-up 1s ease-out 1.3s both;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-normal);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-bounce);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    animation: fade-in-up 1s ease-out 1.5s both;
}

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

.hero-stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--space-xs);
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: #64748b;
    font-weight: 600;
}

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

/* Ultra Modern Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-scale 1s ease-out 1.7s both;
}

.hero-visual-element {
    position: relative;
    width: 400px;
    height: 400px;
    animation: float-visual 6s ease-in-out infinite;
}

.visual-orbit {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: rotate-orbit 20s linear infinite;
}

.visual-orbit:nth-child(1) {
    width: 100%;
    height: 100%;
    border-image: var(--gradient-primary) 1;
    opacity: 0.3;
}

.visual-orbit:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-image: var(--gradient-secondary) 1;
    opacity: 0.4;
    animation-direction: reverse;
    animation-duration: 15s;
}

.visual-orbit:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-image: var(--gradient-accent) 1;
    opacity: 0.5;
    animation-duration: 10s;
}

.visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-4xl);
    color: white;
    box-shadow: var(--shadow-2xl);
    z-index: 10;
    animation: pulse-center 3s ease-in-out infinite;
}

.visual-dots {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: orbit-dots 8s linear infinite;
}

.visual-dots:nth-child(4) {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.visual-dots:nth-child(5) {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.visual-dots:nth-child(6) {
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

.visual-dots:nth-child(7) {
    top: 50%;
    left: 10%;
    animation-delay: 6s;
}

@keyframes fade-in-scale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float-visual {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rotate-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-center {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: var(--shadow-2xl);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: var(--shadow-glow);
    }
}

@keyframes orbit-dots {
    from {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

/* Ultra Modern Features Section */
.features-section {
    padding: var(--space-3xl) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-glow);
}

.features-title {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 900;
    color: #0f172a;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.features-subtitle {
    font-size: var(--font-size-xl);
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    align-items: stretch;
}

.feature-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-elastic);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 0.03;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: var(--font-size-2xl);
    color: white;
}

.feature-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-normal);
}

.feature-link:hover {
    gap: var(--space-md);
    color: var(--primary-dark);
}

.feature-link i {
    transition: var(--transition-normal);
}

.feature-link:hover i {
    transform: translateX(4px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: var(--transition-bounce);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Ultra Modern Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-top: 200px;
    }

    .hero-visual-element {
        width: 300px;
        height: 300px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        box-shadow: var(--shadow-xl);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .hero-container {
        padding: 0 var(--space-md);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-visual-element {
        width: 250px;
        height: 250px;
    }

    .features-container {
        padding: 0 var(--space-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-visual-element {
        width: 200px;
        height: 200px;
    }

    .visual-center {
        width: 80px;
        height: 80px;
        font-size: var(--font-size-2xl);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        font-size: var(--font-size-xl);
    }
}

/* Ultra Modern Plans Section */
.plans-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.plans-section .container {
    position: relative;
    z-index: 2;
}

.plans-section .text-center {
    margin-bottom: var(--space-3xl);
}

.plans-section h2 {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 900;
    color: #0f172a;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plans-section .lead {
    font-size: var(--font-size-xl);
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.plan-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: var(--transition-elastic);
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.plan-card:hover::before {
    opacity: 0.02;
}

.plan-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.plan-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.plan-card.featured::after {
    content: 'الأكثر شعبية';
    position: absolute;
    top: var(--space-lg);
    right: -50px;
    background: var(--gradient-secondary);
    color: white;
    padding: var(--space-xs) var(--space-2xl);
    font-size: var(--font-size-sm);
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.plan-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 2;
}

.plan-name {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.plan-price {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.plan-price small {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    font-weight: 600;
}

.plan-header small {
    opacity: 0.9;
    font-weight: 600;
}

.plan-body {
    padding: var(--space-xl);
    position: relative;
    z-index: 2;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl) 0;
}

.plan-features li {
    padding: var(--space-sm) 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition-normal);
}

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

.plan-features li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.plan-features li i {
    color: var(--success);
    font-size: var(--font-size-lg);
    width: 20px;
    text-align: center;
}

.btn-plan {
    background: var(--gradient-primary);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: var(--transition-bounce);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-normal);
}

.btn-plan:hover::before {
    left: 100%;
}

.btn-plan:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
    color: white;
}

.plan-card.featured .btn-plan {
    background: var(--gradient-secondary);
}

.plan-card.featured .btn-plan:hover {
    box-shadow: var(--shadow-glow-pink);
}

/* Plans Section Responsive */
@media (max-width: 1024px) {
    .plan-card.featured {
        transform: none;
        margin-bottom: var(--space-lg);
    }

    .plan-card.featured:hover {
        transform: translateY(-15px) scale(1.02);
    }
}

@media (max-width: 768px) {
    .plans-section {
        padding: var(--space-2xl) 0;
    }

    .plan-header {
        padding: var(--space-lg);
    }

    .plan-body {
        padding: var(--space-lg);
    }

    .plan-name {
        font-size: var(--font-size-xl);
    }

    .plan-price {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .plan-card.featured::after {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-lg);
        right: -var(--space-md);
    }

    .plan-header {
        padding: var(--space-md);
    }

    .plan-body {
        padding: var(--space-md);
    }
}

/* Ultra Modern Testimonials Section */
.testimonials-section {
    padding: var(--space-3xl) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .text-center {
    margin-bottom: var(--space-3xl);
}

.testimonials-section h2 {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 900;
    color: #0f172a;
    margin-bottom: var(--space-md);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-section .lead {
    font-size: var(--font-size-xl);
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-elastic);
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.testimonial-card:hover::before {
    opacity: 0.03;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-2xl);
    position: relative;
    z-index: 2;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.testimonial-text {
    font-style: italic;
    color: #64748b;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    font-size: var(--font-size-lg);
    position: relative;
    z-index: 2;
}

.testimonial-text::before {
    content: '"';
    font-size: var(--font-size-4xl);
    color: var(--accent);
    position: absolute;
    top: -10px;
    right: -5px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-text::after {
    content: '"';
    font-size: var(--font-size-4xl);
    color: var(--accent);
    position: absolute;
    bottom: -20px;
    left: -5px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 700;
    color: #0f172a;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 2;
}

.testimonial-role {
    color: var(--accent);
    font-size: var(--font-size-sm);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Testimonials Section Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: var(--space-2xl) 0;
    }

    .testimonial-card {
        padding: var(--space-lg);
        margin-bottom: var(--space-lg);
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }

    .testimonial-text {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: var(--space-md);
    }

    .testimonial-text::before,
    .testimonial-text::after {
        font-size: var(--font-size-2xl);
    }
}

/* Ultra Modern How It Works Section */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.how-it-works .text-center {
    margin-bottom: var(--space-3xl);
}

.how-it-works h2 {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 900;
    color: #0f172a;
    margin-bottom: var(--space-md);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-it-works .lead {
    font-size: var(--font-size-xl);
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.step-item {
    text-align: center;
    padding: var(--space-xl);
    position: relative;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-elastic);
    border: 1px solid #e2e8f0;
    height: 100%;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.step-item:hover::before {
    opacity: 0.03;
}

.step-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent);
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition-bounce);
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.step-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: #0f172a;
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.step-item:hover .step-title {
    color: var(--accent);
}

.step-description {
    color: #64748b;
    line-height: 1.7;
    font-size: var(--font-size-lg);
    position: relative;
    z-index: 2;
    max-width: 300px;
    margin: 0 auto;
}

/* Step Connection Lines */
.how-it-works .row {
    position: relative;
}

.how-it-works .row::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--secondary));
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.3;
}

/* Step Numbers Animation */
.step-item:nth-child(1) {
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.step-item:nth-child(2) {
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.step-item:nth-child(3) {
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

/* How It Works Responsive */
@media (max-width: 1024px) {
    .how-it-works .row::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: var(--space-2xl) 0;
    }

    .step-item {
        padding: var(--space-lg);
        margin-bottom: var(--space-lg);
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: var(--font-size-2xl);
    }

    .step-title {
        font-size: var(--font-size-xl);
    }

    .step-description {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .step-item {
        padding: var(--space-md);
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: var(--font-size-xl);
    }

    .step-title {
        font-size: var(--font-size-lg);
    }

    .step-description {
        font-size: var(--font-size-sm);
        max-width: 250px;
    }
}

/* ===== SIMPLE FOOTER STYLES ===== */

/* Footer Base Styles */
footer,
.footer-white,
footer.bg-dark {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    color: #0f172a !important;
    padding: 50px 0 25px !important;
    border-top: 2px solid #f1f5f9;
    margin-top: 0 !important;
    font-family: 'Cairo', Arial, sans-serif;
}

/* Footer Container */
footer .container,
.footer-white .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Grid Layout - Improved Alignment */
footer .row,
.footer-white .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
    align-items: flex-start;
    justify-content: space-between;
}

footer .col-md-4,
.footer-white .col-md-4 {
    flex: 0 0 calc(33.333333% - 0px);
    max-width: calc(33.333333% - 0px);
    padding: 0 20px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Footer Headings - Improved Alignment */
footer h5,
.footer-white h5 {
    color: #1e293b !important;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-align: right;
    width: 100%;
    display: block;
}

footer h6,
.footer-white h6 {
    color: #374151 !important;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 18px 0;
    line-height: 1.4;
    text-align: right;
    width: 100%;
    display: block;
}

/* Footer Text - Improved Alignment */
footer p,
.footer-white p {
    color: #6b7280 !important;
    line-height: 1.7;
    font-size: 15px;
    margin: 0 0 15px 0;
    text-align: right;
    width: 100%;
    display: block;
}

/* Override Bootstrap Classes */
footer.bg-dark {
    background: white !important;
}

footer .text-white,
footer .text-white-50,
.footer-white .text-white,
.footer-white .text-white-50 {
    color: #6b7280 !important;
}

/* Footer Sections Styling */
footer .col-md-4 {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

footer .col-md-4:hover {
    background: rgba(99, 102, 241, 0.02);
    transform: translateY(-2px);
}

/* Footer Brand Section */
footer .col-md-4:first-child {
    border-right: 1px solid #e2e8f0;
}

footer .col-md-4:nth-child(2) {
    border-right: 1px solid #e2e8f0;
}

/* Social Media Section Enhancement */
footer .col-md-4:last-child .d-flex {
    flex-wrap: wrap;
    gap: var(--space-sm) !important;
}

/* Footer Links Enhancement */
footer .list-unstyled li:last-child {
    border-bottom: none;
}

/* Copyright Section Enhancement */
footer .text-center {
    background: rgba(99, 102, 241, 0.02);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Footer Lists and Links - Improved Alignment */
footer .list-unstyled,
.footer-white .list-unstyled {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .list-unstyled li,
.footer-white .list-unstyled li {
    margin: 0 0 12px 0;
    line-height: 1.5;
    width: 100%;
    text-align: right;
    display: block;
}

footer .list-unstyled a,
.footer-white .list-unstyled a {
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    width: 100%;
    text-align: right;
    padding: 4px 0;
}

footer .list-unstyled a:hover,
.footer-white .list-unstyled a:hover {
    color: #4f46e5 !important;
    text-decoration: none !important;
}

/* Footer Social Media - Improved Alignment */
footer .d-flex,
.footer-white .d-flex {
    display: flex !important;
    gap: 12px !important;
    margin: 20px 0 0 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

footer .d-flex a,
.footer-white .d-flex a {
    color: #6b7280 !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

footer .d-flex a:hover,
.footer-white .d-flex a:hover {
    color: white !important;
    background: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Footer Contact Info - Improved Alignment */
footer .text-white-50,
.footer-white .text-white-50 {
    color: #6b7280 !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.3s ease;
    width: 100%;
    text-align: right;
    direction: rtl;
}

footer .text-white-50:hover,
.footer-white .text-white-50:hover {
    color: #4f46e5 !important;
}

footer .text-white-50 i,
.footer-white .text-white-50 i {
    color: #4f46e5 !important;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    order: 2;
}

footer .text-white-50 span,
.footer-white .text-white-50 span {
    flex: 1;
    text-align: right;
    order: 1;
}

/* Footer Divider and Copyright - Improved Alignment */
footer hr,
.footer-white hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 35px 0 25px 0 !important;
    width: 100%;
    display: block;
}

footer .text-center,
.footer-white .text-center {
    padding: 20px 0 0;
    border-top: 1px solid #f3f4f6;
    margin: 20px 0 0 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .text-center p,
.footer-white .text-center p {
    color: #9ca3af !important;
    font-size: 14px;
    margin: 0 !important;
    font-weight: 500;
    text-align: center;
    width: 100%;
    display: block;
}

/* Footer Responsive Design - Improved Alignment */
@media (max-width: 768px) {
    footer,
    .footer-white {
        padding: 40px 0 20px !important;
    }

    footer .row,
    .footer-white .row {
        margin: 0 -15px;
        flex-direction: column;
        align-items: center;
    }

    footer .col-md-4,
    .footer-white .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        padding: 0 15px 20px;
        align-items: center;
        text-align: center;
    }

    footer h5,
    footer h6,
    footer p,
    .footer-white h5,
    .footer-white h6,
    .footer-white p {
        text-align: center !important;
    }

    footer .list-unstyled,
    .footer-white .list-unstyled {
        align-items: center;
    }

    footer .list-unstyled li,
    footer .list-unstyled a,
    .footer-white .list-unstyled li,
    .footer-white .list-unstyled a {
        text-align: center !important;
    }

    footer .d-flex,
    .footer-white .d-flex {
        justify-content: center;
        margin: 20px 0 0 0;
    }

    footer .text-white-50,
    .footer-white .text-white-50 {
        justify-content: center;
        max-width: 280px;
        margin: 0 auto 12px;
        direction: ltr;
    }

    footer .text-white-50 i,
    .footer-white .text-white-50 i {
        order: 1;
    }

    footer .text-white-50 span,
    .footer-white .text-white-50 span {
        order: 2;
        text-align: center;
    }
}

@media (max-width: 480px) {
    footer,
    .footer-white {
        padding: 30px 0 15px !important;
    }

    footer .container,
    .footer-white .container {
        padding: 0 15px;
    }

    footer .row,
    .footer-white .row {
        margin: 0 -10px;
    }

    footer .col-md-4,
    .footer-white .col-md-4 {
        margin-bottom: 25px;
        padding: 0 10px 15px;
        align-items: center;
    }

    footer h5,
    .footer-white h5 {
        font-size: 20px;
        margin: 0 0 15px 0;
        text-align: center !important;
    }

    footer h6,
    .footer-white h6 {
        font-size: 16px;
        margin: 0 0 15px 0;
        text-align: center !important;
    }

    footer p,
    .footer-white p {
        font-size: 14px;
        text-align: center !important;
    }

    footer .d-flex,
    .footer-white .d-flex {
        gap: 10px !important;
        justify-content: center;
    }

    footer .d-flex a,
    .footer-white .d-flex a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    footer .text-white-50,
    .footer-white .text-white-50 {
        font-size: 14px;
        max-width: 250px;
    }
}

/* Cleaned up - styles moved above */

/* Cleaned up - divider styles moved above */

/* Cleaned up - contact info styles moved above */

/* Cleaned up - responsive styles moved above */

/* Cleaned up - mobile styles moved above */

/* Bootstrap Overrides and General Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
}

.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-md-4,
.col-md-6 {
    padding: 0 15px;
    margin-bottom: var(--space-lg);
    display: flex;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Ensure all cards have equal height */
.col-lg-4 > *,
.col-md-6 > * {
    width: 100%;
    height: 100%;
}

/* Force 3 columns layout for large screens */
@media (min-width: 1024px) {
    .row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    /* Ensure proper spacing for 3 columns */
    .row .col-lg-4:nth-child(3n+1) {
        clear: left;
    }
}

/* Ensure proper 2 column layout for medium screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .row .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .row .col-lg-4:nth-child(2n+1) {
        clear: left;
    }
}

@media (max-width: 1200px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    .col-lg-3,
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-md-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-dark {
    color: #0f172a !important;
}

.text-muted {
    color: #64748b !important;
}

.text-white {
    color: white !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Display Utilities */
.display-4 {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 900;
    line-height: 1.2;
}

.fw-bold {
    font-weight: 700 !important;
}

.lead {
    font-size: var(--font-size-xl);
    font-weight: 400;
    line-height: 1.7;
}

/* Spacing Utilities */
.mb-3 {
    margin-bottom: var(--space-md) !important;
}

.mb-4 {
    margin-bottom: var(--space-lg) !important;
}

.mb-5 {
    margin-bottom: var(--space-xl) !important;
}

.mt-3 {
    margin-top: var(--space-md) !important;
}

.mt-5 {
    margin-top: var(--space-xl) !important;
}

.my-4 {
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg) !important;
}

.py-5 {
    padding-top: var(--space-xl) !important;
    padding-bottom: var(--space-xl) !important;
}

/* Gap Utilities */
.g-4 > * {
    padding: 0 15px;
    margin-bottom: var(--space-lg);
}

.gap-3 {
    gap: var(--space-md) !important;
}

/* Display Utilities */
.d-flex {
    display: flex !important;
}

.d-none {
    display: none !important;
}

/* List Utilities */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Background Utilities */
.bg-dark {
    background-color: #1e293b !important;
}

/* Font Size Utilities */
.fs-5 {
    font-size: var(--font-size-lg) !important;
}

/* Alert Styling */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    margin-bottom: var(--space-md);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: var(--space-sm);
    background: none;
    border: none;
    font-size: var(--font-size-lg);
    cursor: pointer;
}

/* Additional Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Specific Section Layout Fixes */
.plans-section .row,
.testimonials-section .row,
.how-it-works .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.plans-section .col-lg-4,
.testimonials-section .col-lg-4,
.how-it-works .col-lg-4 {
    display: flex;
    margin-bottom: var(--space-lg);
}

/* Ensure 3 columns in desktop for all sections */
@media (min-width: 1024px) {
    .plans-section .col-lg-4,
    .testimonials-section .col-lg-4,
    .how-it-works .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Ensure 2 columns in tablet for all sections */
@media (min-width: 768px) and (max-width: 1023px) {
    .plans-section .col-lg-4,
    .testimonials-section .col-lg-4,
    .how-it-works .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Ensure 1 column in mobile for all sections */
@media (max-width: 767px) {
    .plans-section .col-lg-4,
    .testimonials-section .col-lg-4,
    .how-it-works .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .page-loader {
        display: none !important;
    }
}
