/* =========================================
   PRICING PAGE (Cards, Table, FAQ)
========================================= */

/* --- PRICING CARDS --- */
.leadiary-pricing { font-family: 'Inter', sans-serif; padding: 100px 24px; background-color: #fafafa; }
.pricing-container { max-width: 1200px; margin: 0 auto; }
.pricing-header { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.pricing-title { font-size: clamp(36px, 4vw, 48px); font-weight: 800; color: #111827; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.03em; }
.pricing-desc { font-size: 18px; color: #4b5563; line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.pricing-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 24px; padding: 40px 30px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05); transform: translateY(-5px); }
.pricing-card.highlighted { border: 2px solid var(--brand-orange); box-shadow: 0 20px 40px -10px rgba(255, 107, 0, 0.15); padding: 50px 30px; z-index: 2; }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background-color: var(--brand-orange); color: #ffffff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 16px; border-radius: 20px; }
.tier-name { font-size: 20px; font-weight: 800; color: #111827; margin-bottom: 10px; }
.tier-desc { font-size: 14px; color: #6b7280; line-height: 1.5; margin-bottom: 30px; min-height: 42px; }
.tier-price { margin-bottom: 30px; color: #111827; }
.currency { font-size: 24px; font-weight: 700; vertical-align: top; margin-right: 2px; }
.amount { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.period { font-size: 16px; font-weight: 500; color: #6b7280; }
.pricing-btn { display: block; text-align: center; width: 100%; padding: 14px 2px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s ease; margin-bottom: 40px; }
.btn-outline { background: transparent; color: #111827; border: 2px solid #e5e7eb; }
.btn-outline:hover { border-color: #111827; background: #f9fafb; }
.btn-solid { background: var(--brand-orange); color: #ffffff; border: 2px solid var(--brand-orange); box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.3); }
.btn-solid:hover { background: var(--brand-orange-hover); border-color: var(--brand-orange-hover); transform: translateY(-2px); }
.tier-features { list-style: none; padding: 0; margin: 0; }
.tier-features li { font-size: 14px; color: #4b5563; margin-bottom: 16px; display: flex; align-items: center; font-weight: 500; }
.tier-features li i { color: var(--brand-orange); font-size: 14px; margin-right: 12px; flex-shrink: 0; }

/* --- COMPARE TABLE --- */
.leadiary-compare { font-family: 'Inter', sans-serif; padding: 20px 24px 100px; background-color: #fafafa; }
.compare-container { max-width: 1000px; margin: 0 auto; }
.compare-title { text-align: center; font-size: 28px; font-weight: 800; color: #111827; margin-bottom: 40px; letter-spacing: -0.02em; }
.table-wrapper { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow-x: auto; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.02); }
.compare-table { width: 100%; border-collapse: collapse; text-align: center; min-width: 700px; }
.compare-table th { padding: 24px 16px; font-size: 16px; font-weight: 800; color: #111827; border-bottom: 2px solid #e5e7eb; }
.compare-table th.feature-col { text-align: left; padding-left: 32px; width: 40%; }
.compare-table td { padding: 18px 16px; font-size: 14px; color: #4b5563; border-bottom: 1px solid #f3f4f6; font-weight: 500; }
.compare-table td.feature-name { text-align: left; padding-left: 32px; color: #111827; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.category-row td { text-align: left; padding: 24px 32px 12px; font-size: 12px; font-weight: 800; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.1em; background-color: #fafafa; border-bottom: 1px solid #e5e7eb; }
.highlight-col { background-color: #FFF9F5; position: relative; }
.compare-table th.highlight-col { color: var(--brand-orange); border-bottom: 2px solid var(--brand-orange); }
.text-gray { color: #d1d5db; font-size: 14px; }
.font-bold { font-weight: 800 !important; color: #111827; }

/* --- FAQ ACCORDION --- */
.leadiary-faq { font-family: 'Inter', sans-serif; padding: 80px 24px 120px; background-color: #ffffff; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-title { font-size: clamp(32px, 4vw, 40px); font-weight: 800; color: #111827; margin-bottom: 16px; letter-spacing: -0.02em; }
.faq-desc { font-size: 18px; color: #6b7280; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: all 0.2s ease; }
.faq-item:hover { border-color: #d1d5db; }
.faq-question { padding: 24px; font-size: 18px; font-weight: 700; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; user-select: none; transition: color 0.2s ease; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--brand-orange); }
.faq-icon { color: #9ca3af; font-size: 16px; transition: transform 0.3s ease, color 0.2s ease; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.faq-question:hover .faq-icon { color: var(--brand-orange); }
details[open].faq-item { border-color: var(--brand-orange); box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.05); }
details[open] .faq-question, details[open] .faq-icon { color: var(--brand-orange); }
details[open] .faq-icon { transform: rotate(135deg); }
.faq-answer { padding: 0 24px 24px 24px; font-size: 16px; color: #4b5563; line-height: 1.6; animation: slideDown 0.3s ease-out; }
.faq-answer p { margin: 0; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 991px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-card.highlighted { padding: 40px 30px; }
}
@media (max-width: 768px) {
    .compare-table th.feature-col, .compare-table td.feature-name, .category-row td { padding-left: 20px; }
    .table-wrapper { border-right: none; border-top-right-radius: 0; border-bottom-right-radius: 0; }
    .faq-question { font-size: 16px; padding: 20px; }
    .faq-answer { font-size: 15px; padding: 0 20px 20px 20px; }
}