/* ============================================
   Hephaistos Landing Page
   Design System: DESIGN.md compliant
   Pure black, thin typography, ember accent
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000000;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* --- Utility --- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 48px;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* ============================================
   1. HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: #8E8E93;
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  cursor: pointer;
  border: none;
}

.cta-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.cta-btn--primary {
  background: #E65100;
  color: #FFFFFF;
}

.cta-btn--primary:hover {
  opacity: 0.9;
}

.cta-btn--secondary {
  background: #1C1C1E;
  color: #FFFFFF;
}

.cta-btn--secondary:hover {
  background: #222222;
}

.cta-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-platforms {
  font-size: 13px;
  font-weight: 400;
  color: #48484A;
  line-height: 1.4;
}

/* ============================================
   2. FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: #141414;
  border-radius: 16px;
  padding: 24px;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  font-weight: 300;
  color: #8E8E93;
  line-height: 1.5;
}

/* ============================================
   3. SCREENSHOT SHOWCASE
   ============================================ */
.showcase {
  text-align: center;
}

.showcase-mockup {
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #141414;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-placeholder {
  font-size: 15px;
  font-weight: 300;
  color: #48484A;
}

/* ============================================
   4. HOW IT WORKS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #141414;
  font-size: 16px;
  font-weight: 600;
  color: #E65100;
  margin-bottom: 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-desc {
  font-size: 14px;
  font-weight: 300;
  color: #8E8E93;
  line-height: 1.5;
}

/* ============================================
   5. PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  background: #141414;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.pricing-card--highlight {
  border: 0.5px solid #FFB300;
}

.pricing-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.pricing-tag {
  font-size: 13px;
  font-weight: 400;
  color: #8E8E93;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  line-height: 1.1;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: #8E8E93;
}

.pricing-features {
  list-style: none;
  margin: 20px 0;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  font-weight: 300;
  color: #8E8E93;
  padding: 6px 0;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #48484A;
  margin-right: 10px;
  vertical-align: middle;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  border: none;
  margin-top: auto;
}

.pricing-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.pricing-btn--ember {
  background: #E65100;
  color: #FFFFFF;
}

.pricing-btn--ember:hover {
  opacity: 0.9;
}

.pricing-btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 0.5px solid #1C1C1E;
}

.pricing-btn--outline:hover {
  background: #0A0A0A;
}

/* ============================================
   6. FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 0.5px solid #1C1C1E;
}

.footer-logo {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: #8E8E93;
  transition: color 0.2s ease-out;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-credit {
  font-size: 13px;
  font-weight: 400;
  color: #48484A;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 11px;
  font-weight: 400;
  color: #48484A;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 800px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    max-width: 400px;
    margin: 0 auto;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
