.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Dark green masthead — matches the RSS app sidebar */
  background: var(--green-800);
}

/* === Parallax background layer === */
.parallaxBg {
  position: absolute;
  inset: -20% 0;
  will-change: transform;
  z-index: 0;
}

.bgGradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(44, 95, 74, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(15, 36, 24, 0.7) 0%, transparent 60%);
}

.bgPattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(104, 176, 147, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
}

/* === Glow === */
.glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(58, 112, 85, 0.25) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* === Inner layout === */
.inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* === Text content === */
.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(104, 176, 147, 0.3);
  background: rgba(104, 176, 147, 0.08);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-400);
  width: fit-content;
}

.badgeDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Heading */
.heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.headingBrand {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  color: #FEFCF8;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.headingTagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--green-400);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Subtitle */
.subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(254, 252, 248, 0.7);
  line-height: 1.7;
  max-width: 480px;
}

/* CTAs */
.ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ctaPrimary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #FEFCF8;
  background: var(--green-700);
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--green-600);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ctaPrimary:hover {
  background: var(--green-600);
  border-color: var(--green-400);
  color: #FEFCF8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 95, 74, 0.4);
}

.ctaSecondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: rgba(254, 252, 248, 0.75);
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.ctaSecondary:hover {
  color: #FEFCF8;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Social proof */
.socialProof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.socialProofText {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(254, 252, 248, 0.45);
  letter-spacing: 0.04em;
}

/* === Preview / App mockup === */
.preview {
  position: relative;
}

.previewFrame {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.35);
}

.previewBar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.previewBar span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.previewImage {
  border-radius: 0;
  border: none;
  background: rgba(15, 36, 24, 0.4);
}

/* Floating accent card */
.floatingCard {
  position: absolute;
  bottom: -16px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(15, 36, 24, 0.16);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* === Scroll indicator === */
.scrollIndicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scrollLine {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(104, 176, 147, 0.5));
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* === Responsive === */
@media (max-width: 900px) {
  .inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 24px 64px;
    text-align: center;
  }

  .content {
    align-items: center;
  }

  .subtitle {
    max-width: 560px;
  }

  .ctas {
    justify-content: center;
  }

  .socialProof {
    justify-content: center;
  }

  .preview {
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .inner {
    padding: 88px 16px 48px;
    gap: 36px;
  }

  .headingBrand {
    font-size: 40px;
  }

  .floatingCard {
    display: none;
  }

  .ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }

  .ctaPrimary,
  .ctaSecondary {
    justify-content: center;
  }
}
