:root {
    --primary-color: #4a90e2; /* Blue */
    --primary-light: #e8f1fd; /* Light Blue */
    --secondary-color: #f5a623; /* Secondary color */
    --background-color: #fffaf0; /* Creamy white */
    --text-color: #333333; /* Dark text */
    --light-text-color: #6c757d; /* Light text */
    --border-color: #e0e0e0; /* Border color */
    --white: #ffffff; /* White */
    --black: #000000; /* Black */
    --creamy-white: #fff5e6; /* Creamy white */
    --light-blue: #e6f2ff; /* Light blue */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--creamy-white);
}

.navbar-brand .brand-text {
    font-weight: 700;
    color: var(--primary-color);
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.navbar .btn-primary:hover {
    background-color: #3a7bc0;
    border-color: #3a7bc0;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-light) 100%);
    color: var(--text-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Stats Container */
.stats-container {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    padding: 0 1.5rem;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--light-text-color);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.5rem;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Footer */
.footer-section {
    background-color: var(--creamy-white);
    border-top: 1px solid var(--border-color);
}

/* Sign In and Sign Up Pages */
.signin-image, .signup-image {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-light) 100%);
    color: var(--text-color);
}

.signin-form-container, .signup-form-container {
    max-width: 400px;
    width: 100%;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border-color: var(--border-color);
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--white);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #3a7bc0;
    border-color: #3a7bc0;
    transform: translateY(-2px);
    cursor: pointer;
}

.btn-outline-light {
    color: var(--primary-color);
    border-color: var(--primary-color);
    cursor: pointer;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .feature-card, .pricing-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for better keyboard navigation */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode adjustments */
@media (forced-colors: active) {
    .btn-primary, .feature-icon, .pricing-price {
        forced-color-adjust: none;
    }
}

/* Additional aesthetic enhancements */
.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    color: var(--light-text-color);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-creamy-white {
    background-color: var(--creamy-white);
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}