/* ============================================================
   OneFill Landing Page
   ============================================================ */

/* --- Hero --- */

.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.hero-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-text {
  flex: 1;
  padding-right: var(--space-4xl);
}

.hero-image {
  flex-shrink: 0;
  width: 480px;
  height: 480px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  font-weight: 400;
  max-width: 520px;
}

.marketplace-tags {
  margin-bottom: var(--space-2xl);
}

.active-marketplaces {
  margin-bottom: var(--space-sm);
}

.coming-soon {
  opacity: 0.5;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  margin-right: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.tag.active {
  background: var(--primary-teal);
  color: white;
}

.tag.inactive {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(74, 144, 164, 0.15);
}

/* Hero buttons */

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  letter-spacing: 0.2px;
}

.btn-hero:hover {
  opacity: 0.85;
  color: var(--bg-primary);
  text-decoration: none;
}

/* Authenticated welcome */

.user-welcome {
  margin-bottom: var(--space-2xl);
}

.welcome-text {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-weight: 500;
}

.welcome-username {
  font-weight: 700;
  color: var(--primary-teal);
}

/* --- Sections --- */

.landing-section {
  margin-bottom: var(--space-4xl);
}

.section-heading {
  margin-bottom: var(--space-3xl);
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
}

/* --- Features Grid --- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: var(--space-2xl);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  color: var(--primary-teal);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* --- Steps Grid --- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.step-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: var(--space-2xl);
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--text-primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.step-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
}

.step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* --- Marketplaces Showcase --- */

.mp-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.mp-item {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.mp-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-status-badge.soon {
  background: var(--bg-tertiary);
  color: var(--text-muted);
}

.mp-item.mp-soon {
  opacity: 0.6;
}

/* --- CTA Card --- */

.cta-card {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 16px;
  padding: var(--space-4xl);
  text-align: center;
}

.cta-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.5px;
}

.cta-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 var(--space-2xl) 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: white;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn-cta:hover {
  opacity: 0.9;
  color: #1a1a1a;
  text-decoration: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: var(--space-3xl) 0;
    margin-bottom: var(--space-3xl);
  }

  .hero-content {
    flex-direction: column;
    gap: var(--space-3xl);
  }

  .hero-text {
    text-align: center;
    padding-right: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-image {
    width: 340px;
    height: 340px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .marketplace-tags {
    margin-bottom: var(--space-2xl);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .mp-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .cta-card {
    padding: var(--space-3xl) var(--space-2xl);
  }

  .cta-card h2 {
    font-size: 24px;
  }

  .landing-section {
    margin-bottom: var(--space-3xl);
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-2xl);
  }

  .hero-content {
    gap: var(--space-2xl);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    width: 260px;
    height: 260px;
  }

  .btn-hero {
    width: 100%;
    padding: 16px 32px;
  }

  .tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-xl);
  }

  .steps-grid {
    gap: var(--space-md);
  }

  .step-card {
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .mp-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .mp-item {
    padding: var(--space-lg) var(--space-xl);
  }

  .mp-name {
    font-size: 15px;
  }

  .cta-card {
    padding: var(--space-2xl) var(--space-xl);
    border-radius: 12px;
  }

  .cta-card h2 {
    font-size: 20px;
  }

  .cta-card p {
    font-size: 14px;
  }

  .btn-cta {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .landing-section {
    margin-bottom: var(--space-2xl);
  }
}
