/* ========================================
   iMonos Feature Showcase - App-Matched Theme
   ======================================== */

:root {
  /* Dark mode colors matching the iOS app */
  --monos-ink: #ebeef0;
  --monos-muted: rgba(163, 171, 181, 0.85);
  --monos-accent: #2db8a8;
  --monos-accent-light: rgba(45, 184, 168, 0.15);
  --monos-card-bg: rgba(31, 36, 44, 0.95);
  --monos-card-stroke: rgba(255, 255, 255, 0.12);
  --monos-card-accent: #282d36;
  --monos-bg-top: #141720;
  --monos-bg-bottom: #080a10;
  --monos-shadow: rgba(0, 0, 0, 0.35);
  --monos-thumbnail-bg: #2b3038;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, var(--monos-bg-top) 0%, var(--monos-bg-bottom) 100%);
  color: var(--monos-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.ambient-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(45, 184, 168, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 120%, rgba(45, 184, 168, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(178, 106, 68, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--monos-bg-top) 0%, var(--monos-bg-bottom) 100%);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.hero-content {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.app-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--monos-card-bg), var(--monos-card-accent));
  box-shadow: 0 20px 60px var(--monos-shadow), 0 0 0 1px var(--monos-card-stroke);
  overflow: hidden;
  animation: scaleIn 0.6s ease-out;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--monos-ink) 0%, rgba(235, 238, 240, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.6s ease-out 0.1s both;
}

.app-subtitle {
  font-size: 18px;
  color: var(--monos-muted);
  margin-bottom: 24px;
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  animation: fadeIn 0.6s ease-out 0.3s both;
}

.badge {
  padding: 6px 14px;
  background: var(--monos-accent-light);
  border: 1px solid rgba(45, 184, 168, 0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--monos-accent);
}

/* Features */
.features {
  padding: 60px 0 80px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--monos-ink);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--monos-card-bg);
  border: 1px solid var(--monos-card-stroke);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.5s ease-out both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.7s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.8s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.9s;
}

.feature-card:nth-child(6) {
  animation-delay: 1.0s;
}

.feature-card:nth-child(7) {
  animation-delay: 1.1s;
}

.feature-card:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 40px var(--monos-shadow), 0 0 0 1px rgba(45, 184, 168, 0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--monos-accent), rgba(45, 184, 168, 0.8));
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(45, 184, 168, 0.25);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.feature-content {
  flex: 1;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--monos-ink);
}

.feature-card p {
  font-size: 13px;
  color: var(--monos-muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--monos-card-stroke);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--monos-ink);
}

.discord-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #5865f2;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.discord-link:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.discord-link svg {
  width: 18px;
  height: 18px;
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: var(--monos-muted);
}

/* Download Section */
.download-section {
  padding: 60px 0;
  border-top: 1px solid var(--monos-card-stroke);
}

.download-desc {
  text-align: center;
  color: var(--monos-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--monos-card-bg);
  border: 1px solid var(--monos-card-stroke);
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--monos-shadow);
}

.download-btn svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.download-btn.ipa svg {
  color: var(--monos-accent);
}

.download-btn.altstore svg {
  color: #22c55e;
}

.download-btn div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--monos-ink);
}

.btn-sub {
  font-size: 12px;
  color: var(--monos-muted);
}

/* Responsive */
@media (max-width: 600px) {
  .app-title {
    font-size: 40px;
  }

  .app-icon {
    width: 100px;
    height: 100px;
  }

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

  .feature-card {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}