:root {
    --primary-red: #8B0000;
    --secondary-red: #A52A2A;
    --primary-khaki: #F0E68C;
    --secondary-khaki: #BDB76B;
    --dark-red: #660000;
    --light-khaki: #F5F5DC;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.navbar {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-khaki) !important;
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: var(--primary-khaki);
    color: var(--primary-khaki);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--primary-khaki);
    border-color: var(--primary-khaki);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 230, 140, 0.3);
}

.hero-section {
    background: linear-gradient(135deg, var(--light-khaki) 0%, var(--primary-khaki) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    color: var(--primary-red);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 400;
}

.hero-search .form-control {
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-search .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}

.hero-search .btn {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.hero-search .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.hero-stats .stat-item h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.hero-stats .stat-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite;
}

.floating-card .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.features-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.features-section h2 {
    color: var(--primary-red);
    font-weight: 700;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.feature-card h4 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-section {
    background: linear-gradient(135deg, var(--light-gray), var(--light-khaki));
    padding: 5rem 0;
}

.testimonial-section img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
}

.blockquote-footer {
    color: var(--text-light);
    font-size: 1rem;
}

.testimonial-stats h4 {
    color: var(--primary-red);
}

.pricing-preview {
    background-color: var(--white);
    padding: 5rem 0;
}

.pricing-preview h2 {
    color: var(--primary-red);
    font-weight: 700;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-red);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header h4 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    color: var(--text-dark);
}

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

.pricing-features i {
    color: var(--primary-red);
    margin-right: 0.75rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--white);
    font-weight: 700;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-khaki), var(--secondary-khaki));
    border: none;
    color: var(--primary-red);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-khaki), var(--primary-khaki));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 230, 140, 0.4);
    color: var(--dark-red);
}

.btn-outline-primary {
    border-color: var(--primary-khaki);
    color: var(--primary-khaki);
    background: transparent;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-khaki);
    border-color: var(--primary-khaki);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 230, 140, 0.4);
}

.footer {
    background: linear-gradient(135deg, var(--text-dark), #34495e);
    color: var(--white);
}

.footer h5, .footer h6 {
    color: var(--primary-khaki);
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-khaki);
    transform: translateX(5px);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info i {
    color: var(--primary-khaki);
    width: 20px;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .floating-card {
        position: static;
        margin-top: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.pricing-hero {
    background: linear-gradient(135deg, var(--light-khaki) 0%, var(--primary-khaki) 100%);
    padding-top: 120px;
}

.pricing-hero h1 {
    color: var(--primary-red);
    font-weight: 800;
}

.pricing-plans {
    background-color: var(--white);
    padding: 5rem 0;
}

.pricing-icon {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-icon i {
    font-size: 2rem;
    color: var(--primary-red);
    opacity: 0.8;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-footer {
    margin-top: 2rem;
}

.feature-icon-small {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon-small i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-item h5 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.pricing-features {
    background: linear-gradient(135deg, var(--light-gray), var(--light-khaki));
    padding: 5rem 0;
}

.pricing-comparison {
    background-color: var(--white);
    padding: 5rem 0;
}

.comparison-table .table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 1.5rem 1rem;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    border-color: rgba(139, 0, 0, 0.1);
    vertical-align: middle;
}

.pricing-faq {
    background: linear-gradient(135deg, var(--light-gray), var(--light-khaki));
    padding: 5rem 0;
}

.accordion-item {
    border: 1px solid rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    color: var(--primary-red);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-khaki), var(--secondary-khaki));
    color: var(--primary-red);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.accordion-body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.pricing-cta {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 5rem 0;
}

.pricing-cta h2 {
    color: var(--white);
    font-weight: 700;
}

.pricing-cta .lead {
    color: rgba(255, 255, 255, 0.9);
}

.contact-hero {
    background: linear-gradient(135deg, var(--light-khaki) 0%, var(--primary-khaki) 100%);
    padding-top: 120px;
}

.contact-hero h1 {
    color: var(--primary-red);
    font-weight: 800;
}

.contact-form {
    background-color: var(--white);
    padding: 5rem 0;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.contact-card h3 {
    color: var(--primary-red);
    font-weight: 600;
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    height: 100%;
}

.contact-info-card h4 {
    color: var(--white);
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-details h6 {
    color: var(--primary-khaki);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.4;
}

.response-time {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.response-time h6 {
    color: var(--primary-khaki);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.response-time p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-benefits {
    background: linear-gradient(135deg, var(--light-gray), var(--light-khaki));
    padding: 5rem 0;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.benefit-card h5 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.legal-hero {
    background: linear-gradient(135deg, var(--light-khaki) 0%, var(--primary-khaki) 100%);
    padding-top: 120px;
}

.legal-hero h1 {
    color: var(--primary-red);
    font-weight: 800;
}

.legal-content {
    background-color: var(--white);
    padding: 5rem 0;
}

.legal-document {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.legal-document h2 {
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-khaki);
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    color: var(--secondary-red);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-document p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-document ul {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-document li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background: linear-gradient(135deg, var(--light-khaki), var(--primary-khaki));
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 500;
}
