/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Custom Variables */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --gradient-start: #4361ee;
    --gradient-end: #3a0ca3;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-text {
    color: var(--primary-color);
    margin-right: 10px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 8px;
    padding: 8px 15px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section .row {
    min-height: calc(100vh - 80px);
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.05));
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: -100px;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-section img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Common Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-text {
    color: var(--text-light);
    margin-bottom: 0;
}

.feature-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

.about-image {
    position: relative;
}

.about-image .main-image {
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-features {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    font-size: 1.2rem;
    margin-left: 10px;
}

/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(58, 12, 163, 0.05));
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.pricing-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 0;
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.pricing-features li i {
    margin-left: 10px;
    color: var(--primary-color);
}

.pricing-features li.disabled {
    color: #ccc;
}

.pricing-features li.disabled i {
    color: #ccc;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

.author-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 100px 0;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 80px 0 30px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand h4 {
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 15px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.back-to-top {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.back-to-top:hover {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

.animate-card {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 20px;
    }
}

.notifications-dropdown .dropdown-menu {
    min-width: 320px;
    max-height: 340px;
    overflow-y: auto;
}

.notifications-dropdown .badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(40%, -30%);
}

.notifications-dropdown .notification-item {
    white-space: normal;
}

.notifications-dropdown .notification-item.unread {
    background-color: #f5f7fb;
    font-weight: 600;
}

.notifications-dropdown .notifications-empty {
    min-width: 320px;
}
