/* ============================================================
   Tazen — industrial yellow & graphite theme
   Theme variables: edit these to retheme the whole site.
   ============================================================ */
:root {
  color-scheme: light;
  --ink: #26282b;          /* graphite */
  --ink-soft: #61656c;
  --accent: #f5b800;       /* industrial yellow */
  --accent-deep: #c79500;  /* readable yellow-dark for text */
  --accent-tint: #fdf3d0;
  --bg: #fafaf8;
  --bg-tint: #f1f0ec;
  --bg-hero: #eceae3;
  --bg-footer: #141517;
  --border: #ddd9d0;
  --card: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 9px rgba(38, 40, 43, 0.09);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Chivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.14; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin-bottom: 12px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--accent); }
.btn-primary:hover { background: #3a3d41; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--accent); color: var(--ink); }   /* yellow pop on dark CTA */
.btn-light:hover { background: #ffc81f; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* ============ Nav ============ */
.nav {
  background: rgba(250, 250, 248, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

/* ============ Hero ============ */
.hero {
  background:
    /* plus-mark registration grid — AR alignment motif */
    linear-gradient(rgba(38, 40, 43, 0.10) 1.6px, transparent 1.6px) 24px 19px / 52px 52px,
    linear-gradient(90deg, rgba(38, 40, 43, 0.10) 1.6px, transparent 1.6px) 19px 24px / 52px 52px,
    var(--bg-hero);
  background-size: 52px 12px, 12px 52px, auto;
  background-position: 20px 25px, 25px 20px, 0 0;
  background-repeat: repeat, repeat, repeat;
  padding: 74px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 18px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

/* ---- Hero visual: AR-annotated machine ---- */
.ar-view {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ar-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}
.ar-proc { font-size: 0.74rem; font-weight: 700; }
.ar-step-count {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
}

.ar-scene {
  position: relative;
  padding: 18px 16px 60px;
  background:
    radial-gradient(circle at 1px 1px, rgba(38, 40, 43, 0.06) 1px, transparent 0) 0 0 / 18px 18px,
    #f6f5f1;
}
.machine { width: 100%; height: auto; display: block; }
.m-body { fill: #e3e1da; stroke: #b9b5aa; stroke-width: 2; }
.m-drum { fill: #d8d5cc; stroke: #b9b5aa; stroke-width: 2; }
.m-drum-inner { fill: #c4c0b4; stroke: #a8a394; stroke-width: 1.5; }
.m-box { fill: #d8d5cc; stroke: #b9b5aa; stroke-width: 1.5; }
.m-pipe { fill: #b9b5aa; }
.m-panel { fill: #efede7; stroke: #b9b5aa; stroke-width: 1.5; }
.m-vent { fill: #cfccc1; }

.ar-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.ar-pin.p1 { top: 24%; left: 23%; }
.ar-pin.p2 { top: 47%; left: 31%; }
.ar-pin.p3 { top: 42%; left: 64%; }
.ar-pin.p4 { top: 62%; left: 44%; }
.ar-pin.active {
  background: var(--accent);
  border-color: var(--ink);
  animation: pinpulse 1.8s ease-in-out infinite;
}
@keyframes pinpulse {
  0%, 100% { box-shadow: 0 2px 9px rgba(38,40,43,0.09), 0 0 0 0 rgba(245, 184, 0, 0.55); }
  50% { box-shadow: 0 2px 9px rgba(38,40,43,0.09), 0 0 0 9px rgba(245, 184, 0, 0); }
}

.ar-callout {
  position: absolute;
  right: 12px;
  bottom: 10px;
  max-width: 62%;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: 4px 4px 0 var(--accent);   /* hard offset shadow — site signature */
}
.ar-callout b { display: block; font-size: 0.76rem; margin-bottom: 3px; }
.ar-callout span { display: block; font-size: 0.68rem; color: var(--ink-soft); font-style: italic; margin-bottom: 4px; }
.ar-callout em { display: block; font-size: 0.62rem; font-style: normal; font-weight: 700; color: var(--accent-deep); }

.ar-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: #3c7a44;
  flex-wrap: wrap;
}
.ar-cert { color: var(--ink-soft); }

/* ============ Sections ============ */
.section { padding: 80px 0; }
.section-tint { background: var(--bg-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lead { color: var(--ink-soft); font-size: 1.06rem; max-width: 660px; margin-bottom: 44px; }

/* ============ Cards ============ */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.93rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--accent-tint);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* ============ Stats ============ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 44px 0; }
.stat {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.stat-num { font-size: 2.3rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.stat p { color: rgba(255, 255, 255, 0.72); font-size: 0.91rem; }

/* ============ Testimonial ============ */
.quote-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 6px 6px 0 var(--accent);
  max-width: 780px;
  margin: 0 auto;
}
.quote-card blockquote p { font-size: 1.1rem; margin-bottom: 22px; }
.quote-card footer { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.quote-card footer strong { display: block; font-size: 0.95rem; }
.quote-card footer span { color: var(--ink-soft); font-size: 0.85rem; }

/* ============ Trust badges ============ */
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 18px;
}

/* ============ CTA (dark panel, yellow button) ============ */
.section-cta { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-inner { text-align: center; max-width: 640px; }
.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255, 255, 255, 0.75); margin: 12px 0 28px; }
.cta-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.cta-form input:focus { outline: 3px solid rgba(245, 184, 0, 0.55); }
.cta-confirm { font-weight: 700; color: var(--accent) !important; }

/* ============ Footer ============ */
.footer { background: var(--bg-footer); color: rgba(255, 255, 255, 0.7); padding: 56px 0 28px; }
.footer .logo { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 9px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: 0.82rem; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 2.15rem; }
  .cards-3, .cards-4, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cards-3, .cards-4, .steps, .stats { grid-template-columns: 1fr; }
  .ar-callout { max-width: 80%; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 64px; }
  h2 { font-size: 1.6rem; }
}
