/* ------------------------------------------------------------------
   Eleva Platform – Site Stylesheet
   Brand: serif editorial · navy + gold · soft warm paper
------------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --ink: #0d0d0d;
  --paper: #faf8f4;
  --paper-2: #f3eedf;
  --accent: #1a1a2e;
  --accent-2: #2a2a48;
  --rule: #d4c9b0;
  --muted: #6b6555;
  --highlight: #c8a96e;
  --highlight-deep: #9b7f4a;
  --red: #c0392b;
  --green: #1e6b3e;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 26, 46, 0.12);
  --shadow-lg: 0 24px 60px rgba(26, 26, 46, 0.18);
  --radius: 10px;
  --t: 0.4s cubic-bezier(.2,.7,.2,1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--highlight-deep); }
img { max-width: 100%; display: block; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.brand-link {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 22px; color: var(--accent);
  letter-spacing: 0.02em;
}
.brand-link img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; font-size: 15px;
}
.nav-links a {
  position: relative; padding: 6px 0; color: var(--ink); font-weight: 400;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 100%; background: var(--highlight);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--paper) !important;
  padding: 10px 32px; border-radius: 999px;
  font-family: 'Playfair Display', serif; font-size: 14px;
  border-bottom: 2px solid var(--highlight);
  transition: transform var(--t), background var(--t);
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-2px); color: var(--paper) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--accent); margin: 5px 0; transition: var(--t); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: var(--t);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; text-align: center; padding: 12px 0; border-top: 1px solid var(--rule); }
  .nav-links li:first-child { border-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 32px 100px;
  background: radial-gradient(ellipse at top right, #25253f 0%, #1a1a2e 60%);
  color: var(--paper);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200,169,110,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(200,169,110,0.12), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 920px; margin: 0 auto; }
.eyebrow {
  font-family: 'Playfair Display', serif;
  font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--highlight); margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero h1 em { color: var(--highlight); font-style: italic; font-weight: 400; }
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: #d8d2bf; max-width: 640px; margin: 0 auto 40px;
  line-height: 1.7; font-weight: 300;
}
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-size: 15px;
  padding: 14px 28px; border-radius: 999px;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--highlight); color: var(--accent); border-bottom: 3px solid var(--highlight-deep); }
.btn-primary:hover { background: #d6b87b; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(200,169,110,0.3); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(240,234,216,0.3); }
.btn-ghost:hover { background: rgba(240,234,216,0.08); color: var(--paper); transform: translateY(-3px); }
.btn-dark { background: var(--accent); color: var(--paper); border-bottom: 3px solid var(--highlight); }
.btn-dark:hover { background: var(--accent-2); color: var(--paper); transform: translateY(-3px); }

/* Floating shapes in hero */
.float {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(200,169,110,0.45), rgba(200,169,110,0));
  filter: blur(2px); pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.float.f1 { width: 180px; height: 180px; top: 10%; left: 6%; animation-delay: 0s; }
.float.f2 { width: 260px; height: 260px; bottom: 8%; right: 4%; animation-delay: -4s; }
.float.f3 { width: 110px; height: 110px; top: 50%; left: 78%; animation-delay: -8s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50%      { transform: translate(20px, -30px) scale(1.1); opacity: 1; }
}

/* ---------- Sections ---------- */
section.block { padding: 100px 32px; }
.container { max-width: 1140px; margin: 0 auto; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 18px; color: var(--accent);
}
.section-eyebrow {
  font-family: 'Playfair Display', serif;
  font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--highlight-deep); margin-bottom: 14px; display: inline-block;
}
.section-lead { font-size: 18px; color: var(--muted); max-width: 680px; margin-bottom: 56px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Feature Grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.feature {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 36px 30px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--highlight), var(--highlight-deep));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--highlight); }
.feature:hover::before { transform: scaleX(1); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--paper-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent); font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 22px;
}
.feature h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--accent); margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Stats / Numbers ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; padding: 48px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 56px);
  font-weight: 900; color: var(--highlight-deep); display: block; line-height: 1;
}
.stat .lbl { color: var(--muted); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 10px; display: block; }

/* ---------- Split / Story ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse > .split-img { order: -1; }
.split-img {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, #2d2d4e 100%);
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--highlight); font-family: 'Playfair Display', serif;
  font-size: clamp(60px, 10vw, 140px); font-weight: 900;
  isolation: isolate;
}
.split-img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200,169,110,0.25), transparent 60%);
}
.split p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
@media (max-width: 800px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > .split-img { order: 0; }
}

/* ---------- CTA ---------- */
.cta-band {
  background: var(--accent); color: var(--paper);
  border-radius: var(--radius);
  padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(200,169,110,0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(200,169,110,0.12), transparent 50%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
.cta-band p { color: #c8bfb0; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Page Header (sub pages) ---------- */
.page-head {
  background: var(--accent); color: var(--paper);
  padding: 110px 32px 80px; text-align: center;
  border-bottom: 4px solid var(--highlight); position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(200,169,110,0.25), transparent 50%);
  pointer-events: none;
}
.page-head .eyebrow { color: var(--highlight); }
.page-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 56px); font-weight: 700; margin-bottom: 16px; }
.page-head p { max-width: 640px; margin: 0 auto; color: #c8bfb0; font-size: 18px; }

/* ---------- Cards / Tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tile {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 32px; transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column; gap: 12px;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile h3 { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 19px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile a.more { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--highlight-deep); margin-top: auto; }
.tile a.more::after { content: " →"; transition: transform var(--t); display: inline-block; }
.tile a.more:hover::after { transform: translateX(4px); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: 'Playfair Display', serif; }
.form-field input, .form-field textarea, .form-field select {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 6px;
  padding: 14px 16px; transition: border-color var(--t), box-shadow var(--t);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 0; border-color: var(--highlight); box-shadow: 0 0 0 4px rgba(200,169,110,0.2);
}
.form-field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact info layout */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
.contact-card {
  background: var(--accent); color: var(--paper);
  border-radius: var(--radius); padding: 40px;
  border-bottom: 4px solid var(--highlight);
}
.contact-card h2 { font-family: 'Playfair Display', serif; color: var(--highlight); font-size: 22px; margin-bottom: 24px; }
.contact-card .row { padding: 16px 0; border-bottom: 1px solid rgba(240,234,216,0.12); }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .lbl { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--highlight); display: block; margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.contact-card a { color: var(--paper); }
.contact-card a:hover { color: var(--highlight); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--accent); color: #b0a898;
  padding: 64px 32px 28px; border-top: 4px solid var(--highlight);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer-inner h4 {
  font-family: 'Playfair Display', serif; color: var(--highlight);
  font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 10px; font-size: 14px; }
.footer-inner a { color: #c8bfb0; }
.footer-inner a:hover { color: var(--highlight); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 320px; }
.footer-brand .brand-link { color: var(--paper); }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(240,234,216,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #6b6555;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Reveal-on-scroll animation ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .55s; }
.reveal-stagger.in > * { opacity: 0; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Phone mockup (visual flair) ---------- */
.phone {
  width: 280px; height: 560px; border-radius: 38px;
  background: linear-gradient(160deg, #0d0d18, #1a1a2e);
  padding: 14px; box-shadow: var(--shadow-lg);
  position: relative; margin: 0 auto;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0d0d18; border-radius: 14px; z-index: 2;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(200,169,110,0.4), transparent 50%),
    linear-gradient(180deg, #25253f, #1a1a2e);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--highlight);
  font-family: 'Playfair Display', serif; font-size: 80px; font-weight: 900;
}

/* ---------- Pricing / Token cards ---------- */
.token-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.token-card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 28px; text-align: center; transition: transform var(--t), box-shadow var(--t);
}
.token-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.token-card .qty { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--accent); }
.token-card .price { color: var(--highlight-deep); font-family: 'Playfair Display', serif; font-size: 22px; margin-top: 6px; }
.token-card .note { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--rule); margin: 80px 0; }
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); color: var(--accent); font-family: 'Playfair Display', serif; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }

/* selection */
::selection { background: var(--highlight); color: var(--accent); }
