/* ======= HERO ======= */

.reg-hero {
  background: #111;
  color: #fff;
  padding: 80px 24px 100px;
  text-align: center;
}

.reg-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.reg-hero-logo {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 36px;
  animation: fadeUp 0.5s ease both;
}

.reg-hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 18px;
  animation: fadeUp 0.5s 0.1s ease both;
}

.reg-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 44px;
  animation: fadeUp 0.5s 0.2s ease both;
}

.reg-hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
  animation: fadeUp 0.5s 0.3s ease both;
}

@media (min-width: 540px) {
  .reg-hero-benefits {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
}

.reg-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 9px 16px;
  justify-content: center;
}

.reg-benefit-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.reg-hero-cta {
  background: #C8762A;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 17px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  animation: fadeUp 0.5s 0.4s ease both;
}

.reg-hero-cta:hover {
  background: #b5671f;
  transform: translateY(-2px);
}

.reg-hero-cta:active {
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======= FORM SECTION ======= */

.reg-screen {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--bg, #f5f5f5);
  padding: 52px 16px 80px;
}

.reg-box {
  background: var(--surface, #fff);
  border-radius: 16px;
  padding: 40px 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: max-width 0.35s ease;
}

.reg-box.step2-wide {
  max-width: 860px;
}

/* ======= STEP INDICATOR ======= */

.reg-steps {
  display: flex;
  align-items: flex-start;
  margin-bottom: 36px;
}

.reg-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.reg-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #bbb;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.reg-step-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.25s;
}

.reg-step-item.active .reg-step-dot {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.reg-step-item.active .reg-step-label {
  color: #1a1a1a;
}

.reg-step-item.done .reg-step-dot {
  background: #C8762A;
  border-color: #C8762A;
  color: #fff;
}

.reg-step-item.done .reg-step-label {
  color: #C8762A;
}

.reg-step-line {
  flex: 1;
  height: 2px;
  background: #e8e8e8;
  margin: 14px 8px 0;
  transition: background 0.25s;
}

.reg-step-line.done {
  background: #C8762A;
}

/* ======= PANEL ANIMATION ======= */

.reg-panel h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text, #1a1a1a);
}

.reg-sub {
  font-size: 0.88rem;
  color: var(--text-muted, #666);
  margin: 0 0 24px;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reg-panel:not(.hidden) {
  animation: panelIn 0.3s ease both;
}

/* ======= STEP 2: TWO-COLUMN LAYOUT ======= */

.step2-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.step2-form {
  flex: 1;
  min-width: 0;
}

.step2-preview {
  flex-shrink: 0;
  width: 210px;
  position: sticky;
  top: 28px;
}

@media (max-width: 700px) {
  .step2-layout {
    flex-direction: column;
  }
  .step2-preview {
    width: 100%;
    position: static;
    order: -1;
  }
}

/* ======= OFFER PREVIEW CARD ======= */

.opc-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
  margin-bottom: 10px;
}

.offer-preview-card {
  background: var(--surface, #fff);
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}

.opc-cafe-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #C8762A;
  margin-bottom: 6px;
}

.opc-deal {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  margin-bottom: 10px;
  line-height: 1.3;
}

.opc-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.opc-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text, #1a1a1a);
}

.opc-original {
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: line-through;
}

.opc-divider {
  height: 1px;
  background: #f0f0f0;
  margin-bottom: 10px;
}

.opc-meta {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 4px;
}

.reg-privacy-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted, #888);
  text-align: center;
}

.reg-privacy-note a { color: var(--link, #1a73e8); }

/* ======= DAY BUTTONS ======= */

.day-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.day-btn {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid #e0e0e0;
  background: var(--surface, #fff);
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}

.day-btn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.day-btn:hover:not(.active) {
  border-color: #aaa;
  color: #1a1a1a;
}

/* ======= FORM HELPERS ======= */

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}

/* ======= NAVIGATION BUTTONS ======= */

.reg-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.reg-nav .btn-primary {
  flex: 2;
}

.reg-nav .btn-ghost {
  flex: 1;
}

/* ======= SUCCESS SCREEN ======= */

.reg-success-wrap {
  text-align: center;
  padding: 12px 0 4px;
}

.reg-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  animation: successPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successPop {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.reg-success-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px auto;
  max-width: 280px;
  text-align: left;
}

.reg-next-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary, #444);
}

.reg-next-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #1a1a1a;
  flex-shrink: 0;
}

.reg-portal-link {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 32px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.reg-portal-link:hover {
  opacity: 0.82;
}

/* ======= MOBILE ======= */

@media (max-width: 520px) {
  .reg-hero {
    padding: 60px 20px 76px;
  }
  .reg-box {
    padding: 28px 20px;
  }
}
