﻿:root {
  --bg: #080807;
  --panel: rgba(18, 16, 13, 0.88);
  --panel-strong: rgba(30, 24, 18, 0.96);
  --panel-soft: rgba(255, 196, 76, 0.08);
  --line: rgba(255, 196, 76, 0.18);
  --text: #f5f0e6;
  --muted: #bcae92;
  --accent: #ffc44c;
  --accent-2: #ff8b2b;
  --accent-3: #8fd6b5;
  --danger: #f55f53;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 196, 76, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 139, 43, 0.1), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(143, 214, 181, 0.08), transparent 25%),
    linear-gradient(180deg, #090907 0%, #070705 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 96%);
  opacity: 0.28;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 7, 0.78);
  border-bottom: 1px solid rgba(255, 196, 76, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #140f05;
  background:
    linear-gradient(135deg, rgba(255, 196, 76, 1), rgba(255, 139, 43, 0.95));
  box-shadow: 0 18px 32px rgba(255, 139, 43, 0.24);
}

.brand-copy small,
.eyebrow,
.section-label,
.meta {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 196, 76, 0.04);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 196, 76, 0.32);
}

.btn-primary {
  color: #120f06;
  background: linear-gradient(135deg, var(--accent), #ffb431);
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(255, 180, 49, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd268, #ffb431);
}

.btn-secondary {
  background: rgba(255, 196, 76, 0.06);
}

.btn-small {
  min-height: 42px;
  padding: 0 1rem;
  font-size: 0.92rem;
}

.hero,
.page-hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-panel,
.glass-panel {
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.92), rgba(10, 9, 8, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 40%;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 196, 76, 0.2), transparent 70%);
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-actions,
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.meta-pill {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 196, 76, 0.07);
  color: var(--text);
  font-size: 0.9rem;
}

.hero-side,
.page-hero-side {
  display: grid;
  gap: 1rem;
}

.stack-card,
.metric-card,
.quote-card,
.content-card,
.machine-card,
.compare-card,
.faq-item,
.sector-card,
.stat-card {
  background: linear-gradient(180deg, rgba(24, 20, 16, 0.94), rgba(13, 11, 9, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.stack-card {
  padding: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.stack-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(143, 214, 181, 0.09);
  color: #c8f3de;
  border: 1px solid rgba(143, 214, 181, 0.22);
  font-size: 0.83rem;
}

main section {
  padding: 1rem 0 4.75rem;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.section-head.split {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.section-head.split p {
  max-width: 64ch;
}

.stats-grid,
.category-grid,
.machine-grid,
.sectors-grid,
.compare-grid,
.insight-grid,
.footer-grid,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-grid,
.machine-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sectors-grid,
.compare-grid {
  grid-template-columns: repeat(3, 1fr);
}

.insight-grid {
  grid-template-columns: repeat(2, 1fr);
}

.metric-card,
.stat-card {
  padding: 1.35rem;
}

.metric-card strong,
.stat-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.6rem;
  font-family: "Space Grotesk", sans-serif;
}

.content-card,
.quote-card,
.compare-card,
.faq-item,
.sector-card {
  padding: 1.5rem;
}

.content-card ul,
.compare-card ul,
.machine-card ul,
.faq-item ul,
.quote-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.machine-card {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.machine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 196, 76, 0.08), transparent 38%);
  pointer-events: none;
}

.machine-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.badge {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255, 196, 76, 0.08);
  color: var(--accent);
}

.machine-brand {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.machine-card h3 {
  margin-bottom: 0.55rem;
}

.price-note {
  color: var(--accent-3);
  font-size: 0.92rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.quote-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  font-family: "Space Grotesk", sans-serif;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.9rem;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 196, 76, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-output {
  padding: 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 196, 76, 0.24);
  background: rgba(255, 196, 76, 0.05);
}

.quote-output strong {
  margin-bottom: 0.6rem;
}

.detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.list-tight {
  display: grid;
  gap: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item h3 {
  margin-bottom: 0.7rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 196, 76, 0.14);
  padding: 2rem 0 3rem;
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.footer-block {
  display: grid;
  gap: 0.75rem;
}

.footer-block a {
  color: var(--muted);
}

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

.footer-note {
  margin-top: 1.25rem;
  color: rgba(245, 240, 230, 0.55);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-summary {
  display: grid;
  gap: 1rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 76, 0.35), transparent);
  margin: 1.25rem 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid,
  .quote-layout,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .machine-grid,
  .sectors-grid,
  .compare-grid,
  .stats-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .header-row {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(13, 12, 10, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .header-actions .btn-small {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 4.4rem;
  }

  .hero-panel,
  .content-card,
  .quote-card,
  .compare-card,
  .faq-item,
  .sector-card,
  .machine-card {
    padding: 1.25rem;
  }

  .field-grid,
  .category-grid,
  .machine-grid,
  .sectors-grid,
  .compare-grid,
  .stats-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.55rem;
  }
}

