/* Styles for /word-formatting-addin — reuses main.css's design tokens (--primary, --accent,
   --border, --radius, --shadow) for visual consistency with the rest of citehelp.com. */

.addin-hero {
    background: var(--primary);
    border-radius: 0 0 24px 24px;
    padding: 50px 30px 44px;
    text-align: center;
    color: #fff;
}

.addin-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.addin-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin: 4px 0 12px;
}

.addin-hero p {
    max-width: 640px;
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, 0.9);
}

.addin-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-ghost {
    display: inline-block;
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}

.addin-section {
    padding: 40px 0 8px;
}

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

.addin-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.addin-feature-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.addin-feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.92rem;
}

.pricing-table th {
    background: var(--secondary);
    color: var(--primary);
}

.pricing-table td.center,
.pricing-table th.center {
    text-align: center;
}

.addin-note {
    background: var(--secondary);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text);
}

.addin-crosslink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

/* ─── 3-Tier Pricing Cards ────────────────────────────────────────── */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
    align-items: stretch;
}

.plan-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.plan-card.popular {
    border-color: #2563eb;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.plan-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-card-badge.save-badge {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.plan-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 16px;
}

.plan-price-block {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price .currency {
    font-size: 1.3rem;
    font-weight: 700;
}

.plan-price .period {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.plan-rate-breakdown {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 6px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
    color: #334155;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.plan-features li .check-icon {
    color: #059669;
    font-weight: 800;
    flex-shrink: 0;
}

.plan-card .btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.15s;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.plan-card .btn-plan:hover {
    background: #e2e8f0;
}

.plan-card.popular .btn-plan {
    background: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.plan-card.popular .btn-plan:hover {
    background: #1d4ed8;
}

