/* JMS Solutions — shared stylesheet */

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

:root {
  --bg:        #0a0a0f;
  --bg2:       #12121a;
  --bg3:       #1a1a26;
  --border:    rgba(255,255,255,0.08);
  --text:      #e8e8f0;
  --muted:     rgba(232,232,240,0.55);
  --cyan:      #00c8d4;
  --blue:      #4a90d9;
  --gold:      #c8a84b;
  --radius:    12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 8px;
}
.nav-brand {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-right: auto;
}
.nav-brand span { color: var(--cyan); }
nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover { color: var(--text); background: var(--border); text-decoration: none; }
nav a.active { color: var(--cyan); }

/* ── Layout ── */
.page { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── App Cards (home page) ── */
.app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 0 80px;
}
@media (max-width: 640px) { .app-cards { grid-template-columns: 1fr; } }

.app-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-card .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.app-card h2 { font-size: 1.375rem; font-weight: 700; }
.app-card p  { color: var(--muted); font-size: 0.95rem; flex: 1; }
.app-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}
.tag-free    { background: rgba(74,144,217,0.15); color: var(--blue); }
.tag-premium { background: rgba(0,200,212,0.12);  color: var(--cyan); }

/* ── App Store button ── */
.appstore-btn img { height: 40px; display: block; border: none; outline: none; }
.appstore-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Feature list ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.feature p  { font-size: 0.875rem; color: var(--muted); }

/* ── Screenshot grid ── */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.screenshot-placeholder {
  background: var(--bg2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  aspect-ratio: 9/19.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 16px;
}
.screenshot-placeholder .ph-icon { font-size: 2rem; opacity: 0.4; }

.screenshot-img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
}

/* ── Two-col image+text ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 640px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.two-col img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }

/* ── Section headings ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section p { color: var(--muted); max-width: 600px; }

/* ── Privacy / article content ── */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 10px; color: var(--text); }
.prose p  { color: var(--muted); margin-bottom: 16px; }
.prose ul { color: var(--muted); padding-left: 24px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 8px; }
.prose a  { color: var(--cyan); }
.prose strong { color: var(--text); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--cyan); }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
