/*
Theme Name: Mawjona
Theme URI: https://mawjona.com/
Author: OpenClaw / Jarvis
Author URI: https://docs.openclaw.ai
Description: Custom classic theme scaffold for the Mawjona app frontend.
Version: 0.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: ather
*/

:root {
  --ather-bg: #0b1020;
  --ather-surface: #121933;
  --ather-text: #e8ecff;
  --ather-muted: #9aa6d1;
  --ather-accent: #6ea8fe;
  --ather-border: rgba(255,255,255,.08);
  --ather-radius: 14px;
  --ather-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
/* Dark theme only on public/marketing pages — NOT on app shell pages */
body:not(.icrm-app-shell-body) {
  background: var(--ather-bg);
  color: var(--ather-text);
}
a { color: var(--ather-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.site-header,
.site-footer {
  border-bottom: 1px solid var(--ather-border);
  background: rgba(8, 12, 24, .88);
}
.site-footer { border-top: 1px solid var(--ather-border); border-bottom: 0; }
.wrap {
  width: min(calc(100% - 2rem), var(--ather-max));
  margin: 0 auto;
}
.site-header .wrap,
.site-footer .wrap,
.site-main .wrap {
  padding: 1.25rem 0;
}
.branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.site-tagline {
  margin: .15rem 0 0;
  color: var(--ather-muted);
  font-size: .95rem;
}
.primary-menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero,
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--ather-border);
  border-radius: var(--ather-radius);
  padding: 1.5rem;
}
.hero {
  padding: 3rem 2rem;
  margin: 2rem 0;
}
.hero h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; }
.hero p { color: var(--ather-muted); max-width: 55rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.button {
  display: inline-block;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  background: var(--ather-accent);
  color: #06101f;
  font-weight: 700;
}
.entry-title { margin-top: 0; }
.entry-meta,
.site-footer {
  color: var(--ather-muted);
  font-size: .95rem;
}
@media (max-width: 700px) {
  .branding { flex-direction: column; align-items: flex-start; }
  .hero { padding: 2rem 1.25rem; }
}
