/* Enimo Landing Page v2 — Section styles + animations + responsive
   Split from styles.css to respect 500-line file limit. */

/* ============================================================
   9. Two-Path Cards
   ============================================================ */
.paths {
  padding: 96px 0;
}

.paths__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.09rem;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.path-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: border-color var(--duration-base), box-shadow var(--duration-medium), transform var(--duration-medium);
}

.path-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 64px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.path-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-accent);
  margin-bottom: 12px;
}

.path-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.05rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.path-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-accent);
  transition: color var(--duration-base);
}

.path-card__link:hover {
  color: #fff;
}

.path-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-base);
}

.path-card__link:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   10. Feature Bento Grid
   ============================================================ */
.features {
  padding: 96px 0;
}

.features__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.09rem;
  line-height: 1.1;
  margin-bottom: 48px;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: border-color var(--duration-base), box-shadow var(--duration-medium), transform var(--duration-medium);
}

.feature-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 64px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-glow-sm);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--accent-hover);
}

.feature-card__icon svg {
  width: 20px;
  height: 20px;
}

.feature-card__title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   11. Terminal Widget
   ============================================================ */
.terminal {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
  max-width: 520px;
  font-family: var(--font-mono);
  margin-top: 48px;
  animation: hero-enter 1s var(--ease-decelerate) both;
  animation-delay: 1.2s;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-3);
}

.terminal__dot--red    { background: #fb2c36; }
.terminal__dot--yellow { background: #f99c00; }
.terminal__dot--green  { background: #00c758; }

.terminal__title {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: -0.015rem;
  margin-left: 8px;
}

.terminal__body {
  padding: 16px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-primary);
  min-height: 120px;
}

.terminal__line {
  white-space: pre;
  opacity: 0;
}

.terminal__line--visible {
  opacity: 1;
}

.terminal__prompt {
  color: var(--accent-hover);
}

.terminal__cmd {
  color: var(--text-primary);
}

.terminal__output {
  color: var(--text-secondary);
}

.terminal__success {
  color: var(--success);
}

.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent-hover);
  animation: blink-cursor 1s step-end infinite;
  vertical-align: text-bottom;
}

/* ============================================================
   12. Manifesto Section
   ============================================================ */
.manifesto {
  padding: 96px 0;
}

.manifesto__inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.manifesto__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent);
  margin-bottom: 24px;
}

.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  font-style: italic;
}

.manifesto__text em {
  color: var(--text-primary);
  font-style: normal;
}

/* ============================================================
   13. CTA Section
   ============================================================ */
.cta-section {
  padding: 96px 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.10), transparent 70%);
  pointer-events: none;
}

.cta-section__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
  font-weight: 500;
  letter-spacing: -0.09rem;
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
}

.cta-section__sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.cta-section .btn {
  position: relative;
}

.cta-section__meta {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative;
}

/* ============================================================
   14. Footer
   ============================================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--duration-base);
}

.footer__link:hover {
  color: var(--text-secondary);
}

/* ============================================================
   15. Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-enter) var(--ease-decelerate),
              transform var(--duration-enter) var(--ease-decelerate);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ============================================================
   16. Keyframes
   ============================================================ */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.05); }
  66%      { transform: translate(-20px, 15px) scale(0.95); }
}

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

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Responsive, reduced-motion, and focus styles are in styles-responsive.css */
