/** * Yatra Free vs Pro Comparison Page Styles * * @package Yatra * @since 1.0.0 */ /* Main Container */ .yatra-free-vs-pro { max-width: 1200px; margin: 0 auto; padding: 20px; } /* Header Section */ .yatra-free-vs-pro-header { text-align: center; margin-bottom: 40px; padding: 40px 30px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 16px; color: white; box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3); position: relative; overflow: hidden; } .yatra-free-vs-pro-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,'); pointer-events: none; } .yatra-free-vs-pro-header h1 { font-size: 36px; font-weight: 800; margin: 0 0 20px 0; color: white; position: relative; z-index: 1; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .yatra-free-vs-pro-header p { font-size: 18px; margin: 0; opacity: 0.95; position: relative; z-index: 1; line-height: 1.6; max-width: 600px; margin: 0 auto; } /* Comparison Table */ .yatra-comparison-table { background: white; border-radius: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); overflow: hidden; margin-bottom: 40px; border: 1px solid #e5e7eb; } .yatra-comparison-header { display: grid; grid-template-columns: 2fr 1fr 1fr; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-bottom: 2px solid #e2e8f0; position: relative; } .yatra-plan-column { padding: 25px 20px; text-align: center; border-right: 1px solid #e2e8f0; } .yatra-plan-column:last-child { border-right: none; } .yatra-plan-column h2 { font-size: 18px; font-weight: 600; margin: 0 0 10px 0; color: #1f2937; } .yatra-plan-column h3 { font-size: 24px; font-weight: 700; margin: 0 0 15px 0; color: #1f2937; } .yatra-plan-price { margin-bottom: 15px; } .yatra-price { font-size: 32px; font-weight: 700; color: #3b82f6; display: block; } .yatra-period { font-size: 14px; color: #6b7280; display: block; margin-top: 5px; } .yatra-plan-badge { background: #f59e0b; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-block; margin-top: 10px; } /* Pro Plan Highlighting */ .yatra-pro-plan .yatra-plan-header { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; position: relative; border-radius: 12px; margin: 8px; padding: 20px; box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3); transform: scale(1.02); transition: all 0.3s ease; } .yatra-pro-plan .yatra-plan-header:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); } .yatra-pro-plan .yatra-plan-header::before { content: ''; position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px; background: linear-gradient(135deg, #f59e0b, #d97706); border-radius: 15px; z-index: -1; opacity: 0.8; } .yatra-pro-plan .yatra-plan-header h3, .yatra-pro-plan .yatra-plan-header .yatra-price, .yatra-pro-plan .yatra-plan-header .yatra-period { color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } /* Feature Categories */ .yatra-feature-category { border-bottom: 1px solid #e2e8f0; transition: background-color 0.2s ease; } .yatra-feature-category:hover { background-color: #fafbfc; } .yatra-feature-category:last-child { border-bottom: none; } .yatra-feature-category h4 { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); padding: 18px 20px; margin: 0; font-size: 17px; font-weight: 700; color: #1f2937; border-bottom: 2px solid #e2e8f0; text-transform: uppercase; letter-spacing: 0.5px; } .yatra-feature-row { display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: center; padding: 18px 20px; border-bottom: 1px solid #f1f5f9; transition: background-color 0.2s ease; } .yatra-feature-row:hover { background-color: #f8fafc; } .yatra-feature-row:last-child { border-bottom: none; } .yatra-feature-name { font-weight: 600; color: #1f2937; font-size: 15px; } .yatra-feature-description { font-size: 13px; color: #6b7280; margin-top: 4px; font-weight: 400; line-height: 1.4; } .yatra-feature-free, .yatra-feature-pro { text-align: center; } .yatra-check { color: #10b981; font-size: 20px; font-weight: bold; background: #ecfdf5; border-radius: 50%; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); } .yatra-cross { color: #ef4444; font-size: 20px; font-weight: bold; background: #fef2f2; border-radius: 50%; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2); } /* Comparison Footer */ .yatra-comparison-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; background: #f8fafc; padding: 25px 20px; border-top: 1px solid #e2e8f0; } .yatra-plan-action { text-align: center; } .yatra-current-plan { background: #6b7280; color: white; padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; } .yatra-upgrade-button { background: #3b82f6 !important; border-color: #3b82f6 !important; color: white !important; padding: 12px 24px !important; font-size: 16px !important; font-weight: 600 !important; border-radius: 8px !important; text-decoration: none !important; display: inline-block !important; transition: all 0.3s ease !important; box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important; } .yatra-upgrade-button:hover { background: #2563eb !important; border-color: #2563eb !important; transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important; } .yatra-upgrade-note { font-size: 12px; color: #6b7280; margin: 8px 0 0 0; } .yatra-learn-more-link { display: block; font-size: 13px; color: #3b82f6; text-decoration: none; margin-top: 8px; font-weight: 500; transition: all 0.2s ease; } .yatra-learn-more-link:hover { color: #2563eb; text-decoration: underline; } /* Footer Section */ .yatra-free-vs-pro-footer { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-radius: 16px; padding: 40px 30px; text-align: center; border: 1px solid #e5e7eb; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); } .yatra-footer-content h3 { font-size: 28px; font-weight: 700; margin: 0 0 20px 0; color: #1f2937; position: relative; } .yatra-footer-content h3::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-radius: 2px; } .yatra-footer-content p { font-size: 17px; color: #6b7280; margin: 0 0 30px 0; line-height: 1.6; max-width: 500px; margin: 0 auto 30px auto; } .yatra-footer-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; } .yatra-footer-actions .button { padding: 12px 24px; font-size: 15px; font-weight: 600; border-radius: 8px; transition: all 0.3s ease; text-decoration: none; display: inline-block; } .yatra-footer-actions .button:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } /* Responsive Design */ @media (max-width: 768px) { .yatra-comparison-header, .yatra-feature-row, .yatra-comparison-footer { grid-template-columns: 1fr; gap: 15px; } .yatra-plan-column { border-right: none; border-bottom: 1px solid #e2e8f0; } .yatra-plan-column:last-child { border-bottom: none; } .yatra-free-vs-pro-header h1 { font-size: 24px; } .yatra-free-vs-pro-header p { font-size: 14px; } .yatra-footer-actions { flex-direction: column; align-items: center; } } @media (max-width: 480px) { .yatra-free-vs-pro { padding: 15px; } .yatra-free-vs-pro-header { padding: 20px 15px; } .yatra-free-vs-pro-header h1 { font-size: 20px; } .yatra-plan-column h3 { font-size: 20px; } .yatra-price { font-size: 24px; } }