:root {
  --bg: #f3f7fc;
  --ink: #0b1220;
  --muted: #64748b;
  --line: #e6edf5;
  --card: #ffffff;
  --navy: #101a2b;
  --yango: #e31b23;
  --bolt: #22c55e;
  --bolt-food: #0d7a3e;
  --wolt: #00a4e0;
  --blue: #3b82f6;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}

[hidden] {
  display: none !important;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.12), transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(0, 164, 224, 0.08), transparent 28%),
    radial-gradient(circle at 8% 30%, rgba(227, 27, 35, 0.06), transparent 26%);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  text-align: center;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe7f3;
  color: #5b6b82;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.subtitle {
  margin-top: 12px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: #1e293b;
}

.tagline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.section-kicker {
  text-align: center;
  margin-bottom: 16px;
  color: #7b8aa0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partners {
  margin-top: 42px;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.partners-row img,
.platform-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
  display: block;
}

.partners-row img {
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.form-section {
  margin-top: 36px;
}

.form-card {
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #eef3f9;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 28px;
  background: linear-gradient(180deg, #121c2e, #0e1726);
  color: #fff;
}

.form-head h2 {
  font-size: 22px;
  font-weight: 700;
}

.form-head p {
  margin-top: 4px;
  color: #9aa8bd;
  font-size: 14px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.form-body {
  padding: 28px;
}

fieldset {
  border: 0;
}

legend,
.field > span {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.req {
  color: #ef4444;
}

.field-hint,
.field em {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
}

.field-hint {
  margin-bottom: 14px;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.role-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border: 1.5px solid #e7eef6;
  border-radius: 18px;
  background: #fbfcfe;
  cursor: pointer;
  transition: 0.2s ease;
}

.role-card:hover {
  border-color: #c9d7e8;
  transform: translateY(-1px);
}

.role-card:has(input:checked) {
  border-color: #93c5fd;
  background: #f4f9ff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.role-card:has(input[value="kuryer"]:checked) {
  border-color: #86efac;
  background: #f3fdf6;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08);
}

.role-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.role-icon svg {
  width: 24px;
  height: 24px;
}

.role-icon.blue {
  color: #2563eb;
  background: #dbeafe;
}

.role-icon.green {
  color: #16a34a;
  background: #dcfce7;
}

.role-copy strong {
  display: block;
  font-size: 16px;
}

.role-copy small {
  color: var(--muted);
  font-size: 13px;
}

.details {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  animation: reveal 0.35s ease;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid #e4ebf3;
  background: #f8fafc;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field textarea:focus,
.phone-wrap:focus-within {
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.phone-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e4ebf3;
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
}

.phone-prefix {
  padding: 13px 0 13px 14px;
  font-weight: 700;
  color: #334155;
}

.phone-wrap input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-wrap:focus-within input:focus {
  box-shadow: none;
  background: transparent;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-card {
  cursor: pointer;
  position: relative;
  display: block;
}

.platform-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-card img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.platform-card:hover img {
  transform: translateY(-1px);
}

.tick {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #fff;
  background: rgba(15, 23, 42, 0.28);
  z-index: 1;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.platform-card:has(input:checked) img {
  outline: 3px solid #0b1220;
  outline-offset: 2px;
}

.platform-card:has(input:checked) .tick {
  background: #0b1220;
  border-color: #fff;
}

.platform-card:has(input:checked) .tick::after {
  content: "✓";
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.error-text {
  display: block;
  min-height: 0;
  margin-top: 8px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
}

.field.invalid input,
.field.invalid .phone-wrap,
.field.invalid textarea,
.role-block.invalid .role-card,
.platform-block.invalid .platform-card img {
  border-color: #fca5a5;
}

.submit-btn,
.ghost-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.submit-btn {
  background: var(--navy);
  color: #fff;
  margin-top: 6px;
}

.submit-btn:hover {
  filter: brightness(1.08);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.success {
  padding: 56px 28px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
}

.success h3 {
  font-size: 26px;
}

.success p {
  margin: 10px auto 22px;
  max-width: 460px;
  color: var(--muted);
}

.ghost-btn {
  width: auto;
  padding: 12px 18px;
  background: #eef2f7;
  color: var(--ink);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.feature-card {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.feature-icon.mint {
  background: #dcfce7;
  color: #16a34a;
}

.feature-icon.amber {
  background: #ffedd5;
  color: #ea580c;
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #7b8aa0;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.sep {
  margin: 0 8px;
}

@media (max-width: 980px) {
  .partners-row,
  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    padding-top: 28px;
  }

  .partners-row,
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-grid,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .form-head,
  .form-body,
  .footer {
    flex-direction: column;
  }

  .form-head,
  .form-body {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .role-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 52px;
  }

  .subtitle {
    font-size: 18px;
    padding: 0 8px;
  }
}
