:root {
  --bg-main: #f5f5f5;
  --bg-card: #ffffff;
  --text-main: #1d1d1d;
  --text-soft: #6e6e6e;
  --border: #e4e4e4;
  --accent: #c89b3c;
  --accent-hover: #b4872f;
  --shadow-soft: 0 10px 35px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text-main);
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(circle at 8% 16%, rgba(200, 155, 60, 0.12), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(180, 135, 47, 0.16), transparent 38%),
    linear-gradient(145deg, #f7f7f7 0%, #efefef 46%, #f9f9f9 100%);
  display: grid;
  place-items: center;
  padding: 14px;
}

.ambient-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

.ambient-shape.one {
  width: 280px;
  height: 280px;
  top: -70px;
  left: -80px;
  background: rgba(200, 155, 60, 0.26);
}

.ambient-shape.two {
  width: 220px;
  height: 220px;
  bottom: -70px;
  right: -60px;
  background: rgba(29, 29, 29, 0.1);
}

.register-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.register-showcase {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(20deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.24)),
    url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
}

.showcase-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 0.96;
  margin-bottom: 10px;
}

.showcase-copy p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  margin-bottom: 10px;
}

.showcase-copy ul {
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

.register-form-panel {
  padding: 24px 20px 28px;
}

.brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.brand-logo {
  width: min(200px, 100%);
  height: auto;
}

.title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.3rem);
  margin-bottom: 4px;
}

.subtitle {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
}

.plan-picker {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 2px;
}

.plan-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  align-items: start;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 170px;
  background: #fff;
}

.plan-option:hover {
  border-color: rgba(200, 155, 60, 0.52);
}

.plan-option.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.12);
  transform: translateY(-1px);
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.plan-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.plan-meta {
  grid-column: 2 / 3;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.plan-price {
  grid-column: 2 / 3;
  font-weight: 700;
  font-size: 0.78rem;
  color: #2c2c2c;
}

.plan-hint {
  margin-top: 8px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #6f540f;
  background: rgba(200, 155, 60, 0.12);
  border: 1px solid rgba(200, 155, 60, 0.24);
}

.payment-section {
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: 14px;
  padding: 12px;
  margin: 6px 0 12px;
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.payment-title {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.payment-subtitle {
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.card-fields {
  margin-top: 2px;
}

.field-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  margin-bottom: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.14);
}

.submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  min-height: 48px;
  background: linear-gradient(145deg, #d5b15a 0%, #c89b3c 58%, #b4872f 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.register-feedback {
  margin-top: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
}

.register-feedback.is-error {
  color: #8a231f;
  background: rgba(215, 82, 74, 0.12);
  border: 1px solid rgba(215, 82, 74, 0.26);
}

.register-feedback.is-success {
  color: #1f6f48;
  background: rgba(56, 168, 106, 0.12);
  border: 1px solid rgba(56, 168, 106, 0.26);
}

.signin {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.signin a {
  color: #3a3a3a;
  font-weight: 600;
}

@media (min-width: 900px) {
  .register-shell {
    grid-template-columns: 1fr 1.1fr;
  }

  .register-showcase {
    min-height: 100%;
    padding: 26px;
  }

  .register-form-panel {
    padding: 28px 24px 30px;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-picker {
    overflow-x: visible;
  }

  .plan-option {
    flex: 1;
    min-width: 0;
  }
}
