/* === STATIFY LANDING PAGE === */
:root {
  --bg: #F47321;
  --surface: #FFFFFF;
  --surface2: #FDE8D4;
  --accent: #005030;
  --accent2: #005030;
  --accent-glow: rgba(0,80,48,0.2);
  --text: #005030;
  --text-muted: #004020;
  --border: rgba(0,80,48,0.15);
  --bar-of: #F97316;
  --bar-chatur: #10B981;
  --bar-fanvue: #3B82F6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: rgba(0, 80, 48, 0.97);
  backdrop-filter: blur(16px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  color: white;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-text {
  font-family: 'Dancing Script', 'Syne', sans-serif; font-weight: 700; font-size: 17px;
  color: white; letter-spacing: 0;
}
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.nav-cta {
  background: #F47321;
  color: white;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* HERO */
.hero {
  padding: 120px 24px 80px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--accent2);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-headline .accent { color: var(--accent2); }
.hero-headline .dim { color: var(--text-muted); font-weight: 600; }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* PLATFORM BADGES — hero */
.platform-badge-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.platform-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s;
}
.platform-badge:hover { border-color: rgba(0,80,48,0.3); }
.platform-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.platform-badge--availability {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  padding: 7px 14px;
}
.platform-badge-main { display: inline-flex; align-items: center; gap: 7px; }
.platform-badge-state,
.platform-card-availability {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.platform-badge-state { padding-left: 25px; }
.platform-badge-state.enabled,
.platform-card-availability.enabled { color: #005030; }
.platform-badge-state.disabled,
.platform-card-availability.disabled { color: #9A3412; }
.platform-badge-state.unknown,
.platform-card-availability.unknown { color: #6B4B36; }

/* HERO CTA */
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(0,80,48,0.3); }

/* HERO IMAGE / VIDEO */
.hero-visual {
  margin: 0 auto 56px;
  max-width: 860px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(0,80,48,0.1), 0 32px 80px rgba(0,0,0,0.2);
  position: relative;
  cursor: pointer;
}
.hero-visual img,
.hero-visual video {
  width: 100%; display: block;
}
.hero-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.hero-play-btn svg {
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
  transition: transform 0.15s;
}
.hero-play-btn:hover svg {
  transform: scale(1.08);
}
.hero-visual.playing .hero-play-btn {
  opacity: 0;
  pointer-events: none;
}

/* SOCIAL PROOF SECTION */
.social-proof-section {
  padding: 60px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.social-proof-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
  color: var(--text);
}

.proof-logo {
  width: 80px;
  height: auto;
  opacity: 0.45;
  display: block;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-quote strong {
  color: var(--text);
  font-style: normal;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,80,48,0.15);
  color: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .social-proof-band { gap: 28px; margin-bottom: 40px; }
  .proof-logo { width: 60px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* PLATFORMS SECTION */
.platforms-section {
  padding: 80px 24px;
  text-align: center;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 48px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
  cursor: default;
}
.platform-card:hover {
  border-color: rgba(0,80,48,0.25);
  transform: translateY(-2px);
}
.platform-card-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.platform-card-icon svg { width: 28px; height: 28px; }
.platform-card-name {
  font-weight: 700; font-size: 15px; margin-bottom: 4px;
}
.platform-card-desc {
  font-size: 12px; color: var(--text-muted); line-height: 1.4;
}
.platform-card-availability { margin-top: 8px; overflow-wrap: anywhere; }

/* FEATURES SECTION */
.features-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.feature-icon {
  width: 40px; height: 40px;
  background: rgba(0,80,48,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--accent2);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* SOCIAL PROOF */
.proof-section {
  padding: 60px 24px 80px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.proof-stat-row {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.proof-stat { text-align: center; }
.proof-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 800;
  color: var(--accent2);
}
.proof-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.proof-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}
.proof-quote strong { color: var(--text); font-style: normal; }

/* FAQ SECTION */
.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.faq-item[open] { border-color: var(--accent2); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  color: var(--accent2);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: -3px;
}
.faq-a {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
  padding: 80px 24px;
  text-align: center;
}
.cta-box {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,80,48,0.2);
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 600px;
  margin: 0 auto;
}
.cta-box .section-title { margin-bottom: 12px; }
.cta-box .section-sub { margin-bottom: 32px; }

/* FOUNDER VIDEO SECTION */
.founder-section {
  padding: 60px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.founder-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}
.founder-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  color: var(--text);
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(0,80,48,0.1), 0 16px 48px rgba(0,0,0,0.2);
  aspect-ratio: 9 / 16;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.founder-caption {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
.founder-x-link {
  margin: 16px auto 0;
  font-size: 14px;
}
.founder-x-link a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}
.founder-x-link a:hover { opacity: 0.8; }
.founder-x-link a::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}
@media (max-width: 600px) {
  .founder-section { padding: 48px 20px; }
  .video-wrapper { max-width: 280px; }
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* BUILT BY POLSIA */
.built-by {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 12px;
  text-decoration: none;
}
.built-by:hover { color: var(--text); }
.built-by-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .hero-headline { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stat-row { gap: 32px; }
  .cta-box { padding: 40px 24px; }
  .faq-section { padding: 0 20px 60px; }
  .faq-q { padding: 16px; font-size: 14px; }
  .faq-a { padding: 0 16px 16px; }
}

/* CONTENT PERFORMANCE — landing preview */
.cp-landing-section {
  padding: 80px 24px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cp-landing-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(0,80,48,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 32px;
  line-height: 1.5;
}
.cp-landing-banner em { color: var(--accent2); font-style: normal; font-weight: 600; }

.cp-landing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.cp-landing-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cp-landing-tab:hover { color: var(--text); border-color: rgba(0,80,48,0.25); }
.cp-landing-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.cp-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.cp-landing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: left;
  transition: border-color 0.2s;
}
.cp-landing-card:hover { border-color: rgba(0,80,48,0.25); }
.cp-landing-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.cp-landing-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.cp-landing-trend {
  font-size: 12px;
  color: var(--accent2);
  margin-top: 6px;
  font-weight: 600;
}

.seo-landing-context {
  max-width: 500px;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.seo-landing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.seo-landing-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.seo-landing-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.pricing-hero .seo-landing-link { margin-top: 12px; }

@media (max-width: 600px) {
  .cp-landing-section { padding: 60px 20px; }
  .cp-landing-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-landing-value { font-size: 22px; }
}

/* ANALYTICS SHOWCASE */
.showcase-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.showcase-split {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  align-items: stretch;
  text-align: left;
}
.showcase-before,
.showcase-after {
  flex: 1;
  background: var(--surface);
  border-radius: 14px;
  padding: 28px 24px;
  min-width: 0;
}
.showcase-before {
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.showcase-after {
  border: 1px solid rgba(0,80,48,0.25);
}
.showcase-col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.showcase-before .showcase-col-label { color: #EF4444; }
.showcase-after  .showcase-col-label { color: var(--accent2); }
.showcase-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
}
.showcase-table th,
.showcase-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.showcase-table th { font-size: 11px; color: var(--text-muted); }
.showcase-table td.missing { color: #EF4444; font-weight: 700; }
.showcase-verdict {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
}
.showcase-verdict.bad  { color: #EF4444; }
.showcase-verdict.good { color: var(--accent2); }
.showcase-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.showcase-chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  max-width: 760px;
  margin: 0 auto 40px;
  height: 280px;
}
.showcase-cta-tagline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--text);
}
@media (max-width: 640px) {
  .showcase-split { flex-direction: column; }
  .showcase-metrics-grid { grid-template-columns: 1fr 1fr; }
  .showcase-chart-wrap { height: 260px; }
}
