/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: #fff;
  color: #323A31;
}

/* ── Kiosk Container ─────────────────────────────────── */
.kiosk {
  width: 100vw;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.0)),
              url('images/background.png') center / cover no-repeat;
}

.kiosk::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/skyline.png') center top / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 60%);
  mask-image: linear-gradient(to bottom, transparent, black 60%);
  z-index: 0;
  pointer-events: none;
}

/* ── Header ──────────────────────────────────────────── */
.header {
  color: #323A31;
  padding: 32px 48px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.7);
}

.tagline {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.7);
}

.subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: #323A31;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

/* ── Main Content ────────────────────────────────────── */
.main {
  flex: 1;
  padding: 8px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 28px;
  color: #323A31;
  font-weight: 600;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  flex: 1;
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2), 0 12px 20px -8px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.card--vendor {
  border: 2px solid rgba(120, 53, 15, 0.0);
}

.card--buyer {
  border: 2px solid rgba(100, 116, 139, 0.0);
}

.card__header {
  backdrop-filter: blur(8px);
  padding: 16px;
  text-align: center;
  border: none;
  border-radius: 40px;
  margin-top: -60px;
  margin-bottom: 30px;
  margin-left: 25%;
  margin-right: 25%;
  /* box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.25); */
}

.card__icon {
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card--vendor .card__icon {
  color: #47573E;
  background: rgba(71, 87, 62, 0.12);
}

.card--buyer .card__icon {
  color: #243348;
  background: rgba(36, 51, 72, 0.12);
}

.card__header h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card--vendor .card__header {
    border: 1px solid rgba(71, 87, 62, 1);
    background-color: rgba(71, 87, 62, 0.75);
}

.card--vendor .card__header h3 {
    color: rgba(256, 256, 256, 1);
}

.card--buyer .card__header {
    border: 1px solid rgba(36, 51, 72, 1);
    background-color: rgba(36, 51, 72, .75);
}

.card--buyer .card__header h3 {
    color: rgba(256, 256, 256, 1);
}

/* ── Benefits ────────────────────────────────────────── */
.benefits {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit__image {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.benefit__icon {
  width: 60px;
  height: 60px;
  padding: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card--vendor .benefit__icon {
  color: #5a6e4f;
  background: rgba(71, 87, 62, 0.1);
}
.card--buyer .benefit__icon {
  color: #243348;
  background: rgba(36, 51, 72, 0.1);
}

.benefits strong {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.benefits p {
  font-size: 17px;
  line-height: 1.4;
}

.card--vendor .benefits p {
  color: #6b7d60;
}

.card--buyer .benefits p {
  color: #4a6080;
}

/* ── CTA Buttons ─────────────────────────────────────── */
.cta {
  width: 100%;
  padding: 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.2s, transform 0.1s;
  -webkit-appearance: none;
}

.cta:active {
  transform: scale(0.98);
}

.cta--vendor {
  background: #47573E;
}
.cta--vendor:hover, .cta--vendor:active {
  background: #3a4832;
}

.cta--buyer {
  background: #243348;
}
.cta--buyer:hover, .cta--buyer:active {
  background: #1a2535;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 16px;
  color: #94a3b8;
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Overlay & Dialog ────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.overlay.active {
  display: flex;
}

.dialog {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.dialog__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.dialog__desc {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── Form Fields ─────────────────────────────────────── */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  background: #fff;
}

.field input:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
}

.field input.error {
  border-color: #ef4444;
}

/* ── Dialog Actions ──────────────────────────────────── */
.dialog__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  flex: 1;
  padding: 16px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  -webkit-appearance: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--outline {
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #475569;
}
.btn--outline:hover {
  background: #f8fafc;
}

.btn--primary {
  border: none;
  color: #fff;
}

.btn--primary.vendor {
  background: #47573E;
}
.btn--primary.vendor:hover {
  background: #3a4832;
}

.btn--primary.buyer {
  background: #243348;
}
.btn--primary.buyer:hover {
  background: #1a2535;
}

/* ── Success State ───────────────────────────────────── */
.success {
  text-align: center;
  padding: 40px 0;
}

.success__icon {
  width: 72px;
  height: 72px;
  color: #16a34a;
  margin: 0 auto 20px;
}

.success h2 {
  font-size: 30px;
  color: #1e293b;
  margin-bottom: 10px;
}

.success p {
  font-size: 20px;
  color: #64748b;
}
