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

:root {
    --primary: #1e5b94;
    --primary-dark: #154670;
    --primary-light: #2a7ab8;
    --accent: #10b981;
    --accent-dark: #059669;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.sticky-hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.header-cta {
    font-size: 14px;
    padding: 10px 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Sticky Footer Bar (Mobile) */
.sticky-footer-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 15px;
}

.sticky-footer-bar .container {
    display: flex;
    gap: 10px;
}

.sticky-footer-bar .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 15px;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 91, 148, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 91, 148, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    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 {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* Hero Form */
.hero-with-form {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.hero-form-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.hero-form-card p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 91, 148, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 400;
    margin: 0;
}

.checkbox-group a {
    color: var(--primary);
}

.form-disclaimer {
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-medium);
}

.trust-badge-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* Urgency Bar */
.urgency-bar {
    background: linear-gradient(90deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgency-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.urgency-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.urgency-bar p {
    font-weight: 600;
    font-size: 15px;
}

.urgency-bar .btn {
    padding: 8px 20px;
    font-size: 13px;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    gap: 8px;
    align-items: center;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 44px;
}

.countdown-item .number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.countdown-item .label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 91, 148, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.6;
}

.section-header.light .section-title,
.section-header.light .section-description {
    color: white;
}

section {
    padding: 80px 0;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.benefit-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.6;
}

/* Lead Magnets Section */
.lead-magnets-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.lead-magnets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.lead-magnet-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.lead-magnet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.lead-magnet-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 24px;
    color: white;
}

.lead-magnet-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.lead-magnet-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.lead-magnet-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lead-magnet-body p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 16px;
    flex: 1;
}

.lead-magnet-list {
    list-style: none;
    margin-bottom: 20px;
}

.lead-magnet-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.lead-magnet-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.lead-magnet-cta {
    width: 100%;
}

/* Social Proof Bar */
.social-proof-bar {
    background: var(--bg-white);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
}

.social-proof-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-proof-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.social-proof-label {
    font-size: 13px;
    color: var(--text-medium);
    max-width: 120px;
    line-height: 1.3;
}

/* Live Activity Feed */
.live-activity {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 16px 0;
    overflow: hidden;
}

.live-activity-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

.live-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 14px;
}

.live-activity-item .pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Program Section */
.program-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.program-features {
    max-width: 800px;
    margin: 0 auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 16px 20px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* Loan Officer Section */
.loan-officer-section {
    background: var(--bg-light);
}

.loan-officer-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.loan-officer-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.placeholder-image {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid rgba(255,255,255,0.3);
}

.placeholder-image span {
    font-size: 64px;
}

.placeholder-image.large {
    width: 240px;
    height: 240px;
}

.placeholder-image.large span {
    font-size: 80px;
}

.loan-officer-info {
    padding: 40px;
}

.loan-officer-info h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.nmls-id {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.loan-officer-bio {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Video Testimonials Section */
.video-testimonials-section {
    background: var(--bg-white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.video-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    position: relative;
}

.video-placeholder::before {
    content: '▶';
    font-size: 48px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s;
}

.video-placeholder:hover::before {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.video-info {
    padding: 24px;
}

.video-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.video-info p {
    color: var(--text-medium);
    font-size: 14px;
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.calculator-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.calculator-card > p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.calculator-result {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.calculator-result.gated {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.calculator-result .result-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.calculator-result .result-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Quiz Styles */
.quiz-question {
    margin-bottom: 20px;
}

.quiz-question p {
    font-weight: 600;
    margin-bottom: 12px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(30, 91, 148, 0.05);
}

.quiz-option input {
    width: auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Appointment Section */
.appointment-section {
    background: var(--bg-white);
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.appointment-info {
    padding: 20px 0;
}

.appointment-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.appointment-info p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.appointment-benefits {
    list-style: none;
}

.appointment-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.appointment-benefits li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.appointment-widget {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 600px;
}

/* Company Section */
.company-section {
    background: var(--bg-light);
}

.company-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-content > p {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.7;
}

.company-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.company-feature {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.company-feature h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.company-feature p {
    color: var(--text-medium);
    font-size: 14px;
}

/* Google Reviews Widget */
.google-reviews-section {
    background: var(--bg-white);
}

.reviews-widget {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.google-logo {
    font-size: 32px;
}

.reviews-rating h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.stars {
    color: #fbbf24;
    font-size: 18px;
}

.rating-text {
    font-size: 13px;
    color: var(--text-medium);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

.review-text {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Loan Types Section */
.loan-types-section {
    background: var(--bg-white);
}

.loan-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.loan-type-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.loan-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.loan-type-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.loan-type-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.loan-type-card > p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

.loan-type-features {
    list-style: none;
    margin-bottom: 24px;
}

.loan-type-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 14px;
}

.loan-type-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

/* Benefits Comparison */
.benefits-comparison-section {
    background: var(--bg-light);
}

.benefits-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-comparison-item {
    text-align: center;
}

.benefit-icon-large {
    font-size: 56px;
    margin-bottom: 20px;
}

.benefit-comparison-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.benefit-comparison-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Eligibility Section */
.eligibility-section {
    background: var(--bg-white);
}

.eligibility-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.eligibility-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.eligibility-text > p {
    color: var(--text-medium);
    margin-bottom: 32px;
}

.eligible-professions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.profession-category h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--primary);
}

.profession-category ul {
    list-style: none;
}

.profession-category li {
    padding: 6px 0;
    color: var(--text-medium);
    font-size: 14px;
}

.eligibility-image .placeholder-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
}

/* Process Section */
.process-section {
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-medium);
    font-size: 14px;
}

/* Bio Section */
.bio-section {
    background: var(--bg-light);
}

.bio-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bio-image-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bio-credentials {
    margin-top: 24px;
    width: 100%;
}

.credential-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 14px;
}

.credential-item:last-child {
    border-bottom: none;
}

.credential-label {
    opacity: 0.8;
}

.credential-value {
    font-weight: 600;
}

.bio-content {
    padding: 40px;
}

.bio-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.bio-text h3 {
    font-size: 20px;
    margin: 32px 0 16px;
}

.bio-text p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
}

.bio-highlights {
    list-style: none;
    margin-bottom: 24px;
}

.bio-highlights li {
    padding: 10px 0;
    color: var(--text-medium);
    border-bottom: 1px solid #e5e7eb;
}

.bio-highlights li:last-child {
    border-bottom: none;
}

.bio-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Company Info Section */
.company-info-section {
    background: var(--bg-white);
}

.company-info-content {
    max-width: 900px;
    margin: 0 auto;
}

.company-description {
    text-align: center;
    margin-bottom: 48px;
}

.company-description p {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.7;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.company-stat {
    text-align: center;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.company-services {
    margin-top: 48px;
}

.company-services h3 {
    text-align: center;
    margin-bottom: 16px;
}

.company-services > p {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.market-item {
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    color: var(--text-medium);
}

/* Contact Page */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.contact-methods {
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-method-info h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-method-info p {
    font-size: 15px;
    font-weight: 600;
}

.contact-hours {
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.contact-hours h4 {
    margin-bottom: 12px;
}

.contact-hours p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

/* Prequalify Page */
.prequalify-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 140px 0 80px;
}

.prequalify-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.prequalify-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.prequalify-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.prequalify-header p {
    opacity: 0.95;
}

.prequalify-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s;
}

.exit-popup-overlay.active .exit-popup {
    transform: scale(1) translateY(0);
}

.exit-popup-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 32px;
    text-align: center;
    position: relative;
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.exit-popup-close:hover {
    background: rgba(255,255,255,0.3);
}

.exit-popup-gift {
    font-size: 56px;
    margin-bottom: 16px;
}

.exit-popup-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.exit-popup-header p {
    opacity: 0.9;
    font-size: 15px;
}

.exit-popup-body {
    padding: 32px;
}

.exit-popup-features {
    list-style: none;
    margin-bottom: 24px;
}

.exit-popup-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-medium);
}

.exit-popup-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.live-chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

.live-chat-button .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.live-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.live-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.live-chat-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.live-chat-body {
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 16px;
}

.chat-message.agent {
    display: flex;
    gap: 10px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-bubble {
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    font-size: 14px;
    color: var(--text-medium);
}

.chat-message.agent .chat-bubble {
    background: rgba(30, 91, 148, 0.1);
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-reply {
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply:hover {
    background: var(--primary);
    color: white;
}

/* Slide-in Form */
.slide-in-form {
    position: fixed;
    right: -400px;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    background: white;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 998;
    transition: right 0.4s ease;
}

.slide-in-form.active {
    right: 0;
}

.slide-in-form-header {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: white;
    padding: 20px;
    border-radius: var(--radius-lg) 0 0 0;
}

.slide-in-form-header h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.slide-in-form-header p {
    font-size: 13px;
    opacity: 0.9;
}

.slide-in-form-body {
    padding: 24px;
}

.slide-in-form-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius) var(--radius) 0 0;
    font-weight: 600;
    cursor: pointer;
    z-index: 997;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

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

/* Inline Lead Form (Sidebar style) */
.inline-lead-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
}

.inline-lead-form h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.inline-lead-form p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-with-form {
        grid-template-columns: 1fr;
    }
    
    .hero-form-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .loan-officer-card,
    .bio-card {
        grid-template-columns: 1fr;
    }
    
    .loan-officer-image,
    .bio-image-section {
        padding: 40px;
    }
    
    .eligibility-content {
        grid-template-columns: 1fr;
    }
    
    .eligibility-image {
        order: -1;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step:nth-child(2)::after {
        display: none;
    }
    
    .appointment-container,
    .calculator-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-widget {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .sticky-footer-bar {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .company-features,
    .company-stats,
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .eligible-professions {
        grid-template-columns: 1fr;
    }
    
    .social-proof-content {
        flex-direction: column;
        text-align: center;
    }
    
    .urgency-bar-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .slide-in-form {
        width: 100%;
        right: -100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        top: auto;
        bottom: 0;
        transform: none;
    }
    
    .slide-in-form.active {
        right: 0;
    }
    
    .slide-in-form-header {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .slide-in-form-trigger {
        display: none;
    }
    
    .live-chat-widget {
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .company-features,
    .company-stats,
    .markets-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .loan-types-grid,
    .benefits-comparison,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Success/Error Messages */
.form-message {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}