:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 1rem 1rem;
}

.display-4 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.3rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.card-hover {
    transition: all 0.3s ease;
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.card-hover:hover .feature-icon {
    transform: scale(1.1);
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.btn-block {
    font-weight: 600;
    padding: 12px 0;
    border-radius: 0.5rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.5rem;
    border: 1px solid #e1e5eb;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.main-footer {
    background: #fff;
    border-top: 1px solid #e1e5eb;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

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

.brand-text {
    font-weight: 600;
    color: #2c3e50;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Improved Navbar */
.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.15);
}

.custom-navbar.scrolled {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.navbar-dark .navbar-brand .brand-text {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Hero tweaks */
.hero-section {
    background:
        radial-gradient(100% 100% at 0% 0%, rgba(13,110,253,.08), transparent 40%),
        radial-gradient(100% 100% at 100% 0%, rgba(32,201,151,.08), transparent 40%),
        linear-gradient(135deg, #f5f7fa 0%, #e8eef7 100%);
}

.hero-section .btn {
    min-width: 220px;
}

/* Features icon badge */
.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Plans highlight */
.card.featured {
    transform: translateY(-4px);
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 22px rgba(40, 167, 69, 0.12);
}

.card.featured .card-header {
    filter: saturate(120%);
}

/* Footer and socials */
.main-footer {
    background: linear-gradient(#ffffff, #f8f9fa);
}

.social-links a {
    color: #6c757d;
    transition: color .2s ease, transform .2s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Anchor scroll offset */
section {
    scroll-margin-top: 80px;
}

@media (max-width: 576px) {
    .hero-section .btn {
        min-width: 100%;
        margin-bottom: .5rem;
    }
}

.price-display {
    font-size: 2.8rem;
    font-weight: 700;
}

.price-display small {
    font-size: 1.5rem;
    font-weight: 400;
}

.list-unstyled li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.list-unstyled i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.embed-responsive {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

.container {
    max-width: 1200px;
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }
}