/* ============================================================
   MillenETech — mallo.css
   Mallo-specific page styles (extends main.css)
   ============================================================ */

/* ── Mallo Hero ─────────────────────────────────────────────── */
.mallo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.mallo-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.mallo-app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 24px rgba(59,130,246,0.4));
  animation: iconFloat 4s ease-in-out infinite;
}
.mallo-app-icon img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

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

.mallo-headline {
  font-size: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
}

.mallo-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.mallo-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.mallo-store-btn {
  gap: 0.6rem;
}

.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.mallo-availability {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Features Section ───────────────────────────────────────── */
.mallo-features { background: var(--bg-primary); }

.mallo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mallo-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.mallo-feature-card:hover {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 30px rgba(59,130,246,0.1);
  transform: translateY(-4px);
}

.mallo-feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.mallo-feature-icon svg { width: 100%; height: 100%; }

.mallo-feature-card h3 { margin-bottom: 0.75rem; color: var(--text-primary); }
.mallo-feature-card p  { font-size: 0.95rem; }

/* ── How It Works ───────────────────────────────────────────── */
.mallo-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.mallo-step {
  flex: 1;
  padding: 0 2rem;
}

.mallo-step:first-child { padding-left: 0; }
.mallo-step:last-child  { padding-right: 0; }

.mallo-step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.mallo-step h3 { margin-bottom: 0.75rem; }
.mallo-step p  { font-size: 0.95rem; }

.mallo-step-divider {
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--accent-blue), transparent);
  flex-shrink: 0;
  margin-top: 1.5rem;
  opacity: 0.4;
}

/* ── Privacy Snapshot ───────────────────────────────────────── */
.mallo-privacy-snapshot { background: var(--bg-primary); }

.privacy-snap-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.privacy-snap-pills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.privacy-pill:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 0 20px rgba(59,130,246,0.07);
}

.pill-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ── Active nav link ────────────────────────────────────────── */
.nav-links a.active::after { width: 100%; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mallo-feature-grid { grid-template-columns: 1fr; }
  .mallo-steps { flex-direction: column; gap: 2rem; }
  .mallo-step { padding: 0; }
  .mallo-step-divider { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-blue), transparent); margin: 0 auto; }
  .privacy-snap-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .mallo-app-icon { width: 48px; height: 48px; }
  .mallo-ctas { flex-direction: column; align-items: center; }
}
