/* ── Landing page styles ───────────────────────────────────────────────── */
/* Shares the same design tokens as styles.css but is self-contained.      */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #F8F7F5;
  --surface:     #FFFFFF;
  --border:      #E5E3DF;
  --text:        #1A1A1A;
  --text-muted:  #8A8780;
  --text-faint:  #B0ADA8;
  --accent:      #1F3D2E;
  --accent-mid:  #2D5941;
  --accent-light:#E8F0EB;
  --tag-bg:      #F0EEE9;
  --tag-text:    #6B6966;
  --dark-surface:#1A1A18;
  --radius:      10px;
  --radius-sm:   5px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 6px 24px rgba(0,0,0,.11);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.15);
  --max-w:       1100px;
  --transition:  180ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Shared ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 88px 0;
}

.section-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-heading {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.22;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 52px;
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
#lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 247, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.nav-brand-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .01em;
}

.nav-brand-tag {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: .01em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--accent);
  color: #FFF;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-cta:hover { opacity: .86; transform: translateY(-1px); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
#hero {
  padding: 124px 0 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 70% 40%, rgba(31,61,46,.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Two-column hero layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

/* Right column: image */
.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Subtle layered shadow — gives the image lift without a harsh border */
  box-shadow:
    0 0 0 1px rgba(0,0,0,.04),
    0 2px 6px rgba(0,0,0,.05),
    0 10px 36px rgba(0,0,0,.11),
    0 28px 72px rgba(0,0,0,.09);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  /* The image has a light background — let it breathe naturally */
}

/* Responsive: stack on narrower viewports */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image-col {
    order: -1; /* image above text on mobile */
  }

  .hero-image-wrap {
    max-width: 340px;
    margin: 0 auto;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
  align-self: flex-start;
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #FFF;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(31,61,46,.30);
}

.btn-primary:hover {
  opacity: .90;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(31,61,46,.36);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-faint);
  background: rgba(0,0,0,.03);
  transform: translateY(-1px);
}

.hero-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--text);
}

.hero-stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ── Gallery strip ─────────────────────────────────────────────────────── */
#gallery {
  padding: 0 0 88px;
  overflow: hidden;
}

.gallery-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.gallery-scroll {
  display: flex;
  gap: 16px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-card {
  flex: 0 0 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  transition: box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #ECEAE6;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.04);
}

.gallery-card-body {
  padding: 10px 12px 12px;
}

.gallery-card-cat {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.gallery-card-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

/* ── Value props ───────────────────────────────────────────────────────── */
#value {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  color: var(--accent);
}

.value-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}

.value-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Category showcase ─────────────────────────────────────────────────── */
#categories .section-heading {
  margin-bottom: 8px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.cat-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cat-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-tile:hover .cat-tile-img {
  transform: scale(1.04);
}

.cat-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,.72) 0%, rgba(10,10,8,.10) 55%, transparent 100%);
}

.cat-tile-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
}

.cat-tile-name {
  font-size: 15px;
  font-weight: 600;
  color: #FFF;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.cat-tile-count {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-top: 3px;
}

/* Cat tile without image */
.cat-tile.no-img {
  background: var(--tag-bg);
}

.cat-tile.no-img .cat-tile-name {
  color: var(--text);
}

.cat-tile.no-img .cat-tile-count {
  color: var(--text-muted);
}

.cat-tile.no-img .cat-tile-overlay {
  display: none;
}

/* ── Prompt example block ──────────────────────────────────────────────── */
#example {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.example-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.example-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.example-img-wrap img {
  width: 100%;
  display: block;
}

.example-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.example-prompt-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.example-prompt-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.example-prompt-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
}

.example-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--accent);
  color: #FFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: .03em;
  transition: opacity var(--transition), transform var(--transition);
  align-self: flex-start;
}

.example-copy-btn:hover { opacity: .86; transform: translateY(-1px); }
.example-copy-btn.copied { background: #3a7a55; }

.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.example-tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── CTA banner ────────────────────────────────────────────────────────── */
#cta {
  background:
    radial-gradient(ellipse 55% 80% at 20% 60%, rgba(31,61,46,.28) 0%, transparent 60%),
    var(--dark-surface);
  padding: 100px 0;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-heading {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.17;
  color: #FFF;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.52);
  line-height: 1.65;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  background: #FFF;
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.cta-btn:hover {
  opacity: .94;
  transform: translateY(-2px);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
#lp-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .01em;
}

.footer-note {
  font-size: 11.5px;
  color: var(--text-faint);
}
