/* Global styles for all pages */
html, body, main {
  margin: 0;
  padding: 0;
}


:root {
  --pro-bg: #f8fafc;
  --pro-bg-soft: #eef6ff;
  --pro-surface: rgba(255, 255, 255, 0.88);
  --pro-surface-strong: rgba(255, 255, 255, 0.96);
  --pro-border: rgba(37, 99, 235, 0.16);
  --pro-primary: #2563eb;
  --pro-primary-dark: #1d4ed8;
  --pro-secondary: #0ea5e9;
  --pro-accent: #38bdf8;
  --pro-text: #0f172a;
  --pro-muted: #475569;
  --pro-light-muted: #64748b;
  --pro-error: #dc2626;
  --pro-success: #16a34a;
  --pro-shadow: 0 18px 55px rgba(15, 23, 42, 0.10);
  --pro-shadow-soft: 0 8px 28px rgba(37, 99, 235, 0.10);
}

/* Professional Light Theme - Clean Blue Glass UI */
.blue-theme-bg {
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, 0.10) 0%, transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(14, 165, 233, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(125, 211, 252, 0.16) 0%, transparent 36%),
    linear-gradient(135deg, #f8fafc 0%, #eef6ff 48%, #f7fbff 100%) !important;
  background-size: 180% 180% !important;
  animation: lightGradientAnimation 28s ease infinite !important;
  position: relative;
  overflow: hidden;
}

/* Soft professional background accents */
.blue-theme-bg::before {
  /* content: ''; */
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(124, 58, 237, 0.06) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle, rgba(34, 211, 238, 0.04) 2px, transparent 2px),
    radial-gradient(circle, rgba(167, 139, 250, 0.05) 1px, transparent 1px);
  background-size: 500px 500px, 400px 400px, 300px 300px, 350px 350px;
  background-position: 0 0, 50px 70px, 150px 300px, 200px 100px;
  animation: floatParticles 35s ease-in-out infinite;
  z-index: 0;
  opacity: 0.7;
}

@keyframes floatParticles {
  0%, 100% {
    background-position: 0 0, 50px 70px, 150px 300px, 200px 100px;
    opacity: 0.7;
  }
  50% {
    background-position: 120px 120px, 170px 190px, 270px 420px, 320px 220px;
    opacity: 0.9;
  }
}

@keyframes lightGradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, 0.10) 0%, transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(14, 165, 233, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(125, 211, 252, 0.16) 0%, transparent 36%),
    linear-gradient(135deg, #f8fafc 0%, #eef6ff 48%, #f7fbff 100%);
  background-size: 180% 180%;
  animation: lightGradientAnimation 28s ease infinite;
  min-height: 100vh;
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  color: var(--pro-text);
}

.logo-container {
  max-width: 400px;
  margin: 15px auto;
  padding: 0 15px;
}

.logo-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.spinner {
  width: 25px;
  height: 25px;
  border: 4px solid rgba(125, 211, 252, 0.25);
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-container img {
  width: 100%;
}

.main h2 {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 15px;
  color: #334155;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.service-text {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: #7dd3fc;
}

form {
  padding: 0;
  margin: 0;
}

.success-msg {
  color: #22c55e;
  font-weight: 500;
}

.star-icon {
  position: absolute !important;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  animation: pulse 1.5s infinite ease-in-out;
}

.star-icon-large {
  position: absolute !important;
  top: -25px;
  left: 0;
  right: 0;
  margin: auto;
  animation: pulse 1s infinite ease-in-out;
}

.trouphy-icon {
  position: absolute !important;
  left: -50px;
  animation: pulse 1s infinite ease-in-out;
}

.circle-icon {
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 4px solid #2563eb;
  position: absolute;
  border-radius: 50px;
  top: 15%;
  right: 0;
  animation: up-down 3s infinite ease-in-out;
}

.circle-icon-left {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  position: absolute;
  border-radius: 50px;
  top: 25%;
  left: 0;
  animation: up-down 3s infinite ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.pulse {
  animation: pulse 0.8s infinite ease-in-out;
}

.joystick {
  animation: updown 6s infinite ease-in-out;
}

@keyframes updown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px) rotate(5deg) scale(0.9);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Professional glass card */
.glass-card {
  position: relative;
  width: 300px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(8, 18, 38, 0.84);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.12), 0 4px 12px rgba(124, 58, 237, 0.08);
  border: 1.5px solid rgba(0, 229, 255, 0.15);
  color: #0f172a;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 15px 50px rgba(0, 229, 255, 0.18), 0 6px 18px rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04) 0%, rgba(124, 58, 237, 0.03) 50%, rgba(34, 211, 238, 0.04) 100%);
  border-radius: 24px;
  pointer-events: none;
}

.glass-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #0f172a;
}

.glass-card p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #334155;
}

.modern-card {
  position: relative;
  padding: 20px 40px;
  background: rgba(255,255,255,0.55);
  border-radius: 24px;
  /* box-shadow: 0 10px 40px rgba(0, 229, 255, 0.1), 0 4px 12px rgba(124, 58, 237, 0.06); */
  overflow: hidden;
  width: 100%;
  margin: auto;
  border: 1.5px solid rgba(0, 229, 255, 0.12);
  z-index: 1;
  color: #eaf6ff;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.modern-card * {
  color: inherit;
}

/* .modern-card:hover {
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 15px 50px rgba(0, 229, 255, 0.15), 0 6px 18px rgba(124, 58, 237, 0.1);
  transform: translateY(-1px);
} */

/* Professional input field styling */
.form-control {
  border: 2px solid rgba(0, 229, 255, 0.25);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 18px;
  line-height: 20px;
  transition: all 0.3s ease;
  background: rgba(8, 18, 38, 0.84);
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12), 0 4px 12px rgba(0, 229, 255, 0.08);
  transform: scale(1.01);
  background: rgba(10, 23, 47, 0.96);
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  outline: none;
}

.form-control::placeholder {
  color: rgba(120, 53, 15, 0.45);
}

.input-group {
  max-width: 100%;
  border-radius: 2rem;
}

.input-group span {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  display: inline-block;
  height: 100%;
  min-width: 80px;
  line-height: 56px;
  height: 56px;
  font-weight: 600;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  border-radius: 50px 0 0 50px;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.form-control.error {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.phone-input {
  height: 56px;
}

.form-control:disabled {
  background-color: #111827;
  border-color: #334155;
  color: #64748b;
  -webkit-text-fill-color: #64748b;
}

.error {
  color: #ff4d6d;
  font-size: 14px;
  font-weight: 500;
}

.success {
  color: #22c55e;
  font-size: 14px;
  font-weight: 500;
}

#responseMessage, #pinResponseMessage {
  color: #0f172a;
}

.input-group .form-control {
  border-radius: 0 30px 30px 0;
  overflow: hidden;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
}

.card {
  background: rgba(255,255,255,0.55);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.1), 0 4px 12px rgba(124, 58, 237, 0.06);
  border: 1.5px solid rgba(0, 229, 255, 0.12);
}

.btn {
  border-radius: 30px;
  font-weight: bold;
}

.text-lg {
  font-size: 18px;
  color: #eaf6ff;
  font-weight: 500;
}

.img-banner {
  margin: 10px auto;
}

.img-banner img {
  width: 100%;
}

#error-message {
  display: none;
  color: #ff4d6d;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
}

.btn-secondary {
  padding: 10px 15px;
  text-transform: uppercase;
}

/* Professional button gradient */
.theme-btn {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  background-size: 200% auto;
  color: #ffffff;
  transition: all 0.4s ease;
  text-transform: uppercase;
  font-size: 22px;
  padding: 10px 15px;
  border: none;
  border-radius: 30px;
  /* box-shadow: 0 6px 24px rgba(0, 229, 255, 0.35), 0 2px 8px rgba(0, 229, 255, 0.2); */
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 600;
}

.theme-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.theme-btn:hover::before {
  left: 100%;
}

.theme-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 100%);
  color: #ffffff;
  transform: translateY(-3px);
  /* box-shadow: 0 8px 30px rgba(0, 229, 255, 0.45), 0 4px 12px rgba(0, 229, 255, 0.25); */
}

.theme-btn:disabled {
  color: #ffffff;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Price Point */
.price-point {
  font-size: 12px;
  color: #334155;
  font-weight: 700;
  margin-top: 10px;
}

.down-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #0f172a;
  position: absolute;
  top: 14px;
  right: 8px;
}

/* Language Switcher */
.dropdown.lang-swticher {
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 10px;
  z-index: 100;
}

.block {
  display: block;
}

.lang-swticher .dropdown-button {
  background: rgba(8, 18, 38, 0.84);
  color: #0f172a;
  padding: 8px 25px 8px 8px;
  font-size: 12px;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 80px;
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
  font-weight: 600;
}

.lang-swticher .dropdown-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 229, 255, 0.35);
}

.w-100 {
  width: 100%;
}

.lang-swticher .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.18);
  z-index: 10;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.lang-swticher .dropdown-content a {
  color: #0f172a;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  display: block;
  white-space: nowrap;
  transition: all 0.2s ease;
  background-color: transparent;
  font-weight: 500;
}

.lang-swticher .dropdown-content a:hover {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
  color: #ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.legal-text p {
  font-size: 12px;
  margin-bottom: 0px;
  font-family: "Roboto", sans-serif;
  line-height: 15px;
  color: #eaf6ff;
}

.legal-text ul {
  font-size: 12px;
  margin-bottom: 0px;
  font-family: "Roboto", sans-serif;
  line-height: 15px;
  color: #eaf6ff;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.device-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.device-icon svg {
  width: 50px;
  color: #2563eb;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.device-icon:hover svg {
  color: #0ea5e9;
  transform: rotate(-12deg) scale(1.1);
  /* filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4)); */
}

/* Progress Bar */
.user-progressbar {
  display: none;
}

.progressbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
  margin: 0px auto 15px auto;
  position: relative;
}

.step {
  flex: 1;
  position: relative;
}

.number {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border-radius: 50%;
  line-height: 30px;
  color: #000;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 12;
  margin: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step.active .number {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  transform: scale(1.1);
  /* box-shadow: 0 0 15px rgba(0, 229, 255, 0.5); */
}

.label {
  margin-top: 5px;
  font-size: 12px;
  color: #334155;
  text-align: center;
}

.progressbar .step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 25px;
  right: 15px;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  z-index: 0;
}

#splash {
  display: none;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.splash-container {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.splash-container img {
  width: 100%;
  margin: auto;
  animation: sizzle 0.6s infinite ease-in-out;
  transform-origin: center;
}

@keyframes sizzle {
  0% {
    transform: scale(1) rotate(0deg);
    filter: blur(0);
    opacity: 1;
  }
  15% {
    transform: scale(1.01) rotate(0.5deg);
    filter: blur(0.2px);
    opacity: 0.95;
  }
  30% {
    transform: scale(0.99) rotate(-0.5deg);
    filter: blur(0.4px);
    opacity: 0.9;
  }
  45% {
    transform: scale(1.015) rotate(0.3deg);
    filter: blur(0.3px);
    opacity: 0.95;
  }
  60% {
    transform: scale(0.985) rotate(-0.3deg);
    filter: blur(0.5px);
    opacity: 0.9;
  }
  75% {
    transform: scale(1.02) rotate(0.2deg);
    filter: blur(0.2px);
    opacity: 0.95;
  }
  90% {
    transform: scale(0.99) rotate(-0.1deg);
    filter: blur(0.1px);
    opacity: 0.98;
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: blur(0);
    opacity: 1;
  }
}

.ripple-wrapper {
  position: absolute;
  width: 200px;
  height: 200px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
}

.ripple {
  width: 200px;
  height: 200px;
  background: rgba(0, 229, 255, 0.15);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 3s ease-out infinite;
}

.circle1 {
  animation-delay: 0s;
}

.circle2 {
  animation-delay: 1s;
}

.circle3 {
  animation-delay: 2s;
}

@keyframes rippleEffect {
  0% {
    transform: scale(0.2) rotate(0deg);
    opacity: 0.6;
    border-radius: 50%;
  }
  20% {
    transform: scale(0.5) rotate(5deg);
    opacity: 0.8;
    border-radius: 48%;
  }
  40% {
    transform: scale(1.0) rotate(10deg);
    opacity: 0.6;
    border-radius: 46%;
  }
  60% {
    transform: scale(1.5) rotate(5deg);
    opacity: 0.4;
    border-radius: 48%;
  }
  80% {
    transform: scale(1.8) rotate(0deg);
    opacity: 0.2;
    border-radius: 49%;
  }
  100% {
    transform: scale(2) rotate(0deg);
    opacity: 0;
    border-radius: 50%;
  }
}

.progressbar .step::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 25px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  z-index: 1;
}

.progressbar .step:last-child::before,
.progressbar .step:last-child::after {
  content: none;
}

.progressbar .step.active::before,
.progressbar .step.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .modern-card {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .modern-card {
    padding: 25px;
  }
}

@media (max-width: 767px) {
  body {
    background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 20%, #e8f1ff 40%, #0d1b3a 60%, #f8fafc 80%, #eef6ff 100%);
    background-size: 400% 400%;
    animation: lightGradientAnimation 30s ease infinite;
    height: 100vh;
  }

  .user-progressbar {
    display: block;
  }

  .modern-card {
    padding: 20px;
  }

  .main h2 {
    font-size: 18px;
    margin-bottom: 0;
  }

  .device-icon svg {
    width: 40px;
    color: #2563eb;
  }
  
  .service-text {
    font-size: 16px;
  }

  .logo-container {
    max-width: 220px;
    margin: 5px auto;
    padding: 0 10px;
  }
  
  .logo-img {
    max-width: 100%;
    height: auto;
  }

  .progressbar {
    max-width: 220px;
  }
  
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="password"] {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  .arrow-container {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
  }
  
  .arrow-circle {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #2563eb;
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.25);
  }
  
  .arrow-circle svg {
    width: 48px;
    height: 48px;
  }
  
  .device-icon:hover {
    transform: translateY(-5px) !important;
    filter: brightness(1.1);
  }
}


/* =========================================================
   Professional Light Complete Theme Overrides
   Clean, premium, responsive, existing HTML unchanged
========================================================= */

/* Background polish */
.blue-theme-bg::after,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.40), transparent 82%);
  z-index: 0;
}

.blue-theme-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(37, 99, 235, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 18%, rgba(14, 165, 233, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 76%, rgba(56, 189, 248, 0.10) 0 2px, transparent 3px);
  background-size: 280px 280px, 360px 360px, 420px 420px;
  opacity: 0.9;
  z-index: 0;
}

/* Typography */
.main h2,
.glass-card h2,
.service-text,
.price-point,
.label,
#responseMessage,
#pinResponseMessage {
  color: var(--pro-text) !important;
}

.main h2,
.glass-card h2 {
  letter-spacing: 0.3px;
  text-shadow: none !important;
}

.service-text {
  color: var(--pro-primary) !important;
}

.text-lg,
.legal-text p,
.legal-text ul {
  color: #000 !important;
}

/* Cards */
.modern-card,
.glass-card,
.card {
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.86)) !important;
  border: 1px solid var(--pro-border) !important;
  box-shadow: var(--pro-shadow), var(--pro-shadow-soft) !important;
  color: var(--pro-text) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.modern-card:hover,
.glass-card:hover,
.card:hover {
  border-color: rgba(37, 99, 235, 0.26) !important;
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.12), 0 10px 32px rgba(37, 99, 235, 0.12) !important;
}

.glass-card::before,
.modern-card::before,
.card::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(14, 165, 233, 0.045)) !important;
}

/* Logo and media */
.logo-img {
  filter: drop-shadow(0 10px 22px rgba(37, 99, 235, 0.10));
}

.logo-img:hover {
  transform: scale(1.035);
}

/* Inputs */
.form-control,
.input-group .form-control {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1.5px solid rgba(37, 99, 235, 0.20) !important;
  color: var(--pro-text) !important;
  -webkit-text-fill-color: var(--pro-text) !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-control:focus,
.input-group .form-control:focus {
  border-color: var(--pro-primary) !important;
  background: #ffffff !important;
  color: var(--pro-text) !important;
  -webkit-text-fill-color: var(--pro-text) !important;
  outline: none !important;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.11),
    0 8px 22px rgba(37, 99, 235, 0.10) !important;
  transform: none !important;
}

.form-control::placeholder {
  color: rgba(71, 85, 105, 0.52) !important;
}

.form-control:disabled {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

.input-group span {
  background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary)) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20) !important;
}

/* Buttons */
.theme-btn {
  background: linear-gradient(135deg, var(--pro-primary) 0%, var(--pro-secondary) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22) !important;
  letter-spacing: 0.4px;
}

.theme-btn::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent) !important;
}

.theme-btn:hover {
  background: linear-gradient(135deg, var(--pro-primary-dark) 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28) !important;
}

.theme-btn:disabled {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%) !important;
  color: #ffffff !important;
  cursor: not-allowed;
  opacity: 0.75;
  transform: none !important;
  box-shadow: none !important;
}

.btn {
  border-radius: 999px !important;
}

/* Language switcher */
.lang-swticher .dropdown-button,
.lang-swticher .dropdown-content {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--pro-text) !important;
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lang-swticher .dropdown-button:hover,
.lang-swticher .dropdown-content a:hover {
  background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary)) !important;
  color: #ffffff !important;
}

.lang-swticher .dropdown-content a {
  color: var(--pro-text) !important;
}

.down-arrow {
  border-top-color: var(--pro-primary) !important;
}

/* Icons and accents */
.device-icon svg,
.device-icon:hover svg {
  color: var(--pro-primary) !important;
}

.device-icon:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

.circle-icon {
  border-color: var(--pro-primary) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.circle-icon-left {
  background: linear-gradient(135deg, var(--pro-primary), var(--pro-accent)) !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18) !important;
}

.ripple {
  background: rgba(37, 99, 235, 0.12) !important;
}

.step.active .number {
  background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary)) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22) !important;
}

.progressbar .step::after {
  background: linear-gradient(90deg, var(--pro-primary), var(--pro-secondary)) !important;
}

/* Messages */
.error,
#error-message {
  color: var(--pro-error) !important;
}

.success,
.success-msg {
  color: var(--pro-success) !important;
}

.spinner {
  border-color: #dbeafe !important;
  border-top-color: var(--pro-primary) !important;
}

/* Thank-you / success page support */
.thankyou-page,
.thank-you-page,
.thankyou-wrapper,
.thank-you-wrapper,
.success-page,
.success-wrapper,
#thankyou,
#thank-you,
#success,
body.thankyou,
body.thank-you,
body.success {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, 0.10) 0%, transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(14, 165, 233, 0.12) 0%, transparent 34%),
    linear-gradient(135deg, #f8fafc 0%, #eef6ff 48%, #f7fbff 100%) !important;
  color: var(--pro-text) !important;
}

.thankyou-container,
.thank-you-container,
.success-container,
.thankyou-card,
.thank-you-card,
.success-card,
.thankyou-box,
.thank-you-box,
.success-box,
.message-box,
.result-box {
  position: relative;
  max-width: 540px;
  width: calc(100% - 32px);
  margin: 42px auto;
  padding: 30px 26px;
  text-align: center;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
  border: 1px solid var(--pro-border) !important;
  box-shadow: var(--pro-shadow), var(--pro-shadow-soft) !important;
  color: var(--pro-text) !important;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.thankyou-title,
.thank-you-title,
.success-title,
.thankyou-container h1,
.thank-you-container h1,
.success-container h1,
.thankyou-container h2,
.thank-you-container h2,
.success-container h2,
.thankyou-card h1,
.thank-you-card h1,
.success-card h1,
.thankyou-card h2,
.thank-you-card h2,
.success-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--pro-text) !important;
  letter-spacing: 0.2px;
  text-shadow: none !important;
}

.thankyou-message,
.thank-you-message,
.success-message,
.thankyou-container p,
.thank-you-container p,
.success-container p,
.thankyou-card p,
.thank-you-card p,
.success-card p {
  color: var(--pro-muted) !important;
  font-size: 15px;
  line-height: 1.6;
}

.thankyou-icon,
.thank-you-icon,
.success-icon,
.check-icon,
.checkmark,
.icon-success {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(14, 165, 233, 0.12)) !important;
  border: 1px solid rgba(37, 99, 235, 0.20) !important;
  color: var(--pro-primary) !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.thankyou-container a,
.thank-you-container a,
.success-container a,
.thankyou-card a,
.thank-you-card a,
.success-card a,
.back-btn,
.home-btn,
.continue-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary)) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22) !important;
  transition: all 0.3s ease;
}

.thankyou-container a:hover,
.thank-you-container a:hover,
.success-container a:hover,
.thankyou-card a:hover,
.thank-you-card a:hover,
.success-card a:hover,
.back-btn:hover,
.home-btn:hover,
.continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28) !important;
}

/* Mobile improvements */
@media (max-width: 767px) {
  body {
    background:
      radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.11) 0%, transparent 32%),
      radial-gradient(circle at 88% 24%, rgba(14, 165, 233, 0.12) 0%, transparent 36%),
      linear-gradient(135deg, #f8fafc 0%, #eef6ff 48%, #f7fbff 100%) !important;
    background-size: 180% 180% !important;
    animation: lightGradientAnimation 28s ease infinite !important;
  }

  .modern-card,
  .glass-card,
  .card {
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .main h2 {
    font-size: 18px !important;
  }

  .service-text {
    font-size: 16px !important;
  }

  .logo-container {
    max-width: 220px !important;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="password"] {
    color: var(--pro-text) !important;
    -webkit-text-fill-color: var(--pro-text) !important;
  }

  .arrow-circle {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.14) !important;
  }

  .thankyou-container,
  .thank-you-container,
  .success-container,
  .thankyou-card,
  .thank-you-card,
  .success-card,
  .thankyou-box,
  .thank-you-box,
  .success-box,
  .message-box,
  .result-box {
    margin: 24px auto;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .thankyou-title,
  .thank-you-title,
  .success-title,
  .thankyou-container h1,
  .thank-you-container h1,
  .success-container h1,
  .thankyou-container h2,
  .thank-you-container h2,
  .success-container h2,
  .thankyou-card h1,
  .thank-you-card h1,
  .success-card h1,
  .thankyou-card h2,
  .thank-you-card h2,
  .success-card h2 {
    font-size: 22px !important;
  }
}

