/*
Theme Name:  ALTRUIXM
Theme URI:   https://altruixm.com
Author:      ALTRUIXM
Description: Official promotional theme for ALTRUIXM — local, private, AI-powered content intelligence. Warm off-white palette with Borealis Gold accents.
Version:     1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:     All rights reserved
Text Domain: altruixm
*/

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

:root {
  --bg:         #faf8f5;
  --bg-alt:     #f2efe9;
  --border:     #e4e0d8;
  --border-2:   #ccc8be;
  --gold:       #C8923A;
  --gold-lt:    #E8AC50;
  --gold-dim:   #fdf3e3;
  --gold-border:#f0d9a8;
  --text:       #1c1a17;
  --text-2:     #5a5751;
  --text-3:     #9a9590;
  --sans:  'Inter', system-ui, sans-serif;
  --display: 'Righteous', 'Impact', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── ICON ────────────────────────────────────────────────────────────────────── */
.icon-a { display: block; flex-shrink: 0; }

/* ── NAV ─────────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  background: rgba(250, 248, 245, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-wordmark { display: flex; flex-direction: column; gap: 1px; }
.nav-name {
  font-family: var(--display);
  font-size: 16px; color: var(--text);
  letter-spacing: 0.08em; line-height: 1;
}
.nav-tagline {
  font-size: 10px; color: var(--text-3);
  letter-spacing: 0.05em; display: none;
}
@media (min-width: 760px) { .nav-tagline { display: block; } }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; color: var(--text-2); text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--text);
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .15s;
}
.nav-cta:hover { background: var(--gold-lt); color: var(--text); }

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 40px 80px;
  text-align: center;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(200,146,58,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-radial-gradient(
    circle at 50% 110%,
    transparent 0px, transparent 48px,
    rgba(200,146,58,.04) 49px, transparent 50px
  );
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 28px;
}
.hero-pill-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.hero-tagline {
  font-family: var(--display);
  font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: 0.04em; line-height: 1.15;
  color: var(--text-2); margin-bottom: 6px;
}
.hero-tagline em { font-style: normal; color: var(--gold); }
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: var(--text);
  font-size: 14px; font-weight: 600;
  padding: 11px 24px; border-radius: 9px;
  text-decoration: none; transition: background .15s;
}
.btn-gold:hover { background: var(--gold-lt); color: var(--text); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--text-2);
  font-size: 14px; font-weight: 500;
  padding: 11px 24px; border-radius: 9px;
  border: 1px solid var(--border);
  text-decoration: none; transition: all .15s;
}
.btn-ghost:hover { border-color: var(--border-2); color: var(--text); }

/* ── FLOW STRIP ──────────────────────────────────────────────────────────────── */
.flow-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.flow-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px;
  transition: border-color .15s;
}
.flow-pill:hover { border-color: var(--gold-border); }
.flow-dot { width: 6px; height: 6px; border-radius: 50%; }
.flow-pill span { font-size: 12px; font-weight: 500; color: var(--text-2); }
.flow-sep { color: var(--border-2); font-size: 13px; }

/* ── SECTIONS ────────────────────────────────────────────────────────────────── */
.section { max-width: 1040px; margin: 0 auto; padding: 80px 40px; }
.bg-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.2;
  color: var(--text); margin-bottom: 12px;
}
.section-body {
  font-size: 15px; color: var(--text-2);
  line-height: 1.75; max-width: 480px;
}

/* ── PITCH ───────────────────────────────────────────────────────────────────── */
.pitch-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
@media (max-width: 700px) { .pitch-grid { grid-template-columns: 1fr; gap: 40px; } }

.pitch-list { display: flex; flex-direction: column; gap: 22px; }
.pitch-item { display: flex; gap: 14px; align-items: flex-start; }
.pitch-icon-wrap {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 15px;
}
.pitch-item h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.pitch-item p  { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── MODULES ─────────────────────────────────────────────────────────────────── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 10px; margin-top: 40px;
}
.module-card {
  background: var(--bg); border: 1px solid var(--border);
  border-top: 2px solid var(--border); border-radius: 12px;
  padding: 22px 24px;
  transition: border-color .2s, border-top-color .2s, transform .15s;
}
.module-card:hover {
  border-top-color: var(--gold); border-color: var(--border-2);
  transform: translateY(-2px);
}
.module-num { font-size: 11px; font-weight: 600; letter-spacing: .07em; color: var(--text-3); margin-bottom: 10px; }
.module-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 9px; }
.module-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.module-chip {
  display: inline-block; margin-top: 14px;
  background: var(--bg-alt); color: var(--text-3);
  font-size: 11px; font-weight: 500;
  padding: 3px 9px; border-radius: 5px; border: 1px solid var(--border);
}

/* ── WORKFLOW ────────────────────────────────────────────────────────────────── */
.steps-list {
  display: flex; flex-direction: column;
  margin-top: 40px; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; background: var(--bg);
}
.step-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 28px; border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.step-row:last-child { border-bottom: none; }
.step-row:hover { background: var(--bg-alt); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold); margin-top: 1px;
}
.step-body strong { font-size: 14px; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.step-body p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── NOTE ────────────────────────────────────────────────────────────────────── */
.note {
  margin-top: 16px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
  display: flex; gap: 10px; align-items: flex-start;
}
.note-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.note p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── STACK ───────────────────────────────────────────────────────────────────── */
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stack-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 14px;
  font-size: 12px; font-weight: 500; color: var(--text-2);
  transition: border-color .15s;
}
.stack-chip:hover { border-color: var(--border-2); }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; }

/* ── PRIVACY CTA ─────────────────────────────────────────────────────────────── */
.privacy-cta {
  margin-top: 60px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 52px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.privacy-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(200,146,58,.07) 0%, transparent 70%);
  pointer-events: none;
}
.privacy-cta h3 {
  font-family: var(--display); font-size: 28px; letter-spacing: .04em;
  color: var(--text); margin-bottom: 10px; position: relative;
}
.privacy-cta h3 span { color: var(--gold); }
.privacy-cta p {
  font-size: 14px; color: var(--text-2); max-width: 420px;
  margin: 0 auto 28px; line-height: 1.75; position: relative;
}
.privacy-cta .btn-gold { position: relative; }

/* ── DIVIDER ─────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border); padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; background: var(--bg-alt);
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px; color: var(--text-3);
  text-decoration: none; transition: color .15s;
}
.footer-links a:hover { color: var(--text-2); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-nav  { padding: 0 20px; }
  .hero      { padding: 80px 20px 60px; }
  .flow-strip { padding: 14px 20px; }
  .section   { padding: 56px 20px; }
  .site-footer { padding: 24px 20px; }
}
