/* Lore Marketing Site — Command Center Premium (dark industrial + technical + executive clarity) */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@500;600;700;800&display=swap");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #17181b;
  --bg-elevated: #22252a;
  --bg-panel: rgba(34, 37, 42, 0.78);
  --bg-alt: #1d2025;
  --text: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: #64748b;
  --accent-cyan: #22d3ee;
  --accent-cyan-dim: rgba(34, 211, 238, 0.15);
  --accent-amber: #fbbf24;
  --accent-amber-dim: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --success: #4ade80;
  --radius: 10px;
  --radius-lg: 14px;
  --max-width: 1160px;
  --content-width: 720px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --shadow-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.12);
  --shadow-glow-amber: 0 0 40px rgba(251, 191, 36, 0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* subtle grid + orbs (hero / section depth) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(63, 63, 70, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 63, 70, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  opacity: 0.35;
}

body > * {
  position: relative;
  z-index: 1;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color 0.15s, opacity 0.15s; }
a:hover { color: #67e8f9; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 24, 27, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
}

.site-nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.site-nav-logo span { color: var(--accent-cyan); }

.site-nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-nav-links a:hover { color: var(--text); }

.site-nav-links .nav-cta {
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--accent-cyan), #06b6d4);
  color: #0a0a0b;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-glow-cyan);
}
.site-nav-links .nav-cta:hover {
  color: #0a0a0b;
  filter: brightness(1.06);
}

/* ── Hero ── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 920px;
  margin: 0 auto 1.25rem;
  color: var(--text);
}

.hero h1 .gradient {
  background: linear-gradient(90deg, var(--accent-cyan), #a5f3fc, var(--accent-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: var(--content-width);
  margin: 0 auto 2rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-hero:active { transform: scale(0.98); }

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #06b6d4);
  color: #0a0a0b;
  box-shadow: var(--shadow-glow-cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
}
.btn-hero-primary:hover { filter: brightness(1.05); color: #0a0a0b; }

.btn-hero-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-hero-secondary:hover {
  border-color: rgba(251, 191, 36, 0.45);
  background: var(--accent-amber-dim);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.stat-card {
  padding: 1.1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: var(--shadow-glow-cyan);
}
.stat-card.amber:hover {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: var(--shadow-glow-amber);
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
}
.stat-card.amber .stat-value { color: var(--accent-amber); }
.stat-card .stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.hero-panel-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, rgba(34, 37, 42, 0.92), rgba(23, 24, 27, 0.72));
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-panel-head-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-panel-badge { opacity: 0.6; }

.hero-panel-dots { display: flex; gap: 6px; }
.hero-panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52525b;
}
.hero-panel-dots span:first-child { background: #f87171; }
.hero-panel-dots span:nth-child(2) { background: #fbbf24; }
.hero-panel-dots span:nth-child(3) { background: #4ade80; }

.hero-panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

@media (max-width: 640px) {
  .hero-panel-body { grid-template-columns: 1fr; }
}

.hero-panel-cell {
  background: var(--bg-elevated);
  padding: 1.25rem 1rem;
  min-height: 120px;
}
.hero-panel-cell h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.hero-panel-cell p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hero-panel-foot {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(20, 22, 26, 0.9);
}

/* ── Sections ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-alt .section { padding: 4rem 1.5rem; }

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: var(--content-width);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* ── Problem Cards ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.problem-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.15s;
}
.problem-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-2px);
}

.problem-card .problem-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step { text-align: center; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
  color: #0a0a0b;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow-cyan);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

/* Bento / feature strip */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.bento-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  transition: border-color 0.2s;
}
.bento-card:hover { border-color: rgba(251, 191, 36, 0.3); }
.bento-card.cyan:hover { border-color: rgba(34, 211, 238, 0.35); }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.bento-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
  border: 1px solid var(--border-strong);
  background: var(--accent-cyan-dim);
}
.bento-card.amber .bento-icon {
  background: var(--accent-amber-dim);
}

/* ── Differentiator Strip ── */
.diff-strip {
  text-align: center;
  padding: 3.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.diff-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  max-width: var(--content-width);
  margin: 0 auto;
  color: var(--text-secondary);
  border: none;
  padding: 0;
}

.diff-strip blockquote em {
  color: var(--accent-cyan);
  font-style: normal;
}

/* ── Not List ── */
.not-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 640px;
}

.not-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.not-item .x {
  color: #71717a;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ── Screenshot ── */
.screenshot-frame {
  max-width: 900px;
  margin: 2rem auto 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-placeholder {
  background: var(--bg-elevated);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cta-banner p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── About Page ── */
.about-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about-content ul {
  margin: 0 0 1.5rem 1.25rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.thesis-block {
  background: var(--bg-panel);
  border-left: 3px solid var(--accent-cyan);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-left-width: 3px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 880px;
  margin: 0 auto;
}

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--bg-elevated);
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #71717a; }

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form .btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-cyan), #06b6d4);
  color: #0a0a0b;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
  box-shadow: var(--shadow-glow-cyan);
}
.contact-form .btn-submit:hover { filter: brightness(1.05); }
.contact-form .btn-submit:active { transform: scale(0.98); }

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-info p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* success box */
#form-success {
  background: rgba(74, 222, 128, 0.12) !important;
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--text) !important;
}
#form-success p:last-child { color: var(--text-muted) !important; }

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 2.25rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(20, 22, 26, 0.88);
}

/* ── Page hero compact (inner pages) ── */
.hero--page {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero--page h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); }

/* Capabilities page — anchor scroll under sticky nav */
.cap-block {
  scroll-margin-top: 5rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.cap-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.cap-toc {
  scroll-margin-top: 5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem 1.25rem;
  margin-bottom: 2rem;
  background: var(--bg-panel);
}
.cap-toc-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}
.cap-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
@media (min-width: 640px) {
  .cap-toc ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1.25rem;
  }
}
.cap-toc a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
.cap-toc a:hover {
  color: var(--accent-cyan);
  border-bottom-color: rgba(34, 211, 238, 0.35);
}

.demo-video-placeholder {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--bg-panel);
  max-width: 720px;
  margin: 0 auto;
}
.demo-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #000;
}
.demo-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* bottom accent line (command center) */
.page-accent-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), transparent);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr; max-width: 360px; }
}

@media (max-width: 768px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .not-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-title { font-size: 1.5rem; }
  .site-nav-links { gap: 0.75rem; }
  .bento-grid { grid-template-columns: 1fr; }
}
