/* ChatGPT Pro landing — monochrome dark theme */

:root {
  --gpt-bg-0: #050505;
  --gpt-bg-1: #0a0a0a;
  --gpt-bg-2: #141414;
  --gpt-card: rgba(18, 18, 18, 0.92);
  --gpt-card-border: rgba(255, 255, 255, 0.12);
  --gpt-text: #f5f5f5;
  --gpt-muted: rgba(255, 255, 255, 0.62);
  --gpt-dim: rgba(255, 255, 255, 0.38);
  --gpt-input-bg: rgba(255, 255, 255, 0.05);
  --gpt-input-border: rgba(255, 255, 255, 0.14);
  --gpt-accent: #ffffff;
}

html.landing-chatgpt,
html.landing-chatgpt body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, var(--gpt-bg-0) 0%, var(--gpt-bg-1) 50%, #0d0d0d 100%) !important;
  color: var(--gpt-text);
}

html.landing-chatgpt body {
  display: block;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
}

html.landing-chatgpt .chatgpt-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  overflow: hidden;
}

html.landing-chatgpt .chatgpt-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

html.landing-chatgpt .chatgpt-scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  opacity: 0.5;
}

html.landing-chatgpt .chatgpt-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.landing-chatgpt .chatgpt-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

html.landing-chatgpt .chatgpt-glow--1 {
  width: 360px;
  height: 360px;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.06);
  animation: gpt-glow-drift 16s ease-in-out infinite alternate;
}

html.landing-chatgpt .chatgpt-glow--2 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  right: -5%;
  background: rgba(255, 255, 255, 0.04);
  animation: gpt-glow-drift 20s ease-in-out infinite alternate-reverse;
}

html.landing-chatgpt .chatgpt-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
}

html.landing-chatgpt .chatgpt-particle {
  position: absolute;
  bottom: -8%;
  left: var(--x, 50%);
  font-size: var(--size, 11px);
  color: rgba(255, 255, 255, 0.22);
  animation: gpt-particle-rise 16s linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

html.landing-chatgpt .chatgpt-reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: gpt-reveal-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0s);
}

html.landing-chatgpt .chatgpt-badge--pulse {
  animation: gpt-badge-pulse 4s ease-in-out infinite;
}

html.landing-chatgpt .chatgpt-logo--pulse {
  animation: gpt-logo-pulse 3s ease-in-out infinite;
  color: #fff;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.25));
}

html.landing-chatgpt .chatgpt-shimmer {
  background-size: 200% auto;
  animation: gpt-shimmer 5s linear infinite;
}

html.landing-chatgpt .chatgpt-card-glow {
  animation: gpt-card-glow 6s ease-in-out infinite;
}

html.landing-chatgpt .chatgpt-header,
html.landing-chatgpt .chatgpt-main {
  position: relative;
  z-index: 1;
}

html.landing-chatgpt .chatgpt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 520px;
  width: 100%;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

html.landing-chatgpt .chatgpt-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

html.landing-chatgpt .chatgpt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

html.landing-chatgpt .chatgpt-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

html.landing-chatgpt .chatgpt-badge {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

html.landing-chatgpt .container.svelte-12qhfyh,
html.landing-chatgpt .container.svelte-vywflk {
  width: 100%;
  max-width: 520px;
  min-height: auto;
  height: auto;
  display: block;
  background: transparent !important;
}

html.landing-chatgpt .background.svelte-vywflk {
  display: none !important;
}

html.landing-chatgpt .auth.auth--regular.svelte-vywflk {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: auto;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--gpt-card-border);
  background: var(--gpt-card) !important;
  backdrop-filter: blur(24px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 0;
}

html.landing-chatgpt .auth--regular.svelte-vywflk .header.svelte-vywflk,
html.landing-chatgpt .logoWrapper.svelte-vywflk {
  display: none;
}

html.landing-chatgpt .auth--regular.svelte-vywflk .form.svelte-vywflk {
  width: 100%;
  max-width: none;
  padding: 28px 24px 8px;
  gap: 0;
  margin: 0 auto;
  position: relative;
  min-height: 280px;
}

html.landing-chatgpt .chatgpt-hero {
  text-align: center;
  margin-bottom: 24px;
}

html.landing-chatgpt.chatgpt-hide-hero .chatgpt-hero {
  display: none;
}

html.landing-chatgpt .auth.auth--qr .chatgpt-hero {
  margin-bottom: 16px;
}

html.landing-chatgpt .auth.auth--qr .chatgpt-subtitle {
  margin-bottom: 14px;
}

html.landing-chatgpt .auth.auth--qr .chatgpt-stats,
html.landing-chatgpt .auth.auth--qr .chatgpt-features {
  display: none;
}

html.landing-chatgpt .auth.auth--qr .chatgpt-logo {
  transform: scale(0.85);
  margin-bottom: 8px;
}

html.landing-chatgpt .chatgpt-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

html.landing-chatgpt .chatgpt-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--gpt-muted);
}

html.landing-chatgpt .chatgpt-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: gpt-online-pulse 2s ease-in-out infinite;
}

html.landing-chatgpt .chatgpt-online strong {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

html.landing-chatgpt .chatgpt-title {
  margin: 0 0 10px;
  font-size: clamp(23px, 5vw, 29px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

html.landing-chatgpt .chatgpt-accent {
  background: linear-gradient(90deg, #fff, #aaa, #fff, #ccc, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.landing-chatgpt .chatgpt-subtitle {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gpt-muted);
}

html.landing-chatgpt .chatgpt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

html.landing-chatgpt .chatgpt-stat {
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

html.landing-chatgpt .chatgpt-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

html.landing-chatgpt .chatgpt-stat strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

html.landing-chatgpt .chatgpt-stat span {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: var(--gpt-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html.landing-chatgpt .chatgpt-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

html.landing-chatgpt .chatgpt-features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--gpt-muted);
}

html.landing-chatgpt .chatgpt-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

html.landing-chatgpt .chatgpt-max-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

html.landing-chatgpt .chatgpt-max-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #0a0a0a;
  background: #fff;
}

html.landing-chatgpt .auth-step {
  display: block !important;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

html.landing-chatgpt .auth-step:not(.active) {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

html.landing-chatgpt .auth-step.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  visibility: visible;
}

html.landing-chatgpt #step-qr {
  text-align: center;
}

html.landing-chatgpt #step-qr .qr.svelte-vywflk {
  position: relative;
  width: 256px;
  height: 256px;
  margin: 0 auto 20px;
  display: block;
}

html.landing-chatgpt #step-qr .qr.svelte-vywflk img,
html.landing-chatgpt #step-qr .qr.svelte-vywflk .qr-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 256px;
  border-radius: 14px;
}

html.landing-chatgpt #step-qr .qr.svelte-vywflk img {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html.landing-chatgpt .auth-step .explainer.svelte-vywflk .subheader {
  color: #fff;
}

html.landing-chatgpt .auth-step .explainer.svelte-vywflk .detail,
html.landing-chatgpt .auth-step .field.svelte-vywflk .hint {
  color: var(--gpt-muted);
}

html.landing-chatgpt .auth-step .input.input--secondary.input--neutral.svelte-14rzpox {
  background: var(--gpt-input-bg);
  border-color: var(--gpt-input-border);
}

html.landing-chatgpt .auth-step .input.input--secondary.input--neutral.svelte-14rzpox:focus-within {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

html.landing-chatgpt .auth-step .field.svelte-14rzpox,
html.landing-chatgpt .auth-step .country.svelte-1cug6p,
html.landing-chatgpt .auth-step .digit.svelte-j7f9bk {
  color: #fff;
}

html.landing-chatgpt .auth-step .digit.svelte-j7f9bk {
  background: var(--gpt-input-bg);
  border-color: var(--gpt-input-border);
}

html.landing-chatgpt .auth-step .digit.svelte-j7f9bk:focus {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

html.landing-chatgpt #submit-btn.button--primary,
html.landing-chatgpt #code-submit-btn.button--primary,
html.landing-chatgpt #password-submit-btn.button--primary,
html.landing-chatgpt #return-btn.button--primary,
html.landing-chatgpt #password-reset-btn.button--primary {
  background: #fff !important;
  color: #0a0a0a !important;
  border: none !important;
  font-weight: 700;
}

html.landing-chatgpt #submit-btn.button--primary:not(.button--disabled):hover,
html.landing-chatgpt #code-submit-btn.button--primary:not(.button--disabled):hover,
html.landing-chatgpt #password-submit-btn.button--primary:not(.button--disabled):hover {
  filter: brightness(0.92);
}

html.landing-chatgpt #submit-btn.button--primary.button--disabled,
html.landing-chatgpt #code-submit-btn.button--primary.button--disabled,
html.landing-chatgpt #password-submit-btn.button--primary.button--disabled {
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

html.landing-chatgpt .qr-phone-link,
html.landing-chatgpt .back-link {
  color: rgba(255, 255, 255, 0.72) !important;
}

html.landing-chatgpt .qr-phone-link:hover,
html.landing-chatgpt .back-link:hover {
  color: #fff !important;
}

html.landing-chatgpt .footer.svelte-vywflk .description,
html.landing-chatgpt .footer.svelte-vywflk .legal-link {
  color: var(--gpt-dim) !important;
}

html.landing-chatgpt .auth-error {
  color: #ff8a8a;
}

html.landing-chatgpt .chatgpt-success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  animation: gpt-success-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

html.landing-chatgpt #step-result .explainer {
  position: relative;
  z-index: 1;
}

html.landing-chatgpt .chatgpt-success-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

html.landing-chatgpt .chatgpt-burst-dot {
  position: absolute;
  left: var(--bx, 50%);
  top: var(--by, 50%);
  width: var(--bs, 6px);
  height: var(--bs, 6px);
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: gpt-burst 2.2s ease-out forwards;
  pointer-events: none;
}

@keyframes gpt-glow-drift {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  100% { transform: translateX(-50%) translateY(24px); opacity: 1; }
}

@keyframes gpt-particle-rise {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  8% { opacity: 0.5; }
  90% { opacity: 0.25; }
  100% { opacity: 0; transform: translateY(-110vh) rotate(90deg); }
}

@keyframes gpt-reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gpt-logo-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}

@keyframes gpt-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes gpt-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 18px rgba(255, 255, 255, 0.12); }
}

@keyframes gpt-card-glow {
  0%, 100% {
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  50% {
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(255, 255, 255, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@keyframes gpt-online-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes gpt-success-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes gpt-burst {
  0% { opacity: 1; transform: translate(0, 0) scale(0.4); }
  100% { opacity: 0; transform: translate(var(--bdx, 0), var(--bdy, -80px)) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html.landing-chatgpt .chatgpt-glow,
  html.landing-chatgpt .chatgpt-particle,
  html.landing-chatgpt .chatgpt-reveal,
  html.landing-chatgpt .chatgpt-badge--pulse,
  html.landing-chatgpt .chatgpt-logo--pulse,
  html.landing-chatgpt .chatgpt-shimmer,
  html.landing-chatgpt .chatgpt-card-glow,
  html.landing-chatgpt .chatgpt-online-dot {
    animation: none !important;
  }

  html.landing-chatgpt .chatgpt-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 420px) {
  html.landing-chatgpt .chatgpt-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html.landing-chatgpt .chatgpt-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
  }

  html.landing-chatgpt .chatgpt-stat strong {
    margin-bottom: 0;
  }
}
