:root {
  --ink: #122021;
  --muted: #637474;
  --line: #dce5e2;
  --paper: #fffdf8;
  --soft: #f4f0e6;
  --teal: #0c5f61;
  --dark: #123537;
  --gold: #e6ad30;
  --coral: #d9654f;
  --shadow: 0 24px 70px rgba(14, 31, 32, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.register-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(12, 59, 62, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.register-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #385151;
  font-size: 14px;
  font-weight: 800;
}

.register-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 24px;
  align-items: end;
  padding: 76px clamp(18px, 5vw, 70px) 42px;
  background:
    linear-gradient(90deg, rgba(18, 53, 55, 0.92), rgba(12, 95, 97, 0.58)),
    url("../assets/hero-business-malaysia.png") center/cover;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-hero .eyebrow {
  color: #f8cc72;
}

.register-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1;
}

.register-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.72;
}

.preview-card,
.form-panel,
.status-panel article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
}

.preview-card span,
.status-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-card strong {
  overflow-wrap: anywhere;
  color: var(--teal);
  font-size: 26px;
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 22px;
  align-items: start;
  padding: 34px clamp(18px, 5vw, 70px) 70px;
}

.registration-form,
.status-panel {
  display: grid;
  gap: 18px;
}

.status-panel {
  position: sticky;
  top: 86px;
}

.form-panel,
.status-panel article {
  padding: 24px;
}

.panel-heading {
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 30px;
}

.panel-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: #3c5555;
  font-size: 12px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 95, 97, 0.12);
}

.slug-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.slug-field span {
  padding-left: 12px;
  color: var(--muted);
  font-size: 14px;
}

.slug-field input {
  border: 0;
  box-shadow: none;
}

.terms-box {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.terms-box article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf9f3;
  padding: 16px;
}

.terms-box h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 17px;
}

.terms-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.check-row input {
  flex: 0 0 auto;
  width: 20px;
  margin-top: 2px;
}

button {
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  padding: 13px 16px;
}

.registration-form button[type="submit"] {
  width: 100%;
  background: var(--gold);
  color: #241800;
}

.status-panel article {
  display: grid;
  gap: 12px;
}

.status-panel strong {
  color: var(--teal);
  font-size: 30px;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 70px);
  background: #102324;
  color: rgba(255, 255, 255, 0.78);
}

footer a {
  color: #f8cc72;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  transform: translateY(20px);
  opacity: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
  font-weight: 900;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 940px) {
  .register-hero,
  .register-layout {
    grid-template-columns: 1fr;
  }

  .status-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .register-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .wide {
    grid-column: auto;
  }

  .register-hero h1 {
    font-size: 42px;
  }
}
