/* Global styles for all pages */
html, body, main {
  margin: 0;
  padding: 0;
}

/* Professional Light Theme with Soft Gradient Background */
.blue-theme-bg {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 25%, #f8f9ff 50%, #e3f2fd 75%, #f5f7ff 100%) !important;
  background-size: 400% 400% !important;
  animation: lightGradientAnimation 25s ease infinite !important;
  position: relative;
  overflow: hidden;
}

/* Subtle floating particles effect */
.blue-theme-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(66, 133, 244, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(52, 168, 83, 0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(251, 188, 5, 0.05) 1px, transparent 1px);
  background-size: 450px 450px, 350px 350px, 250px 250px;
  background-position: 0 0, 40px 60px, 130px 270px;
  animation: floatParticles 30s ease-in-out infinite;
  z-index: 0;
  opacity: 0.6;
}

@keyframes floatParticles {
  0%, 100% {
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.6;
  }
  50% {
    background-position: 100px 100px, 140px 160px, 230px 370px;
    opacity: 0.8;
  }
}

@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 {
  /* Professional light gradient background */
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 25%, #f8f9ff 50%, #e3f2fd 75%, #f5f7ff 100%);
  background-size: 400% 400%;
  animation: lightGradientAnimation 25s ease infinite;
  min-height: 100vh;
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
}

.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 #e3e3e3;
  border-top: 4px solid #4285f4;
  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: #2c3e50;
}

.service-text {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  color: #34495e;
}

form {
  padding: 0;
  margin: 0;
}

.success-msg {
  color: #0f9d58;
}

.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 #4285f4;
  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: #fbbc05;
  position: absolute;
  border-radius: 50px;
  top: 25%;
  left: 0;
  animation: up-down 3s infinite ease-in-out;
}

.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 with Light Theme */
.glass-card {
  position: relative;
  width: 300px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.15);
  border: 1px solid rgba(66, 133, 244, 0.2);
  color: #1a1a1a;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.glass-card:hover {
  border-color: rgba(66, 133, 244, 0.4);
  box-shadow: 0 12px 40px rgba(66, 133, 244, 0.2);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(52, 168, 83, 0.03) 100%);
  border-radius: 20px;
  pointer-events: none;
}

.glass-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #1a1a1a;
}

.glass-card p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #2c3e50;
}

.modern-card {
  position: relative;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.12);
  overflow: hidden;
  width: 100%;
  margin: auto;
  border: 1px solid rgba(66, 133, 244, 0.15);
  z-index: 1;
  color: #1a1a1a;
  backdrop-filter: blur(10px);
}

.modern-card * {
  color: #1a1a1a;
}

.modern-card:hover {
  border: 1px solid rgba(66, 133, 244, 0.3);
  box-shadow: 0 12px 40px rgba(66, 133, 244, 0.18);
}

/* Professional Input Field Styling */
.form-control {
  border: 2px solid rgba(66, 133, 244, 0.3);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 18px;
  line-height: 20px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
}

.form-control:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
  transform: scale(1.01);
  background: rgba(255, 255, 255, 1);
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
  outline: none;
}

.form-control::placeholder {
  color: rgba(26, 26, 26, 0.5);
}

.input-group {
  max-width: 100%;
  border-radius: 2rem;
}

.input-group span {
  background: linear-gradient(135deg, #4285f4 0%, #1967d2 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(66, 133, 244, 0.25);
}

.form-control.error {
  border-color: #ea4335;
  box-shadow: 0 0 0 4px rgba(234, 67, 53, 0.1);
}

.phone-input {
  height: 56px;
}

.form-control:disabled {
  background-color: #f5f5f5;
  border-color: #e0e0e0;
  color: #9e9e9e;
  -webkit-text-fill-color: #9e9e9e;
}

.error {
  color: #ea4335;
  font-size: 14px;
}

.success {
  color: #0f9d58;
  font-size: 14px;
}

#responseMessage, #pinResponseMessage {
  color: #1a1a1a;
}

.input-group .form-control {
  border-radius: 0 30px 30px 0;
  overflow: hidden;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
}

.card {
  background: rgba(255, 255, 255, 0.98);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.1);
  border: 1px solid rgba(66, 133, 244, 0.15);
}

.btn {
  border-radius: 30px;
  font-weight: bold;
}

.text-lg {
  font-size: 18px;
  color: #1a1a1a;
}

.img-banner {
  margin: 10px auto;
}

.img-banner img {
  width: 100%;
}

#error-message {
  display: none;
  color: #ea4335;
  font-size: 14px;
  margin-top: 10px;
}

.btn-secondary {
  padding: 10px 15px;
}

/* Professional Button with Light Theme */
.theme-btn {
  background: linear-gradient(135deg, #4285f4 0%, #1967d2 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 4px 20px rgba(66, 133, 244, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.theme-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.theme-btn:hover::before {
  left: 100%;
}

.theme-btn:hover {
  background: linear-gradient(135deg, #1967d2 0%, #174ea6 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.4);
}

.theme-btn:disabled {
  color: #ffffff;
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Price Point */
.price-point {
  font-size: 11px;
  color: #5f6368;
  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 #1a1a1a;
  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(255, 255, 255, 0.95);
  color: #1a1a1a;
  padding: 8px 25px 8px 8px;
  font-size: 12px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 80px;
  border: 1px solid rgba(66, 133, 244, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.15);
}

.lang-swticher .dropdown-button:hover {
  background: linear-gradient(135deg, #4285f4 0%, #1967d2 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(66, 133, 244, 0.3);
}

.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.98);
  border: 1px solid rgba(66, 133, 244, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.15);
  z-index: 10;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.lang-swticher .dropdown-content a {
  color: #1a1a1a;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  display: block;
  white-space: nowrap;
  transition: all 0.2s ease;
  background-color: transparent;
}

.lang-swticher .dropdown-content a:hover {
  background: linear-gradient(135deg, #4285f4 0%, #1967d2 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: #5f6368;
}

.legal-text ul {
  font-size: 12px;
  margin-bottom: 0px;
  font-family: "Roboto", sans-serif;
  line-height: 15px;
  color: #5f6368;
}

.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: 60px;
  color: #4285f4;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.device-icon:hover svg {
  color: #1967d2;
  transform: rotate(-12deg) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(66, 133, 244, 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, #e0e0e0 0%, #bdbdbd 100%);
  border-radius: 50%;
  line-height: 30px;
  color: #fff;
  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, #4285f4 0%, #1967d2 100%);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(66, 133, 244, 0.4);
}

.label {
  margin-top: 5px;
  font-size: 12px;
  color: #5f6368;
  text-align: center;
}

.progressbar .step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 25px;
  right: 15px;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #e0e0e0, #e0e0e0);
  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(66, 133, 244, 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, #4285f4, #1967d2);
  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, #f0f4ff 0%, #e8f0fe 25%, #f8f9ff 50%, #e3f2fd 75%, #f5f7ff 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: 48px;
    color: #4285f4;
  }
  
  .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: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !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 #4285f4;
    box-shadow: 0 8px 32px rgba(66, 133, 244, 0.2);
  }
  
  .arrow-circle svg {
    width: 48px;
    height: 48px;
  }
  
  .device-icon:hover {
    transform: translateY(-5px) !important;
    filter: brightness(1.1);
  }
}
