| 1 |
<?php |
| 2 |
/** |
| 3 |
* Support Page Template for WPbot Automator |
| 4 |
*/ |
| 5 |
if ( ! defined( 'ABSPATH' ) ) { |
| 6 |
exit; |
| 7 |
} |
| 8 |
?> |
| 9 |
|
| 10 |
<style> |
| 11 |
:root { |
| 12 |
--wpbot-primary: #4f46e5; |
| 13 |
--wpbot-primary-hover: #4338ca; |
| 14 |
--wpbot-bg: #f8fafc; |
| 15 |
--wpbot-card-bg: #ffffff; |
| 16 |
--wpbot-text-main: #1e293b; |
| 17 |
--wpbot-text-muted: #64748b; |
| 18 |
--wpbot-border: #e2e8f0; |
| 19 |
--wpbot-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); |
| 20 |
--wpbot-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); |
| 21 |
} |
| 22 |
|
| 23 |
.wpbot-support-container { |
| 24 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 25 |
max-width: 1000px; |
| 26 |
margin: 20px auto; |
| 27 |
padding: 0 20px; |
| 28 |
color: var(--wpbot-text-main); |
| 29 |
} |
| 30 |
|
| 31 |
.wpbot-support-header { |
| 32 |
text-align: center; |
| 33 |
margin-bottom: 50px; |
| 34 |
} |
| 35 |
|
| 36 |
.wpbot-support-header h1 { |
| 37 |
font-size: 2.5rem; |
| 38 |
font-weight: 800; |
| 39 |
margin-bottom: 15px; |
| 40 |
background: linear-gradient(to right, #4f46e5, #9333ea); |
| 41 |
-webkit-background-clip: text; |
| 42 |
background-clip: text; |
| 43 |
-webkit-text-fill-color: transparent; |
| 44 |
line-height: 45px; |
| 45 |
} |
| 46 |
|
| 47 |
.wpbot-support-header p { |
| 48 |
font-size: 1.1rem; |
| 49 |
color: var(--wpbot-text-muted); |
| 50 |
max-width: 600px; |
| 51 |
margin: 0 auto; |
| 52 |
line-height: 1.6; |
| 53 |
} |
| 54 |
|
| 55 |
/* Support Cards */ |
| 56 |
.wpbot-support-grid { |
| 57 |
display: grid; |
| 58 |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 59 |
gap: 30px; |
| 60 |
margin-bottom: 60px; |
| 61 |
} |
| 62 |
|
| 63 |
.wpbot-support-card { |
| 64 |
background: var(--wpbot-card-bg); |
| 65 |
border: 1px solid var(--wpbot-border); |
| 66 |
border-radius: 20px; |
| 67 |
padding: 40px; |
| 68 |
text-align: center; |
| 69 |
transition: all 0.3s ease; |
| 70 |
box-shadow: var(--wpbot-shadow); |
| 71 |
display: flex; |
| 72 |
flex-direction: column; |
| 73 |
justify-content: space-between; |
| 74 |
} |
| 75 |
|
| 76 |
.wpbot-support-card:hover { |
| 77 |
transform: translateY(-8px); |
| 78 |
box-shadow: var(--wpbot-shadow-lg); |
| 79 |
border-color: var(--wpbot-primary); |
| 80 |
} |
| 81 |
|
| 82 |
.wpbot-support-icon { |
| 83 |
font-size: 3rem; |
| 84 |
margin-bottom: 20px; |
| 85 |
display: block; |
| 86 |
} |
| 87 |
|
| 88 |
.wpbot-support-card h3 { |
| 89 |
font-size: 1.5rem; |
| 90 |
font-weight: 700; |
| 91 |
margin-bottom: 15px; |
| 92 |
} |
| 93 |
|
| 94 |
.wpbot-support-card p { |
| 95 |
color: var(--wpbot-text-muted); |
| 96 |
line-height: 1.6; |
| 97 |
margin-bottom: 25px; |
| 98 |
} |
| 99 |
|
| 100 |
.wpbot-btn { |
| 101 |
display: inline-block; |
| 102 |
padding: 12px 25px; |
| 103 |
border-radius: 12px; |
| 104 |
font-weight: 600; |
| 105 |
text-decoration: none; |
| 106 |
transition: all 0.2s ease; |
| 107 |
cursor: pointer; |
| 108 |
font-size: 0.95rem; |
| 109 |
} |
| 110 |
|
| 111 |
.wpbot-btn-primary { |
| 112 |
background: var(--wpbot-primary); |
| 113 |
color: white; |
| 114 |
} |
| 115 |
|
| 116 |
.wpbot-btn-primary:hover { |
| 117 |
background: var(--wpbot-primary-hover); |
| 118 |
transform: scale(1.02); |
| 119 |
color: #ffffff; |
| 120 |
} |
| 121 |
|
| 122 |
.wpbot-btn-outline { |
| 123 |
border: 2px solid var(--wpbot-border); |
| 124 |
color: var(--wpbot-text-main); |
| 125 |
} |
| 126 |
|
| 127 |
.wpbot-btn-outline:hover { |
| 128 |
border-color: var(--wpbot-primary); |
| 129 |
color: var(--wpbot-primary); |
| 130 |
} |
| 131 |
|
| 132 |
/* Knowledge Base Section */ |
| 133 |
.wpbot-kb-banner { |
| 134 |
background: #eff6ff; |
| 135 |
border-radius: 20px; |
| 136 |
padding: 40px; |
| 137 |
display: flex; |
| 138 |
align-items: center; |
| 139 |
gap: 30px; |
| 140 |
margin-bottom: 60px; |
| 141 |
border: 1px solid #dbeafe; |
| 142 |
} |
| 143 |
|
| 144 |
.wpbot-kb-content h2 { |
| 145 |
font-size: 1.75rem; |
| 146 |
margin-bottom: 10px; |
| 147 |
} |
| 148 |
|
| 149 |
/* Pro Banner */ |
| 150 |
.wpbot-pro-banner { |
| 151 |
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); |
| 152 |
border-radius: 24px; |
| 153 |
padding: 50px; |
| 154 |
color: white; |
| 155 |
text-align: center; |
| 156 |
position: relative; |
| 157 |
overflow: hidden; |
| 158 |
} |
| 159 |
|
| 160 |
.wpbot-pro-banner h2 { |
| 161 |
color: white; |
| 162 |
font-size: 2.25rem; |
| 163 |
margin-bottom: 15px; |
| 164 |
} |
| 165 |
|
| 166 |
.wpbot-pro-banner p { |
| 167 |
font-size: 1.1rem; |
| 168 |
margin-bottom: 30px; |
| 169 |
opacity: 0.9; |
| 170 |
} |
| 171 |
|
| 172 |
.wpbot-btn-white { |
| 173 |
background: white; |
| 174 |
color: #4f46e5; |
| 175 |
} |
| 176 |
|
| 177 |
.wpbot-btn-white:hover { |
| 178 |
transform: scale(1.05); |
| 179 |
box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); |
| 180 |
} |
| 181 |
|
| 182 |
@media (max-width: 768px) { |
| 183 |
.wpbot-kb-banner { |
| 184 |
flex-direction: column; |
| 185 |
text-align: center; |
| 186 |
} |
| 187 |
} |
| 188 |
</style> |
| 189 |
|
| 190 |
<div class="wpbot-support-container"> |
| 191 |
<div class="wpbot-support-header"> |
| 192 |
<h1><?php esc_html_e( 'Need Some Help?', 'chatbot' ); ?></h1> |
| 193 |
<p><?php esc_html_e( 'Our team is here to ensure your automation success. Choose the support channel that best fits your needs.', 'chatbot' ); ?></p> |
| 194 |
</div> |
| 195 |
|
| 196 |
<div class="wpbot-kb-banner"> |
| 197 |
<span class="wpbot-support-icon">📚</span> |
| 198 |
<div class="wpbot-kb-content"> |
| 199 |
<h2><?php esc_html_e( 'Self-Service Documentation', 'chatbot' ); ?></h2> |
| 200 |
<p><?php esc_html_e( 'Check out our comprehensive guides and tutorials to find quick answers to common questions.', 'chatbot' ); ?></p> |
| 201 |
</div> |
| 202 |
<a href="https://wpbot.pro/docs/knowledgebase/workflow-automation-plugin-for-wordpress/" target="_blank" class="wpbot-btn wpbot-btn-outline"><?php esc_html_e( 'Browse Docs', 'chatbot' ); ?></a> |
| 203 |
</div> |
| 204 |
|
| 205 |
<div class="wpbot-support-grid"> |
| 206 |
<div class="wpbot-support-card"> |
| 207 |
<div> |
| 208 |
<span class="wpbot-support-icon">⚡</span> |
| 209 |
<h3><?php esc_html_e( 'Priority Support', 'chatbot' ); ?></h3> |
| 210 |
<p><?php esc_html_e( 'Pro users get premium, guaranteed quick, one-on-one priority support from our expert developers.', 'chatbot' ); ?></p> |
| 211 |
</div> |
| 212 |
<a href="https://qc.turbopowers.com/" target="_blank" class="wpbot-btn wpbot-btn-primary"><?php esc_html_e( 'Open Priority Ticket', 'chatbot' ); ?></a> |
| 213 |
</div> |
| 214 |
|
| 215 |
<div class="wpbot-support-card"> |
| 216 |
<div> |
| 217 |
<span class="wpbot-support-icon">💬</span> |
| 218 |
<h3><?php esc_html_e( 'Community Support', 'chatbot' ); ?></h3> |
| 219 |
<p><?php esc_html_e( 'Using the free version? Join our community forums to get help from other users and our staff.', 'chatbot' ); ?></p> |
| 220 |
</div> |
| 221 |
<a href="https://www.wpbot.pro/free-support/" target="_blank" class="wpbot-btn wpbot-btn-outline"><?php esc_html_e( 'Free Support', 'chatbot' ); ?></a> |
| 222 |
</div> |
| 223 |
</div> |
| 224 |
|
| 225 |
<div class="wpbot-pro-banner"> |
| 226 |
<h2><?php esc_html_e( 'Unlock 1-on-1 Support', 'chatbot' ); ?></h2> |
| 227 |
<p><?php esc_html_e( 'Upgrade to WPbot Automator PRO today and get instant access to our priority support channel plus advanced automation features.', 'chatbot' ); ?></p> |
| 228 |
<a href="https://www.wpbot.pro/pricing/" class="wpbot-btn wpbot-btn-white"><?php esc_html_e( 'Upgrade to Pro Now', 'chatbot' ); ?></a> |
| 229 |
</div> |
| 230 |
</div> |