/* homepage.css — SEOSEO: styles specific to the front page
 * Sections: hero, ticker, how, diff, segments, pricing, objections, cta, content hub.
 * Enqueued only on is_front_page() via functions.php.
 * Theme: DARK
 */

/* ===== HERO ===== */
.hero {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px 40px 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg) !important;
}
/* Decorative grid — MUST be behind text */
.hero-grid {
  position: absolute; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(168,255,62,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,255,62,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}
/* All hero content must sit ABOVE the grid */
.hero-tag,
.hero-h1,
.hero-sub,
.hero-actions,
.hero-stats {
  position: relative;
  z-index: 1;
}
.hero-tag {
  font-family: var(--mono); font-size: 11px; color: var(--accent) !important;
  letter-spacing: 0.12em; margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.hero-tag::before {
  content: '';
  display: inline-block; width: 24px; height: 1px;
  background: var(--accent);
}
/* Hero headline — works on both <h1> and <p> tags */
.hero-h1 {
  font-family: var(--serif) !important;
  font-size: clamp(38px, 5vw, 72px) !important;
  line-height: 1.05 !important;
  font-weight: 400 !important;
  max-width: 900px;
  margin-bottom: 12px;
  color: #e8ebe8 !important;
  color: var(--text) !important;
}
.hero-h1 em {
  font-style: italic;
  color: #a8ff3e !important;
  color: var(--accent) !important;
}
.hero-sub {
  font-size: 17px; color: var(--muted) !important; font-weight: 300;
  max-width: 520px; margin-bottom: 56px; line-height: 1.6;
}
.hero-actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.hero-note {
  font-family: var(--mono); font-size: 11px; color: var(--muted) !important;
  display: flex; align-items: center; gap: 8px;
}
.hero-note::before {
  content: '\2192'; color: var(--accent);
}
.hero-stats {
  position: relative;
  display: flex; gap: 40px; margin-top: 48px;
}
.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-family: var(--mono); font-size: 32px; color: var(--accent) !important;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px; color: var(--muted) !important; margin-top: 4px;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag { animation: fadeUp 0.6s ease 0.1s both; }
.hero-h1 { animation: fadeUp 0.7s ease 0.2s both; }
.hero-sub { animation: fadeUp 0.7s ease 0.35s both; }
.hero-actions { animation: fadeUp 0.7s ease 0.5s both; }
.hero-stats { animation: fadeUp 0.7s ease 0.6s both; }


/* ===== TICKER ===== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  background: var(--bg2);
}
.ticker-inner {
  display: flex; gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item {
  font-family: var(--mono); font-size: 12px; color: var(--muted) !important;
  padding: 0 48px; white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
.ticker-item span { color: var(--accent) !important; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ===== HOW IT WORKS ===== */
.how { background: var(--bg2) !important; }
.how-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.how-item {
  background: var(--bg2); padding: 48px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
  min-height: 200px;
}
.how-item:hover { background: var(--bg3); }
.how-num {
  font-family: var(--mono); font-size: 11px; color: var(--muted) !important;
  margin-bottom: 24px; letter-spacing: 0.1em;
}
.how-title {
  font-size: 18px; font-weight: 500; margin-bottom: 12px;
  color: var(--text) !important;
}
.how-desc { font-size: 14px; color: var(--muted) !important; line-height: 1.7; }
.how-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.4s ease;
}
.how-item:hover::after { width: 100%; }


/* ===== DIFFERENTIATORS ===== */
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.diff-card {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
  transition: background 0.3s;
}
.diff-card:hover { background: var(--bg2); }
.diff-card.featured {
  border-color: var(--accent);
  background: rgba(168,255,62,0.03);
}
.diff-badge {
  font-family: var(--mono); font-size: 10px;
  color: var(--accent) !important; background: rgba(168,255,62,0.1);
  padding: 4px 10px; margin-bottom: 20px;
  display: inline-block; letter-spacing: 0.1em;
}
.diff-icon {
  font-size: 28px; margin-bottom: 16px;
  display: block; color: var(--text) !important;
}
.diff-title {
  font-size: 17px; font-weight: 500; margin-bottom: 10px;
  color: var(--text) !important;
}
.diff-desc { font-size: 14px; color: var(--muted) !important; line-height: 1.7; }


/* ===== SEGMENTS ===== */
.seg-section { background: var(--bg) !important; }
.seg-list { margin-top: 40px; }
.seg-item {
  display: grid; grid-template-columns: 48px 1fr auto;
  align-items: start; gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.seg-item:first-child { border-top: 1px solid var(--border); }
.seg-item:hover .seg-arrow { transform: translateX(4px); color: var(--accent) !important; }
.seg-letter {
  font-family: var(--mono); font-size: 13px; color: var(--muted) !important;
  padding-top: 4px;
}
.seg-name { font-size: 18px; font-weight: 500; margin-bottom: 8px; color: var(--text) !important; }
.seg-desc { font-size: 14px; color: var(--muted) !important; line-height: 1.7; }
.seg-triggers {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.seg-trigger-tag {
  font-family: var(--mono); font-size: 11px; color: var(--muted) !important;
  border: 1px solid var(--border); padding: 4px 10px;
}
.seg-meta { text-align: right; }
.seg-chek { font-family: var(--mono); font-size: 13px; color: var(--accent) !important; }
.seg-ltv { font-size: 11px; color: var(--muted) !important; margin-top: 4px; }
.seg-arrow { font-size: 18px; color: var(--muted) !important; transition: all 0.2s; margin-top: 4px; }


/* ===== PRICING ===== */
.pricing { background: var(--bg2) !important; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.price-card {
  padding: 40px 36px;
  background: var(--bg2);
}
.price-card.main {
  background: rgba(168,255,62,0.02);
}
.price-phase {
  font-family: var(--mono); font-size: 11px; color: var(--muted) !important;
  letter-spacing: 0.1em; margin-bottom: 24px;
}
.price-amount {
  font-family: var(--mono); font-size: 40px; color: var(--text) !important;
  line-height: 1; margin-bottom: 6px;
}
.price-amount span {
  font-size: 16px; color: var(--muted) !important; font-weight: 400;
}
.price-period { font-size: 13px; color: var(--muted) !important; margin-bottom: 32px; }
.price-divider {
  height: 1px; background: var(--border); margin: 32px 0;
}
.price-features { list-style: none; }
.price-features li {
  font-size: 14px; color: var(--muted) !important;
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 12px;
}
.price-features li::before {
  content: '\2192'; color: var(--accent); font-family: var(--mono);
  font-size: 12px; margin-top: 2px; flex-shrink: 0;
}


/* ===== OBJECTIONS ===== */
.obj-section { background: var(--bg) !important; }
.obj-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.obj-item {
  background: var(--bg); padding: 32px;
  transition: background 0.2s;
}
.obj-item:hover { background: var(--bg2); }
.obj-q {
  font-family: var(--mono); font-size: 12px; color: var(--red) !important;
  margin-bottom: 12px; letter-spacing: 0.04em;
}
.obj-a { font-size: 14px; color: var(--muted) !important; line-height: 1.7; }
.obj-a strong { color: var(--text) !important; font-weight: 500; }


/* ===== CTA FINAL ===== */
.cta-section {
  background: var(--bg2) !important;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 80px max(40px, calc((100vw - 1500px) / 2 + 40px));
}
.cta-section .section-tag::before { display: none; }
.cta-section .section-h2 { max-width: 600px; margin: 0 auto 20px; }
.cta-section .section-lead { margin: 0 auto 48px; }
.cta-options {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-note {
  font-family: var(--mono); font-size: 11px; color: var(--muted) !important;
  letter-spacing: 0.06em;
}


/* ===== CONTENT HUB ===== */
.ss-hub,
.hub-section {
  padding: 80px max(40px, calc((100vw - 1500px) / 2 + 40px));
  background: var(--bg) !important;
  border-top: 1px solid var(--border);
}
.ss-hub__group { margin-bottom: 48px; }
.ss-hub__group:last-child { margin-bottom: 0; }
.ss-hub__group-title {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--accent) !important;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ss-hub__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.ss-hub__card {
  background: var(--bg); padding: 28px 24px;
  transition: background 0.2s;
}
.ss-hub__card:hover { background: var(--bg2); }
.ss-hub__card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.ss-hub__card-icon { font-size: 20px; }
.ss-hub__card-title {
  font-size: 15px; font-weight: 500; margin: 0;
  color: var(--text) !important;
}
.ss-hub__card-title a {
  color: var(--text) !important; text-decoration: none !important;
  transition: color 0.2s;
}
.ss-hub__card-title a:hover { color: var(--accent) !important; }
.ss-hub__card-desc {
  font-size: 13px; line-height: 1.55; color: var(--muted) !important;
  margin: 0 0 14px;
}
.ss-hub__card-articles {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--border); padding-top: 12px;
}
.ss-hub__card-articles li a {
  font-size: 12px; color: var(--muted) !important;
  text-decoration: none !important; transition: color 0.2s;
  display: block; padding: 3px 0;
  font-family: var(--mono);
}
.ss-hub__card-articles li a:hover { color: var(--accent) !important; }
.ss-hub__card-soon {
  display: inline-block;
  font-size: 12px; color: var(--muted) !important;
  opacity: 0.5; font-style: italic; margin-top: 8px;
  font-family: var(--mono);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; margin-top: 32px; }
  section { padding: 60px 20px; }
  .how-grid, .diff-grid, .pricing-grid, .obj-grid { grid-template-columns: 1fr; }
  .seg-item { grid-template-columns: 36px 1fr; }
  .seg-meta { display: none; }
  .ss-hub,
  .hub-section { padding: 60px 20px; }
  .ss-hub__grid { grid-template-columns: 1fr; }
  .cta-section { padding: 60px 20px; }
}
