:root {
    --primary-color: rgb(79, 70, 229);
    --primary-hover: rgb(67, 56, 202);
    --secondary-color: rgb(14, 165, 233);
    --dark-bg: rgb(15, 23, 42);
    --light-bg: rgb(248, 250, 252);
    --text-dark: rgb(30, 41, 59);
    --text-muted: rgb(100, 116, 139);
    --card-border: rgba(226, 232, 240, 0.8);
    --gradient-primary: linear-gradient(135deg, rgb(79, 70, 229) 0%, rgb(14, 165, 233) 100%);
    --gradient-subtle: linear-gradient(180deg, rgb(248, 250, 252) 0%, rgb(255, 255, 255) 100%);
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgb(241, 245, 249);
}
::-webkit-scrollbar-thumb {
    background: rgb(203, 213, 225);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(148, 163, 184);
}

/* Navbar Styling */
.navbar {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 8px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-custom-primary {
    background: var(--gradient-primary);
    color: rgb(255, 255, 255);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    color: rgb(255, 255, 255);
}

.btn-custom-outline {
    border: 2px solid rgb(226, 232, 240);
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    background: rgb(255, 255, 255);
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgb(248, 250, 252);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px 0;
    background: var(--gradient-subtle);
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-card-preview {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--card-border);
    transition: transform 0.5s ease;
}

.hero-card-preview:hover {
    transform: translateY(-5px);
}

/* Stats Cards in Hero */
.floating-stat-card {
    position: absolute;
    background: rgb(255, 255, 255);
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.stat-card-1 {
    bottom: -20px;
    right: -20px;
}

.stat-card-2 {
    top: 20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.feature-card {
    background: rgb(255, 255, 255);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 20px 30px rgba(79, 70, 229, 0.08);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(79, 70, 229, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--gradient-primary);
    color: rgb(255, 255, 255);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Call To Action Banner */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: 28px;
    padding: 60px 40px;
    color: rgb(255, 255, 255);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.25);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.btn-cta-light {
    background: rgb(255, 255, 255);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
}

.btn-cta-light:hover {
    background: rgb(248, 250, 252);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-hover);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: rgb(148, 163, 184);
    padding: 70px 0 30px 0;
}

footer h5 {
    color: rgb(255, 255, 255);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: rgb(148, 163, 184);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer ul li a:hover {
    color: rgb(255, 255, 255);
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    color: rgb(148, 163, 184);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: rgb(255, 255, 255);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding-top: 25px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 100px 0 60px 0;
    }
    .floating-stat-card {
        display: none;
    }
}