/* ============================================
   KOLL — Landing Page Styles
   Dark editorial aesthetic: Syne + Instrument Serif
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #0c0c0e;
  --bg-subtle: #141418;
  --bg-card: #1c1c22;
  --text: #f0ede8;
  --text-muted: #8a8690;
  --accent: #e8a040;
  --accent-dim: rgba(232, 160, 64, 0.12);
  --border: rgba(240, 237, 232, 0.08);
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Serif', Georgia, serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
header {
  padding: 2.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.tagline-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 160, 64, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
}

/* ── Hero ── */
.hero {
  padding: 6rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.hero-text {
  max-width: 620px;
}

.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

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

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.75rem;
}

/* ── CTA Form ── */
.cta-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-input {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.125rem;
  border-radius: 4px;
  min-width: 240px;
  outline: none;
  transition: border-color 0.2s;
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: rgba(232, 160, 64, 0.5);
}

.cta-btn {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: #0c0c0e;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cta-note {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  letter-spacing: 0.02em;
}

/* ── Hero visual (right side) ── */
.hero-visual {
  width: 200px;
  flex-shrink: 0;
  padding-top: 1rem;
}

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

.visual-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  animation: pulse-cell 3s ease-in-out infinite;
}

.visual-cell:nth-child(2) { animation-delay: 0.4s; background: var(--accent-dim); border-color: rgba(232,160,64,0.2); }
.visual-cell:nth-child(5) { animation-delay: 0.8s; }
.visual-cell:nth-child(8) { animation-delay: 1.2s; background: var(--accent-dim); border-color: rgba(232,160,64,0.2); }

@keyframes pulse-cell {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Divider ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Use Cases ── */
.use-cases {
  padding: 5rem 0;
}

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.use-case-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.use-case-card:hover {
  border-color: rgba(232, 160, 64, 0.25);
  transform: translateY(-3px);
}

.use-case-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 160, 64, 0.2);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.use-case-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.use-case-desc {
  font-family: 'Instrument Serif', serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Bottom CTA band ── */
.bottom-band {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
}

.bottom-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.bottom-sub {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Footer ── */
footer {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

footer a:hover { color: var(--text); }

/* ── Success state ── */
.form-success {
  display: none;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  color: #4ade80;
  padding: 0.875rem 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-visual { display: none; }
  .use-cases-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cta-input { min-width: 0; width: 100%; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-btn { text-align: center; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Form feedback ── */
.form-error {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.5rem;
  display: none;
}