/* Pocket Sounds — shared styles. Branding mirrors the Guitarium app:
   near-black background, dark-orange accent, subtle film grain. */

:root {
  --bg:        #181819;
  --surface:   #252527;
  --surface-2: #1f1f21;
  --accent:    #e86510;
  --accent-dim:#b34f0c;
  --text:      #f0ede8;
  --text-dim:  #8c8985;
  --border:    #2e2e31;

  --maxw: 960px;
  --radius: 0;   /* fully square corners across card, icon, buttons, tags */
  --app-radius: 12px;   /* fully square corners across card, icon, buttons, tags */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle dark gradient wash, sitting under the grain. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(232,101,16,0.10), transparent 60%),
    linear-gradient(180deg, #000 0%, var(--bg) 30%, #0d0d0e 100%);
}

/* Film grain overlay — fractal noise, very low opacity, fixed so it doesn't
   scroll. Matches the app's grain scrim. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Layout ------------------------------------------------------------------ */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(24,24,25,0.7);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand .pick { width: 18px; height: 18px; color: var(--accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.92rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 40px 0 20px; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.hero h1 .accent { color: var(--accent); }
.hero p { margin: 22px auto 0; max-width: 540px; color: var(--text-dim); font-size: 1.15rem; }
.eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 5px 14px;
  border: 1px solid var(--border); border-radius: 0;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
}

/* Section heading */
.section { padding: 40px 0 72px; }
.section-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }

/* App card */
.app-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.3);
}
.app-card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.app-icon {
  width: 88px; height: 88px; border-radius: var(--app-radius);
  border: 1px solid var(--border);
  object-fit: cover; display: block;
}
.app-card h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
.app-card .tagline { color: var(--accent); font-size: 0.95rem; font-weight: 600; margin-top: 2px; }
.app-card p { color: var(--text-dim); margin-top: 12px; font-size: 0.98rem; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: var(--radius); font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: filter 0.15s, background 0.15s;
}
.badge.primary { background: var(--accent); color: #1a1205; }
.badge.primary:hover { filter: brightness(1.08); }
.badge.ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.badge.ghost:hover { border-color: var(--accent-dim); }
.badge.soon { background: transparent; color: var(--text-dim); border: 1px dashed var(--border); cursor: default; }

/* Feature chips */
.features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 0.8rem; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 11px; border-radius: 0; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--text-dim); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
.foot a { color: var(--text-dim); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .links { display: flex; gap: 20px; }

/* Legal / content pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 2.1rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }

@media (max-width: 560px) {
  .app-card { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .hero { padding: 72px 0 56px; }
}
