/* Public landing — Fly Events client portal */
:root {
  --primary: #0f6f9f;
  --primary-deep: #03557e;
  --accent: #f58220;
  --dark: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 86, 126, 0.12);
  --card: #ffffff;
  --sky: #0f6f9f;
  --sky-soft: #e8f4fb;
  --coral: #e86a4a;
  --coral-soft: #fdeee9;
  --mint: #2a9d8f;
  --mint-soft: #e6f6f3;
  --amber: #f58220;
  --amber-soft: #fff3e8;
}

* { box-sizing: border-box; }

body.login-page {
  margin: 0;
  padding-top: 88px;
  color: var(--dark);
  font-family: Inter, Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(15, 111, 159, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 5%, rgba(245, 130, 32, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 70%, rgba(42, 157, 143, 0.08), transparent 55%),
    linear-gradient(165deg, #e8f3fb 0%, #f7fafc 40%, #fff8f2 72%, #ffffff 100%);
  overflow-x: hidden;
}

.public-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero-copy { min-width: 0; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 111, 159, 0.1);
  border: 1px solid rgba(15, 111, 159, 0.18);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.hero-subtitle {
  margin: 0 0 1.15rem;
  max-width: 42rem;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #1f2937;
  font-size: 0.96rem;
  line-height: 1.4;
}

.hero-list i {
  margin-top: 0.1rem;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.hero-list li:nth-child(1) i { color: var(--sky); }
.hero-list li:nth-child(2) i { color: var(--coral); }
.hero-list li:nth-child(3) i { color: var(--mint); }
.hero-list li:nth-child(4) i { color: var(--amber); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-tour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(130deg, #0f6f9f 0%, #03557e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(3, 85, 126, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-tour:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(3, 85, 126, 0.28);
}

.btn-tour i {
  font-size: 1rem;
  transition: transform 0.18s ease;
}

.btn-tour:hover i {
  transform: translateX(3px);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 111, 159, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-soft:hover {
  background: #fff;
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.btn-text {
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.btn-text:hover { text-decoration: underline; }

.hero-tour-micro {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

/* —— Interactive tour teaser —— */
.section.tour-teaser {
  margin-top: 0.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(232, 244, 251, 0.75) 55%, rgba(255, 243, 232, 0.55) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(15, 86, 126, 0.06);
}

.tour-teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.tour-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.tour-teaser__title {
  margin-bottom: 0.65rem;
  max-width: 22ch;
}

.tour-teaser__text {
  margin-bottom: 1.1rem;
  max-width: 44ch;
}

.tour-teaser__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.tour-teaser__micro {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.tour-preview {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  outline-offset: 3px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tour-preview:hover,
.tour-preview:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 86, 126, 0.14);
}

.tour-preview__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(3, 85, 126, 0.42);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.tour-preview:hover .tour-preview__overlay,
.tour-preview:focus-visible .tour-preview__overlay {
  opacity: 1;
}

.tour-preview__overlay span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.tour-browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 86, 126, 0.08);
}

.tour-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.tour-browser__bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dbe4ee;
}

.tour-browser__url {
  margin-left: 0.45rem;
  flex: 1;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}

.tour-browser__body {
  padding: 0.85rem;
}

.tour-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tour-dash-head strong {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.tour-dash-head span {
  font-size: 0.75rem;
  color: var(--muted);
}

.tour-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tour-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  animation: tour-pulse 1.8s ease infinite;
}

@keyframes tour-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tour-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.tour-dash-kpis > div {
  padding: 0.65rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fbfcfe;
}

.tour-dash-kpis span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.tour-dash-kpis b {
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.tour-next-val {
  font-size: 0.78rem !important;
  line-height: 1.25;
}

.tour-floats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 1.8rem;
}

.tour-float {
  display: none;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--primary-deep);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tour-float.is-on {
  display: inline-flex;
  opacity: 1;
  transform: none;
}

.tour-preview__mobile { display: none; }

.tour-mobile-card {
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 86, 126, 0.08);
}

.tour-mobile-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tour-mobile-card__top strong {
  font-family: Poppins, Inter, sans-serif;
  font-size: 0.95rem;
}

.tour-mobile-card__rows {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.tour-mobile-card__rows > div {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-size: 0.85rem;
}

.tour-mobile-card__rows span { color: var(--muted); }
.tour-mobile-card__rows b { color: var(--dark); }

.tour-mobile-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

/* —— Login card —— */
.login-card-wrap {
  position: sticky;
  top: 100px;
}

.login-container {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
  padding: 1.55rem 1.3rem 1.25rem;
}

.login-lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
}

.login-lang-switch form { display: inline; }

.login-lang-switch button {
  background: none;
  border: 0;
  padding: 0.15rem 0.25rem;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
}

.login-lang-switch button.is-active {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-lang-switch .sep { color: #cbd5e1; }

.login-logo { text-align: center; margin-bottom: 0.85rem; }
.login-logo img { max-width: 132px; height: auto; }

.login-title {
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--dark);
}

.login-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.login-trust {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.login-page .form-label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.login-page .form-control {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 0.7rem 0.9rem;
  font-size: 0.97rem;
}

.login-page .form-control:focus {
  border-color: rgba(15, 111, 159, 0.65);
  box-shadow: 0 0 0 0.22rem rgba(15, 111, 159, 0.14);
}

.login-page .btn-primary {
  min-height: 46px;
  background: linear-gradient(130deg, #0f6f9f 0%, #235ec7 55%, #f58220 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.login-page .btn-primary:hover {
  filter: brightness(1.03);
  color: #fff;
  background: linear-gradient(130deg, #0f6f9f 0%, #235ec7 55%, #f58220 100%);
}

.login-page .btn-primary:disabled { opacity: 0.8; }

.login-page .btn-outline-secondary {
  border-radius: 10px;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  border: 1px solid rgba(15, 23, 42, 0.22);
}

.login-page .alert {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
}

.otp-section { display: none; animation: loginFade 0.28s ease; }
.otp-section.show { display: block; }

@keyframes loginFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.resend-countdown {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

.login-footnote {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.65rem;
  text-align: center;
  line-height: 1.45;
}

.change-email-btn {
  font-size: 0.88rem !important;
  color: #64748b !important;
}

/* —— Sections —— */
.section {
  margin: 0 0 clamp(2.25rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.section--alt {
  padding-left: clamp(0.75rem, 2vw, 1.25rem);
  padding-right: clamp(0.75rem, 2vw, 1.25rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.section-title {
  margin: 0 0 0.55rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.section-subtitle {
  margin: 0 0 1.35rem;
  max-width: 46rem;
  color: #475569;
  line-height: 1.65;
  font-size: 0.98rem;
}

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

.pillar-card {
  padding: 1.25rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 86, 126, 0.12);
}

.pillar-card--sky {
  background: linear-gradient(165deg, #ffffff 40%, var(--sky-soft) 100%);
  border-color: rgba(15, 111, 159, 0.16);
}
.pillar-card--coral {
  background: linear-gradient(165deg, #ffffff 40%, var(--coral-soft) 100%);
  border-color: rgba(232, 106, 74, 0.18);
}
.pillar-card--mint {
  background: linear-gradient(165deg, #ffffff 40%, var(--mint-soft) 100%);
  border-color: rgba(42, 157, 143, 0.18);
}
.pillar-card--amber {
  background: linear-gradient(165deg, #ffffff 40%, var(--amber-soft) 100%);
  border-color: rgba(245, 130, 32, 0.2);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  background: rgba(15, 111, 159, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
  transition: transform 0.22s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(-3deg);
}

.pillar-icon--sky { background: var(--sky-soft); color: var(--sky); }
.pillar-icon--coral { background: var(--coral-soft); color: var(--coral); }
.pillar-icon--mint { background: var(--mint-soft); color: var(--mint); }
.pillar-icon--amber { background: var(--amber-soft); color: var(--amber); }

.pillar-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pillar-text,
.pillar-note,
.step-text,
.why-text {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pillar-note {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
  color: var(--primary-deep);
  font-size: 0.86rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.mini-list li,
.search-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
}

.search-points {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.search-points li {
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.45;
}

.mini-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.mini-ico--sky { background: var(--sky-soft); color: var(--sky); }
.mini-ico--coral { background: var(--coral-soft); color: var(--coral); }
.mini-ico--mint { background: var(--mint-soft); color: var(--mint); }
.mini-ico--amber { background: var(--amber-soft); color: var(--amber); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.chip {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 111, 159, 0.08);
  border: 1px solid rgba(15, 111, 159, 0.16);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 600;
  animation: chipPop 0.55s ease both;
}

.chip:nth-child(2) { animation-delay: 0.08s; }
.chip:nth-child(3) { animation-delay: 0.16s; }
.chip:nth-child(4) { animation-delay: 0.24s; }

.chip--sky { background: var(--sky-soft); border-color: rgba(15, 111, 159, 0.22); color: var(--sky); }
.chip--coral { background: var(--coral-soft); border-color: rgba(232, 106, 74, 0.22); color: #c24e34; }
.chip--mint { background: var(--mint-soft); border-color: rgba(42, 157, 143, 0.22); color: #1f7a6f; }
.chip--amber { background: var(--amber-soft); border-color: rgba(245, 130, 32, 0.28); color: #c45f0d; }

@keyframes chipPop {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.visual-panel {
  position: relative;
  min-height: 200px;
  padding: 1.15rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.visual-panel--field {
  background: linear-gradient(160deg, #ffffff 0%, var(--mint-soft) 55%, #e8f4fb 100%);
  border-color: rgba(42, 157, 143, 0.2);
}

.visual-panel--search {
  background: linear-gradient(160deg, #ffffff 0%, var(--sky-soft) 50%, var(--amber-soft) 100%);
  border-color: rgba(15, 111, 159, 0.18);
}

.visual-panel__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  background: #fff;
  color: var(--mint);
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(42, 157, 143, 0.15);
  animation: iconFloat 3.2s ease-in-out infinite;
}

.visual-panel__icon--search {
  color: var(--sky);
  box-shadow: 0 8px 20px rgba(15, 111, 159, 0.15);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.visual-panel__bar {
  height: 10px;
  width: 42%;
  border-radius: 999px;
  background: rgba(15, 111, 159, 0.35);
  margin-bottom: 1rem;
}

.visual-panel__search {
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.visual-panel__row {
  height: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
  margin-bottom: 0.55rem;
}

.visual-panel__row--short { width: 68%; }

.visual-panel__chips {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
}

.visual-panel__chips span {
  width: 52px;
  height: 22px;
  border-radius: 999px;
  background: rgba(245, 130, 32, 0.18);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.step-card {
  padding: 1.1rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 86, 126, 0.1);
}

.step-card--sky { background: linear-gradient(180deg, #fff 55%, var(--sky-soft)); border-color: rgba(15, 111, 159, 0.14); }
.step-card--coral { background: linear-gradient(180deg, #fff 55%, var(--coral-soft)); border-color: rgba(232, 106, 74, 0.16); }
.step-card--mint { background: linear-gradient(180deg, #fff 55%, var(--mint-soft)); border-color: rgba(42, 157, 143, 0.16); }
.step-card--amber { background: linear-gradient(180deg, #fff 55%, var(--amber-soft)); border-color: rgba(245, 130, 32, 0.18); }

.step-no {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 0.7rem;
  background: rgba(15, 111, 159, 0.1);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 1rem;
}

.step-card--sky .step-no { background: var(--sky-soft); color: var(--sky); }
.step-card--coral .step-no { background: var(--coral-soft); color: var(--coral); }
.step-card--mint .step-no { background: var(--mint-soft); color: var(--mint); }
.step-card--amber .step-no { background: var(--amber-soft); color: var(--amber); }

.step-title {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.why-card {
  padding: 1.15rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 86, 126, 0.1);
}

.why-card--sky { background: linear-gradient(165deg, #fff 50%, var(--sky-soft)); }
.why-card--coral { background: linear-gradient(165deg, #fff 50%, var(--coral-soft)); }
.why-card--mint { background: linear-gradient(165deg, #fff 50%, var(--mint-soft)); }
.why-card--amber { background: linear-gradient(165deg, #fff 50%, var(--amber-soft)); }

.why-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.why-card--sky .why-icon { background: var(--sky-soft); color: var(--sky); }
.why-card--coral .why-icon { background: var(--coral-soft); color: var(--coral); }
.why-card--mint .why-icon { background: var(--mint-soft); color: var(--mint); }
.why-card--amber .why-icon { background: var(--amber-soft); color: var(--amber); }

.why-title-sm {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-pill {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 111, 159, 0.08);
  border: 1px solid rgba(15, 111, 159, 0.14);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 600;
}

.stat-pill:nth-child(1) { background: var(--sky-soft); color: var(--sky); border-color: rgba(15, 111, 159, 0.2); }
.stat-pill:nth-child(2) { background: var(--coral-soft); color: #c24e34; border-color: rgba(232, 106, 74, 0.2); }
.stat-pill:nth-child(3) { background: var(--mint-soft); color: #1f7a6f; border-color: rgba(42, 157, 143, 0.2); }
.stat-pill:nth-child(4) { background: var(--amber-soft); color: #c45f0d; border-color: rgba(245, 130, 32, 0.24); }

.final-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.4rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(15, 111, 159, 0.12) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(245, 130, 32, 0.1) 100%);
  border: 1px solid rgba(15, 111, 159, 0.16);
}

.final-cta__title {
  margin: 0 0 0.4rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.final-cta__text {
  margin: 0;
  max-width: 40rem;
  color: #475569;
  line-height: 1.55;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cta-actions .btn-primary {
  width: auto;
  min-width: 11rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.public-footer {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.public-footer__links {
  margin: 0.45rem 0 0;
}

.public-footer__links a {
  color: var(--primary-deep);
  font-weight: 600;
  text-decoration: none;
}

.public-footer__links a:hover { text-decoration: underline; }
.public-footer__links span { margin: 0 0.4rem; color: #cbd5e1; }

@media (max-width: 991.98px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-title { max-width: none; }
  /* Prefer: copy + tour CTA first, then login */
  .hero-copy { order: 0; }
  .login-card-wrap { position: static; order: 1; }
  .tour-teaser__grid { grid-template-columns: 1fr; }
  .tour-teaser__title { max-width: none; }
  .tour-preview__desktop { display: none; }
  .tour-preview__mobile { display: block; }
  .tour-preview__overlay { display: none; }
  .pillar-grid,
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .visual-panel { min-height: 160px; }
}

@media (max-width: 575.98px) {
  body.login-page { padding-top: 76px; }
  .public-shell { padding: 16px 16px 36px; }
  .steps-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 1.25rem 1.1rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn-primary,
  .cta-actions .btn-soft,
  .hero-actions .btn-tour,
  .tour-teaser__actions .btn-tour { width: 100%; }
  .tour-teaser { padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pillar-card,
  .step-card,
  .why-card,
  .btn-soft,
  .btn-tour,
  .tour-preview,
  .tour-float,
  .otp-section,
  .chip,
  .visual-panel__icon { transition: none !important; animation: none !important; }
  .pillar-card:hover,
  .step-card:hover,
  .why-card:hover,
  .tour-preview:hover,
  .tour-preview:focus-visible { transform: none; }
  .pillar-card:hover .pillar-icon { transform: none; }
  .tour-live-dot { animation: none; }
  .btn-tour:hover i { transform: none; }
}
