﻿@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,700&display=swap');

:root {
  --bg: #07090f;
  --text: #f5f3ee;
  --muted: #b8bfd1;
  --line: rgba(212, 181, 128, 0.28);
  --gold: #d4b580;
  --blue: #3d6fe0;
  --blue-2: #6a92f0;
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #182138 0%, transparent 34%),
    radial-gradient(circle at 90% 8%, #121c30 0%, transparent 34%),
    linear-gradient(180deg, #06080f 0%, #0b111d 45%, #080c15 100%);
  line-height: 1.45;
}

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.is-hidden { display: none !important; }

.role-landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.role-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  filter: blur(78px);
  opacity: 0.16;
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite;
}

.role-bg-a { top: -170px; left: -140px; background: #24498f; }
.role-bg-b { bottom: -190px; right: -120px; background: #7d5d2d; animation-delay: 1.2s; }

.role-card {
  width: min(920px, 100%);
  background: linear-gradient(155deg, rgba(16, 23, 36, 0.96) 0%, rgba(13, 19, 31, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: riseIn .55s ease both;
}

.role-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(240, 216, 172, 0.08), transparent 42%, rgba(61, 111, 224, 0.08));
}

.intro-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.intro-copy > img {
  height: 58px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.intro-copy h1,
.hero-copy h1 {
  margin: 10px 0 12px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.01;
  color: #f6ecd8;
}

.eyebrow {
  margin: 12px 0 0;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

.intro-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(212, 181, 128, 0.34);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
  background: #0f1524;
}

.intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.intro-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 128, 0.34);
  background: rgba(212, 181, 128, 0.1);
  color: #ecd8b1;
  font-size: 12px;
  font-weight: 700;
}

.role-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-option {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(212, 181, 128, 0.28);
  background: linear-gradient(130deg, rgba(31, 44, 72, 0.94), rgba(21, 28, 44, 0.94));
  border-radius: 20px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}

.role-option::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 120%;
  height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(240, 216, 172, 0.16) 50%, transparent 80%);
  transition: left .8s ease;
}

.role-option:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 216, 172, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
}

.role-option:hover::after { left: 130%; }

.role-thumb img {
  width: 118px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 181, 128, 0.28);
  background: #10192b;
}

.role-option h3 { margin: 0 0 5px; color: #f5e8cf; }
.role-option p { margin: 0; color: #bcc4d8; font-size: 14px; }

.role-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.role-tags span {
  border: 1px solid rgba(212, 181, 128, 0.34);
  background: rgba(212, 181, 128, 0.1);
  color: #ecd8b1;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.visual-band {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visual-band img {
  width: 100%;
  height: 106px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 181, 128, 0.24);
  background: #10192b;
}

.journey-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.journey-step {
  border-left: 3px solid rgba(212, 181, 128, 0.56);
  background: rgba(18, 25, 39, 0.5);
  border-radius: 12px;
  padding: 12px 12px 12px 14px;
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 128, 0.5);
  color: #f2dfbd;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.journey-step strong { display: block; color: #f5e8cd; margin-bottom: 3px; }
.journey-step p { margin: 0; color: #b6c0d7; font-size: 13px; }

.app-hub {
  margin-top: 16px;
  border: 1px dashed rgba(212, 181, 128, 0.35);
  border-radius: 16px;
  padding: 14px;
  background: rgba(16, 22, 35, 0.58);
}

.app-hub-head h2 {
  margin: 0;
  font-size: 24px;
  font-family: 'Fraunces', serif;
  color: #f4e7cb;
}

.app-hub-head p {
  margin: 4px 0 0;
  color: #b0bbd2;
  font-size: 14px;
}

.app-hub-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-card {
  border: 1px solid rgba(212, 181, 128, 0.22);
  background: rgba(26, 34, 51, 0.84);
  border-radius: 12px;
  padding: 12px;
}

.store-card h3 { margin: 0; color: #f1dfbe; }
.store-card p { margin: 4px 0 10px; color: #b8c2d7; font-size: 14px; }

.store-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.store-tags span {
  border: 1px solid rgba(212, 181, 128, 0.34);
  background: rgba(212, 181, 128, 0.08);
  color: #f0ddb8;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.store-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.store-chip {
  border: 1px solid rgba(212, 181, 128, 0.34);
  background: rgba(212, 181, 128, 0.1);
  color: #ecd8b1;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.qr-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(212, 181, 128, 0.42);
  display: inline-grid;
  place-items: center;
  color: #f2e0c0;
  font-weight: 800;
  font-size: 12px;
}

.lux-cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.entry-note {
  margin: 10px 2px 0;
  color: #aab5cb;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 181, 128, 0.24);
  background: linear-gradient(140deg, #0b1324 0%, #182744 55%, #10213d 100%);
  color: #f5f0e4;
}

.hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.22;
  pointer-events: none;
}

.hero-glow-a { background: #3d6fe0; top: -190px; right: -90px; }
.hero-glow-b { background: #a47735; top: 120px; left: -170px; }

.nav {
  padding: 22px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.brand img { height: 40px; width: auto; display: block; }

.links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.links a {
  color: #f1dfbe;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
}

.links a:hover { color: #ffffff; }

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 34px 0 36px;
  position: relative;
  z-index: 2;
}

.hero-copy p { margin: 0; color: #cfd8eb; max-width: 760px; font-size: 16px; }

.hero-media img {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(212, 181, 128, 0.34);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  background: #10192b;
}

.page { display: grid; gap: 18px; padding: 24px 0 34px; }
.page > .card { animation: riseIn .55s ease both; }
.page > .card:nth-child(2) { animation-delay: .08s; }
.page > .card:nth-child(3) { animation-delay: .14s; }
.page > .card:nth-child(4) { animation-delay: .2s; }

.card {
  background: linear-gradient(155deg, rgba(20, 27, 42, 0.94), rgba(14, 20, 33, 0.94));
  border: 1px solid rgba(212, 181, 128, 0.26);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

h2, h3 { margin: 0; }
h2 { font-size: 28px; color: #f4e7cb; font-family: 'Fraunces', serif; }
h3 { font-size: 18px; color: #f1dfbe; }

.badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f0dcb5;
  border: 1px solid rgba(212, 181, 128, 0.42);
  background: rgba(212, 181, 128, 0.12);
  padding: 6px 10px;
}

.badge.success { border-color: rgba(111, 214, 149, 0.5); background: rgba(111, 214, 149, 0.12); color: #96e9b6; }
.badge.warning { border-color: rgba(255, 163, 94, 0.5); background: rgba(255, 163, 94, 0.12); color: #ffc693; }

.image-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.image-tile {
  border: 1px solid rgba(212, 181, 128, 0.24);
  background: rgba(25, 33, 50, 0.88);
  border-radius: 15px;
  padding: 10px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
}

.image-tile img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 181, 128, 0.3);
  background: #10192b;
}

.image-tile strong { color: #f0dcb5; display: block; margin-bottom: 2px; }
.image-tile span { color: #bec7da; font-size: 14px; }

.value-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.value-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.value-points span {
  border: 1px solid rgba(212, 181, 128, 0.34);
  background: rgba(212, 181, 128, 0.1);
  color: #ecd8b1;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.value-icons {
  display: flex;
  gap: 6px;
}

.value-icons span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 128, 0.44);
  display: inline-grid;
  place-items: center;
  color: #f3e2c3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(212, 181, 128, 0.12);
}

.earn-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.earn-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.earn-points span {
  border: 1px solid rgba(212, 181, 128, 0.34);
  background: rgba(212, 181, 128, 0.1);
  color: #ecd8b1;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.earn-symbols {
  display: flex;
  gap: 6px;
}

.earn-symbols span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 128, 0.44);
  display: inline-grid;
  place-items: center;
  color: #f3e2c3;
  font-size: 20px;
  font-weight: 800;
  background: rgba(212, 181, 128, 0.12);
}

.grid { display: grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel {
  border: 1px solid rgba(212, 181, 128, 0.22);
  background: rgba(24, 32, 49, 0.88);
  border-radius: 16px;
  padding: 14px;
}

.panel,
.card,
.list-item,
.output,
.store-card,
.journey-step {
  color: #f5f3ee;
}

.stack { display: grid; gap: 10px; margin-top: 10px; }

.entry-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 12px;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(212, 181, 128, 0.24);
  background: rgba(8, 12, 20, 0.92);
  color: #f8f4e9;
  font: inherit;
  padding: 11px 12px;
}

textarea { min-height: 94px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #c3cbe0; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(212, 181, 128, 0.5);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4ccdc;
  font-size: 13px;
  font-weight: 600;
}

.check input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
}

.btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 110%;
  height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
}

.btn:hover::after { animation: sweep .8s ease; }
.btn:hover { transform: translateY(-1px); }

.btn.primary {
  color: #fff;
  border-color: rgba(95, 133, 224, .6);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 20px rgba(61, 111, 224, 0.3);
}

.btn.ghost {
  color: #f0ddb8;
  border-color: rgba(212, 181, 128, 0.4);
  background: rgba(212, 181, 128, 0.08);
}

.actions-row { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.list { display: grid; gap: 8px; margin-top: 10px; }

.item {
  border: 1px solid rgba(212, 181, 128, 0.24);
  border-radius: 12px;
  padding: 10px;
  background: rgba(19, 25, 39, 0.9);
  color: #c7cfdf;
}

.item strong,
.card h3,
.card h4,
.panel h3 {
  color: #f5e8cf;
}

.item strong { color: #f2e4c6; }

.item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.item-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.chat-shell {
  display: grid;
  gap: 12px;
}

.chat-stream {
  min-height: 260px;
  max-height: 440px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(212, 181, 128, 0.24);
  background:
    radial-gradient(circle at top right, rgba(61, 111, 224, 0.12), transparent 28%),
    rgba(10, 15, 25, 0.94);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.chat-empty {
  border: 1px dashed rgba(212, 181, 128, 0.3);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: #9eabc6;
  background: rgba(18, 24, 37, 0.7);
}

.chat-bubble {
  max-width: min(78%, 520px);
  border-radius: 18px;
  padding: 11px 13px;
  display: grid;
  gap: 5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.chat-bubble.mine {
  justify-self: end;
  background: linear-gradient(135deg, #3d6fe0, #5b86ec);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.chat-bubble.other {
  justify-self: start;
  background: rgba(27, 35, 54, 0.98);
  color: #d8dfef;
  border: 1px solid rgba(212, 181, 128, 0.18);
  border-bottom-left-radius: 6px;
}

.chat-bubble.support {
  background: rgba(30, 47, 78, 0.98);
  border-color: rgba(97, 165, 250, 0.35);
}

.chat-bubble.system {
  justify-self: center;
  text-align: center;
  background: rgba(212, 181, 128, 0.12);
  color: #f0ddb8;
  border: 1px solid rgba(212, 181, 128, 0.24);
  max-width: 520px;
}

.chat-sender {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.78;
}

.chat-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-time {
  font-size: 11px;
  opacity: 0.72;
}

.chat-compose {
  display: grid;
  gap: 10px;
}

.chat-compose textarea {
  min-height: 76px;
  resize: vertical;
}

.chat-compose-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.out {
  margin: 10px 0 0;
  border-radius: 12px;
  border: 1px solid rgba(212, 181, 128, 0.24);
  min-height: 140px;
  background: rgba(10, 15, 25, 0.92);
  color: #cfd7e8;
  padding: 10px;
  overflow: auto;
  font-size: 12px;
}

.footer {
  border-top: 1px solid rgba(212, 181, 128, 0.2);
  background: rgba(8, 11, 18, 0.92);
  padding: 20px 0 26px;
}

.footer-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.footer-inner img { height: 34px; width: auto; }
.footer p { margin: 0; color: #9ca9c4; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-links a {
  color: #e4ce9f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.footer-links a:hover { color: #fff2d3; }

@keyframes floatGlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(18px); }
}

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

@keyframes sweep {
  from { left: -140%; }
  to { left: 130%; }
}

@media (max-width: 1024px) {
  .intro-hero,
  .hero-content,
  .grid.two,
  .grid.three,
  .image-strip,
  .journey-strip,
  .role-grid,
  .app-hub-grid,
  .visual-band { grid-template-columns: 1fr; }

  .image-tile { grid-template-columns: 1fr; }
  .image-tile img { width: 100%; height: 160px; }
  .value-banner { grid-template-columns: 1fr; }
  .earn-banner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(1180px, calc(100% - 24px)); }
  .card { border-radius: 18px; padding: 14px; }
  .role-card { padding: 18px; border-radius: 20px; }
  .links a { font-size: 13px; }
}
