/* Landing page styles. Values mirror the Future AGI site (futureagi.com):
   monochrome zinc palette on #0a0a0a, Inter for text, JetBrains Mono for labels. */

body.landing {
  margin: 0;
  background: #0a0a0a;
  color: #fafafa;
  font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
body.landing *, body.landing *::before, body.landing *::after { box-sizing: border-box; }
body.landing a { color: inherit; text-decoration: none; }
body.landing img { display: block; max-width: 100%; }
body.landing h1, body.landing h2, body.landing h3, body.landing h4, body.landing p { margin: 0; }
body.landing a:focus-visible, body.landing button:focus-visible {
  outline: 2px solid #52525b;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Header */
.lp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.lp-header.is-scrolled {
  background: rgba(10, 10, 10, .9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom-color: #1a1a1a;
}

.lp-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.lp-header-inner > .vyom-logo { grid-column: 2; grid-row: 1; justify-self: center; }
.lp-nav-wrap { display: contents; }
.vyom-logo { display: inline-flex; flex-direction: column; align-items: flex-start; color: #fafafa; text-decoration: none; line-height: 1; }
.vyom-logo-word { position: relative; font: italic 800 26px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; }
.vyom-logo-word::after { content: ""; position: absolute; left: -4px; right: -10px; bottom: -7px; height: 2px; background: linear-gradient(90deg, transparent, #fafafa 25%, #fafafa 85%, transparent); transform: rotate(-5deg); transform-origin: left center; }
.vyom-logo-star { position: absolute; top: -6px; right: -12px; font-size: 9px; font-style: normal; }
.vyom-logo-sub { margin-top: 9px; font: 600 10px/1 Inter, system-ui, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: #a1a1aa; }
.lp-nav { display: flex; gap: 4px; align-items: center; }
.lp-nav-left { grid-column: 1; grid-row: 1; justify-self: start; }
.lp-nav-right { grid-column: 3; grid-row: 1; justify-self: end; }
.lp-nav a {
  font-size: 13px;
  color: #a1a1aa;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s;
}
.lp-nav a:hover { color: #fafafa; }
.lp-menu-btn {
  display: none;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.lp-menu-btn span { display: block; width: 22px; height: 2px; background: #fafafa; border-radius: 2px; }
.lp-header .lp-header-cta { display: none; margin-left: 8px; }

@media (min-width: 860px) {
  .lp-header-inner { padding: 0 24px; }
  .lp-header .lp-header-cta { display: inline-flex; }
}
@media (max-width: 859px) {
  .lp-menu-btn { display: flex; }
  .lp-nav-wrap {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    padding: 12px 16px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
  }
  .lp-nav-wrap.open { display: flex; }
  .lp-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .lp-nav-left, .lp-nav-right { grid-column: auto; justify-self: stretch; }
  .lp-nav a { padding: 12px 8px; font-size: 15px; }
}

/* Buttons and pills */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 15px/1 Inter, system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
body.landing .lp-btn-light { background: #fafafa; color: #0a0a0a; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, .25); }
.lp-btn-light:hover { background: #ffffff; box-shadow: 0 14px 36px -12px rgba(255, 255, 255, .35); }
body.landing .lp-btn-outline { border-color: #3f3f46; color: #fafafa; background: transparent; }
.lp-btn-outline:hover { background: #171717; border-color: #52525b; }
.lp-btn-sm { padding: 8px 16px; font-size: 13px; }

/* Hero */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 16px 64px;
  text-align: center;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 40%, #fafafa, transparent),
    radial-gradient(1px 1px at 92% 35%, #fafafa, transparent),
    radial-gradient(1.5px 1.5px at 4% 60%, #fafafa, transparent),
    radial-gradient(1.5px 1.5px at 96% 62%, #fafafa, transparent),
    radial-gradient(1px 1px at 22% 18%, #fafafa, transparent),
    radial-gradient(1px 1px at 78% 22%, #fafafa, transparent);
  opacity: .35;
}
.lp-hero-inner { position: relative; z-index: 1; max-width: 1152px; margin: 0 auto; width: 100%; }
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  margin-bottom: 40px;
  border: 1px solid #27272a;
  border-radius: 999px;
  background: rgba(17, 17, 17, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 13px;
  color: #a1a1aa;
  transition: border-color .2s;
}
.lp-pill:hover { border-color: #3f3f46; }
.lp-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: #d97706;
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lp-hero h1 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}
.lp-hero h1 .lp-muted { color: #71717a; }
.lp-lede {
  max-width: 672px;
  margin: 0 auto 56px;
  font-size: 18px;
  line-height: 1.625;
  color: #a1a1aa;
}
.lp-ctas { display: flex; flex-direction: column; gap: 20px; justify-content: center; margin-bottom: 56px; }

@media (min-width: 480px) { .lp-hero h1 { font-size: 48px; } }
@media (min-width: 640px) { .lp-ctas { flex-direction: row; } }
@media (min-width: 768px) {
  .lp-hero h1 { font-size: 60px; }
  .lp-lede { font-size: 20px; }
}
@media (min-width: 1024px) {
  .lp-hero h1 { font-size: 72px; }
  .lp-lede { font-size: 22px; }
}
@media (min-width: 1280px) { .lp-hero h1 { font-size: 96px; } }

/* Product window with rotating border */
.lp-window-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 1px;
  border-radius: 16px;
  background: #27272a;
  overflow: hidden;
}
.lp-window-frame::before {
  content: "";
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 30%, rgba(255, 255, 255, .15) 38%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .15) 62%, transparent 70%, transparent 100%);
}
.lp-window {
  position: relative;
  z-index: 1;
  border-radius: 15px;
  background: #0a0a0a;
  overflow: hidden;
  text-align: left;
}
.lp-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #27272a;
  background: #111111;
}
.lp-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #27272a; }
.lp-window-bar em { margin-left: auto; font: 400 11px/1 "JetBrains Mono", "Fira Code", monospace; color: #71717a; font-style: normal; }
.lp-window-body { display: grid; grid-template-columns: 1fr; min-height: 340px; }
.lp-side { display: none; padding: 12px; border-right: 1px solid #27272a; gap: 4px; flex-direction: column; }
.lp-side-item { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: #71717a; }
.lp-side-item.is-active { background: #18181b; color: #fafafa; }
.lp-canvas { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.lp-caption-box {
  align-self: center;
  padding: 14px 24px;
  border-radius: 12px;
  background: #fafafa;
  color: #0a0a0a;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 0 60px rgba(255, 255, 255, .08);
}
.lp-timeline {
  position: relative;
  height: 48px;
  border: 1px solid #27272a;
  border-radius: 12px;
  background: #111111;
}
.lp-timeline span {
  position: absolute;
  top: 10px; bottom: 10px;
  border-radius: 6px;
  background: #3f3f46;
}
.lp-timeline span:nth-child(3) { background: #a1a1aa; }
.lp-chip-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lp-chip-row span { padding: 6px 12px; border: 1px solid #27272a; border-radius: 999px; font-size: 12px; color: #a1a1aa; }
@media (min-width: 640px) {
  .lp-window-body { grid-template-columns: 180px 1fr; min-height: 380px; }
  .lp-side { display: flex; }
  .lp-canvas { padding: 32px; }
  .lp-caption-box { font-size: 26px; padding: 18px 28px; }
}

/* Sections */
.lp-section { padding: 80px 16px; }
.lp-wrap { max-width: 1152px; margin: 0 auto; }
.lp-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font: 500 11px/1 "JetBrains Mono", "Fira Code", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #71717a;
}
.lp-section h2 {
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: center;
}
.lp-sub {
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 16px;
  line-height: 1.6;
  color: #a1a1aa;
  text-align: center;
}
@media (min-width: 768px) { .lp-section h2 { font-size: 44px; } }
@media (min-width: 1024px) { .lp-section { padding: 112px 24px; } }

.lp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #27272a;
  color: #a1a1aa;
  font: 600 11px/1 "JetBrains Mono", "Fira Code", monospace;
}

/* About cards */
.lp-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-card {
  padding: 28px;
  border: 1px solid #27272a;
  border-radius: 16px;
  background: #111111;
  transition: border-color .3s, background-color .3s;
}
.lp-card:hover { border-color: #3f3f46; background: #141414; }
.lp-card h3 { margin: 20px 0 8px; font-size: 18px; font-weight: 600; }
.lp-card p { font-size: 14px; line-height: 1.6; color: #a1a1aa; }
@media (min-width: 768px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }

/* Tool tiles */
.lp-tools { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-tool {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color .3s, border-color .3s;
}
.lp-tool:hover { background: #111111; border-color: #27272a; }
.lp-tool-art {
  position: relative;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #27272a;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent);
  color: #a1a1aa;
  transition: color .3s, border-color .3s;
}
.lp-tool:hover .lp-tool-art { color: #fafafa; border-color: #3f3f46; }
.lp-tool-body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lp-tool-body h3 { font-size: 18px; font-weight: 600; }
.lp-tool-body p { font-size: 14px; line-height: 1.6; color: #a1a1aa; }
.lp-tool-cta { margin-top: 4px; font-size: 13px; color: #71717a; transition: color .2s; }
.lp-tool:hover .lp-tool-cta { color: #fafafa; }
@media (min-width: 640px) { .lp-tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-tools { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Languages */
.lp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-chip {
  padding: 10px 18px;
  border: 1px solid #27272a;
  border-radius: 999px;
  background: #111111;
  font-size: 14px;
  color: #a1a1aa;
}

.lp-note {
  max-width: 768px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid #27272a;
  border-radius: 12px;
  background: #111111;
  font-size: 14px;
  line-height: 1.6;
  color: #a1a1aa;
  text-align: center;
}

/* Footer */
.lp-footer { padding: 64px 16px 32px; border-top: 1px solid #1a1a1a; }
.lp-footer-inner { max-width: 1152px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; }
.lp-footer-brand p { margin-top: 16px; font-size: 14px; color: #71717a; }
.lp-footer-brand img { height: 28px; width: auto; }
.lp-footer h4 {
  margin-bottom: 16px;
  font: 500 11px/1 "JetBrains Mono", "Fira Code", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #71717a;
}
.lp-footer-col a { display: block; padding: 4px 0; font-size: 14px; color: #a1a1aa; transition: color .2s; }
.lp-footer-col a:hover { color: #fafafa; }
.lp-footer-bottom {
  max-width: 1152px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: #52525b;
}
@media (min-width: 768px) { .lp-footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

/* Entrance animation (skipped for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .lp-rise { animation: lp-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .lp-rise-2 { animation-delay: .1s; }
  .lp-rise-3 { animation-delay: .2s; }
  .lp-rise-4 { animation-delay: .3s; }
  .lp-window-frame::before { animation: lp-spin 4s linear infinite; }
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes lp-spin {
  to { transform: rotate(360deg); }
}
