/* ============================================
   DEVMAI SOFT v2 — style.css
   Font: Inter (matches app store listing style)
   Theme: Deep dark + colorful maze neons
   ============================================ */

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

:root {
  --bg:           #0e0e1a;
  --bg2:          #131320;
  --bg3:          #1a1a2e;
  --surface:      #1e1e32;
  --surface2:     #252540;
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);

  /* Arrow Out palette — lifted from the neon maze */
  --pink:    #f472b6;
  --blue:    #60a5fa;
  --green:   #34d399;
  --yellow:  #fbbf24;
  --purple:  #a78bfa;
  --orange:  #fb923c;

  --accent:       var(--blue);
  --accent-glow:  rgba(96,165,250,0.25);

  --text:         #e8e6f8;
  --text-muted:   rgba(232,230,248,0.55);
  --white:        #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── EYEBROW ── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ── SECTION TITLES ── */
.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: #93c5fd;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn--store { background: none; border: none; padding: 0; display: block; }
.btn--small {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface2);
  color: var(--blue);
  border-color: var(--border);
}
.btn--small:hover {
  border-color: var(--blue);
  background: rgba(96,165,250,0.1);
}

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}
.badge--new    { background: var(--yellow); color: #000; }
.badge--genre  { background: rgba(96,165,250,0.15); color: var(--blue); border: 1px solid rgba(96,165,250,0.3); }
.badge--free   { background: rgba(52,211,153,0.15); color: var(--green); border: 1px solid rgba(52,211,153,0.3); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(14,14,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav__logo span { color: var(--blue); }
.nav__links { list-style: none; display: flex; gap: 32px; }
.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 24px 80px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.hero__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__maze-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero__content { flex: 1; max-width: 520px; }
.hero__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero__title--accent {
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO MAZE VISUAL ── */
.hero__visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maze-preview {
  position: relative;
  width: 260px;
  height: 260px;
}
.maze-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(96,165,250,0.3));
  animation: rotate-maze 20s linear infinite;
}
@keyframes rotate-maze {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.maze-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 70%);
  filter: blur(20px);
}

/* ── FEATURED SECTION ── */
.featured {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.featured-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 36px;
  transition: border-color .2s, box-shadow .2s;
}
.featured-card:hover {
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 0 60px rgba(96,165,250,0.08);
}
.featured-card__left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.featured-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.featured-card__meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.featured-card__right { flex: 1; }
.featured-card__tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.featured-card__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 540px;
}

/* Mini features list */
.features-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.features-mini__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.features-mini__icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.features-mini__item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.features-mini__item span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CATALOG ── */
.catalog {
  padding: 100px 0;
  background: var(--bg);
}
.catalog .section-sub { margin-bottom: 40px; }
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.catalog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.catalog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.catalog-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.catalog-card__info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.catalog-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.catalog-card__type {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.catalog-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 4px;
}

/* ── STORE BADGE ── */
.store-badge { height: 52px; display: block; }

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.contact__inner { }
.contact__sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 420px;
  margin: 0 auto 32px;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
}
.footer__copy { color: var(--text-muted); font-size: 13px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer__links a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .features-mini { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero__sub { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .featured-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; gap: 24px; }
  .featured-card__desc { margin: 0 auto 28px; }
  .catalog__grid { grid-template-columns: 1fr; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(14,14,26,.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .maze-svg { animation: none; }
}
