/* ============================================================
   Relay AI — Landing page styles (pure CSS)
   Neon-brutalist theme: lime, pink, navy
   ============================================================ */

:root {
  --lime: #c7f545;
  --pink: #ec2c7f;
  --navy: #0e1626;
  --navy-2: #131f33;
  --ink: #0b1220;
  --cream: #f3f1e9;
  --white: #ffffff;
  --font: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }

/* ---------- Navbar ---------- */
.r-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.r-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.r-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.r-logo {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.r-nav-links { display: flex; align-items: center; gap: 34px; }
.r-nav-links a { font-weight: 600; font-size: 15px; }
.r-nav-links a:hover { color: var(--pink); }
.r-nav-right { display: flex; align-items: center; gap: 24px; }
.r-login { font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.r-start {
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 14px 22px; display: inline-flex; align-items: center; gap: 8px;
}
.r-start:hover { background: var(--pink); }

/* ---------- Hero ---------- */
.r-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 74px); }
.r-hero-left { background: var(--lime); padding: 70px 56px 56px; display: flex; flex-direction: column; justify-content: center; }
.r-kicker { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.r-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); display: inline-block; }
.r-hero-left h1 {
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.r-hero-left h1 .pink { color: var(--pink); }
.r-lead { font-size: 20px; max-width: 440px; margin: 32px 0 40px; color: #1a2436; }
.r-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.r-cta {
  background: var(--pink); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  padding: 20px 32px; display: inline-flex; align-items: center; gap: 12px;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.r-cta:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 var(--ink); }
.r-note { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #1a2436; }

.r-hero-right { background: var(--navy); padding: 40px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.r-feed-label { display: flex; justify-content: space-between; color: #64748b; font-size: 13px; letter-spacing: .1em; margin-bottom: 30px; }
.r-feed-tag { color: var(--lime); }

/* Chat card */
.r-chat { background: #fff; border-radius: 20px; padding: 24px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.r-works {
  position: absolute; top: -22px; left: -22px;
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--pink); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-size: 12px; font-weight: 700; line-height: 1.1;
}
.r-chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #eef0f2; margin-bottom: 18px; }
.r-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 700; }
.r-chat-head .name { font-weight: 700; font-size: 15px; }
.r-online { color: #16a34a; font-size: 13px; }
.r-star { margin-left: auto; color: var(--ink); font-size: 18px; }
.r-msg { padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.45; margin-bottom: 12px; max-width: 88%; }
.r-msg.in { background: #f1f3f5; color: #1a2436; }
.r-msg.out { background: var(--ink); color: #fff; margin-left: auto; }
.r-replied { display: flex; align-items: center; gap: 8px; color: #16a34a; font-size: 13px; font-weight: 600; margin: 6px 0 20px; }
.r-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.r-action { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 8px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.r-action i { display: block; font-size: 16px; margin-bottom: 6px; }
.r-action.active { background: var(--lime); border-color: var(--lime); }
.r-hot {
  position: absolute; bottom: -16px; right: 20px;
  background: var(--lime); border: 2px solid var(--pink);
  padding: 8px 14px; font-weight: 700; font-size: 12px; letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Advantage section ---------- */
.r-adv { padding: 110px 0; background: #fff; }
.r-adv-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.r-eyebrow { color: var(--pink); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; margin-bottom: 18px; }
.r-adv-head h2 { font-size: clamp(40px, 6vw, 72px); line-height: 0.95; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; }
.r-adv-head p { color: #4b5563; font-size: 18px; }
.r-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); }
.r-adv-cell { padding: 44px 40px; border-right: 2px solid var(--ink); }
.r-adv-cell:last-child { border-right: 0; }
.r-adv-cell .idx { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; margin-bottom: 40px; }
.r-adv-cell h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.r-adv-cell p { color: #4b5563; font-size: 15px; }

/* ---------- Steps ---------- */
.r-steps { background: var(--navy); color: #fff; padding: 110px 0; }
.r-steps h2 { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 56px; }
.r-steps h2 .lime { color: var(--lime); }
.r-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.r-step { border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 36px 30px; }
.r-step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 20px; margin-bottom: 22px; }
.r-step h3 { font-size: 22px; margin-bottom: 10px; }
.r-step p { color: #9aa7bd; font-size: 15px; }

/* ---------- Metrics strip ---------- */
.r-metrics { background: var(--lime); padding: 70px 0; }
.r-metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.r-metric .big { font-size: 56px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.r-metric .cap { font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: #1a2436; }

/* ---------- Final CTA ---------- */
.r-final { background: var(--pink); color: #fff; padding: 110px 0; text-align: center; }
.r-final .strip { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; margin-bottom: 22px; }
.r-final h2 { font-size: clamp(40px, 7vw, 88px); text-transform: uppercase; font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; }
.r-final p { font-size: 20px; max-width: 560px; margin: 24px auto 40px; opacity: .95; }
.r-final .r-cta { background: var(--ink); box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.r-final .r-cta:hover { box-shadow: 11px 11px 0 rgba(0,0,0,.35); }

/* ---------- Footer ---------- */
.r-foot { background: var(--ink); color: #9aa7bd; padding: 50px 0; }
.r-foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.r-foot a:hover { color: var(--lime); }
.r-foot .links { display: flex; gap: 26px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .r-hero { grid-template-columns: 1fr; }
  .r-adv-head { grid-template-columns: 1fr; }
  .r-adv-grid { grid-template-columns: 1fr; }
  .r-adv-cell { border-right: 0; border-bottom: 2px solid var(--ink); }
  .r-adv-cell:last-child { border-bottom: 0; }
  .r-steps-grid { grid-template-columns: 1fr; }
  .r-metrics-grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .r-nav-links { display: none; }
}
@media (max-width: 560px) {
  .r-hero-left, .r-hero-right { padding: 44px 24px; }
  .r-actions { grid-template-columns: 1fr; }
}
