:root {
  --white: #ffffff;
  --black: #000000;
  --gray: #94a3b8;
  --green: #22c55e;
  --orange: #f97316;
  --blue: #3b82f6;
  --red: #ef4444;
  --pink: #ec4899;
  --dark-pink: #be185d;
  --light-gray: #1e293b;
  --border-gray: #475569;
  --error-red: #ef4444;
  --success-green: #22c55e;
  --bright-red: #ff0019;
  --form-blue: #7c3aed;
  --shadow-orange: rgba(168, 85, 247, 0.25);
  --shadow-red: rgba(239, 68, 68, 0.25);
  --dropdown-gray: #334155;
  --font-primary: "Roboto", sans-serif;
  --font-default: "Roboto", sans-serif;
  --dark-blue: #0f172a;
  --dark-purple: #312e81;

  --primary: #a855f7;
  --accent-purple: #c084fc;
  --page-bg: #0f172a;
  --card-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
  --soft-shadow: 0 10px 25px rgba(168, 85, 247, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--white);
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e1b4b 50%,
    #312e81 100%
  );
}

.landing-page {
  background: transparent;
}

.container {
  width: min(100%, 1170px);
  margin-inline: auto;
}

@keyframes updown {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    /* opacity: 1; */
  }

  50% {
    transform: scale(1.05);
    /* opacity: 0.7; */
  }
}

.animate-updown {
  animation: updown 2s infinite;
}

.animate-pulse-custom {
  animation: pulse 0.8s infinite ease-in-out;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dropdown.lang-swticher {
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 10px;
  z-index: 100;
}

.lang-swticher .dropdown-button {
  position: relative;
  background: rgba(30, 41, 59, 0.95);
  color: var(--white);
  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 var(--primary);
  line-height: 1.1;
}

.lang-swticher .down-arrow,
.down-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-35%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--white);
  pointer-events: none;
}

.lang-swticher .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  background-color: #111827;
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

.lang-swticher .dropdown-content a {
  color: var(--white);
  padding: 5px 12px;
  text-decoration: none;
  font-size: 13px;
  display: block;
  white-space: nowrap;
}

.lang-swticher .dropdown-content a:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.legal-text {
  padding: 0 10px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.legal-text ul {
  list-style: none;
}

.legal-text ul li {
  font-size: 12px;
  color: var(--white);
}

.legal-text ul li::marker {
  font-size: 10px;
  color: var(--white);
  font-weight: 700;
}

.legal-text a {
  color: var(--accent-purple);
  text-decoration: underline;
}

.device-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  color: var(--primary);
  transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease;
}

.device-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  stroke: currentColor;
}

.device-icon-play svg {
  width: 40px;
  height: 40px;
}

.device-icon:hover {
  color: var(--accent-purple);
  transform: translateY(-2px) scale(1.08);
  /* filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.35)); */
}

.device-icon-chip:hover {
  transform: rotate(-6deg) translateY(-2px) scale(1.08);
}

#formContainer,
#phoneForm,
#verifyPinFrm {
  width: 100%;
}

/* #formContainer {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
} */

#form-title,
#pin-form-title {
  color: var(--black);
  font-weight: 700;
}

#phoneInputContainer,
#pinInputContainer {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.25);
}

#phone,
#pin {
  color: #111827;
  font-weight: 600;
}

#phone::placeholder,
#pin::placeholder {
  color: rgba(17, 24, 39, 0.55);
}

button[type="submit"],
#subscribeBtn,
#verifyPinBtn,
#resendPinBtn {
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  color: var(--white);
  /* font-weight: 700; */
  border: 0;
  outline: 0;
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  transition: all 0.3s ease;
}

button[type="submit"]:hover,
#subscribeBtn:hover,
#verifyPinBtn:hover,
#resendPinBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.35);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none !important;
}

.landing-arrow-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto;
}

.landing-arrow-circle {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  animation: updown 2s ease-in-out infinite;
}

.landing-arrow-svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.pages-container {
  width: min(100% - 24px, 1170px);
  margin-inline: auto;
  padding: 30px 0;
}

.pages-content {
  color: var(--white);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 22px;
  padding: clamp(18px, 4vw, 42px);
  box-shadow: var(--card-shadow);
}

.pages-content h2 {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
}

.pages-content p,
.pages-content li {
  color: #cbd5e1;
  line-height: 1.65;
}

.pages-content a {
  color: var(--accent-purple);
  font-weight: 700;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-you-page {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e1b4b 50%,
    #312e81 100%
  );
}

.thank-you-page.theme-default,
.thank-you-page.theme-blue,
.thank-you-page.theme-dark,
.thank-you-page.theme-light,
.thank-you-page.theme-purple {
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e1b4b 50%,
    #312e81 100%
  );
}

.thank-you-page .container {
  position: relative;
  z-index: 1;
}

.success-animation {
  animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.success-check-icon {
  color: var(--success-green);
}

.theme-link {
  color: var(--accent-purple);
  font-weight: 700;
}

.dots-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 18px 18px;
}

@media (max-width: 640px) {
  .landing-arrow-wrap {
    width: 76px;
    height: 76px;
  }

  .landing-arrow-svg {
    width: 38px;
    height: 38px;
  }

  .lang-swticher .dropdown-button {
    font-size: 11px;
  }

  .legal-text {
    max-height: 120px;
  }
}

@media (max-width: 480px) {
  /* .device-icons-row {
    gap: 9px;
    margin-top: 6px;
  } */

  .device-icon {
    width: 40px;
    height: 40px;
  }

  .device-icon-play svg {
    width: 40px;
    height: 40px;
  }
}