/* ============================================
   AnthemRights — Theme CSS
   ============================================ */

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

:root {
  --bg:         #0f0f0e;
  --bg-alt:     #161614;
  --cream:      #f5f0e6;
  --cream-dim:  #c8c4ba;
  --accent:     #c84b2f;
  --accent-dim: rgba(200,75,47,0.15);
  --border:     rgba(245,240,230,0.08);
  --ff-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --ff-body:    'DM Sans', 'Helvetica Neue', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(200,75,47,0.12) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,240,230,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,230,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 60px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(72px, 10vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.hero-title-line.accent { color: var(--accent); }

.hero-tagline {
  font-family: var(--ff-body);
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-body {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--cream-dim);
  max-width: 560px;
  line-height: 1.7;
}

/* Pulse visual */
.hero-visual {
  position: relative;
  z-index: 2;
  padding: 0 60px 60px;
}

.pulse-container {
  position: relative;
  max-width: 600px;
}

.pulse-svg {
  width: 100%;
  height: 120px;
  overflow: visible;
}

.pulse-line {
  animation: pulseMove 3s ease-in-out infinite;
}

.pulse-line-1 { animation-delay: 0s; }
.pulse-line-2 { animation-delay: 0.4s; }
.pulse-line-3 { animation-delay: 0.8s; }

@keyframes pulseMove {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-8px); opacity: 0.7; }
}

.pulse-annotations {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
}

.annotation {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: absolute;
}

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

.manifesto-inner { max-width: 820px; margin: 0 auto; }

.manifesto-label,
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.manifesto-quote {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 16px;
  font-style: normal;
}

.manifesto-cite {
  display: block;
  font-size: 0.875rem;
  color: var(--cream-dim);
  font-style: normal;
  font-weight: 300;
  margin-bottom: 48px;
}

.manifesto-body {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: var(--ff-display);
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.4;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.howitworks {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
}

.hiw-inner { max-width: 960px; margin: 0 auto; }

.hiw-header { margin-bottom: 72px; }

.hiw-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  color: var(--cream);
  margin-top: 12px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.hiw-step:last-child { border-bottom: none; }

.hiw-step-num {
  font-family: var(--ff-display);
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.6;
}

.hiw-step-content h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.hiw-step-content p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================
   PILLARS
   ============================================ */
.pillars {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 120px 60px;
}

.pillars-inner { max-width: 1060px; margin: 0 auto; }

.pillars-header { margin-bottom: 64px; }

.pillars-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--cream);
  margin-top: 12px;
  max-width: 620px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

.pillar {
  background: var(--bg-alt);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s ease;
}

.pillar:hover { background: #1a1a17; }

.pillar-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.pillar h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--cream);
}

.pillar p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ============================================
   CLOSING
   ============================================ */
.closing {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
}

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

.closing-stripe {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 48px;
}

.closing-headline {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 32px;
}

.closing-sub {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 48px;
}

.closing-note {
  font-size: 0.875rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.6;
  max-width: 480px;
}

.polsia-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.polsia-link:hover { text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 60px 40px;
  background: var(--bg);
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--cream-dim);
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--cream-dim);
  font-weight: 300;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-content { padding: 60px 24px 40px; }
  .hero-visual { padding: 0 24px 48px; }
  .manifesto { padding: 80px 24px; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 24px; }
  .howitworks { padding: 80px 24px; }
  .hiw-step { grid-template-columns: 56px 1fr; gap: 20px; }
  .hiw-step-num { font-size: 36px; }
  .hiw-step-content h3 { font-size: 22px; }
  .pillars { padding: 80px 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .closing { padding: 80px 24px; }
  .footer { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .pulse-svg { height: 80px; }
  .pulse-annotations { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 60px; }
  .closing-headline { font-size: 36px; }
}
