* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --max-width: 640px;

  --primary-text: #fff;
  --muted: rgba(255,255,255,0.8);

  --button-radius: 10px;
  --button-gradient: linear-gradient(90deg, #1d1aff 0%, #cd2f80 100%);
}

html, body {
  height: 100%;
  width: 100%;
  background:
    radial-gradient(circle at top left, #c92f80 0%, transparent 40%),
    radial-gradient(circle at bottom right, #1d1aff 0%, transparent 45%),
    linear-gradient(180deg, #08044c 0%, #4b006e 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;

  font-family: "Kanit", sans-serif;
  color: var(--primary-text);

  display: flex;
  justify-content: center;
}

.page-container {
  width: 100%;
  max-width: var(--max-width);
  padding: 32px 20px 120px;
}

/* Logo */

.top-header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.brand-logos {
  display: flex;
  justify-content: center;
}

.brand-logo-main {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: 0 auto; /* force center align */
}


/* Hero */
.hero-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-benefits li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
}

.hero-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ffb2;
}

/* Features */
.section-title {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 500;
}

.feature-card {
  display: flex;
  gap: 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.feature-card img {
  width: 42px;
  height: 42px;
}

.feature-content h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Form Card */
.register-card {
  background: #fff;
  color: #000;
  border-radius: 20px;
  padding: 26px 24px 30px;
  margin-top: 36px;
}

.register-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.register-subtitle {
  text-align: center;
  font-size: 13px;
  color: #444;
  margin: 10px 0 18px;
  line-height: 1.4;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 13px;
  color: #222;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Match select dropdown to input styling */
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: 'Kanit', sans-serif;
  background-color: white;
  cursor: pointer;
  height: 48px;
}

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  line-height: 1.6;
  padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label span {
  flex: 1;
}

/* Button */
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--button-gradient);
  border: none;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: var(--button-radius);
  cursor: pointer;
  margin-top: 6px;
}

/* QR */
.contact-title {
  text-align: center;
  font-size: 14px;
  margin: 28px 0 16px;
  font-weight: 600;
}

.qr-wrapper {
  display: flex;
  justify-content: center;
}

.qr-box {
  background: #111;
  padding: 14px;
  border-radius: 18px;
  width: 260px;
}

.qr-box img {
  width: 100%;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.55);
  padding: 6px 0;
  font-size: 10px;
}

.footer-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 28px;
}

/* Center align hero section */
.hero {
  text-align: center;
}

/* Center bullet list items */
.hero-benefits {
  align-items: center;
}

/* The small container width fix */
.hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 540px;
}

/* Keep the list centered nicely */
.hero-benefits li {
  text-align: left;
  width: fit-content;
}

