:root {
    --primary-color: #4c51bf;
    --secondary-color: #5a3c8f;
    --dark-color: #1a202c;
    --darker-bg: #2d3748;
    --light-bg: #edf2f7;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

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

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button-primary {
    background: white;
    color: var(--primary-color);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.cta-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background: #2d3748 !important; /* Dark navy background */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.navbar .nav-link {
    color: #ffffff !important; /* White text */
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover {
    color: #4c51bf !important; /* Primary color on hover */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.navbar .nav-link.active {
    color: #4c51bf !important;
    background: rgba(76, 81, 191, 0.15);
    border-radius: 8px;
}

.navbar .navbar-brand {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.navbar .navbar-brand:hover {
    color: #4c51bf !important;
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar .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='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop dropdown menu */
.navbar .dropdown-menu {
    background: #2d3748;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.navbar .dropdown-item {
    color: #ffffff;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(76, 81, 191, 0.2);
    color: #4c51bf;
}

.navbar .dropdown-item.active {
    background: rgba(76, 81, 191, 0.25);
    color: #4c51bf;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
}

.navbar-brand i {
    color: #4c51bf;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

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

.nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Desktop: Center items */
@media (min-width: 992px) {
    .navbar-center {
        display: flex;
        justify-content: center;
    }
    
    .navbar-center .nav-link {
        margin: 0 8px;
    }
    
    .navbar-right {
        display: flex;
    }
    
    .navbar-right .nav-link {
        margin-left: 10px;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
}

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

.feature-description {
    color: #718096;
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.pricing-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.pricing-card.popular {
    border: 3px solid var(--primary-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.plan-price small {
    font-size: 1.2rem;
    color: #718096;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

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

.plan-features li i {
    color: #48bb78;
    margin-right: 10px;
}

.plan-button {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
}

.plan-button-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.plan-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.plan-button-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.plan-button-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Stats Section */
.stats-section {
    background: var(--darker-bg);
    padding: 80px 0;
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--dark-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    background: #2d3748;
    padding: 25px;
    border-radius: 15px;
}

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

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-info a {
    color: #cbd5e0;
    text-decoration: none;
}

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

/* Mobile Responsive */
@media (max-width: 991px) {
    /* Add padding to navbar */
    .navbar {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Fix hamburger button positioning */
    .navbar-toggler {
        margin-right: 0;
        padding: 8px 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    /* Mobile navigation menu - Clean white background like reference image */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: #ffffff !important;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        border-top: 1px solid rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
    }
    
    .navbar.dark-nav .navbar-collapse {
        background: #ffffff !important; /* Keep white even in dark mode */
    }
    
    /* Stack menu items vertically */
    .navbar-nav {
        padding: 0;
        margin: 0;
    }
    
    .navbar-nav .nav-item {
        padding: 0;
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        color: #2d3748 !important; /* Dark text for white mobile menu */
        margin: 0;
        padding: 16px 20px !important;
        border-radius: 0;
        display: block;
        font-size: 0.95rem;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(76, 81, 191, 0.1);
        color: #4c51bf !important;
    }
    
    .navbar-nav .nav-link.active {
        background: rgba(76, 81, 191, 0.08);
        color: #4c51bf !important;
        font-weight: 600;
    }
    
    .navbar-nav .nav-link i {
        width: 20px;
        display: inline-block;
    }
    
    /* Dropdown in mobile */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: rgba(245, 245, 245, 0.5);
        border: none;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
    
    .dropdown-item {
        color: #2d3748;
        padding: 12px 20px 12px 40px;
        font-size: 0.9rem;
    }
    
    .dropdown-item:hover {
        background: rgba(76, 81, 191, 0.08);
        color: var(--primary-color);
    }
    
    .dropdown-item.active {
        background: transparent;
        color: var(--primary-color);
    }
    
    /* Navbar toggler */
    .navbar-toggler {
        padding: 8px 12px;
        border: 2px solid rgba(45, 55, 72, 0.2);
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        border-color: rgba(45, 55, 72, 0.4);
    }
}
