/* ============================================
   SolarQZ - Professional Lead Generation Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0f766e;
    --primary-dark: #0d5d57;
    --primary-light: #14b8a6;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md:
        0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
        0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: 3.5rem;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 1.25rem;
}
h4 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.navbar.scrolled .navbar-brand {
    color: var(--dark);
}

.brand-text {
    color: inherit;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--gray-700);
}

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

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

.nav-cta {
    margin-left: 1rem;
    padding: 0.625rem 1.5rem !important;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 50%,
        #065f46 100%
    );
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-cta {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    background: var(--secondary);
    border: none;
}

.hero-cta:hover {
    background: var(--secondary-dark);
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Form Card */
.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.hero-form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-form-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.hero-form-header p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.hero-form .row {
    --bs-gutter-y: 0.625rem;
    --bs-gutter-x: 0.625rem;
}

.hero-form .form-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.125rem;
}

.hero-form .form-control,
.hero-form .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.hero-submit-btn {
    margin-top: 0.875rem;
    padding: 0.75rem;
    font-size: 0.9375rem;
    background: var(--secondary);
    border: none;
}

.hero-submit-btn:hover {
    background: var(--secondary-dark);
}

.hero-form-footer {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
}

.hero-form-footer span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hero-form-footer i {
    color: var(--primary);
}

.hero-form .alert {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.hero-form .field-error {
    font-size: 0.6875rem;
}

/* Interest Level Selector */
.interest-selector {
    display: flex;
    gap: 0.375rem;
}

.interest-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.interest-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.375rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.interest-option i {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.interest-option span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
}

.interest-option:hover {
    border-color: var(--primary-light);
    background: rgba(15, 118, 110, 0.05);
}

.interest-input:checked + .interest-option {
    border-color: var(--primary);
    background: rgba(15, 118, 110, 0.1);
}

.interest-input:checked + .interest-option i {
    color: var(--primary);
}

.interest-input:checked + .interest-option span {
    color: var(--primary);
}

.interest-option-highlight {
    border-color: var(--secondary);
    background: rgba(245, 158, 11, 0.05);
}

.interest-option-highlight i {
    color: var(--secondary);
}

.interest-input:checked + .interest-option-highlight {
    border-color: var(--secondary);
    background: rgba(245, 158, 11, 0.15);
}

.interest-input:checked + .interest-option-highlight i,
.interest-input:checked + .interest-option-highlight span {
    color: var(--secondary-dark);
}

/* SMS Consent */
.sms-consent-wrapper {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.sms-consent-label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    cursor: pointer;
    font-weight: normal;
}

.sms-consent-label input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.sms-consent-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.sms-consent-text i {
    color: var(--primary);
}

.sms-consent-disclaimer {
    display: block;
    font-size: 0.6875rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin-left: 1.625rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    background: var(--gray-50);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
}

.trust-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-section {
    padding: 5rem 0;
    background: var(--white);
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 118, 110, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.benefit-highlight {
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--gray-700);
}

.benefit-highlight strong {
    color: var(--primary);
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(15, 118, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

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

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 5rem 0;
    background: var(--white);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 118, 110, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 1.25rem;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 1.5rem;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Mid-page CTA Section
   ============================================ */
.mid-cta-section {
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
}

.mid-cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.mid-cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ============================================
   Quote Form Section (legacy, kept for reference)
   ============================================ */
.quote-section {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
}

.quote-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.quote-header {
    margin-bottom: 2rem;
}

.quote-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.quote-header p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-section-icon {
    width: 32px;
    height: 32px;
    background: rgba(15, 118, 110, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.form-section-title {
    font-weight: 600;
    color: var(--dark);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.required {
    color: var(--danger);
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

.field-error {
    color: var(--danger);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.submit-btn {
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.125rem;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.form-footer p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-footer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--secondary);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--dark);
    font-size: 0.9375rem;
}

.author-info span {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    font-weight: 600;
    color: var(--dark);
    padding: 1.25rem 1.5rem;
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-200);
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Final CTA Section
   ============================================ */
.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
}

.final-cta-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.site-footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--primary-light);
}

.newsletter-text {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    background: var(--dark-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.875rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-500);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 0.875rem 1.25rem;
}

.footer-divider {
    border-color: var(--dark-light);
    margin: 2rem 0;
}

.copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ============================================
   Alert Styles
   ============================================ */
.alert {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
        padding-top: 140px;
        padding-bottom: 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-form-card {
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav .nav-link {
        color: var(--gray-700);
        padding: 0.75rem 1rem;
    }

    .nav-cta {
        margin: 1rem 0 0;
        width: 100%;
    }

    .section-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
        flex: 1;
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .trust-item {
        flex-direction: column;
        font-size: 0.75rem;
    }

    .quote-card {
        padding: 1.5rem;
    }

    .hero-form-card {
        padding: 1.5rem;
    }

    .hero-form-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .benefit-card,
    .step-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .quote-header h2 {
        font-size: 1.5rem;
    }

    .hero-form-header h2 {
        font-size: 1.25rem;
    }
}
