/* ================================================================
   Pricing Page — pricing.css
   ================================================================ */

/* ── Shared helpers (reused from landing) ─────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #4f46e5; background: #ede9fe;
    padding: 0.25rem 0.85rem; border-radius: 20px;
    margin-bottom: 0.85rem;
}

.section-header {
    text-align: center; max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2rem; font-weight: 900;
    color: #111827; letter-spacing: -0.5px;
    margin-bottom: 0.75rem; line-height: 1.2;
}

.section-desc {
    font-size: 1rem; color: #6b7280;
    line-height: 1.7; margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.pricing-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(160deg, #fafafe 0%, #f0f0ff 60%, #fafafe 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none; filter: blur(80px); opacity: 0.3;
}

.orb-a {
    width: 400px; height: 400px;
    background: #c4b5fd; top: -150px; right: -80px;
}

.orb-b {
    width: 250px; height: 250px;
    background: #a5b4fc; bottom: -80px; left: -60px;
}

.pricing-hero-inner {
    position: relative; z-index: 1;
    max-width: 640px; margin: 0 auto;
}

.pricing-hero-title {
    font-size: 2.8rem; font-weight: 900;
    color: #111827; letter-spacing: -1px;
    line-height: 1.15; margin-bottom: 1rem;
}

.pricing-hero-accent {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero-desc {
    font-size: 1.05rem; color: #6b7280;
    line-height: 1.7; margin-bottom: 2rem;
}

.pricing-hero-pills {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 0.65rem;
}

.pricing-pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; font-weight: 500;
    color: #374151; background: #fff;
    border: 1.5px solid #e5e7eb;
    padding: 0.3rem 0.85rem; border-radius: 20px;
}

.pricing-pill i { color: #059669; font-size: 0.72rem; }

/* ════════════════════════════════════════════════════════════════
   PLAN CARDS
   ════════════════════════════════════════════════════════════════ */
.plan-cards-section {
    padding: 4rem 0 3rem;
    background: #fff;
}

.plan-cards-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* ── Card base ────────────────────────────────────────────────── */
.plan-card {
    background: #fff;
    border-radius: 22px;
    border: 2px solid #f3f4f6;
    flex: 1; max-width: 400px; min-width: 300px;
    padding: 2rem;
    position: relative;
    transition: box-shadow 0.2s;
}

.plan-card.free:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.plan-card.pro {
    border-color: #4f46e5;
    box-shadow: 0 16px 48px rgba(79,70,229,0.18);
    padding-top: 1.25rem;
}

/* Popular ribbon */
.plan-popular-ribbon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 0.75rem; font-weight: 700;
    text-align: center; padding: 0.45rem;
    border-radius: 8px 8px 0 0;
    margin: -1.25rem -2rem 1.5rem;
    letter-spacing: 0.03em;
}

/* Card top */
.plan-card-top {
    display: flex; flex-direction: column;
    align-items: flex-start; margin-bottom: 1.5rem;
}

.plan-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 0.85rem;
}

.plan-icon.free { background: #f3f4f6; color: #6b7280; }
.plan-icon.pro  { background: #ede9fe; color: #4f46e5; }

.plan-name {
    font-size: 1.1rem; font-weight: 800;
    color: #111827; margin-bottom: 0.2rem;
}

.plan-tagline { font-size: 0.82rem; color: #9ca3af; }

/* Price block */
.plan-price-block { margin-bottom: 1.5rem; }

.plan-price-row {
    display: flex; align-items: flex-end;
    gap: 0.1rem; line-height: 1; margin-bottom: 0.35rem;
}

.plan-currency {
    font-size: 1.4rem; font-weight: 700;
    color: #111827; margin-bottom: 6px;
}

.plan-amount {
    font-size: 3.8rem; font-weight: 900;
    color: #111827; letter-spacing: -2px;
}

.plan-period {
    font-size: 1rem; font-weight: 500;
    color: #9ca3af; margin-bottom: 8px;
}

.plan-price-note {
    font-size: 0.78rem; color: #9ca3af;
}

.plan-price-note strong { color: #4f46e5; }

/* CTA buttons */
.btn-plan-free {
    display: block; width: 100%;
    text-align: center; text-decoration: none;
    font-size: 0.9rem; font-weight: 700;
    color: #374151; background: #f9fafb;
    border: 2px solid #e5e7eb;
    padding: 0.8rem; border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: border-color 0.15s, color 0.15s;
}

.btn-plan-free:hover { border-color: #4f46e5; color: #4f46e5; }

.btn-plan-pro {
    display: flex; align-items: center; justify-content: center;
    width: 100%; text-decoration: none;
    font-size: 0.9rem; font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 0.85rem; border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: opacity 0.15s;
    box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.btn-plan-pro:hover { opacity: 0.9; color: #fff; }

/* Features label */
.plan-features-label {
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #9ca3af; margin-bottom: 0.85rem;
}

/* Features list */
.plan-features-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.55rem;
}

.plan-features-list li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.82rem; line-height: 1.45;
}

.plan-features-list li i {
    font-size: 0.8rem; flex-shrink: 0; margin-top: 2px;
}

.plan-features-list li.yes   { color: #374151; }
.plan-features-list li.yes i { color: #059669; }

.plan-features-list li.yes.pro   { color: #374151; }
.plan-features-list li.yes.pro i { color: #4f46e5; }

.plan-features-list li.no   { color: #d1d5db; }
.plan-features-list li.no i { color: #e5e7eb; }

/* Guarantee badge */
.plan-guarantee {
    display: flex; align-items: flex-start; gap: 0.75rem;
    background: #f0fdf4; border: 1.5px solid #a7f3d0;
    border-radius: 12px; padding: 0.85rem 1rem;
    margin-top: 1.5rem;
}

.plan-guarantee > i {
    font-size: 1.2rem; color: #059669; flex-shrink: 0; margin-top: 2px;
}

.plan-guarantee-title {
    font-size: 0.82rem; font-weight: 700; color: #065f46;
    margin-bottom: 0.2rem;
}

.plan-guarantee-sub {
    font-size: 0.75rem; color: #047857; line-height: 1.5;
}

.plan-guarantee-sub a {
    color: #059669; font-weight: 600; text-decoration: none;
}

.plan-guarantee-sub a:hover { text-decoration: underline; }

/* Trust bar */
.plan-trust-bar {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.78rem; color: #9ca3af;
    padding: 1rem 0;
}

.plan-trust-bar i { color: #4f46e5; }
.plan-trust-bar a { color: #9ca3af; text-decoration: underline; }
.plan-trust-bar a:hover { color: #4f46e5; }

.trust-sep { color: #e5e7eb; }

/* ════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ════════════════════════════════════════════════════════════════ */
.compare-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.compare-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1.5px solid #f3f4f6;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.compare-table {
    width: 100%; border-collapse: collapse;
    background: #fff;
}

/* Column widths */
.compare-feature-col { width: 55%; }
.compare-free-col    { width: 22.5%; }
.compare-pro-col     { width: 22.5%; }

/* Header */
.compare-table thead tr {
    background: #f9fafb;
}

.compare-table th {
    padding: 1.25rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid #f3f4f6;
}

.compare-table th.compare-feature-col {
    text-align: left;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #9ca3af;
}

.compare-th-inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.2rem;
}

.compare-th-inner.pro { color: #4f46e5; }

.compare-th-name {
    font-size: 0.95rem; font-weight: 800; color: #111827;
}

.compare-th-inner.pro .compare-th-name { color: #4f46e5; }

.compare-th-price {
    font-size: 0.75rem; font-weight: 600; color: #9ca3af;
}

.compare-th-inner.pro .compare-th-price { color: #7c3aed; }

/* Pro column highlight */
.compare-table .compare-pro-col {
    background: #faf9ff;
    border-left: 2px solid #ede9fe;
    border-right: 2px solid #ede9fe;
}

/* Group rows */
.compare-group-row td {
    padding: 0.65rem 1.5rem;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #6b7280; background: #f9fafb;
    border-top: 2px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

/* Data rows */
.compare-table tbody tr:not(.compare-group-row) td {
    padding: 0.85rem 1.5rem;
    font-size: 0.82rem; color: #374151;
    border-bottom: 1px solid #f9fafb;
    vertical-align: middle;
}

.compare-table tbody tr:not(.compare-group-row):hover td {
    background: #fafafa;
}

.compare-table tbody tr:not(.compare-group-row):hover
    td.compare-pro-col,
.compare-table tbody tr:not(.compare-group-row):hover
    td.compare-yes.pro,
.compare-table tbody tr:not(.compare-group-row):hover
    td.compare-no.pro,
.compare-table tbody tr:not(.compare-group-row):hover
    td.compare-text.pro,
.compare-table tbody tr:not(.compare-group-row):hover
    td.compare-na.pro {
    background: #f5f3ff;
}

/* Cell types */
.compare-yes, .compare-no, .compare-text, .compare-na {
    text-align: center;
}

.compare-yes i   { color: #059669; font-size: 1rem; }
.compare-yes.pro i { color: #4f46e5; font-size: 1rem; }
.compare-no i    { color: #e5e7eb; font-size: 1rem; }
.compare-na      { color: #d1d5db; font-size: 0.9rem; }

.compare-text    { font-size: 0.8rem; font-weight: 600; color: #374151; }
.compare-text.pro { color: #4f46e5; }

/* CTA footer row */
.compare-cta-row td {
    padding: 1.5rem;
    text-align: center;
    background: #f9fafb;
    border-top: 2px solid #f3f4f6;
}

.btn-compare-free {
    display: inline-block;
    font-size: 0.82rem; font-weight: 700;
    color: #374151; text-decoration: none;
    border: 2px solid #e5e7eb;
    padding: 0.6rem 1.25rem; border-radius: 10px;
    background: #fff;
    transition: border-color 0.15s, color 0.15s;
}

.btn-compare-free:hover { border-color: #4f46e5; color: #4f46e5; }

.btn-compare-pro {
    display: inline-flex; align-items: center;
    font-size: 0.82rem; font-weight: 700;
    color: #fff; text-decoration: none;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 0.65rem 1.25rem; border-radius: 10px;
    transition: opacity 0.15s;
}

.btn-compare-pro:hover { opacity: 0.9; color: #fff; }

/* ════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════ */
.faq-section { padding: 5rem 0; background: #fff; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(79,70,229,0.08);
    border-color: #c4b5fd;
}

.faq-q {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.875rem; font-weight: 700;
    color: #111827; margin-bottom: 0.65rem; line-height: 1.4;
}

.faq-q i { color: #4f46e5; font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; }

.faq-a {
    font-size: 0.82rem; color: #6b7280;
    line-height: 1.65; padding-left: 1.45rem;
}

.faq-a a { color: #4f46e5; text-decoration: none; font-weight: 500; }
.faq-a a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════════════════════ */
.pricing-final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-final-orb {
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -150px; right: -80px;
    pointer-events: none;
}

.pricing-final-inner {
    position: relative; z-index: 1;
    max-width: 560px; margin: 0 auto;
}

.pricing-final-icon {
    width: 68px; height: 68px; border-radius: 18px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff;
    margin: 0 auto 1.5rem;
}

.pricing-final-title {
    font-size: 2.2rem; font-weight: 900;
    color: #fff; letter-spacing: -0.5px;
    line-height: 1.2; margin-bottom: 1rem;
}

.pricing-final-desc {
    font-size: 1rem; color: rgba(255,255,255,0.8);
    line-height: 1.7; margin-bottom: 2rem;
}

.pricing-final-buttons {
    display: flex; justify-content: center;
    gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}

.btn-final-primary {
    display: inline-flex; align-items: center;
    background: #fff; color: #4f46e5;
    text-decoration: none;
    font-size: 0.95rem; font-weight: 700;
    padding: 0.75rem 1.5rem; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: opacity 0.15s, transform 0.1s;
}

.btn-final-primary:hover {
    opacity: 0.92; transform: translateY(-1px); color: #4f46e5;
}

.btn-final-ghost {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.12);
    color: #fff; text-decoration: none;
    font-size: 0.95rem; font-weight: 600;
    padding: 0.75rem 1.5rem; border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: background 0.15s;
}

.btn-final-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }

.pricing-final-links {
    display: flex; align-items: center;
    justify-content: center; gap: 0.6rem; flex-wrap: wrap;
}

.pricing-final-links a {
    font-size: 0.8rem; color: rgba(255,255,255,0.65);
    text-decoration: none; font-weight: 500;
    transition: color 0.15s;
}

.pricing-final-links a:hover { color: #fff; }
.pricing-final-links span { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .pricing-hero-title  { font-size: 2rem; }
    .pricing-final-title { font-size: 1.7rem; }
    .section-title       { font-size: 1.6rem; }
    .faq-grid            { grid-template-columns: 1fr; }
    .compare-table tbody tr:not(.compare-group-row) td,
    .compare-group-row td { padding: 0.65rem 0.85rem; }
}

@media (max-width: 480px) {
    .pricing-hero        { padding: 3rem 0 3rem; }
    .plan-cards-grid     { flex-direction: column; align-items: center; }
    .plan-card           { max-width: 100%; min-width: unset; width: 100%; }
    .pricing-final-buttons { flex-direction: column; align-items: center; }
    .btn-final-primary,
    .btn-final-ghost     { width: 100%; justify-content: center; }
    .pricing-hero-pills  { gap: 0.4rem; }
}
