/* owneroshq.com — the app's own colours (apps/web/app/globals.css), dark, readable, phone first. */
:root {
  --bg: #090c10; --panel: #111720; --panel-2: #18212c; --border: #283444; --text: #f7f9fb; --muted: #96a2b1;
  --accent: #f4b942; --good: #50c878; --danger: #ff6b6b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto,
  "Noto Sans", "Vazirmatn", "Noto Naskh Arabic", sans-serif; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.top { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  justify-content: space-between; padding: 12px 20px; background: rgba(9, 12, 16, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800;
  font-size: 20px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.top nav a { color: var(--text); text-decoration: none; font-size: 15px; padding: 6px 2px; }
.top nav a:hover { color: var(--accent); }
.top nav a.primary, .top nav a.ghost { padding: 0 14px; }
.top nav a.primary:hover { color: #1a1300; }
a.primary, a.ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px;
  border-radius: 12px; text-decoration: none; font-weight: 700; }
.top nav a.primary, a.primary { background: var(--accent); color: #1a1300; }
.top nav a.ghost, a.ghost { border: 1px solid var(--border); color: var(--text); }
a.big { min-height: 52px; padding: 0 24px; font-size: 17px; }
main { max-width: 1120px; margin: 0 auto; padding: 24px 20px 48px; }
section { margin: 32px 0; }
.narrow { max-width: 760px; }
.hero { padding: 32px 0 8px; }
h1 { font-size: clamp(28px, 4.6vw, 48px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 26px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 820px; margin: 0 0 14px; }
.trial { color: var(--good); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.card p { margin: 0; color: var(--muted); }
.plans { margin-top: 18px; }
.plan ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--muted); }
.plan .price { margin: 10px 0 0; font-size: 30px; font-weight: 800; color: var(--text); }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.region { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.region select { min-height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel);
  color: var(--text); padding: 0 10px; font-size: 16px; }
.seat { margin-top: 16px; font-size: 17px; }
.contact { font-size: 18px; }
.legal h2, .legal h3, .legal h4 { margin-top: 28px; }
.legal p, .legal li { color: #dfe5ec; }
.legal blockquote { margin: 12px 0; padding: 10px 14px; border-inline-start: 3px solid var(--accent);
  background: var(--panel); color: var(--muted); }
.draft { padding: 10px 14px; border-radius: 10px; background: rgba(244, 185, 66, 0.12); color: var(--accent); }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: start; vertical-align: top; }
th { background: var(--panel-2); }
code { background: var(--panel-2); padding: 1px 5px; border-radius: 5px; }
footer { border-top: 1px solid var(--border); padding: 24px 20px 40px; max-width: 1120px; margin: 0 auto; display: grid;
  gap: 12px; font-size: 14px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs a { color: var(--text); text-decoration: none; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; }
.langs a[aria-current] { border-color: var(--accent); color: var(--accent); }
.legal-links a { color: var(--muted); }
@media (max-width: 640px) {
  .top { padding: 10px 14px; }
  .top nav { width: 100%; justify-content: space-between; }
  main { padding: 16px 16px 40px; }
  .lead { font-size: 16px; }
  a.big { width: 100%; }
}

/* W6: the prices calculator */
.cycle { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0; }
.modules { display: grid; gap: 8px; }
.module { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid #2a3240; border-radius: 12px; cursor: pointer; }
.module small { display: block; opacity: .75; margin-top: 4px; }
.module .amount { white-space: nowrap; }
.module input { width: 20px; height: 20px; margin-top: 2px; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #1f2a1f; color: #9fe39f; margin-inline-start: 6px; }
.tag.soon { background: #2a2414; color: #f0c674; }
.extras { display: grid; gap: 10px; margin: 16px 0; }
.extras input[type=number] { width: 80px; padding: 6px; border-radius: 8px; border: 1px solid #2a3240; background: transparent; color: inherit; }
.total { font-size: 24px; margin: 16px 0; }
.packs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.packs li { padding: 8px 12px; border: 1px solid #2a3240; border-radius: 10px; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.bank dt { opacity: .7; }
.bank .iban { font-family: ui-monospace, monospace; letter-spacing: .5px; }
button.ghost { font: inherit; color: inherit; background: transparent; border: 1px solid #2a3240; border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.total strong { color: #f7c25a; }

/* W10: the OwnerOS assistant (24 hours) */
.chat-bubble { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  border: 0; background: var(--accent); color: #1a1300; font-size: 26px; cursor: pointer; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.chat-bubble:hover { transform: translateY(-2px); }
.chat-box { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 51; width: min(380px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 36px)); display: flex; flex-direction: column; gap: 8px; padding: 12px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.55); }
.chat-box[hidden], .chat-contact[hidden], .chat-person[hidden], .chat-bubble[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chat-close { background: transparent; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; min-height: 140px; display: flex; flex-direction: column; gap: 6px; }
.chat-log .msg { margin: 0; padding: 8px 11px; border-radius: 12px; max-width: 88%; white-space: pre-wrap; font-size: 15px; line-height: 1.5; }
.chat-log .msg.bot { background: var(--panel-2); align-self: flex-start; }
.chat-log .msg.me { background: rgba(244,185,66,.16); border: 1px solid rgba(244,185,66,.35); align-self: flex-end; }
.chat-log .msg.wait { opacity: .6; font-style: italic; }
.chat-form { display: flex; gap: 6px; align-items: flex-end; }
.chat-form textarea, .chat-contact input { flex: 1; font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; resize: none; }
.chat-box button.primary { font: inherit; font-weight: 700; background: var(--accent); color: #1a1300; border: 0; border-radius: 10px;
  padding: 9px 14px; cursor: pointer; }
.chat-box button.primary:disabled { opacity: .5; cursor: default; }
.chat-person { background: transparent; border: 1px dashed var(--border); color: var(--muted); border-radius: 10px; padding: 6px; cursor: pointer; font: inherit; font-size: 14px; }
.chat-contact { display: grid; gap: 6px; }
.chat-privacy { color: var(--muted); font-size: 12px; }

/* W11: the one-minute demo film */
.demo { margin: 8px auto 40px; max-width: 1080px; }
.demo video { width: 100%; border-radius: 18px; border: 1px solid var(--border); background: #000; box-shadow: 0 24px 70px rgba(0,0,0,.5); display: block; }
.demo p { text-align: center; margin-top: 10px; }

/* Owner 17.11.2026: the first visit chooses a language */
.lang-choose { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 7, 10, .82); backdrop-filter: blur(6px); }
.lang-panel { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--panel);
  border: 1px solid var(--border); border-radius: 20px; padding: 20px; text-align: center; }
.lang-panel h2 { margin: 0 0 12px; font-size: 40px; }
.lang-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lang-list button { font: inherit; font-size: 17px; color: var(--text); background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px; cursor: pointer; }
.lang-list button.suggested { grid-column: 1 / -1; background: var(--accent); color: #1a1300; font-weight: 800; border-color: var(--accent); }
.lang-list button:hover, .lang-list button:focus { border-color: var(--accent); outline: none; }
