/* Genconstruct's landing page, in Gencloud's palette (the genconstruct repo's librechat/brand/theme.json). */
:root {
  --bg: 246 249 253; --bg-alt: 238 244 251; --card: 255 255 255;
  --ink: 16 28 46; --ink-2: 52 66 88; --muted: 91 107 130;
  --line: 220 231 245; --accent: 107 116 196; --accent-hover: 88 96 176; --sky: 116 200 242;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: 9 13 21; --bg-alt: 13 18 29; --card: 21 27 40;
    --ink: 233 241 251; --ink-2: 200 212 228; --muted: 147 164 188;
    --line: 30 40 58; --accent: 128 137 214; --accent-hover: 150 158 226; --sky: 116 200 242;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: rgb(var(--bg)); color: rgb(var(--ink));
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(100deg, rgb(var(--sky)), rgb(var(--accent)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: background .15s, transform .15s, border-color .15s;
}
.btn-primary { background: rgb(var(--accent)); color: #fff; box-shadow: 0 8px 24px -10px rgb(var(--accent) / .7); }
.btn-primary:hover { background: rgb(var(--accent-hover)); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgb(var(--line)); color: rgb(var(--ink)); }
.btn-ghost:hover { border-color: rgb(var(--accent)); }

/* Header */
header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgb(var(--bg) / .8); border-bottom: 1px solid rgb(var(--line) / .6); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a.link { text-decoration: none; color: rgb(var(--ink-2)); font-size: 15px; }
nav a.link:hover { color: rgb(var(--ink)); }
nav .btn { padding: 9px 18px; font-size: 15px; }
@media (max-width: 720px) { nav a.link { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgb(var(--sky) / .22), transparent 70%) 15% 30% / 60% 60% no-repeat,
              radial-gradient(closest-side, rgb(var(--accent) / .22), transparent 70%) 85% 20% / 60% 60% no-repeat;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .wrap > * { min-width: 0; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgb(var(--line)); background: rgb(var(--card) / .7); font-size: 13px; color: rgb(var(--ink-2));
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, rgb(var(--sky)), rgb(var(--accent))); }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 22px 0 20px; }
.lede { font-size: 19px; color: rgb(var(--ink-2)); max-width: 34em; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.reassure { margin-top: 22px; font-size: 14px; color: rgb(var(--muted)); }

/* The chat mock */
.chat {
  background: rgb(var(--card)); border: 1px solid rgb(var(--line)); border-radius: 20px; padding: 20px;
  box-shadow: 0 30px 80px -30px rgb(16 28 46 / .35);
}
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgb(var(--line)); margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.chat-top img { width: 28px; height: 28px; border-radius: 50%; }
.chat-top span { margin-left: auto; font-weight: 500; color: rgb(var(--muted)); font-size: 12px; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; }
.msg.me { margin-left: auto; background: rgb(var(--accent)); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { background: rgb(var(--bg-alt)); color: rgb(var(--ink)); border-bottom-left-radius: 4px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.choices span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(var(--line)); color: rgb(var(--ink-2)); }
.choices span.on { border-color: rgb(var(--accent)); color: rgb(var(--accent)); background: rgb(var(--accent) / .08); }
.preview {
  display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; margin-top: 6px;
  border: 1px dashed rgb(var(--accent) / .5); background: rgb(var(--accent) / .05); font-size: 13.5px;
}
.preview .thumb {
  flex: none; width: 74px; height: 52px; border-radius: 8px;
  background: linear-gradient(160deg, rgb(var(--sky) / .55), rgb(var(--accent) / .75));
  position: relative; overflow: hidden;
}
.preview .thumb::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 14px; border-radius: 4px; background: rgb(255 255 255 / .75); }
.preview b { display: block; }
.preview small { color: rgb(var(--muted)); }

/* Sections */
section { padding: 88px 0; }
section.alt { background: rgb(var(--bg-alt)); border-top: 1px solid rgb(var(--line)); border-bottom: 1px solid rgb(var(--line)); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.section-head p { color: rgb(var(--ink-2)); font-size: 18px; margin: 0; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: rgb(var(--accent)); margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px; border-radius: 18px; background: rgb(var(--card)); border: 1px solid rgb(var(--line)); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, rgb(var(--sky)), rgb(var(--accent)));
}
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: rgb(var(--ink-2)); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border-radius: 18px; background: rgb(var(--card)); border: 1px solid rgb(var(--line)); transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); border-color: rgb(var(--accent) / .5); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgb(var(--accent) / .1); color: rgb(var(--accent)); }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: rgb(var(--ink-2)); font-size: 15px; }

.ai-band {
  margin-top: 28px; padding: 30px 32px; border-radius: 20px; display: flex; gap: 22px; align-items: center;
  border: 1px solid rgb(var(--accent) / .35);
  background: linear-gradient(110deg, rgb(var(--sky) / .12), rgb(var(--accent) / .14));
}
.ai-band .icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, rgb(var(--sky)), rgb(var(--accent))); }
.ai-band .icon svg { width: 26px; height: 26px; }
.ai-band h3 { margin: 0 0 4px; font-size: 20px; }
.ai-band p { margin: 0; color: rgb(var(--ink-2)); }
@media (max-width: 620px) { .ai-band { flex-direction: column; align-items: flex-start; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
.split p { color: rgb(var(--ink-2)); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, rgb(var(--sky)), rgb(var(--accent)));
}
.panel { padding: 28px; border-radius: 20px; background: rgb(var(--card)); border: 1px solid rgb(var(--line)); display: grid; gap: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgb(var(--bg-alt)); font-size: 14.5px; }
.row small { color: rgb(var(--muted)); display: block; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pill.live { background: rgb(52 168 110 / .15); color: rgb(36 150 92); }
.pill.preview { background: rgb(var(--accent) / .12); color: rgb(var(--accent)); }
.pill.past { background: rgb(var(--muted) / .15); color: rgb(var(--muted)); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; padding: 32px; border-radius: 20px; background: rgb(var(--card)); border: 1px solid rgb(var(--line)); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid rgb(var(--accent)); box-shadow: 0 24px 60px -30px rgb(var(--accent) / .6); }
.plan .badge { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, rgb(var(--sky)), rgb(var(--accent))); }
.plan h3 { margin: 0 0 4px; font-size: 20px; }
.plan .sub { color: rgb(var(--muted)); font-size: 14.5px; margin: 0 0 18px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: rgb(var(--muted)); letter-spacing: 0; }
.plan .checks { margin: 24px 0 28px; flex: 1; font-size: 15px; }
.plan .btn { justify-content: center; }
.monthly { max-width: 880px; margin: 24px auto 0; padding: 24px 28px; border-radius: 18px; background: rgb(var(--card)); border: 1px solid rgb(var(--line)); }
.monthly-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.monthly-head h3 { margin: 0; font-size: 18px; }
.monthly-head b { font-size: 22px; }
.monthly-head b small { font-size: 14px; font-weight: 500; color: rgb(var(--muted)); }
.line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgb(var(--line)); font-size: 15px; }
.line small { display: block; color: rgb(var(--muted)); font-size: 13.5px; }
.line span { white-space: nowrap; font-weight: 600; }
@media (max-width: 620px) { .line { flex-direction: column; gap: 4px; } }
.extras { max-width: 880px; margin: 40px auto 0; }
.extras > h3 { text-align: center; font-size: 20px; margin: 0 0 18px; }
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .extras-grid { grid-template-columns: 1fr; } }
.extra { padding: 24px; border-radius: 18px; background: rgb(var(--card)); border: 1px solid rgb(var(--line)); }
.extra .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.extra h4 { margin: 0; font-size: 17px; }
.extra .top span { font-weight: 700; white-space: nowrap; color: rgb(var(--accent)); }
.extra .top span small { font-weight: 500; color: rgb(var(--muted)); }
.extra p { margin: 0; color: rgb(var(--ink-2)); font-size: 15px; }

.final { text-align: center; padding: 96px 0; }
.final .box {
  padding: 64px 32px; border-radius: 28px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgb(116 200 242), rgb(107 116 196) 55%, rgb(70 78 160));
  box-shadow: 0 30px 80px -30px rgb(107 116 196 / .7);
}
.final h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.final p { font-size: 18px; opacity: .92; margin: 0 auto 30px; max-width: 34em; }
.final .btn { background: #fff; color: rgb(70 78 160); }
.final .btn:hover { transform: translateY(-1px); }

footer { padding: 32px 0 48px; color: rgb(var(--muted)); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { text-decoration: none; }
footer a:hover { color: rgb(var(--ink)); }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise .7s ease-out forwards; }
  .reveal.d1 { animation-delay: .1s; } .reveal.d2 { animation-delay: .2s; } .reveal.d3 { animation-delay: .35s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
