/* === TOKENS === */
:root {
  --bg: #18181b;
  --fg: #f8f7f4;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --muted: #71717a;
  --surface: #27272a;
  --surface-2: #3f3f46;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #d97706; }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  background: var(--accent);
  color: var(--bg);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--fg);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}
.grid-line {
  border-left: 1px solid rgba(245, 158, 11, 0.06);
  height: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  color: var(--fg);
}
.hero-highlight {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: #a1a1aa;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: #a1a1aa;
  border: 1px solid #3f3f46;
  padding: 6px 12px;
}

/* Hero Right - Scaffold Diagram */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.scaffold-diagram {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  position: relative;
}
.scaffold-frame {
  position: relative;
  width: 100%;
  height: 100%;
}
.scaffold-pole {
  position: absolute;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to top, var(--accent), rgba(245,158,11,0.3));
}
.sp-1 { left: 15%; height: 85%; }
.sp-2 { left: 38%; height: 85%; }
.sp-3 { left: 61%; height: 85%; }
.sp-4 { left: 84%; height: 85%; }

.scaffold-platform {
  position: absolute;
  height: 5px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245,158,11,0.4);
}
.scaffold-platform.sp-1 { left: 15%; top: 15%; width: 30%; }
.scaffold-platform.sp-2 { left: 38%; top: 15%; width: 23%; }
.scaffold-platform.sp-3 { left: 15%; top: 40%; width: 70%; }

.scaffold-roof {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 12%;
  background: #52525b;
  clip-path: polygon(10% 100%, 0% 0%, 100% 0%, 90% 100%);
}
.scaffold-label {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg);
  padding: 3px 8px;
  border-left: 2px solid var(--accent);
}
.sl-house { top: 14%; right: -10%; }
.sl-scaffold { top: 44%; right: -10%; }
.sl-owner { top: 70%; right: -10%; }

.lead-flow {
  position: absolute;
  bottom: 10%;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lead-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.lead-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}
.lead-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: bold;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* === STATS === */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--surface-2);
  border-bottom: 1px solid var(--surface-2);
  padding: 48px 48px;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.stat-item {
  text-align: center;
  flex: 1;
}
.stat-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  color: #71717a;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--surface-2);
}

/* === SECTION SHARED === */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: #71717a;
  max-width: 540px;
  line-height: 1.7;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
}
.howitworks-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--surface-2);
}
.hiw-step {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
}
.step-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}
.step-icon {
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.9rem;
  color: #71717a;
  line-height: 1.6;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--surface);
  padding: 100px 48px;
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.manifesto-bar {
  height: 100%;
  min-height: 300px;
  background: linear-gradient(to bottom, var(--accent), rgba(245,158,11,0.2));
  border-radius: 2px;
}
.manifesto-content {
  padding: 8px 0;
}
.manifesto-quote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 24px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  font-style: normal;
}
.manifesto-body {
  font-size: 1rem;
  color: #a1a1aa;
  line-height: 1.8;
  margin-bottom: 16px;
}
.manifesto-body strong {
  color: var(--fg);
}

/* === COVERAGE === */
.coverage {
  padding: 100px 48px;
}
.coverage-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.map-placeholder {
  position: relative;
  background: var(--surface);
  border-radius: 8px;
  padding: 48px;
  height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.map-region {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface-2);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}
.mr-budapest { border-left-color: var(--accent); }
.mr-pest { border-left-color: #fbbf24; }
.mr-regional { border-left-color: #d97706; opacity: 0.7; }
.region-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}
.region-count {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
}
.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.coverage-phase {
  padding: 24px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--surface-2);
}
.phase-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 10px;
  margin-bottom: 12px;
}
.phase-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 8px;
}
.phase-desc {
  font-size: 0.9rem;
  color: #71717a;
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  background: var(--accent);
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-decoration {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}
.closing-bar {
  width: 4px;
  background: var(--bg);
  border-radius: 2px;
}
.cb-1 { height: 40px; }
.cb-2 { height: 60px; }
.cb-3 { height: 80px; }
.cb-4 { height: 50px; }
.closing-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.1rem;
  color: rgba(24,24,27,0.7);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}
.closing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.closing-tags .tag {
  color: rgba(24,24,27,0.6);
  border-color: rgba(24,24,27,0.2);
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--surface-2);
  padding: 32px 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--bg);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: #52525b;
}
.footer-meta {
  font-size: 0.8rem;
  color: #52525b;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .stats { padding: 36px 24px; }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat-item { flex: 0 0 calc(50% - 12px); }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-bar { height: 4px; min-height: 4px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .closing { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  .hiw-steps { grid-template-columns: 1fr; }
  .stat-item { flex: 0 0 100%; }
  .hero-headline { font-size: 2.5rem; }
}