/* Pricing page — aligned with home showcase */

body.pricing-page-body {
    background: #f8fafc;
}

.pricing-page {
    overflow-x: hidden;
}

/* Hero */
.pricing-hero {
    position: relative;
    padding: 100px 24px 72px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #dbeafe 100%);
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.pricing-hero .container {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.pricing-hero .showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin-bottom: 24px;
}

.pricing-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
    margin: 0 0 20px;
}

.pricing-hero-title .gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

/* Shared includes (shown once above plans) */
.pricing-includes {
    padding: 0 24px 40px;
    position: relative;
    z-index: 2;
}

.pricing-includes .container {
    max-width: 900px;
}

.pricing-includes-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-includes-header h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.pricing-includes-header p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.pricing-includes-grid {
    list-style: none;
    margin: 0;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.pricing-includes-grid li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.pricing-includes-grid svg {
    width: 16px;
    height: 16px;
    color: #2563eb;
    flex-shrink: 0;
}

.pricing-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.pricing-benefits span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Plans */
.pricing-plans {
    padding: 0 24px 96px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.pricing-plans .container {
    max-width: 1180px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12);
    border-color: #bfdbfe;
}

.pricing-card--popular {
    border: 2px solid #2563eb;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    transform: scale(1.03);
}

.pricing-card--popular:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 24px 56px rgba(37, 99, 235, 0.2);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.plan-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 8px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.pricing-card--popular .price-amount {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    align-self: flex-end;
    margin-bottom: 6px;
}

.plan-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.plan-vehicle-limit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
}

.pricing-card--popular .plan-vehicle-limit {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border-color: #93c5fd;
}

.plan-vehicle-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-vehicle-icon svg {
    width: 20px;
    height: 20px;
}

.plan-vehicle-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.plan-vehicle-text span {
    font-size: 0.8rem;
    color: #64748b;
}

.plan-vehicle-note {
    font-size: 0.8rem;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.plan-button {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    margin-top: auto;
}

.plan-includes-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-card--popular .plan-button.btn-primary {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* FAQ */
.pricing-faq {
    padding: 80px 24px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.pricing-faq .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 48px auto 0;
}

.faq-item {
    padding: 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.faq-item p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* CTA */
.pricing-cta {
    padding: 88px 24px;
    text-align: center;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #1e40af 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.05) 0%, transparent 35%);
    pointer-events: none;
}

.pricing-cta .container {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.pricing-cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #ffffff;
}

.pricing-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
    line-height: 1.7;
}

.pricing-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-cta .btn-primary {
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 700;
    padding: 16px 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.pricing-cta .btn-primary:hover {
    background: #f8fafc;
    color: #1d4ed8;
}

.pricing-cta .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.pricing-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.pricing-cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Reveal animations */
.pricing-reveal {
    opacity: 0;
    transform: translateY(32px);
}

@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .pricing-card--popular {
        transform: none;
    }

    .pricing-card--popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    .pricing-includes-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-hero {
        padding: 88px 20px 56px;
    }

    .pricing-plans {
        padding: 0 20px 64px;
    }
}
