/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF4500;
  --orange-dim: rgba(255, 69, 0, 0.12);
  --orange-mid: rgba(255, 69, 0, 0.25);
  --bg: #0F0F0F;
  --bg-2: #161616;
  --bg-3: #1E1E1E;
  --fg: #F0EDE8;
  --fg-muted: rgba(240, 237, 232, 0.45);
  --border: rgba(255, 69, 0, 0.15);
  --radius: 6px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tag {
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}

/* === HERO === */
.hero {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left { display: flex; flex-direction: column; gap: 32px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.hero-headline em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.65;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.hero-stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === HERO RIGHT - TREND STACK === */
.hero-right { position: relative; display: flex; justify-content: center; }

.trend-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.trend-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  position: absolute;
  width: 90%;
}

.trend-card-1 { top: 0; left: 0; z-index: 3; }
.trend-card-2 { top: 60px; left: 20px; z-index: 2; }
.trend-card-3 { top: 120px; left: 40px; z-index: 1; }

.trend-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.trend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.trend-dot.red { background: #FF3B30; }
.trend-dot.yellow { background: #FFD60A; }
.trend-dot.green { background: #30D158; }

.trend-source {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.trend-time {
  font-size: 11px;
  color: rgba(240,237,232,0.3);
  margin-left: auto;
}

.trend-query {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.trend-status {
  font-size: 12px;
  color: var(--orange);
  font-weight: 500;
}

.trend-status.live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #30D158;
}

.trend-status.shipped { color: #34C759; }

/* === ORBIT === */
.hero-orbit {
  position: absolute;
  bottom: -80px;
  right: -40px;
  width: 200px;
  height: 200px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--orange-mid);
}

.orbit-ring-1 {
  width: 200px;
  height: 200px;
  top: 0;
  left: 0;
  animation: orbit-spin 12s linear infinite;
}

.orbit-ring-2 {
  width: 140px;
  height: 140px;
  top: 30px;
  left: 30px;
  border-style: dashed;
  animation: orbit-spin 8s linear infinite reverse;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.orbit-dot-1 { width: 36px; height: 36px; top: 10px; left: 82px; }
.orbit-dot-2 { width: 28px; height: 28px; bottom: 30px; right: 20px; }
.orbit-dot-3 { width: 30px; height: 30px; top: 60px; left: 0; }

/* === HOW IT WORKS === */
.how {
  padding: 100px 60px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 60px;
  max-width: 600px;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.how-step-4 { background: var(--orange-dim); border-color: var(--orange-mid); }

.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-icon { margin-top: 8px; }

.how-arrow {
  display: flex;
  align-items: center;
  padding: 0 16px;
  padding-top: 80px;
}

/* === FEATURES === */
.features {
  padding: 100px 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-2); }

.feature-card-main { grid-column: span 1; }

.feature-icon { flex-shrink: 0; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}

.feature-tag {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-self: flex-start;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 60px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-content { max-width: 820px; }

.manifesto-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--orange);
}

.manifesto-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.manifesto-body em { color: var(--fg); font-style: italic; }

.manifesto-highlight {
  font-size: 18px;
  color: var(--fg);
  font-weight: 500;
  margin-top: 24px;
}

.manifesto-stat-row {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.m-stat { display: flex; flex-direction: column; gap: 6px; }

.m-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.m-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* === CLOSING === */
.closing {
  padding: 120px 60px;
  text-align: center;
  background: var(--bg);
}

.closing-inner { max-width: 680px; margin: 0 auto; }

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

.closing-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 100px;
}

/* === FOOTER === */
.footer {
  padding: 40px 60px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-polsia {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-polsia a {
  color: var(--orange);
  text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .how-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px; min-height: auto; }
  .hero-headline { font-size: 48px; }
  .how { padding: 60px 24px; }
  .how-steps { grid-template-columns: 1fr; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 24px; }
  .manifesto-stat-row { gap: 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-stat-row { flex-wrap: wrap; gap: 16px; }
  .hero-stat-div { display: none; }
  .manifesto-stat-row { flex-direction: column; gap: 24px; }
}