/* Homepage Custom Styles */
:root {
    --qv-green: #2ecc71;
    /* Vibrant Emerald Green */
    --qv-green-hover: #27ae60;
    /* Darker Green for hover */
    --qv-dark: #064e3b;
    /* Deep Emerald/Forest Black */
    --qv-text-muted: #6c757d;
    --qv-bg-white: #ffffff;
    --qv-bg-soft: #f8f9fa;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #374151;
    /* Softer gray than pure black for better readability */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111827;
    /* Deep charcoal for headings */
}

/* Typography */
h1.display-4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--qv-dark) 0%, var(--qv-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.text-muted-custom {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Specific refined weight for display classes */
.display-6 {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #374151;
    /* Match body color exactly */
    font-weight: 400;
    /* Ensure it's not too thin */
}

/* Specific list style for feature descriptions in body sections */
.premium-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: #374151;
}

.premium-list li i {
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Custom "Premium" Button */
.btn-premium {
    background: linear-gradient(to right, #2ecc71 0%, #219653 100%);
    background-size: 200% auto;
    color: white;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-premium:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 83, 0.4);
    color: white;
}

/* Specific Larger Variation */
.btn-lg-custom {
    font-size: 1.25rem;
    padding: 1rem 3rem;
}

.btn-lg-custom:hover {
    transform: translateY(-4px) scale(1.03);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(80, 227, 194, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--qv-dark);
}

.icon-box i {
    font-size: 1.5rem;
    color: #27ae60;
    /* Darker green for icon */
}

/* Hero Section */
.hero-section {
    padding-top: 9rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #e6f9ed 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative premium glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Navbar overrides for this page if needed */
.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .7);
    font-weight: 500;
}

#mainNav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Bootstrap Overrides for Consistency (Pricing & General) --- */

/* Text Colors */
.text-success {
    color: #27ae60 !important;
    /* True Green to match theme */
}

.text-primary {
    color: var(--qv-dark) !important;
}

/* Backgrounds */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Cards (includes Pricing Cards) */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    color: var(--qv-dark);
}

.card-body {
    padding: 1.5rem;
}

.card ul li {
    margin-bottom: 0.15rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.card-popular {
    border: 2px solid var(--qv-green) !important;
    transform: scale(1.05);
    z-index: 2;
    /* Ensure it stays above others when scaled */
    box-shadow: 0 12px 40px rgba(46, 204, 113, 0.15);
}

@media (max-width: 768px) {
    .card-popular {
        transform: none;
        /* Avoid scaling issues on mobile */
    }
}

.card-popular:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 50px rgba(46, 204, 113, 0.25);
}

@media (max-width: 768px) {
    .card-popular:hover {
        transform: none;
        box-shadow: 0 12px 50px rgba(46, 204, 113, 0.25);
    }
}

/* Standard Buttons redefined to match Premium feel */
.btn-primary {
    background-color: var(--qv-green);
    border-color: var(--qv-green);
    color: var(--qv-dark);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--qv-green-hover) !important;
    border-color: var(--qv-green-hover) !important;
    color: var(--qv-dark) !important;
    box-shadow: 0 4px 10px rgba(80, 227, 194, 0.3);
}

.btn-outline-primary {
    color: var(--qv-dark);
    border-color: var(--qv-dark);
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--qv-dark);
    color: white;
}

.btn-outline-success {
    color: #27ae60;
    border: 2px solid #27ae60;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: transparent;
}

.btn-outline-success:hover {
    background-color: #27ae60;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
    border-color: #27ae60;
}

.btn-info {
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
}

.badge.bg-success {
    background-color: var(--qv-dark) !important;
}

.badge-discount {
    background-color: var(--qv-green) !important;
    color: white !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.25);
}

.table-section-header,
.table-section-header td {
    background-color: #f0fdf4 !important;
    /* Soft Green Background */
    border-top: 1px solid #d1fae5;
    border-bottom: 2px solid #bbf7d0;
}

.table-section-header {
    border-left: 6px solid #2ecc71;
}

.table-section-header h6 {
    color: var(--qv-dark) !important;
    font-weight: 800 !important;
    padding: 0.5rem 0;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

.table-section-header-alt,
.table-section-header-alt td {
    background-color: #dcf7fc !important;
    /* Slightly more saturated soft green */
    border-top: 1px solid #bbf4f7;
    border-bottom: 2px solid #86efed;
}

.table-section-header-alt {
    border-left: 6px solid #2297c5;
}

.table-section-header-alt h6 {
    color: var(--qv-dark) !important;
    font-weight: 800 !important;
    padding: 0.5rem 0;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

/* Links */
a {
    color: var(--qv-dark);
    text-decoration: none;
}

a:hover {
    color: var(--qv-green-hover);
    text-decoration: none;
}

.link-animate {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.link-animate:hover {
    transform: translateX(5px);
}

.link-animate i {
    transition: transform 0.3s ease;
}

.link-animate:hover i {
    transform: translateX(3px);
}


/* Footer Links */
footer {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--qv-green);
    text-decoration: underline;
}

/* --- Custom Styled Switches --- */
.form-switch .form-check-input {
    width: 3rem !important;
    height: 1.5rem !important;
    cursor: pointer;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.form-switch .form-check-input:checked {
    background-color: var(--qv-green) !important;
    border-color: var(--qv-green) !important;
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
    border-color: var(--qv-green);
}

.form-switch .form-check-input:checked:disabled {
    opacity: 0.7;
    background-color: var(--qv-green) !important;
    border-color: var(--qv-green) !important;
}

.form-check-label {
    cursor: pointer;
}

/* --- Custom Styled Range Input --- */
.custom-range::-webkit-slider-thumb {
    background-color: var(--qv-green) !important;
}

.custom-range::-webkit-slider-thumb:active {
    background-color: var(--qv-green-hover) !important;
}

.custom-range::-moz-range-thumb {
    background-color: var(--qv-green) !important;
}

.custom-range::-moz-range-thumb:active {
    background-color: var(--qv-green-hover) !important;
}

.custom-range::-ms-thumb {
    background-color: var(--qv-green) !important;
}

.custom-range::-ms-thumb:active {
    background-color: var(--qv-green-hover) !important;
}

.custom-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(46, 204, 113, 0.25) !important;
}

.custom-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(46, 204, 113, 0.25) !important;
}

.custom-range:focus::-ms-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(46, 204, 113, 0.25) !important;
}