/* ==========================================================================
   Landing Page Styles
   ========================================================================== */

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Layout --- */
.landing-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-section--alt {
    background: linear-gradient(135deg, #f0fafa 0%, #f8fdfb 100%);
}

.landing-section--dark {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #f3f4f6;
}

/* --- Hero --- */
.hero {
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out 0.2s both;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #e2f3f3 0%, #d1fae5 100%);
    color: var(--bs-secondary, #3b8f8f);
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(142, 217, 217, 0.2);
}

.hero h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #78c9c9 0%, var(--bs-secondary, #3b8f8f) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-size: 1.3em;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
}

.landing-btn {
    padding: 0.75rem 2.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-secondary, #3b8f8f);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

/* --- Feature Cards Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.feature-card {
    padding: 35px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(142, 217, 217, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.25s; }
.feature-card:nth-child(5) { animation-delay: 0.3s; }
.feature-card:nth-child(6) { animation-delay: 0.35s; }
.feature-card:nth-child(7) { animation-delay: 0.4s; }
.feature-card:nth-child(8) { animation-delay: 0.45s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary, #7fbfbf) 0%, var(--bs-secondary, #3b8f8f) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(142, 217, 217, 0.15);
    border-color: var(--bs-primary, #7fbfbf);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary, #7fbfbf), var(--bs-secondary, #3b8f8f));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-icon ion-icon {
    color: white;
    font-size: 1.8rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 143, 143, 0.3);
}

.feature-card h3 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1.25em;
    font-weight: 700;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Feature Expand Toggle --- */
.features-expand-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.features-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: white;
    border: 2px solid rgba(142, 217, 217, 0.4);
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--bs-secondary, #3b8f8f);
    cursor: pointer;
    transition: all 0.25s ease;
}

.features-expand-btn:hover {
    background: #f0fafa;
    border-color: var(--bs-primary, #7fbfbf);
    box-shadow: 0 4px 16px rgba(59, 143, 143, 0.12);
}

.features-expand-btn ion-icon {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.features-expand-btn.is-expanded ion-icon {
    transform: rotate(180deg);
}

/* --- Feature Pill Grid --- */
.features-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    justify-content: center;
    animation: fadeInUp 0.4s ease-out both;
}

.features-pill-grid[hidden] {
    display: none;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 1px solid rgba(142, 217, 217, 0.25);
    border-radius: 50px;
    font-size: 0.88em;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

.feature-pill:hover {
    border-color: var(--bs-primary, #7fbfbf);
    box-shadow: 0 2px 10px rgba(59, 143, 143, 0.1);
    color: var(--bs-secondary, #3b8f8f);
}

.feature-pill ion-icon {
    font-size: 1.1em;
    color: var(--bs-secondary, #3b8f8f);
    flex-shrink: 0;
}

.feature-pill--coming-soon {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: default;
}

.feature-pill--coming-soon:hover {
    border-color: #e5e7eb;
    box-shadow: none;
    color: #9ca3af;
}

.feature-pill--coming-soon ion-icon {
    color: #d1d5db;
}

.feature-pill__badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f3f4f6;
    color: #9ca3af;
    border-radius: 50px;
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    animation: fadeIn 0.6s ease-out both;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #e2f3f3 0%, #d1fae5 100%);
    color: var(--bs-secondary, #3b8f8f);
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(142, 217, 217, 0.2);
}

.section-header h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.15em;
    color: #6b7280;
    line-height: 1.7;
}

.landing-section--dark .section-header h2 {
    color: #f3f4f6;
}

.landing-section--dark .section-header p {
    color: #9ca3af;
}

/* --- Directory CTA Cards --- */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.directory-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(142, 217, 217, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.directory-card:nth-child(1) { animation-delay: 0.1s; }
.directory-card:nth-child(2) { animation-delay: 0.2s; }

.directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(142, 217, 217, 0.12);
}

.directory-card .directory-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2f3f3 0%, #d1fae5 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.directory-card .directory-icon ion-icon {
    font-size: 2.2rem;
    color: var(--bs-secondary, #3b8f8f);
}

.directory-card h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.directory-card p {
    color: #6b7280;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* --- Pricing Section --- */
.pricing-grid {
    display: flex;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 16px;
}

/* Hide scrollbar but keep functionality */
.pricing-grid::-webkit-scrollbar {
    display: none;
}
.pricing-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 36px 28px;
    border: 2px solid rgba(142, 217, 217, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    /* Carousel: fixed width, snap, don't shrink */
    flex: 0 0 270px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* When viewport fits all 4 cards comfortably, share space equally */
@media (min-width: 1024px) {
    .pricing-grid {
        justify-content: center;
    }
    .pricing-card {
        flex: 0 1 280px;
        min-width: 0;
    }
}

/* Push the CTA button to the bottom so cards align vertically */
.pricing-card .btn {
    margin-top: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85em;
}

/* --- Enterprise card --- */
.pricing-card--enterprise {
    border-color: rgba(142, 217, 217, 0.3);
}

.pricing-price--label {
    font-size: 1.6em !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .pricing-card--enterprise {
        flex: 0 0 270px;
    }
}

.pricing-card--featured {
    border-color: var(--bs-primary, #7fbfbf);
    box-shadow: 0 8px 32px rgba(142, 217, 217, 0.2);
}


.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--bs-primary, #7fbfbf) 0%, var(--bs-secondary, #3b8f8f) 100%);
}

.pricing-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: 50px;
    font-size: 0.8em;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge--custom {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
}

#contactPlanBtn:focus,
#contactPlanBtn:focus-visible {
    outline: none;
    box-shadow: none;
}

.contact-copied-toast {
    display: block;
    text-align: center;
    font-size: 0.82em;
    color: #6b7280;
    margin-top: 6px;
    animation: toast-fade 2s ease forwards;
}

@keyframes toast-fade {
    0%   { opacity: 0; transform: translateY(-4px); }
    15%  { opacity: 1; transform: translateY(0); }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}

.pricing-plan-name {
    font-size: 1.5em;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.pricing-amount {
    margin-bottom: 32px;
    min-height: 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-amount .price {
    font-size: 2.6em;
    font-weight: 800;
    color: var(--bs-secondary, #3b8f8f);
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1.1em;
    color: #9ca3af;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    color: #4b5563;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
}

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

.pricing-features li ion-icon {
    color: var(--bs-secondary, #3b8f8f);
    font-size: 1.2em;
    flex-shrink: 0;
}

/* --- Billing Interval Toggle --- */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}

.billing-toggle__label {
    font-size: 1em;
    font-weight: 600;
    color: #9ca3af;
    transition: color 0.25s ease;
    cursor: pointer;
    user-select: none;
}

.billing-toggle__label--active {
    color: #1f2937;
}

.billing-toggle__badge {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: 50px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    margin-left: 4px;
}

.billing-toggle__switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.billing-toggle__switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-toggle__slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 28px;
    transition: background 0.3s ease;
}

.billing-toggle__slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.billing-toggle__switch input:checked + .billing-toggle__slider {
    background: var(--bs-primary, #7fbfbf);
}

.billing-toggle__switch input:checked + .billing-toggle__slider::before {
    transform: translateX(24px);
}

/* --- Language Switcher --- */
.lang-switch-btn {
    font-size: 0.8rem !important;
    padding: 0.2rem 0.6rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    border-radius: 6px !important;
}

/* --- Newsletter Section --- */
.landing-section--newsletter {
    background: linear-gradient(135deg, #d1fae5 0%, #e2f3f3 50%, #d5f0e8 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 200px;
}

.landing-section--newsletter::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(59, 143, 143, 0.06);
    pointer-events: none;
}

.landing-section--newsletter::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(127, 191, 191, 0.08);
    pointer-events: none;
}

.newsletter-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.8s ease-out both;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(59, 143, 143, 0.15);
}

.newsletter-icon ion-icon {
    color: var(--bs-secondary, #3b8f8f);
    font-size: 2rem;
}

.newsletter-content h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.newsletter-subtitle {
    font-size: 1.1em;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 36px;
}

.newsletter-form {
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-field {
    flex: 1;
}

.newsletter-field .form-control {
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid rgba(142, 217, 217, 0.3);
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-field .form-control:focus {
    border-color: var(--bs-secondary, #3b8f8f);
    box-shadow: 0 0 0 4px rgba(59, 143, 143, 0.12);
    outline: none;
}

.newsletter-field .form-control::placeholder {
    color: #9ca3af;
}

.newsletter-btn {
    border-radius: 14px !important;
    padding: 14px 32px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Newsletter Consent --- */
.newsletter-consent {
    text-align: left;
    margin-top: 4px;
}

.newsletter-scope {
    text-align: left;
    margin-top: 12px;
    margin-bottom: 16px;
}

.newsletter-scope-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

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

.newsletter-scope-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: #4b5563;
    cursor: pointer;
}

.newsletter-scope-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--bs-secondary, #3b8f8f);
    cursor: pointer;
}

.newsletter-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85em;
    color: #4b5563;
    line-height: 1.5;
    cursor: pointer;
}

.newsletter-consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--bs-secondary, #3b8f8f);
    flex-shrink: 0;
    cursor: pointer;
}

/* --- Privacy Policy Link (inline in consent text) --- */
.privacy-link {
    color: var(--bs-secondary, #3b8f8f);
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dashed var(--bs-secondary, #3b8f8f);
    font-weight: 600;
    transition: color 0.15s, border-color 0.15s;
}

.privacy-link:hover {
    color: var(--bs-primary, #7fbfbf);
    border-color: var(--bs-primary, #7fbfbf);
}

/* --- Privacy Policy Modal --- */
.privacy-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 24px;
    animation: fadeIn 0.2s ease;
}

.privacy-modal-overlay.is-visible {
    display: flex;
}

.privacy-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.25s ease;
}

.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px 16px;
    border-bottom: 1px solid #eee;
}

.privacy-modal-header h3 {
    margin: 0;
    font-size: 1.15em;
    font-weight: 700;
    color: #2d3e50;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
}

.privacy-modal-close:hover {
    color: #333;
}

.privacy-modal-body {
    padding: 24px 28px 28px;
    overflow-y: auto;
    font-size: 0.92em;
    line-height: 1.7;
    color: #444;
}

.privacy-modal-body h4 {
    font-size: 1em;
    font-weight: 700;
    color: #2d3e50;
    margin: 20px 0 8px;
}

.privacy-modal-body h4:first-child {
    margin-top: 0;
}

.privacy-modal-body p {
    margin: 0 0 10px;
}

.privacy-modal-body ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.privacy-modal-body li {
    margin-bottom: 4px;
}

/* --- Newsletter Messages --- */
.newsletter-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.92em;
    text-align: center;
}

.newsletter-message--error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.newsletter-message--success {
    background: white;
    color: #1f2937;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(59, 143, 143, 0.12);
    animation: fadeInUp 0.5s ease-out both;
}

.newsletter-message--success ion-icon {
    font-size: 2.5rem;
    color: var(--bs-secondary, #3b8f8f);
    display: block;
    margin: 0 auto 12px;
}

.newsletter-message--success strong {
    font-size: 1.3em;
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
}

.newsletter-message--success p {
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Public Directory Pages --- */
.directory-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.directory-page h1 {
    font-size: 2.2em;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.directory-page .lead {
    color: #6b7280;
    margin-bottom: 30px;
}

.filter-bar {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-bar .form-control {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 16px;
}

.filter-bar .form-control:focus {
    border-color: var(--bs-primary, #7fbfbf);
    box-shadow: 0 0 0 0.2rem rgba(127, 191, 191, 0.2);
}

.clinic-card, .staff-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.clinic-card:hover, .staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--bs-primary, #7fbfbf);
}

.clinic-card .card-img-top {
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #e2f3f3 0%, #d1fae5 100%);
}

.clinic-card .card-body, .staff-card .card-body {
    padding: 20px;
}

.clinic-card .card-title, .staff-card .card-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.clinic-card .card-text {
    color: #6b7280;
    font-size: 0.9em;
    line-height: 1.5;
}

.staff-card .staff-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary, #7fbfbf), var(--bs-secondary, #3b8f8f));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.staff-card .clinic-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f0fafa;
    color: var(--bs-secondary, #3b8f8f);
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state ion-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* --- Pagination --- */
.pagination .page-link {
    color: var(--bs-secondary, #3b8f8f);
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #e5e7eb;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-secondary, #3b8f8f);
    border-color: var(--bs-secondary, #3b8f8f);
    color: white;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .landing-section {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.5em;
        letter-spacing: -1px;
    }

    .hero .subtitle {
        font-size: 1.1em;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-pill-grid {
        gap: 10px;
    }

    .feature-pill {
        font-size: 0.83em;
        padding: 9px 14px;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        gap: 30px;
    }

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

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-amount .price {
        font-size: 2.8em;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .newsletter-content h2 {
        font-size: 2em;
    }

    .newsletter-input-row {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}
