/*
Theme Name: Now On Mind Studio
Theme URI: https://nowonmind.com/
Author: Now On Mind
Description: A lightweight bilingual product-studio theme for PIOS, Store OS, and selected projects.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: nowonmind-studio
*/

:root {
  --nom-bg: #05070d;
  --nom-surface: rgba(16, 22, 34, 0.76);
  --nom-surface-strong: #0e1420;
  --nom-line: rgba(255, 255, 255, 0.1);
  --nom-text: #f6f8fc;
  --nom-muted: #a7b0c0;
  --nom-blue: #8d7cff;
  --nom-cyan: #25d7c8;
  --nom-coral: #ff725e;
  --nom-radius: 26px;
  --nom-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--nom-text);
  background:
    radial-gradient(circle at 18% 4%, rgba(93, 76, 255, .18), transparent 30rem),
    radial-gradient(circle at 82% 16%, rgba(37, 215, 200, .12), transparent 34rem),
    var(--nom-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.nom-shell { width: min(calc(100% - 40px), var(--nom-max)); margin-inline: auto; }

.nom-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--nom-line);
  background: rgba(5, 7, 13, .76);
  backdrop-filter: blur(20px);
}

.nom-nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }

.nom-brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; font-weight: 760; letter-spacing: -.02em; }
.nom-mark { width: 34px; height: 34px; border-radius: 12px; background: conic-gradient(from 210deg, var(--nom-blue), var(--nom-cyan), var(--nom-blue)); box-shadow: 0 0 30px rgba(106, 88, 255, .42); }
.nom-menu { display: flex; align-items: center; gap: 22px; color: var(--nom-muted); font-size: .94rem; }
.nom-menu a:hover, .nom-menu a:focus { color: var(--nom-text); }
.nom-lang { display: inline-flex; gap: 6px; padding: 5px; border: 1px solid var(--nom-line); border-radius: 999px; }
.nom-lang a { padding: 5px 9px; border-radius: 999px; color: var(--nom-muted); font-size: .78rem; }
.nom-lang a[aria-current="page"] { color: #07100f; background: var(--nom-cyan); }

.nom-main { min-height: 70vh; }
.nom-section { padding: 92px 0; }
.nom-section + .nom-section { border-top: 1px solid rgba(255,255,255,.06); }

.nom-hero { padding: 112px 0 86px; }
.nom-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--nom-cyan); font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.nom-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px currentColor; }
.nom-hero h1 { max-width: 880px; margin: 24px 0 22px; font-size: clamp(3.25rem, 7vw, 6.9rem); line-height: .96; letter-spacing: -.065em; }
.nom-hero p { max-width: 720px; margin: 0; color: var(--nom-muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }

.nom-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.nom-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--nom-line); font-weight: 720; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.nom-button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); }
.nom-button--primary { color: #05070d; border-color: transparent; background: linear-gradient(120deg, #a89cff, #6fe8df); }

.nom-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.nom-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.nom-card { position: relative; overflow: hidden; min-height: 310px; padding: 34px; border: 1px solid var(--nom-line); border-radius: var(--nom-radius); background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.nom-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; bottom: -110px; background: var(--nom-glow, rgba(141,124,255,.24)); filter: blur(8px); }
.nom-card > * { position: relative; z-index: 1; }
.nom-card--pios { --nom-glow: rgba(141,124,255,.34); }
.nom-card--store { --nom-glow: rgba(37,215,200,.28); }
.nom-card h2, .nom-card h3 { margin: 12px 0; line-height: 1.05; letter-spacing: -.035em; }
.nom-card h2 { font-size: clamp(2.1rem,4vw,3.6rem); }
.nom-card h3 { font-size: 1.45rem; }
.nom-card p { color: var(--nom-muted); }
.nom-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--nom-line); border-radius: 999px; color: var(--nom-muted); font-size: .76rem; }
.nom-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nom-cyan); }

.nom-heading { max-width: 760px; margin-bottom: 34px; }
.nom-heading h1, .nom-heading h2 { margin: 12px 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }
.nom-heading p { color: var(--nom-muted); font-size: 1.12rem; }
.nom-prose { max-width: 820px; }
.nom-prose h2 { margin-top: 2.4em; font-size: 2rem; letter-spacing: -.03em; }
.nom-prose p, .nom-prose li { color: var(--nom-muted); }
.nom-prose strong { color: var(--nom-text); }

.nom-footer { border-top: 1px solid var(--nom-line); padding: 42px 0; color: var(--nom-muted); }
.nom-footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .nom-nav { flex-wrap: wrap; padding: 13px 0; gap: 13px 18px; }
  .nom-menu { order: 3; display: flex; width: 100%; gap: 17px; overflow-x: auto; padding: 2px 0 5px; scrollbar-width: none; }
  .nom-menu::-webkit-scrollbar { display: none; }
  .nom-menu a { white-space: nowrap; }
  .nom-grid, .nom-grid--three { grid-template-columns: 1fr; }
  .nom-hero { padding-top: 80px; }
  .nom-section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
