/* ============================================
   ImagiMation Studios — Shared Styles
   ============================================ */

:root {
  --bg: #0a0a0f;
  --surface: #14141e;
  --border: rgba(255, 255, 255, 0.06);
  --text: #e4e4ec;
  --muted: #7c7c96;
  --accent-gold: #ffc400;
  --accent-teal: #00d4aa;
  --accent-violet: #7c6aff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
}
.hero p {
  font-size: 1.05rem; color: var(--muted);
  max-width: 460px; margin: 0 auto;
  line-height: 1.65;
}
.gradient-gold {
  background: linear-gradient(135deg, #ffc400, #ff6b35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-teal {
  background: linear-gradient(135deg, #00d4aa, #7c6aff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-main {
  background: linear-gradient(135deg, #ffc400 0%, #ff6b35 50%, #ff3366 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Badges */
.store-badges { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition);
}
.store-btn:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* Features */
.features {
  max-width: 700px; margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.features h2 {
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 1.5rem;
  text-align: center;
}
.feature-list {
  list-style: none;
  display: grid; gap: 0.75rem;
}
.feature-list li {
  padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem; line-height: 1.5;
}
.feature-list li strong { display: block; margin-bottom: 0.2rem; }
.feature-list li span { color: var(--muted); font-size: 0.9rem; }

/* App Grid (home page) */
.apps { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.apps h2 {
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 1.5rem;
}
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.app-card {
  display: block;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.app-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
.app-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.app-card .tagline { font-size: 0.85rem; font-weight: 500; margin-bottom: 0.75rem; }
.app-card .tagline--gold { color: var(--accent-gold); }
.app-card .tagline--teal { color: var(--accent-teal); }
.app-card .desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.app-card .platforms {
  display: flex; gap: 0.4rem; margin-top: 1rem;
}
.platform-tag {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem; border-radius: 100px;
  background: rgba(255,255,255,0.06); color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border); padding: 1.5rem;
  text-align: center; font-size: 0.8rem; color: var(--muted);
}
.footer a { color: var(--muted); margin: 0 0.75rem; transition: color var(--transition); }
.footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 640px) {
  .nav { padding: 0.8rem 1rem; }
  .hero { min-height: 55vh; padding: 5rem 1.25rem 3rem; }
  .app-grid { grid-template-columns: 1fr; }
}