:root {
  --bg: #070a12;
  --text: #f4f6fb;
  --muted: #8b95ab;
  --gold: #cfaf6b;
  --blue: #2563eb;
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(207, 175, 107, 0.18);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 8%, rgba(207, 175, 107, 0.14), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(37, 99, 235, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(10, 14, 26, 0.98), rgba(10, 14, 26, 1));
}

.prelaunch-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px 32px;
}

.prelaunch-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.prelaunch-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.prelaunch-brand img {
  height: 36px;
  width: auto;
}

.prelaunch-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prelaunch-lang {
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.prelaunch-lang.is-active {
  color: var(--gold);
  border-color: rgba(207, 175, 107, 0.45);
}

.prelaunch-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: start;
}

.prelaunch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.prelaunch-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1.08;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 0%, #f0d88e 45%, #9db7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prelaunch-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 14px;
  max-width: 520px;
}

.prelaunch-launch-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.12);
  color: #dbeafe;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.prelaunch-features {
  display: grid;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.prelaunch-features li {
  position: relative;
  padding-left: 22px;
  color: #c9d1e3;
  font-size: 0.86rem;
  line-height: 1.45;
}

.prelaunch-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
}

.prelaunch-cert,
.prelaunch-cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  width: 100%;
  max-width: 520px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.prelaunch-cert-chip {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.prelaunch-cert-chip:hover,
.prelaunch-cert-chip:focus-visible {
  border-color: rgba(207, 175, 107, 0.45);
  outline: none;
}

.prelaunch-cert img,
.prelaunch-cert-chip img {
  height: 44px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.prelaunch-cert span,
.prelaunch-cert-chip__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.prelaunch-cert-chip__text strong {
  font-size: 0.92rem;
  color: var(--gold);
}

.prelaunch-cert-chip__action {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* Teknogirişim modal — fallback when teknogiris-verify.css is absent */
.tg-verify-modal[hidden] {
  display: none !important;
}

.prelaunch-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 22px 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.prelaunch-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.prelaunch-card > p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 10px;
  line-height: 1.4;
}

.prelaunch-form {
  display: grid;
  gap: 10px;
}

.prelaunch-form label:not(.prelaunch-consent) {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.prelaunch-form label.prelaunch-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.prelaunch-consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin: 0.15em 0 0;
  flex-shrink: 0;
  padding: 0;
}

.prelaunch-form input,
.prelaunch-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.prelaunch-form textarea {
  min-height: 52px;
  resize: vertical;
}

.prelaunch-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.prelaunch-form-fields .prelaunch-form-field--wide {
  grid-column: 1 / -1;
}

.prelaunch-form-fields label {
  margin: 0;
}

.prelaunch-submit {
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  padding: 12px 20px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.prelaunch-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.prelaunch-status {
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--gold);
  margin: 4px 0 0;
}

.prelaunch-status.is-error {
  color: #f87171;
}

.prelaunch-demo-calendar {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.1);
}

.prelaunch-demo-calendar__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-family: 'Space Grotesk', sans-serif;
}

.prelaunch-demo-calendar__desc {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.prelaunch-demo-calendar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.prelaunch-demo-calendar__btn:hover {
  opacity: 0.92;
}

.prelaunch-demo-calendar__pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.prelaunch-demo-calendar__select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 0.88rem;
}

.prelaunch-demo-calendar__status {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.prelaunch-demo-calendar__status.is-error {
  color: #f87171;
}

.prelaunch-demo-calendar__btn {
  border: none;
  cursor: pointer;
  width: 100%;
}

.prelaunch-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.prelaunch-footer a {
  color: var(--gold);
  text-decoration: none;
}

.prelaunch-footer a:hover {
  text-decoration: underline;
}

.prelaunch-launch-promo {
  font-size: 0.82rem;
  color: #dbeafe;
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  margin: 0 0 12px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 0 12px 12px 0;
  line-height: 1.38;
}

.launch-offer-block {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(207, 175, 107, 0.35);
  background: rgba(207, 175, 107, 0.06);
  margin-bottom: 2px;
}

.launch-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.launch-offer-question {
  margin: 0;
  flex: 1 1 200px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.launch-offer-toggle {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  flex-shrink: 0;
}

.launch-offer-toggle button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.launch-offer-toggle button.is-active {
  border-color: rgba(207, 175, 107, 0.55);
  color: var(--gold);
  background: rgba(207, 175, 107, 0.14);
}

.launch-plan-picker__label {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.launch-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.launch-plan-card {
  position: relative;
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.launch-plan-card.is-selected {
  border-color: rgba(207, 175, 107, 0.65);
  box-shadow: 0 0 0 1px rgba(207, 175, 107, 0.35);
}

.launch-plan-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #070a12;
  background: var(--gold);
  padding: 3px 6px;
  border-radius: 999px;
}

.launch-plan-card__name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
}

.launch-plan-card__price {
  font-size: 1.05rem;
  font-weight: 800;
}

.launch-plan-card__sub {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .launch-plan-grid {
    grid-template-columns: 1fr;
  }

  .prelaunch-form-fields {
    grid-template-columns: 1fr;
  }

  .prelaunch-hero {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .prelaunch-shell {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .prelaunch-nav {
    margin-bottom: 20px;
  }

  .prelaunch-badge {
    margin-bottom: 12px;
  }
}
