| 1 |
/** |
| 2 |
* Yatra Free vs Pro Comparison Page Styles |
| 3 |
* |
| 4 |
* @package Yatra |
| 5 |
* @since 1.0.0 |
| 6 |
*/ |
| 7 |
|
| 8 |
/* Main Container */ |
| 9 |
.yatra-free-vs-pro { |
| 10 |
max-width: 1200px; |
| 11 |
margin: 0 auto; |
| 12 |
padding: 20px; |
| 13 |
} |
| 14 |
|
| 15 |
/* Header Section */ |
| 16 |
.yatra-free-vs-pro-header { |
| 17 |
text-align: center; |
| 18 |
margin-bottom: 40px; |
| 19 |
padding: 40px 30px; |
| 20 |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 21 |
border-radius: 16px; |
| 22 |
color: white; |
| 23 |
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3); |
| 24 |
position: relative; |
| 25 |
overflow: hidden; |
| 26 |
} |
| 27 |
|
| 28 |
.yatra-free-vs-pro-header::before { |
| 29 |
content: ''; |
| 30 |
position: absolute; |
| 31 |
top: 0; |
| 32 |
left: 0; |
| 33 |
right: 0; |
| 34 |
bottom: 0; |
| 35 |
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'); |
| 36 |
pointer-events: none; |
| 37 |
} |
| 38 |
|
| 39 |
.yatra-free-vs-pro-header h1 { |
| 40 |
font-size: 36px; |
| 41 |
font-weight: 800; |
| 42 |
margin: 0 0 20px 0; |
| 43 |
color: white; |
| 44 |
position: relative; |
| 45 |
z-index: 1; |
| 46 |
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 47 |
} |
| 48 |
|
| 49 |
.yatra-free-vs-pro-header p { |
| 50 |
font-size: 18px; |
| 51 |
margin: 0; |
| 52 |
opacity: 0.95; |
| 53 |
position: relative; |
| 54 |
z-index: 1; |
| 55 |
line-height: 1.6; |
| 56 |
max-width: 600px; |
| 57 |
margin: 0 auto; |
| 58 |
} |
| 59 |
|
| 60 |
/* Comparison Table */ |
| 61 |
.yatra-comparison-table { |
| 62 |
background: white; |
| 63 |
border-radius: 16px; |
| 64 |
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); |
| 65 |
overflow: hidden; |
| 66 |
margin-bottom: 40px; |
| 67 |
border: 1px solid #e5e7eb; |
| 68 |
} |
| 69 |
|
| 70 |
.yatra-comparison-header { |
| 71 |
display: grid; |
| 72 |
grid-template-columns: 2fr 1fr 1fr; |
| 73 |
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); |
| 74 |
border-bottom: 2px solid #e2e8f0; |
| 75 |
position: relative; |
| 76 |
} |
| 77 |
|
| 78 |
.yatra-plan-column { |
| 79 |
padding: 25px 20px; |
| 80 |
text-align: center; |
| 81 |
border-right: 1px solid #e2e8f0; |
| 82 |
} |
| 83 |
|
| 84 |
.yatra-plan-column:last-child { |
| 85 |
border-right: none; |
| 86 |
} |
| 87 |
|
| 88 |
.yatra-plan-column h2 { |
| 89 |
font-size: 18px; |
| 90 |
font-weight: 600; |
| 91 |
margin: 0 0 10px 0; |
| 92 |
color: #1f2937; |
| 93 |
} |
| 94 |
|
| 95 |
.yatra-plan-column h3 { |
| 96 |
font-size: 24px; |
| 97 |
font-weight: 700; |
| 98 |
margin: 0 0 15px 0; |
| 99 |
color: #1f2937; |
| 100 |
} |
| 101 |
|
| 102 |
.yatra-plan-price { |
| 103 |
margin-bottom: 15px; |
| 104 |
} |
| 105 |
|
| 106 |
.yatra-price { |
| 107 |
font-size: 32px; |
| 108 |
font-weight: 700; |
| 109 |
color: #3b82f6; |
| 110 |
display: block; |
| 111 |
} |
| 112 |
|
| 113 |
.yatra-period { |
| 114 |
font-size: 14px; |
| 115 |
color: #6b7280; |
| 116 |
display: block; |
| 117 |
margin-top: 5px; |
| 118 |
} |
| 119 |
|
| 120 |
.yatra-plan-badge { |
| 121 |
background: #f59e0b; |
| 122 |
color: white; |
| 123 |
padding: 6px 12px; |
| 124 |
border-radius: 20px; |
| 125 |
font-size: 12px; |
| 126 |
font-weight: 600; |
| 127 |
display: inline-block; |
| 128 |
margin-top: 10px; |
| 129 |
} |
| 130 |
|
| 131 |
/* Pro Plan Highlighting */ |
| 132 |
.yatra-pro-plan .yatra-plan-header { |
| 133 |
background: linear-gradient(135deg, #3b82f6, #1d4ed8); |
| 134 |
color: white; |
| 135 |
position: relative; |
| 136 |
border-radius: 12px; |
| 137 |
margin: 8px; |
| 138 |
padding: 20px; |
| 139 |
box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3); |
| 140 |
transform: scale(1.02); |
| 141 |
transition: all 0.3s ease; |
| 142 |
} |
| 143 |
|
| 144 |
.yatra-pro-plan .yatra-plan-header:hover { |
| 145 |
transform: scale(1.03); |
| 146 |
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); |
| 147 |
} |
| 148 |
|
| 149 |
.yatra-pro-plan .yatra-plan-header::before { |
| 150 |
content: ''; |
| 151 |
position: absolute; |
| 152 |
top: -3px; |
| 153 |
left: -3px; |
| 154 |
right: -3px; |
| 155 |
bottom: -3px; |
| 156 |
background: linear-gradient(135deg, #f59e0b, #d97706); |
| 157 |
border-radius: 15px; |
| 158 |
z-index: -1; |
| 159 |
opacity: 0.8; |
| 160 |
} |
| 161 |
|
| 162 |
.yatra-pro-plan .yatra-plan-header h3, |
| 163 |
.yatra-pro-plan .yatra-plan-header .yatra-price, |
| 164 |
.yatra-pro-plan .yatra-plan-header .yatra-period { |
| 165 |
color: white; |
| 166 |
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); |
| 167 |
} |
| 168 |
|
| 169 |
/* Feature Categories */ |
| 170 |
.yatra-feature-category { |
| 171 |
border-bottom: 1px solid #e2e8f0; |
| 172 |
transition: background-color 0.2s ease; |
| 173 |
} |
| 174 |
|
| 175 |
.yatra-feature-category:hover { |
| 176 |
background-color: #fafbfc; |
| 177 |
} |
| 178 |
|
| 179 |
.yatra-feature-category:last-child { |
| 180 |
border-bottom: none; |
| 181 |
} |
| 182 |
|
| 183 |
.yatra-feature-category h4 { |
| 184 |
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); |
| 185 |
padding: 18px 20px; |
| 186 |
margin: 0; |
| 187 |
font-size: 17px; |
| 188 |
font-weight: 700; |
| 189 |
color: #1f2937; |
| 190 |
border-bottom: 2px solid #e2e8f0; |
| 191 |
text-transform: uppercase; |
| 192 |
letter-spacing: 0.5px; |
| 193 |
} |
| 194 |
|
| 195 |
.yatra-feature-row { |
| 196 |
display: grid; |
| 197 |
grid-template-columns: 2fr 1fr 1fr; |
| 198 |
align-items: center; |
| 199 |
padding: 18px 20px; |
| 200 |
border-bottom: 1px solid #f1f5f9; |
| 201 |
transition: background-color 0.2s ease; |
| 202 |
} |
| 203 |
|
| 204 |
.yatra-feature-row:hover { |
| 205 |
background-color: #f8fafc; |
| 206 |
} |
| 207 |
|
| 208 |
.yatra-feature-row:last-child { |
| 209 |
border-bottom: none; |
| 210 |
} |
| 211 |
|
| 212 |
.yatra-feature-name { |
| 213 |
font-weight: 600; |
| 214 |
color: #1f2937; |
| 215 |
font-size: 15px; |
| 216 |
} |
| 217 |
|
| 218 |
.yatra-feature-description { |
| 219 |
font-size: 13px; |
| 220 |
color: #6b7280; |
| 221 |
margin-top: 4px; |
| 222 |
font-weight: 400; |
| 223 |
line-height: 1.4; |
| 224 |
} |
| 225 |
|
| 226 |
.yatra-feature-free, |
| 227 |
.yatra-feature-pro { |
| 228 |
text-align: center; |
| 229 |
} |
| 230 |
|
| 231 |
.yatra-check { |
| 232 |
color: #10b981; |
| 233 |
font-size: 20px; |
| 234 |
font-weight: bold; |
| 235 |
background: #ecfdf5; |
| 236 |
border-radius: 50%; |
| 237 |
width: 32px; |
| 238 |
height: 32px; |
| 239 |
display: inline-flex; |
| 240 |
align-items: center; |
| 241 |
justify-content: center; |
| 242 |
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); |
| 243 |
} |
| 244 |
|
| 245 |
.yatra-cross { |
| 246 |
color: #ef4444; |
| 247 |
font-size: 20px; |
| 248 |
font-weight: bold; |
| 249 |
background: #fef2f2; |
| 250 |
border-radius: 50%; |
| 251 |
width: 32px; |
| 252 |
height: 32px; |
| 253 |
display: inline-flex; |
| 254 |
align-items: center; |
| 255 |
justify-content: center; |
| 256 |
box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2); |
| 257 |
} |
| 258 |
|
| 259 |
/* Comparison Footer */ |
| 260 |
.yatra-comparison-footer { |
| 261 |
display: grid; |
| 262 |
grid-template-columns: 2fr 1fr 1fr; |
| 263 |
background: #f8fafc; |
| 264 |
padding: 25px 20px; |
| 265 |
border-top: 1px solid #e2e8f0; |
| 266 |
} |
| 267 |
|
| 268 |
.yatra-plan-action { |
| 269 |
text-align: center; |
| 270 |
} |
| 271 |
|
| 272 |
.yatra-current-plan { |
| 273 |
background: #6b7280; |
| 274 |
color: white; |
| 275 |
padding: 8px 16px; |
| 276 |
border-radius: 6px; |
| 277 |
font-size: 14px; |
| 278 |
font-weight: 500; |
| 279 |
} |
| 280 |
|
| 281 |
.yatra-upgrade-button { |
| 282 |
background: #3b82f6 !important; |
| 283 |
border-color: #3b82f6 !important; |
| 284 |
color: white !important; |
| 285 |
padding: 12px 24px !important; |
| 286 |
font-size: 16px !important; |
| 287 |
font-weight: 600 !important; |
| 288 |
border-radius: 8px !important; |
| 289 |
text-decoration: none !important; |
| 290 |
display: inline-block !important; |
| 291 |
transition: all 0.3s ease !important; |
| 292 |
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important; |
| 293 |
} |
| 294 |
|
| 295 |
.yatra-upgrade-button:hover { |
| 296 |
background: #2563eb !important; |
| 297 |
border-color: #2563eb !important; |
| 298 |
transform: translateY(-2px) !important; |
| 299 |
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important; |
| 300 |
} |
| 301 |
|
| 302 |
.yatra-upgrade-note { |
| 303 |
font-size: 12px; |
| 304 |
color: #6b7280; |
| 305 |
margin: 8px 0 0 0; |
| 306 |
} |
| 307 |
|
| 308 |
.yatra-learn-more-link { |
| 309 |
display: block; |
| 310 |
font-size: 13px; |
| 311 |
color: #3b82f6; |
| 312 |
text-decoration: none; |
| 313 |
margin-top: 8px; |
| 314 |
font-weight: 500; |
| 315 |
transition: all 0.2s ease; |
| 316 |
} |
| 317 |
|
| 318 |
.yatra-learn-more-link:hover { |
| 319 |
color: #2563eb; |
| 320 |
text-decoration: underline; |
| 321 |
} |
| 322 |
|
| 323 |
/* Footer Section */ |
| 324 |
.yatra-free-vs-pro-footer { |
| 325 |
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); |
| 326 |
border-radius: 16px; |
| 327 |
padding: 40px 30px; |
| 328 |
text-align: center; |
| 329 |
border: 1px solid #e5e7eb; |
| 330 |
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); |
| 331 |
} |
| 332 |
|
| 333 |
.yatra-footer-content h3 { |
| 334 |
font-size: 28px; |
| 335 |
font-weight: 700; |
| 336 |
margin: 0 0 20px 0; |
| 337 |
color: #1f2937; |
| 338 |
position: relative; |
| 339 |
} |
| 340 |
|
| 341 |
.yatra-footer-content h3::after { |
| 342 |
content: ''; |
| 343 |
position: absolute; |
| 344 |
bottom: -8px; |
| 345 |
left: 50%; |
| 346 |
transform: translateX(-50%); |
| 347 |
width: 60px; |
| 348 |
height: 3px; |
| 349 |
background: linear-gradient(135deg, #3b82f6, #1d4ed8); |
| 350 |
border-radius: 2px; |
| 351 |
} |
| 352 |
|
| 353 |
.yatra-footer-content p { |
| 354 |
font-size: 17px; |
| 355 |
color: #6b7280; |
| 356 |
margin: 0 0 30px 0; |
| 357 |
line-height: 1.6; |
| 358 |
max-width: 500px; |
| 359 |
margin: 0 auto 30px auto; |
| 360 |
} |
| 361 |
|
| 362 |
.yatra-footer-actions { |
| 363 |
display: flex; |
| 364 |
gap: 20px; |
| 365 |
justify-content: center; |
| 366 |
flex-wrap: wrap; |
| 367 |
} |
| 368 |
|
| 369 |
.yatra-footer-actions .button { |
| 370 |
padding: 12px 24px; |
| 371 |
font-size: 15px; |
| 372 |
font-weight: 600; |
| 373 |
border-radius: 8px; |
| 374 |
transition: all 0.3s ease; |
| 375 |
text-decoration: none; |
| 376 |
display: inline-block; |
| 377 |
} |
| 378 |
|
| 379 |
.yatra-footer-actions .button:hover { |
| 380 |
transform: translateY(-2px); |
| 381 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 382 |
} |
| 383 |
|
| 384 |
/* Responsive Design */ |
| 385 |
@media (max-width: 768px) { |
| 386 |
.yatra-comparison-header, |
| 387 |
.yatra-feature-row, |
| 388 |
.yatra-comparison-footer { |
| 389 |
grid-template-columns: 1fr; |
| 390 |
gap: 15px; |
| 391 |
} |
| 392 |
|
| 393 |
.yatra-plan-column { |
| 394 |
border-right: none; |
| 395 |
border-bottom: 1px solid #e2e8f0; |
| 396 |
} |
| 397 |
|
| 398 |
.yatra-plan-column:last-child { |
| 399 |
border-bottom: none; |
| 400 |
} |
| 401 |
|
| 402 |
.yatra-free-vs-pro-header h1 { |
| 403 |
font-size: 24px; |
| 404 |
} |
| 405 |
|
| 406 |
.yatra-free-vs-pro-header p { |
| 407 |
font-size: 14px; |
| 408 |
} |
| 409 |
|
| 410 |
.yatra-footer-actions { |
| 411 |
flex-direction: column; |
| 412 |
align-items: center; |
| 413 |
} |
| 414 |
} |
| 415 |
|
| 416 |
@media (max-width: 480px) { |
| 417 |
.yatra-free-vs-pro { |
| 418 |
padding: 15px; |
| 419 |
} |
| 420 |
|
| 421 |
.yatra-free-vs-pro-header { |
| 422 |
padding: 20px 15px; |
| 423 |
} |
| 424 |
|
| 425 |
.yatra-free-vs-pro-header h1 { |
| 426 |
font-size: 20px; |
| 427 |
} |
| 428 |
|
| 429 |
.yatra-plan-column h3 { |
| 430 |
font-size: 20px; |
| 431 |
} |
| 432 |
|
| 433 |
.yatra-price { |
| 434 |
font-size: 24px; |
| 435 |
} |
| 436 |
} |
| 437 |
|