/* ==========================================================================
   Pricing New — Redesigned for Conversion
   ========================================================================== */

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

.pricing-page {
    background-color: black;
    color: #fff;
    padding-bottom: 80px;
    background-image: radial-gradient(circle at 50% 0%, rgba(var(--bs-primary-btn-rgb), 0.04) 0%, transparent 70%);
}

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 3rem; }
.mb-12 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mr-2 { margin-right: 0.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.pricing-hero {
    text-align: center;
    padding: 3.5rem 1.5rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 60%, rgba(var(--bs-primary-btn-rgb), 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    max-width: 650px;
    margin: 0 auto;
}

.pricing-hero .subtitle strong {
    color: rgba(var(--bs-primary-btn-rgb), 1);
}

/* --- "12 more" services link & popup --- */
.more-services-link {
    color: rgba(var(--bs-primary-btn-rgb), 1);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
}

.more-services-link:hover {
    color: rgba(var(--bs-primary-btn-rgb), 0.8);
}

.pricing-hero {
    position: relative;
}

.more-services-popup {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    z-index: 100;
    width: 680px;
    max-width: calc(100vw - 2rem);
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(var(--bs-primary-btn-rgb), 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.more-services-popup.active {
    display: block;
    animation: popupFadeIn 0.2s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.more-services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.more-services-header span {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.more-services-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.more-services-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.more-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.more-services-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.more-services-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(var(--bs-primary-btn-rgb), 0.8);
    margin-bottom: 0.5rem;
    text-align: left;
}

.more-services-col li {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.more-services-col li span {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    text-align: right;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .more-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .more-services-popup {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* ==========================================================================
   2. TRUST BAR
   ========================================================================== */
.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 0.85rem 1.5rem;
    margin: 0 auto 3rem;
    max-width: 750px;
    border-radius: 10px;
    background: rgba(var(--bs-success-rgb), 0.03);
    border: 1px solid rgba(var(--bs-success-rgb), 0.08);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    font-weight: 500;
}

.trust-item i {
    font-size: 1rem;
    color: rgba(var(--bs-success-rgb), 0.85);
}

/* ==========================================================================
   3. BILLING TOGGLE
   ========================================================================== */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pricing-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
}

.pricing-option.active {
    opacity: 1;
}

.pricing-period {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.pricing-amount {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.pricing-savings {
    font-size: 0.75rem;
    color: rgba(var(--bs-success-rgb), 1);
    background: rgba(var(--bs-success-rgb), 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.toggle-switch-wrapper {
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: rgba(var(--bs-success-rgb), 1);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ==========================================================================
   4. PRICING CARDS
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 4rem;
}

.pricing-card {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Premium card — emphasized */
.pricing-card.premium {
    background: linear-gradient(to bottom right, rgba(var(--bs-primary-btn-rgb), 0.06), rgba(var(--bs-primary-btn-rgb), 0.02));
    border: 1px solid rgba(var(--bs-primary-btn-rgb), 0.2);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.premium:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 15px 50px rgba(var(--bs-primary-btn-rgb), 0.15);
}

/* Teams card */
.pricing-card.teams {
    background: linear-gradient(to bottom right, rgba(var(--bs-secondary-rgb), 0.06), rgba(var(--bs-secondary-rgb), 0.03));
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.15);
}

.pricing-card.teams:hover {
    box-shadow: 0 15px 50px rgba(var(--bs-secondary-rgb), 0.12);
}

/* Badges */
.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-popular {
    background: rgba(var(--bs-primary-btn-rgb), 1);
    color: #fff;
}

.badge-active {
    background: rgba(var(--bs-secondary-rgb), 0.5);
    color: #fff;
}

/* Card header */
.card-tier {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.card-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Price display */
.card-price-row {
    margin-bottom: 1.25rem;
}

.price-main {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-card.premium .price-main {
    color: rgba(var(--bs-primary-btn-rgb), 1);
}

.price-period {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.3rem;
    font-weight: 500;
}

.price-savings-note {
    font-size: 0.78rem;
    color: rgba(var(--bs-success-rgb), 1);
    background: rgba(var(--bs-success-rgb), 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Quick features (3-4 lines inside card) */
.quick-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.quick-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.quick-features .check {
    color: rgba(var(--bs-primary-btn-rgb), 1);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card.free .quick-features .check {
    color: rgba(255, 255, 255, 0.35);
}

.pricing-card.teams .quick-features .check {
    color: rgba(var(--bs-secondary-rgb), 0.8);
}

/* CTA Buttons */
.cta-btn {
    display: block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.cta-btn i {
    margin-right: 0.4rem;
}

.cta-btn-free {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-btn-free:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.cta-btn-premium {
    background: rgba(var(--bs-primary-btn-rgb), 1);
    box-shadow: 0 2px 12px rgba(var(--bs-primary-btn-rgb), 0.25);
    position: relative;
}

.cta-btn-premium:hover {
    background: rgba(var(--bs-primary-btn-rgb), 0.9);
    box-shadow: 0 4px 24px rgba(var(--bs-primary-btn-rgb), 0.45);
    transform: translateY(-1px);
}

.cta-btn-team {
    background: rgba(var(--bs-secondary-rgb), 0.2);
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.25);
}

.cta-btn-team:hover {
    background: rgba(var(--bs-secondary-rgb), 0.35);
    box-shadow: 0 4px 20px rgba(var(--bs-secondary-rgb), 0.2);
    transform: translateY(-1px);
}

.cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Trust line under CTA */
.cta-trust {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.75rem;
    line-height: 1.45;
}

/* Compare link */
.compare-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(var(--bs-primary-btn-rgb), 1);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.compare-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* License selector (Teams card) */
.license-selector-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.license-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.license-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.license-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.license-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.license-input {
    width: 50px;
    height: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}

.license-input::-webkit-inner-spin-button,
.license-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.license-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-variant-numeric: tabular-nums;
}

/* Teams note for yearly */
.teams-monthly-note {
    font-size: 0.78rem;
    color: rgba(var(--bs-secondary-rgb), 0.7);
    background: rgba(var(--bs-secondary-rgb), 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
}

/* ==========================================================================
   5. FULL COMPARISON TABLE
   ========================================================================== */
.comparison-section {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.comparison-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.comparison-table thead th {
    padding: 0.85rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(var(--bs-primary-btn-rgb), 0.15);
    color: #fff;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table thead th:nth-child(3) {
    color: rgba(var(--bs-primary-btn-rgb), 1);
}

.comparison-table tbody td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.comparison-table tbody td:first-child {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.comparison-table .section-row td {
    padding-top: 1.5rem;
    font-weight: 700;
    color: rgba(var(--bs-primary-btn-rgb), 0.9);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(var(--bs-primary-btn-rgb), 0.12);
}

.comparison-table .check-yes {
    color: rgba(var(--bs-success-rgb), 0.9);
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table .check-no {
    color: rgba(255, 255, 255, 0.15);
}

.comparison-table .check-limited {
    color: rgba(var(--bs-primary-btn-rgb), 0.6);
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==========================================================================
   6. PARTNER DATA SOURCES
   ========================================================================== */
.partners-section {
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.partners-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.partners-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.partner-category {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.25s ease;
}

.partner-category:hover {
    border-color: rgba(var(--bs-primary-btn-rgb), 0.12);
}

.partner-category-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(var(--bs-primary-btn-rgb), 1);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.partner-category-title i {
    font-size: 1rem;
}

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

.partner-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.partner-list li:last-child {
    border-bottom: none;
}

.partner-name {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.partner-desc {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    text-align: right;
}

/* ==========================================================================
   7. DATA PARTNERS & SAVINGS
   ========================================================================== */
.savings-section {
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.savings-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.savings-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.savings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Left side — partner groups */
.savings-partners-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.savings-partner-group {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: border-color 0.25s ease;
}

.savings-partner-group:hover {
    border-color: rgba(var(--bs-primary-btn-rgb), 0.12);
}

.savings-partner-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(var(--bs-primary-btn-rgb), 0.8);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.savings-partner-label i {
    font-size: 0.9rem;
}

.savings-partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.partner-tag {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.partner-tag:hover {
    background: rgba(var(--bs-primary-btn-rgb), 0.06);
    border-color: rgba(var(--bs-primary-btn-rgb), 0.15);
    color: rgba(255, 255, 255, 0.9);
}

/* Right side — value card */
.savings-value-side {
    position: sticky;
    top: 2rem;
}

.savings-value-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--bs-primary-btn-rgb), 0.12);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
}

.savings-value-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.5rem;
}

.savings-value-eyebrow.accent {
    color: rgba(var(--bs-primary-btn-rgb), 0.85);
}

.savings-value-amount {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.savings-value-amount span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0;
}

.savings-value-amount.strikethrough {
    color: rgba(var(--bs-danger-rgb), 0.7);
    text-decoration: line-through;
    text-decoration-color: rgba(var(--bs-danger-rgb), 0.5);
}

.savings-value-amount.highlight {
    color: rgba(var(--bs-success-rgb), 1);
}

.savings-vs-divider {
    padding: 1rem 0;
    position: relative;
}

.savings-vs-divider::before {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.savings-vs-divider span {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.2);
}

.savings-value-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.55;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ==========================================================================
   8. CREDITS & DATA PARTNERS
   ========================================================================== */
.credits-section {
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.credits-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.credits-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.credits-box {
    background: rgba(var(--bs-primary-btn-rgb), 0.03);
    border: 1px solid rgba(var(--bs-primary-btn-rgb), 0.08);
    border-radius: 14px;
    padding: 1.75rem;
}

.credits-box p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.credits-box p:last-child {
    margin-bottom: 0;
}

.credits-partner-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.credits-partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: background 0.2s ease;
}

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

.credits-partner-item:hover {
    background: rgba(var(--bs-primary-btn-rgb), 0.04);
}

.credits-partner-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--bs-primary-btn-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credits-partner-icon i {
    font-size: 1rem;
    color: rgba(var(--bs-primary-btn-rgb), 0.8);
}

.credits-partner-info {
    flex-grow: 1;
    min-width: 0;
}

.credits-partner-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.credits-partner-services {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.credits-partner-example {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(var(--bs-primary-btn-rgb), 0.9);
    white-space: nowrap;
}

.credits-note {
    font-size: 0.82rem !important;
    color: rgba(var(--bs-success-rgb), 1) !important;
    text-align: center;
    margin-top: 1rem !important;
}

/* ==========================================================================
   9. USE CASES
   ========================================================================== */
.use-cases-section {
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.use-cases-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.use-case-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    transition: all 0.25s ease;
}

.use-case-card:hover {
    border-color: rgba(var(--bs-primary-btn-rgb), 0.15);
    background: rgba(var(--bs-primary-btn-rgb), 0.03);
}

.use-case-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.use-case-card h3 i {
    color: rgba(var(--bs-primary-btn-rgb), 1);
    font-size: 1.1rem;
}

.use-case-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-section {
    max-width: 750px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.faq-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.25s ease;
    background: rgba(0, 0, 0, 0.15);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item.active {
    background: rgba(var(--bs-primary-btn-rgb), 0.03);
    border-color: rgba(var(--bs-primary-btn-rgb), 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-btn-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s;
}

.faq-icon i {
    color: rgba(var(--bs-primary-btn-rgb), 1);
    font-size: 0.9rem;
}

.faq-item.active .faq-icon {
    background: rgba(var(--bs-primary-btn-rgb), 0.2);
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin: 0 0 0.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   11. FINAL CTA
   ========================================================================== */
.final-cta {
    text-align: center;
    padding: 3.5rem 1.5rem;
    max-width: 650px;
    margin: 0 auto;
    background: rgba(var(--bs-primary-btn-rgb), 0.03);
    border: 1px solid rgba(var(--bs-primary-btn-rgb), 0.08);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.final-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.final-cta .cta-btn-premium {
    display: inline-block;
    width: auto;
    padding: 0.9rem 2.75rem;
    font-size: 1rem;
}

/* ==========================================================================
   12. ALERTS
   ========================================================================== */
.pricing-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-alert-error {
    background: rgba(var(--bs-danger-rgb), 0.08);
    border: 1px solid rgba(var(--bs-danger-rgb), 0.2);
    color: rgba(var(--bs-danger-rgb), 1);
}

.pricing-alert-success {
    background: rgba(var(--bs-success-rgb), 0.08);
    border: 1px solid rgba(var(--bs-success-rgb), 0.2);
    color: rgba(var(--bs-success-rgb), 1);
}

.pricing-alert-warning {
    background: rgba(var(--bs-primary-btn-rgb), 0.08);
    border: 1px solid rgba(var(--bs-primary-btn-rgb), 0.2);
    color: rgba(var(--bs-primary-btn-rgb), 1);
}

/* ==========================================================================
   13. MICRO-INTERACTIONS & ANIMATIONS
   ========================================================================== */

/* Subtle entrance animation for pricing cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.5s ease both;
}

.pricing-card.free { animation-delay: 0.05s; }
.pricing-card.premium { animation-delay: 0.15s; }
.pricing-card.teams { animation-delay: 0.25s; }

/* Premium card subtle glow */
.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-btn-rgb), 0.15), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card.premium:hover::before {
    opacity: 1;
}

/* Smooth toggle transitions */
.pricing-option {
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.pricing-option.active {
    transform: scale(1.02);
}

/* FAQ smooth expand */
.faq-answer {
    transition: max-height 0.3s ease;
}

/* Section headings glow effect */
.comparison-section h2,
.partners-section h2,
.credits-section h2,
.use-cases-section h2,
.faq-section h2 {
    position: relative;
}

/* Partner list item hover */
.partner-list li {
    transition: background 0.2s ease;
    border-radius: 4px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.partner-list li:hover {
    background: rgba(var(--bs-primary-btn-rgb), 0.04);
}

/* Partner tag hover animation */
.partner-tag {
    transition: all 0.2s ease;
}

/* Credits partner item hover */
.credits-partner-item {
    transition: background 0.2s ease;
}

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.premium {
        transform: none;
        order: -1;
    }

    .pricing-card.premium:hover {
        transform: translateY(-4px);
    }

    /* Disable entrance stagger on mobile for faster load feel */
    .pricing-card {
        animation-delay: 0s !important;
    }

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

    .savings-layout {
        grid-template-columns: 1fr;
    }

    .savings-value-side {
        position: static;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-case-card {
        max-width: none;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 1.75rem;
    }

    .trust-bar {
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    .trust-item {
        font-size: 0.78rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .comparison-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 500px;
    }

    .savings-layout {
        grid-template-columns: 1fr;
    }

    .savings-value-side {
        position: static;
    }

    .credits-partner-services {
        white-space: normal;
    }

    .faq-question {
        padding: 1rem;
        min-height: 48px;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}
