/**
 * InstantViews Reusable UI Components Library
 * 50+ components for landing page tools
 * Usage: Include in head.php or tool pages
 */

/* ============================================
   1. NUMBER & STAT CARDS
   ============================================ */
.number-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.number-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; text-align: center; transition: all 0.2s; }
.number-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.number-card-value { font-size: 32px; font-weight: 800; color: var(--brand-primary); margin-bottom: 4px; }
.number-card-label { font-size: 13px; color: var(--text-secondary); }
.number-card-value.green { color: var(--success); }
.number-card-value.blue { color: #3b82f6; }
.number-card-value.purple { color: #8b5cf6; }

.big-number { font-size: 48px; font-weight: 800; color: var(--brand-primary); }
.big-number-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ============================================
   2. CHECK LISTS
   ============================================ */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); font-size: 15px; color: var(--text-secondary); }
.check-list li:last-child { border-bottom: none; }
.check-list.compact li { padding: 8px 0; font-size: 14px; }
.check-list.no-border li { border-bottom: none; padding: 8px 0; }

.check-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.check-icon.green { background: var(--success-bg); color: var(--success); }
.check-icon.red { background: rgba(239,68,68,0.1); color: #ef4444; }
.check-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.check-icon.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.check-icon.yellow { background: rgba(245,158,11,0.1); color: #f59e0b; }

/* ============================================
   3. COMPARISON TABLES
   ============================================ */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border-light); }
.compare-table th { background: var(--bg-secondary); font-weight: 700; color: var(--text-primary); font-size: 14px; }
.compare-table td { font-size: 14px; color: var(--text-secondary); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-highlight { background: rgba(239,68,68,0.05); }
.compare-table-wrap { background: var(--card-bg); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); }

/* ============================================
   4. PROS / CONS CARDS
   ============================================ */
.pros-cons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pros-card, .cons-card { background: var(--card-bg); border-radius: 16px; padding: 24px; border: 1px solid var(--border-light); }
.pros-card { border-top: 4px solid var(--success); }
.cons-card { border-top: 4px solid #ef4444; }
.pros-title, .cons-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.pros-title { color: var(--success); }
.cons-title { color: #ef4444; }

/* ============================================
   5. PATH / OPTION CARDS
   ============================================ */
.path-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.path-card { background: var(--card-bg); border: 2px solid var(--border-light); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; transition: all 0.2s; }
.path-card:hover { border-color: var(--brand-primary); }
.path-card.recommended { border-color: var(--brand-primary); }
.path-card.recommended::before { content: 'RECOMMENDED'; position: absolute; top: 16px; right: -32px; background: var(--brand-primary); color: white; font-size: 10px; font-weight: 700; padding: 4px 40px; transform: rotate(45deg); }
.path-card.popular::before { content: 'MOST POPULAR'; }
.path-card.best::before { content: 'BEST VALUE'; background: var(--success); }
.path-icon { font-size: 40px; margin-bottom: 16px; }
.path-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.path-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.path-price { font-size: 32px; font-weight: 800; color: var(--text-primary); }
.path-price-period { font-size: 14px; color: var(--text-muted); }

/* ============================================
   6. INFO / FEATURE CARDS
   ============================================ */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.info-card { background: var(--bg-secondary); border-radius: 12px; padding: 20px; transition: all 0.2s; }
.info-card:hover { background: var(--card-bg); box-shadow: var(--shadow-sm); }
.info-card-icon { font-size: 24px; margin-bottom: 8px; }
.info-card-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.info-card-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; }
.feature-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.feature-card-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   7. TIMELINE
   ============================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--border-light); }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -32px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.timeline-dot.green { background: var(--success); }
.timeline-dot.blue { background: #3b82f6; }
.timeline-content { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 12px; padding: 16px; }
.timeline-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.timeline-text { font-size: 13px; color: var(--text-secondary); }

/* ============================================
   8. ICON BOXES
   ============================================ */
.icon-box { display: flex; gap: 16px; padding: 20px; background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-light); }
.icon-box-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.icon-box-icon.red { background: var(--brand-light); }
.icon-box-icon.green { background: var(--success-bg); }
.icon-box-icon.blue { background: rgba(59,130,246,0.1); }
.icon-box-icon.purple { background: rgba(139,92,246,0.1); }
.icon-box-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.icon-box-text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ============================================
   9. BADGES & TAGS
   ============================================ */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.badge-red { background: rgba(239,68,68,0.1); color: #ef4444; }
.badge-green { background: var(--success-bg); color: var(--success); }
.badge-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.badge-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.badge-yellow { background: rgba(245,158,11,0.1); color: #f59e0b; }
.badge-gray { background: var(--bg-tertiary); color: var(--text-secondary); }

.tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-new { background: var(--success); color: white; }
.tag-popular { background: var(--brand-primary); color: white; }
.tag-pro { background: #8b5cf6; color: white; }
.tag-free { background: #3b82f6; color: white; }

/* ============================================
   10. ALERT BOXES
   ============================================ */
.alert { display: flex; gap: 12px; padding: 16px; border-radius: 12px; }
.alert-icon { font-size: 20px; flex-shrink: 0; }
.alert-content { flex: 1; }
.alert-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.alert-text { font-size: 13px; line-height: 1.5; }

.alert-info { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); }
.alert-info .alert-title { color: #3b82f6; }
.alert-info .alert-text { color: #1e40af; }

.alert-success { background: var(--success-bg); border: 1px solid rgba(16,185,129,0.2); }
.alert-success .alert-title { color: var(--success); }
.alert-success .alert-text { color: #047857; }

.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.alert-warning .alert-title { color: #f59e0b; }
.alert-warning .alert-text { color: #b45309; }

.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); }
.alert-error .alert-title { color: #ef4444; }
.alert-error .alert-text { color: #b91c1c; }

/* ============================================
   11. QUOTE / TESTIMONIAL BOXES
   ============================================ */
.quote-box { background: var(--bg-secondary); border-left: 4px solid var(--brand-primary); border-radius: 0 12px 12px 0; padding: 20px 24px; }
.quote-text { font-size: 16px; font-style: italic; color: var(--text-primary); line-height: 1.6; margin-bottom: 12px; }
.quote-author { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

.testimonial-mini { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 20px; }
.testimonial-mini-stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.testimonial-mini-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.testimonial-mini-author { display: flex; align-items: center; gap: 12px; }
.testimonial-mini-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--brand-primary); }
.testimonial-mini-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.testimonial-mini-role { font-size: 12px; color: var(--text-muted); }

/* ============================================
   12. PROGRESS BARS
   ============================================ */
.progress-bar { height: 8px; background: var(--bg-tertiary); border-radius: 4px; overflow: hidden; }
.progress-bar.large { height: 12px; }
.progress-bar.small { height: 4px; }
.progress-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.progress-fill.red { background: var(--brand-primary); }
.progress-fill.green { background: var(--success); }
.progress-fill.blue { background: #3b82f6; }
.progress-fill.purple { background: #8b5cf6; }
.progress-fill.yellow { background: #f59e0b; }
.progress-fill.gradient { background: linear-gradient(90deg, var(--brand-primary), #f59e0b); }

.progress-item { margin-bottom: 16px; }
.progress-item:last-child { margin-bottom: 0; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-label { font-size: 13px; color: var(--text-secondary); }
.progress-value { font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* ============================================
   13. TABS
   ============================================ */
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { padding: 10px 20px; background: var(--bg-tertiary); border: 1px solid var(--border-light); border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; color: var(--text-secondary); }
.tab:hover { border-color: var(--brand-primary); color: var(--text-primary); }
.tab.active { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }

.tabs-underline { display: flex; gap: 24px; border-bottom: 2px solid var(--border-light); margin-bottom: 24px; }
.tab-underline { padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--text-secondary); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-underline:hover { color: var(--text-primary); }
.tab-underline.active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }

/* ============================================
   14. ACCORDION
   ============================================ */
.accordion { border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--card-bg); cursor: pointer; transition: all 0.2s; }
.accordion-header:hover { background: var(--bg-secondary); }
.accordion-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.accordion-icon { font-size: 18px; color: var(--text-muted); transition: transform 0.2s; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.accordion-item.open .accordion-content { display: block; }

/* ============================================
   15. TOOLTIPS
   ============================================ */
.tooltip { position: relative; cursor: help; }
.tooltip::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding: 8px 12px; background: var(--text-primary); color: var(--bg-primary); font-size: 12px; border-radius: 6px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.2s; z-index: 1000; }
.tooltip:hover::after { opacity: 1; visibility: visible; }

/* ============================================
   16. AVATARS
   ============================================ */
.avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 56px; height: 56px; }
.avatar-xl { width: 80px; height: 80px; }
.avatar-placeholder { background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--brand-primary); }

.avatar-group { display: flex; }
.avatar-group .avatar { margin-left: -12px; border: 2px solid var(--card-bg); }
.avatar-group .avatar:first-child { margin-left: 0; }

/* ============================================
   17. STAT ROWS
   ============================================ */
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.stat-row:last-child { border-bottom: none; }
.stat-row-label { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.stat-row-value { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.stat-row-value.green { color: var(--success); }
.stat-row-value.red { color: #ef4444; }

/* ============================================
   18. DIVIDERS
   ============================================ */
.divider { height: 1px; background: var(--border-light); margin: 24px 0; }
.divider-text { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.divider-text span { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================
   19. EMPTY STATES
   ============================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-state-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.empty-state-text { font-size: 14px; color: var(--text-secondary); max-width: 400px; margin: 0 auto 24px; }

/* ============================================
   20. SKELETON LOADERS
   ============================================ */
.skeleton { background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: 6px; }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-text.short { width: 60%; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }
.skeleton-card { height: 200px; border-radius: 16px; }

/* ============================================
   21. COUNTDOWN
   ============================================ */
.countdown { display: flex; gap: 16px; justify-content: center; }
.countdown-item { text-align: center; }
.countdown-value { font-size: 36px; font-weight: 800; color: var(--text-primary); background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 12px; padding: 16px 24px; min-width: 80px; }
.countdown-label { font-size: 12px; color: var(--text-muted); margin-top: 8px; text-transform: uppercase; }

/* ============================================
   22. RATING
   ============================================ */
.rating { display: flex; gap: 4px; }
.rating-star { color: #e5e7eb; font-size: 20px; }
.rating-star.filled { color: #f59e0b; }
.rating-star.half { background: linear-gradient(90deg, #f59e0b 50%, #e5e7eb 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.rating-display { display: flex; align-items: center; gap: 8px; }
.rating-score { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.rating-count { font-size: 13px; color: var(--text-muted); }

/* ============================================
   23. PRICING CARDS
   ============================================ */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card { background: var(--card-bg); border: 2px solid var(--border-light); border-radius: 24px; padding: 32px; text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--brand-primary); transform: scale(1.05); }
.pricing-card.featured::before { content: 'BEST VALUE'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-primary); color: white; padding: 4px 16px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.pricing-name { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.pricing-price { font-size: 48px; font-weight: 800; color: var(--text-primary); }
.pricing-currency { font-size: 24px; vertical-align: top; }
.pricing-period { font-size: 14px; color: var(--text-muted); }
.pricing-features { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.pricing-features li { padding: 10px 0; font-size: 14px; color: var(--text-secondary); display: flex; gap: 10px; border-bottom: 1px solid var(--border-light); }
.pricing-features li:last-child { border-bottom: none; }

/* ============================================
   24. BREADCRUMBS
   ============================================ */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-primary); }
.breadcrumbs-separator { color: var(--text-muted); }
.breadcrumbs-current { color: var(--text-primary); font-weight: 600; }

/* ============================================
   25. CHIPS
   ============================================ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--bg-tertiary); border-radius: 100px; font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
.chip:hover { background: var(--bg-secondary); color: var(--text-primary); }
.chip.active { background: var(--brand-primary); color: white; }
.chip-close { font-size: 16px; opacity: 0.7; }

/* ============================================
   26. METRIC CARDS
   ============================================ */
.metric-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.metric-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 20px; }
.metric-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.metric-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.metric-card-change { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.metric-card-change.up { background: var(--success-bg); color: var(--success); }
.metric-card-change.down { background: rgba(239,68,68,0.1); color: #ef4444; }
.metric-card-value { font-size: 28px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.metric-card-label { font-size: 13px; color: var(--text-secondary); }

/* ============================================
   27. CALLOUT BOXES
   ============================================ */
.callout { background: var(--bg-secondary); border-radius: 16px; padding: 24px; display: flex; gap: 16px; }
.callout-icon { font-size: 32px; flex-shrink: 0; }
.callout-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.callout-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.callout.highlight { background: var(--brand-light); border: 1px solid rgba(239,68,68,0.2); }

/* ============================================
   28. STEP INDICATORS
   ============================================ */
.step-indicators { display: flex; justify-content: space-between; margin-bottom: 32px; position: relative; }
.step-indicators::before { content: ''; position: absolute; top: 16px; left: 0; right: 0; height: 2px; background: var(--border-light); z-index: 0; }
.step-indicator { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.step-indicator-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-tertiary); border: 2px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.step-indicator.active .step-indicator-dot { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }
.step-indicator.completed .step-indicator-dot { background: var(--success); border-color: var(--success); color: white; }
.step-indicator-label { font-size: 12px; color: var(--text-muted); text-align: center; }
.step-indicator.active .step-indicator-label { color: var(--text-primary); font-weight: 600; }

/* ============================================
   29. VS COMPARISON
   ============================================ */
.vs-comparison { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.vs-item { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; text-align: center; }
.vs-item-name { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.vs-badge { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: var(--text-secondary); }

/* ============================================
   30. HIGHLIGHT BOX
   ============================================ */
.highlight-box { background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark)); border-radius: 20px; padding: 32px; color: white; text-align: center; }
.highlight-box-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.highlight-box-text { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }

/* ============================================
   31-50. UTILITY & LAYOUT COMPONENTS
   ============================================ */

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

/* Flex Utilities */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: flex-start; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* Spacing */
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 48px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 48px; }

/* Cards */
.card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; }
.card-sm { padding: 16px; border-radius: 12px; }
.card-lg { padding: 32px; border-radius: 20px; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Text */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.text-brand { color: var(--brand-primary); }
.text-success { color: var(--success); }
.text-error { color: #ef4444; }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 800; }

/* Container */
.container-sm { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .vs-comparison { grid-template-columns: 1fr; }
    .countdown-value { font-size: 24px; padding: 12px 16px; min-width: 60px; }
    .pricing-card.featured { transform: none; }
}
