/* Elysian Protocol — hub (ChatGPT mockup match) */
:root {
  --bg: #0A0B0D;
  --bg-elevated: #111318;
  --bg-card: #14161A;
  --bg-card-hover: #1A1D24;
  --blue: #2F6BFF;
  --blue-hot: #4A82FF;
  --blue-muted: rgba(47, 107, 255, 0.14);
  --blue-line: rgba(47, 107, 255, 0.35);
  --white: #FFFFFF;
  --text: #F2F4F8;
  --muted: #9AA3B5;
  --muted-dim: #6B7385;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --radius: 4px;
  --radius-pill: 50px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --sticky-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.logo {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-cta:hover { background: var(--blue-hot); }

/* ——— Hero (compact photo overlay) ——— */
.hero {
  position: relative;
  min-height: 42vh;
  max-height: 520px;
  height: 48vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0.72) 42%, rgba(10, 11, 13, 0.35) 70%, rgba(10, 11, 13, 0.25) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.45) 0%, transparent 35%, rgba(10, 11, 13, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 2.5rem;
  max-width: 34rem;
}

.hero-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero-sub {
  font-size: 0.98rem;
  color: rgba(242, 244, 248, 0.82);
  max-width: 38ch;
  margin-bottom: 1.35rem;
  line-height: 1.5;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(47, 107, 255, 0.35);
}

.btn-primary:hover { background: var(--blue-hot); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-hot);
}

.btn-full { width: 100%; }
.btn-lg { padding: 1rem 1.75rem; font-size: 0.9rem; }

/* ——— Sections ——— */
.section {
  padding: 4.5rem 0;
}

.section-header { margin-bottom: 2.25rem; }
.section-header.centered { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 0.55rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 44ch;
}

.centered .section-lead { margin-inline: auto; }

/* ——— Trade grid ——— */
.section-trades {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  background: var(--bg);
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.trade-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.trade-card:hover {
  border-color: var(--blue-line);
  background: var(--bg-card-hover);
}

.trade-photo {
  aspect-ratio: 16 / 10;
  max-height: 140px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.trade-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.35s ease;
}

.trade-card:hover .trade-photo img { transform: scale(1.03); }

.trade-body {
  padding: 0.9rem 0.95rem 1.1rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trade-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.trade-body p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 1.25rem;
}

.trade-arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
}

/* ——— Why shops buy ——— */
.section-why {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why-col {
  padding: 0 1.75rem;
  text-align: center;
  border-right: 1px solid var(--blue-line);
}

.why-col:first-child { padding-left: 0; }
.why-col:last-child {
  border-right: none;
  padding-right: 0;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
}

.why-icon svg {
  width: 2rem;
  height: 2rem;
}

.why-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.why-col p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 28ch;
  margin-inline: auto;
}

/* ——— Offers ——— */
.section-offers {
  background: var(--bg);
}

.doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.door {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.door-top {
  padding: 1.35rem 1.25rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.door-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 6px;
  background: rgba(47, 107, 255, 0.18);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 750;
  margin-bottom: 0.7rem;
}

.door h3 {
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.door-pitch {
  color: var(--muted);
  font-size: 0.95rem;
}

.door-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.door-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.door-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
}

.door-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.proof-link {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--blue-hot);
  background: var(--blue-muted);
  border: 1px solid var(--blue-line);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
}

.proof-link:hover {
  background: rgba(47, 107, 255, 0.24);
  color: var(--white);
}

.door-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  padding: 0.85rem 0.95rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.door-price .amt {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue-hot);
  line-height: 1;
  letter-spacing: -0.02em;
}

.door-price .amt-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.door-price .talk {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--blue-hot);
  letter-spacing: -0.02em;
}

.door-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.door-ctas .btn { font-size: 0.78rem; padding: 0.8rem 1.1rem; }

.door-micro {
  font-size: 0.75rem;
  color: var(--muted-dim);
  text-align: center;
}

.door.featured {
  border-color: var(--blue-line);
  box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.12), 0 12px 40px rgba(47, 107, 255, 0.08);
}

.door.featured .door-top {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.16) 0%, rgba(20, 22, 26, 1) 100%);
  border-bottom-color: var(--blue-line);
}

.door.featured .door-num {
  background: var(--blue);
  color: var(--white);
}

.door-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

/* ——— About ——— */
.section-about {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.about-card {
  display: grid;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.35rem;
}

.about-mark-badge {
  width: 4rem;
  height: 4rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue), #1a3fa0);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.about-role {
  font-weight: 650;
  color: var(--white);
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.about-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.about-copy a { color: var(--blue-hot); font-weight: 600; }

.about-note {
  font-size: 0.88rem !important;
  opacity: 0.9;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  margin-bottom: 0 !important;
}

/* ——— FAQ ——— */
.section-faq {
  background: var(--bg);
  padding-top: 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "–"; }

.faq-body {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ——— Final CTA ——— */
.section-cta {
  position: relative;
  background: var(--bg-elevated);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background:
    radial-gradient(ellipse 80% 100% at 50% 120%, rgba(47, 107, 255, 0.28), transparent 70%),
    linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.06));
  pointer-events: none;
}

.cta-wave::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-line), var(--blue), var(--blue-line), transparent);
  opacity: 0.7;
  border-radius: 50%;
  transform: scaleY(0.4);
}

.cta-wave::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.45), transparent);
  opacity: 0.5;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.cta-inner > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

.cta-email {
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.cta-email a {
  color: var(--blue-hot);
  font-weight: 600;
}

/* ——— Footer ——— */
.footer {
  background: var(--bg);
  color: var(--muted-dim);
  padding: 2rem 0 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.footer a { color: var(--blue-hot); }
.footer-links { margin-top: 0.75rem; }
.footer-meta { margin-top: 1.25rem; font-size: 0.75rem; opacity: 0.75; }

/* ——— Sticky mobile CTA ——— */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(10, 11, 13, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--blue-line);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.sticky-cta .btn {
  flex: 1;
  max-width: 420px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
}

.sticky-cta.hidden { display: none; }

/* ——— Responsive ——— */
@media (max-width: 699px) {
  .hero {
    height: auto;
    min-height: 38vh;
    max-height: none;
  }

  .hero-content {
    padding: 4.75rem 0 2rem;
  }

  .hero h1 { font-size: clamp(1.65rem, 7vw, 2.1rem); }

  /* Compact 3-col OR horizontal scroll — never stacked giants */
  .trade-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .trade-photo {
    aspect-ratio: 16 / 10;
    max-height: 88px;
  }

  .trade-body {
    padding: 0.55rem 0.5rem 0.75rem;
  }

  .trade-body h3 {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
  }

  .trade-body p {
    font-size: 0.65rem;
    -webkit-line-clamp: 2;
    padding-right: 0.85rem;
  }

  .trade-arrow {
    right: 0.4rem;
    bottom: 0.45rem;
    font-size: 0.85rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .why-col {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--blue-line);
    padding-bottom: 1.75rem;
  }

  .why-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .section { padding: 3.25rem 0; }
  .section-trades { padding: 2rem 0; }
}

@media (min-width: 700px) {
  .container { width: min(100% - 2.5rem, var(--max)); }

  .nav-links { display: flex; }

  .trade-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .trade-photo {
    aspect-ratio: 16 / 10;
    max-height: 140px;
  }

  .doors {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    align-items: stretch;
  }

  .door { min-height: 100%; }

  .about-card {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 1.75rem;
    gap: 1.5rem;
  }

  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 900px) {
  .hero {
    height: 48vh;
    max-height: 520px;
    min-height: 380px;
  }

  .hero-content {
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 480px) {
  /* Very small phones: horizontal scroll of compact cards */
  .trade-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.65rem;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .trade-grid::-webkit-scrollbar { display: none; }

  .trade-card {
    flex: 0 0 72%;
    max-width: 260px;
    scroll-snap-align: start;
  }

  .trade-photo { max-height: 110px; }

  .trade-body h3 { font-size: 0.9rem; }
  .trade-body p {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }
}
