/* Polsia — Polish Manufacturing Landing Page */
/* Color tokens */
:root {
  --bg: #f5f2eb;
  --ink: #0a0a0f;
  --red: #c0392b;
  --gold: #c9a84c;
  --dark: #0a0a0f;
  --dark-2: #141418;
  --cream-2: #ede9df;
  --text-muted: #5a5a6a;
  --border: rgba(10,10,15,0.12);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ── CURSOR ── */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.7;
  will-change: transform;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: none;
  border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a93226; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-white { background: #fff; color: var(--red); font-weight: 600; }
.btn-white:hover { background: var(--gold); color: var(--ink); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-full { width: 100%; text-align: center; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 48px;
  height: 64px;
  background: rgba(245,242,235,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-s { color: var(--red); }
.nav-links { display: flex; gap: 28px; margin-left: 24px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  cursor: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 3px;
  transition: background 0.2s;
  cursor: none;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--red); }

/* ── HERO ── */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}
.hero-left {
  padding: 72px 64px 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}
.gold-underline { position: relative; display: inline-block; }
.gold-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--gold);
}
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-value { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

/* Hero Right Panel */
.hero-right { background: var(--dark); position: relative; display: flex; align-items: stretch; }
.hero-panel {
  flex: 1;
  position: relative;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Deal Cards */
.deal-cards { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.deal-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s ease forwards;
}
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.deal-route { font-family: var(--font-mono); font-size: 12px; color: var(--gold); white-space: nowrap; }
.deal-type { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.7); }
.deal-value { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; }
.deal-status { font-family: var(--font-mono); font-size: 9px; padding: 3px 8px; border-radius: 2px; letter-spacing: 0.1em; font-weight: 500; justify-self: end; }
.deal-status.active { background: rgba(57,255,20,0.15); color: #39ff14; }
.deal-status.in-review { background: rgba(201,168,76,0.15); color: var(--gold); }

/* Ticker */
.ticker-wrap { position: absolute; bottom: 0; left: 0; right: 0; background: var(--red); overflow: hidden; padding: 10px 0; }
.ticker { display: inline-block; white-space: nowrap; font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.8); letter-spacing: 0.06em; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-33.33%); } }

/* ── SECTION SHARED ── */
section { padding: 96px 64px; }
.section-label { font-family: var(--font-mono); font-size: 11px; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; display: block; }
.section-label.light { color: rgba(255,255,255,0.5); }
.section-title { font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 48px; }
.section-title.light { color: #fff; }

/* ── HOW IT WORKS ── */
.how-section { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { background: var(--cream-2); border: 1px solid var(--border); border-top: 3px solid transparent; border-radius: 4px; padding: 36px 32px; transition: border-top-color 0.2s ease; }
.step-card:hover { border-top-color: var(--red); }
.step-num { font-family: var(--font-mono); font-size: 48px; font-weight: 500; color: rgba(10,10,15,0.08); display: block; margin-bottom: 16px; }
.step-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.step-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── MARKETS ── */
.markets-section { background: var(--dark); color: #fff; }
.markets-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.market-list { display: flex; flex-direction: column; gap: 0; }
.market-item { display: grid; grid-template-columns: 32px 1fr auto; align-items: start; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.market-item:hover { background: rgba(192,57,43,0.08); padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.market-flag { font-size: 24px; line-height: 1; }
.market-info h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.market-info p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.market-tag { font-family: var(--font-mono); font-size: 9px; padding: 4px 10px; border-radius: 2px; letter-spacing: 0.1em; font-weight: 500; white-space: nowrap; }
.market-tag.high { background: rgba(192,57,43,0.2); color: #e06050; }
.market-tag.priority { background: rgba(201,168,76,0.2); color: var(--gold); }
.market-tag.fast { background: rgba(57,255,20,0.12); color: #39ff14; }
.market-tag.growing { background: rgba(100,150,255,0.15); color: #82b0ff; }
.capabilities-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.08em; }
.capabilities-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cap-pill { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 8px 14px; border-radius: 2px; }

/* ── WHY POLAND ── */
.why-section { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.data-col { display: flex; flex-direction: column; gap: 0; }
.data-cell { padding: 28px 32px; border-bottom: 1px solid var(--border); }
.data-cell.dark { background: var(--cream-2); }
.data-big { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--ink); display: block; line-height: 1; }
.data-sub { font-family: var(--font-body); font-size: 12px; color: var(--text-muted); display: block; margin-top: 6px; }
.narrative-col { display: flex; flex-direction: column; gap: 32px; }
.narrative-block h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.narrative-block p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── COMMISSION ── */
.commission-section { background: var(--cream-2); }
.commission-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.comm-explainer p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.comm-highlight { background: var(--dark); border-radius: 4px; padding: 32px; margin-bottom: 24px; text-align: center; }
.comm-label { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.comm-value { font-family: var(--font-head); font-size: 56px; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.comm-sub { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.4); display: block; margin-top: 8px; }
.comm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comm-table th { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.comm-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--ink); }
.comm-table tr:last-child td { border-bottom: none; }
.tier-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 500; background: var(--cream-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 2px; letter-spacing: 0.05em; }

/* ── LEGAL ── */
.legal-section { background: var(--bg); }
.legal-intro { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 680px; margin-bottom: 48px; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.legal-card { border-radius: 4px; padding: 32px; }
.legal-card.light { background: var(--cream-2); border: 1px solid var(--border); }
.legal-card.dark { background: var(--dark); }
.legal-card h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.legal-card.light h4 { color: var(--ink); }
.legal-card.dark h4 { color: #fff; }
.legal-card p { font-size: 13px; line-height: 1.65; }
.legal-card.light p { color: var(--text-muted); }
.legal-card.dark p { color: rgba(255,255,255,0.55); }
.legal-quote { margin-top: 16px; font-family: var(--font-body); font-size: 11px; color: var(--text-muted); line-height: 1.7; font-style: italic; border-left: 3px solid var(--red); padding-left: 16px; background: rgba(192,57,43,0.04); padding: 12px 16px; border-radius: 0 2px 2px 0; }
.legal-steps, .legal-citations { margin-top: 12px; padding-left: 20px; }
.legal-steps li, .legal-citations li { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 6px; line-height: 1.5; }
.legal-citations li strong { color: var(--gold); }
.legal-steps li { list-style: decimal; }
.legal-citations { list-style: disc; }

/* ── CONTACT ── */
.contact-section { background: var(--cream-2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--ink); }
.contact-icon { font-size: 18px; }
.brief-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { font-family: var(--font-body); font-size: 14px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--border); border-radius: 3px; padding: 11px 14px; outline: none; transition: border-color 0.15s; cursor: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; }

/* ── CTA BANNER ── */
.cta-banner { position: relative; background: var(--red); padding: 96px 64px; overflow: hidden; text-align: center; }
.cta-grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: var(--font-head); font-size: clamp(32px, 4vw, 56px); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 40px; line-height: 1.65; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: var(--dark); padding: 64px 64px 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.03em; display: inline-block; margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-col h5 { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col a { display: block; font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.15s; cursor: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.25); }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 48px 24px; }
  .hero-right { min-height: 380px; }
  section { padding: 64px 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .markets-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .commission-layout { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; align-items: center; }
}