/* ============================================
   TIMBRFLOW MARKETING SITE
   Design language: dark workshop, amber shop-light accent,
   job-ticket motifs borrowed from the app itself.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg:        #0a0e14;
  --surface:   #12161f;
  --surface-2: #181d28;
  --border:    #1f2530;
  --amber:     #f59e0b;
  --amber-2:   #fb923c;
  --text:      #e5e7eb;
  --text-dim:  #9ca3af;
  --text-mute: #6b7280;
  --green:     #4ade80;

  --font-display: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.18; }
h3 { font-size: 1.15rem; }

p { margin: 0; color: var(--text-dim); }

.accent { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #1a1306;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-large { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand-logo { height: 28px; }
.site-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 0.6rem; align-items: center; }

@media (max-width: 860px) {
  .site-nav { display: none; }
}

/* ---------- Flash messages ---------- */
.flash-wrap { max-width: 700px; margin: 1rem auto 0; padding: 0 1.5rem; }
.flash {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.flash-success { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: var(--green); }
.flash-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); color: #f87171; }

/* ---------- Job-ticket tag (signature element) ---------- */
.ticket-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1.4rem;
  background: var(--surface);
}
.ticket-tag-id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.ticket-tag-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-sub {
  font-size: 1.1rem;
  margin-top: 1.3rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.hero-microcopy {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-mute);
}
.hero-visual {
  position: relative;
  height: 420px;
}
.hero-frame {
  position: absolute;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
}
.hero-frame img { width: 100%; }
.hero-frame:not(.hero-frame-back) {
  top: 0; right: 0; width: 88%; z-index: 2;
}
.hero-frame-back {
  top: 70px; left: 0; width: 60%; z-index: 1;
  opacity: 0.55;
  filter: saturate(0.7);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 280px; margin-top: 1rem; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.4rem 1.5rem;
  text-align: center;
}
.trust-strip p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 0.9rem;
}
.trust-icons {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ---------- Feature sections ---------- */
.feature {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.feature-media-left { direction: rtl; }
.feature-media-left .feature-copy,
.feature-media-left .feature-media { direction: ltr; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
}
.feature-copy h2 { margin-bottom: 1.1rem; }
.feature-copy p { font-size: 1rem; margin-bottom: 1.4rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.feature-media { position: relative; min-height: 320px; }
.shot {
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px -12px rgba(0,0,0,0.55);
}
.shot-primary { position: relative; z-index: 2; width: 100%; }
.shot-secondary {
  position: absolute;
  width: 62%;
  bottom: -34px;
  right: -28px;
  z-index: 3;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; }
  .feature-media-left { direction: ltr; }
  .shot-secondary { display: none; }
  .feature-media { margin-bottom: 1rem; }
}

/* ---------- Secondary features grid ---------- */
.grid-features {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.grid-features-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.grid-features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.grid-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
}
.grid-feature-card h3 { margin-bottom: 0.6rem; color: var(--text); }
.grid-feature-card p { font-size: 0.9rem; }

@media (max-width: 860px) {
  .grid-features-list { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.faq h2 { text-align: center; margin-bottom: 2.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--amber);
  font-weight: 700;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 0.9rem; font-size: 0.92rem; }
.faq-item a { color: var(--amber); text-decoration: underline; }

/* ---------- Contact ---------- */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem;
}
.contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 0.8rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--amber);
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  max-width: 760px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
  text-align: center;
}
.final-cta h2 { margin-bottom: 0.8rem; }
.final-cta p { margin-bottom: 1.8rem; }

/* ---------- Pricing page ---------- */
.pricing-hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2rem;
  text-align: center;
}
.pricing-hero p { margin-top: 1rem; font-size: 1.05rem; }
.pricing-hero .ticket-tag { margin: 0 auto 1.4rem; }

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}
.price-card-featured {
  border-color: var(--amber);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #1a1306;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.price-card h3 { margin-bottom: 0.6rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.4rem; }
.price-num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--amber); }
.price-period { font-size: 0.9rem; color: var(--text-mute); }
.price-sub { font-size: 0.88rem; margin-bottom: 1.4rem; min-height: 2.4em; }
.price-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.price-features li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 1.3rem;
  position: relative;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-note { text-align: center; padding: 0 1.5rem 3rem; }
.pricing-note p { font-size: 0.88rem; color: var(--text-mute); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-logo { height: 24px; margin-bottom: 0.7rem; }
.footer-brand p { font-size: 0.85rem; }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.footer-col a { font-size: 0.88rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-mute); }
