/* ============================================================
   Posthum.ai — Home Page Styles
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124,111,160,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,169,110,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(124,111,160,0.04) 0%, transparent 60%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.011) 80px,
    rgba(255,255,255,0.011) 81px
  );
}

.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,111,160,0.055) 0%, transparent 70%);
  animation: orbPulse 9s ease-in-out infinite;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.55; }
  50%       { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 1.04;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 200;
  color: var(--mist);
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 3.2rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.2s;
}

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.8s;
}

.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--mist);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--mist), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite 2s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── STATS ── */
.section-stats {
  padding: 4rem 0;
  border-top:    1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  font-size: 0.55em;
  color: var(--mist);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--mist);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.2), transparent);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stats-grid      { flex-direction: column; gap: 1rem; }
  .stat-divider    { width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,169,110,0.2), transparent);
  }
}

/* ── CONCEPT ── */
.section-concept {
  padding: 8rem 0;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.concept-text p {
  color: var(--mist);
  line-height: 1.9;
  font-size: 0.97rem;
  margin-bottom: 1.4rem;
}

.concept-text strong {
  color: var(--silver);
  font-weight: 400;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 2rem;
}

.section-title em { font-style: italic; color: var(--gold); }
.text-center { text-align: center; }

/* Voice card */
.voice-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(26,26,46,0.65), rgba(10,10,15,0.85));
  border: 1px solid rgba(201,169,110,0.1);
}

.voice-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.voice-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.voice-card-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--mist);
  text-transform: uppercase;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6fcf97;
  animation: statusPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.voice-card-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-light);
}

.voice-card-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.voice-stat { display: flex; flex-direction: column; gap: 0.2rem; }

.voice-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
}

.voice-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--mist);
  text-transform: uppercase;
}

/* ── HOW IT WORKS ── */
.section-how {
  padding: 8rem 0;
  background: linear-gradient(180deg, transparent, rgba(26,26,46,0.22), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 3.8rem;
  left: calc(16.67% + 1.5rem);
  right: calc(16.67% + 1.5rem);
  height: 1px;
  background: linear-gradient(to right,
    rgba(201,169,110,0.35),
    rgba(201,169,110,0.15),
    rgba(201,169,110,0.35)
  );
}

.step {
  text-align: center;
  padding: 0 0.5rem;
}

.step-phase {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  margin-bottom: 1rem;
}

.phase-alive {
  border: 1px solid rgba(124,111,160,0.4);
  color: var(--accent);
  background: rgba(124,111,160,0.07);
}

.phase-ai {
  border: 1px solid rgba(100,180,220,0.3);
  color: #6ab4dc;
  background: rgba(100,180,220,0.05);
}

.phase-after {
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold);
  background: rgba(201,169,110,0.06);
}

.step-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(201,169,110,0.28);
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  position: relative;
  z-index: 1;
}

.step-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.9rem;
  color: var(--white);
}

.step p {
  font-size: 0.86rem;
  color: var(--mist);
  line-height: 1.85;
}

/* ── QUOTE ── */
.section-quote {
  padding: 7rem 0;
  text-align: center;
}

.quote-block {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 7rem;
  color: rgba(201,169,110,0.07);
  line-height: 0.4;
  margin-bottom: 1.8rem;
  display: block;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--silver);
  margin-bottom: 1.8rem;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--mist);
  text-transform: uppercase;
  font-style: normal;
}

/* ── PRICING ── */
.section-pricing {
  padding: 8rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 820px;
  margin: 4.5rem auto 0;
}

.pricing-card {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.8rem;
  position: relative;
  transition: border-color var(--transition-medium);
  background: linear-gradient(135deg, rgba(26,26,46,0.4), rgba(10,10,15,0.6));
}

.pricing-card:hover { border-color: rgba(201,169,110,0.2); }

.pricing-card--featured {
  border-color: rgba(201,169,110,0.28);
  background: linear-gradient(135deg, rgba(201,169,110,0.04), rgba(10,10,15,0.8));
}

.pricing-featured-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}

.pricing-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.2rem;
  display: block;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.pricing-desc {
  font-size: 0.82rem;
  color: var(--mist);
  margin-bottom: 1.8rem;
  line-height: 1.6;
  min-height: 40px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.price-currency {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.price-period {
  font-size: 0.78rem;
  color: var(--mist);
}

.pricing-features {
  margin-bottom: 2.2rem;
}

.pricing-features li {
  font-size: 0.84rem;
  color: var(--silver);
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pricing-features li::before {
  content: '—';
  color: var(--gold);
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* ── ETHICS ── */
.section-ethics {
  padding: 8rem 0;
}

.ethics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(201,169,110,0.12);
}

.ethics-item {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid rgba(255,255,255,0.04);
}

.ethics-item:first-child { padding-left: 0; }
.ethics-item:last-child  { border-right: none; padding-right: 0; padding-left: 2rem; }
.ethics-item:not(:first-child):not(:last-child) { padding-left: 2rem; }

.ethics-icon {
  width: 36px; height: 36px;
  margin-bottom: 1.2rem;
}

.ethics-icon svg {
  width: 100%; height: 100%;
  stroke: var(--gold);
  opacity: 0.7;
}

.ethics-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  color: var(--gold-light);
}

.ethics-item p {
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.75;
}

/* ── REGISTER ── */
.section-register {
  padding: 8rem 0;
  background: rgba(26,26,46,0.15);
}

.register-inner {
  max-width: 560px;
  margin: 0 auto;
}

.register-intro {
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 2.8rem;
  text-align: center;
}

/* ── CTA ── */
.section-cta {
  padding: 10rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124,111,160,0.06), transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: 0.97rem;
  color: var(--mist);
  margin-bottom: 2.8rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .concept-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid      { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 460px; }
  .ethics-grid     { grid-template-columns: 1fr 1fr; }
  .ethics-item     { padding: 2rem 1.5rem; border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.04); }
  .ethics-item:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .section-concept,
  .section-how,
  .section-pricing,
  .section-ethics,
  .section-register,
  .section-cta     { padding: 5rem 0; }
  .ethics-grid     { grid-template-columns: 1fr; }
  .voice-card      { padding: 1.8rem; }
  .voice-card-stats { gap: 1.2rem; }
}
