/**
 * Mauzo Link brand overrides for GP template
 */
:root {
  --accent-color: #940000;
  --nav-hover-color: #ffc8c8;
  --nav-dropdown-hover-color: #940000;
  --contrast-color: #ffffff;
  --default-font: "Century Gothic", "Segoe UI", Roboto, sans-serif;
  --heading-font: "Century Gothic", "Segoe UI", Raleway, sans-serif;
  --nav-font: "Century Gothic", "Segoe UI", Poppins, sans-serif;
}

body {
  font-family: var(--default-font);
}

.header {
  background: rgba(0, 0, 0, 0.88);
}

.header .logo h1,
.header .logo span {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.header .logo span {
  color: var(--accent-color);
}

.btn-getstarted {
  background: var(--accent-color);
  color: #fff !important;
  border-radius: 4px;
  font-weight: 600;
}

.btn-getstarted:hover {
  background: #7a0000;
  color: #fff !important;
}

.hero h2 span {
  color: var(--accent-color);
}

.section-title h2::after {
  background: var(--accent-color);
}

.service-item .icon i,
.features-item i,
.stats-item i {
  color: var(--accent-color);
}

.pricing-card.featured {
  border-color: var(--accent-color);
}

.pricing-card .plan-badge {
  background: var(--accent-color);
}

.cta-btn {
  background: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
}

.cta-btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  color: #fff;
}

.php-email-form button[type=submit]:hover {
  background: #7a0000;
}

.footer .sitename {
  color: var(--accent-color);
}

.scroll-top {
  background: var(--accent-color);
}

/* =============================================
   Top progress bar preloader
   ============================================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 999999;
  overflow: hidden;
  background: rgba(148, 0, 0, 0.12);
  pointer-events: none;
}

#preloader:before {
  display: none;
}

.preloader-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #940000 30%, #c81e1e 70%, transparent);
  box-shadow: 0 0 8px rgba(148, 0, 0, 0.6);
  animation: preloader-slide 1.1s ease-in-out infinite;
}

@keyframes preloader-slide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* Register business page */
.register-page .register-steps {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 28px 24px;
  height: 100%;
}

.register-page .register-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.register-page .register-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.register-page .register-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.register-page .register-step.active .register-step-num {
  background: var(--accent-color);
  color: #fff;
}

.register-page .register-step.done .register-step-num {
  background: #28a745;
  color: #fff;
}

.register-page .register-step h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--heading-color);
}

.register-page .register-step p {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.register-page .trial-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.register-page .register-form-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.register-page .form-block-title {
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.register-page .form-block-title i {
  font-size: 18px;
}

.register-page .phone-input-group {
  display: flex;
  align-items: stretch;
}

.register-page .phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  font-weight: 700;
  white-space: nowrap;
}

.register-page .phone-input-group .form-control {
  border-radius: 0 4px 4px 0;
}

.register-page .field-help {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 6px;
}

.register-page .optional-tag {
  font-weight: 400;
  opacity: 0.65;
  font-size: 12px;
}

.register-page .register-note {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 13px;
}

.register-page .verification-code-input {
  letter-spacing: 0.35em;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.register-page .contact .php-email-form select,
.register-page .contact .php-email-form input[type=tel],
.register-page .contact .php-email-form input[type=text],
.register-page .contact .php-email-form input[type=email],
.register-page .contact .php-email-form textarea {
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 12px 14px;
  border-radius: 4px;
}

.register-page .contact .php-email-form select:focus,
.register-page .contact .php-email-form input:focus,
.register-page .contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.register-page .select2-container--default .select2-selection--single {
  min-height: 46px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 8px 6px;
}

.register-page .select2-container--default.select2-container--focus .select2-selection--single,
.register-page .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--accent-color);
}

.register-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.register-progress-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.register-progress-card h4 {
  color: var(--accent-color);
  margin: 18px 0 10px;
}

.register-progress-card p {
  color: #444;
  opacity: 0.75;
  min-height: 48px;
  margin-bottom: 18px;
}

.register-progress-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: register-spin 0.9s linear infinite;
}

.register-progress-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.register-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent-color);
  border-radius: 999px;
  transition: width 0.6s ease;
}

@keyframes register-spin {
  to { transform: rotate(360deg); }
}

.landing-alert {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  min-width: min(520px, 92vw);
}

/* =============================================
   Responsive tuning
   ============================================= */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

@media (max-width: 1199.98px) {
  .header .logo { margin-right: auto !important; }
  .header .header-actions { order: 2; margin: 0 14px 0 0 !important; }
  .header .header-actions .btn-getstarted { margin: 0; }
  .header .navmenu { order: 3; }
  .hero h2 { font-size: 44px; }
  .section-title p { font-size: 30px; }
}

@media (max-width: 991.98px) {
  .section { padding: 50px 0; }
  .section-title { padding-bottom: 36px; }
  .section-title p { font-size: 26px; line-height: 1.3; }
  .hero { padding: 110px 0 60px; }
  .hero h2 { font-size: 36px; line-height: 1.2; }
  .hero .icon-box { padding: 22px 14px; }
  .hero .icon-box h3 { font-size: 17px; line-height: 22px; }
}

@media (max-width: 767.98px) {
  .section { padding: 40px 0; }
  .section-title { padding-bottom: 26px; }
  .section-title h2 { font-size: 12px; }
  .section-title h2::after { width: 60px; }
  .section-title p { font-size: 21px; letter-spacing: .2px; }

  .hero { min-height: auto; padding: 96px 0 44px; }
  .hero h2 { font-size: 27px; line-height: 1.25; }
  .hero .d-flex.gap-3 { gap: 10px !important; margin-top: 18px !important; }
  .hero .btn-getstarted, .hero .cta-btn { flex: 1 1 140px; text-align: center; padding: 10px 14px !important; }
  .hero .row.mt-5 { margin-top: 26px !important; --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
  .hero .icon-box { padding: 14px 8px; border-radius: 8px; background: rgba(0, 0, 0, .25); }
  .hero .icon-box i { font-size: 22px; }
  .hero .icon-box h3 { font-size: 14px; line-height: 18px; margin-top: 6px; }

  .about h3, .stats h3 { font-size: 22px; }
  .stats .stats-item { flex-direction: column; gap: 4px; }
  .stats .stats-item i { font-size: 28px; line-height: 1; margin: 0 0 4px; }
  .stats .stats-item span.purecounter { font-size: 30px; }
  .stats .stats-item p { font-size: 13px; margin: 0; }
  .testimonials .testimonial-item p { font-size: 15px; }
  .call-to-action h3 { font-size: 22px; }
  .call-to-action .cta-btn { display: block; width: 100%; max-width: 320px; margin: 10px auto 0; }
  .scroll-top { right: 12px; bottom: 12px; }
}

@media (max-width: 400px) {
  .hero h2 { font-size: 24px; }
  .section-title p { font-size: 19px; }
  .hero .icon-box h3 { font-size: 13px; }
}
