/*
Theme Name: Susan AI
Theme URI: https://susanai.org/
Author: Susan AI
Author URI: https://susanai.org/
Description: Susan AI — a bold, modern landing theme for the Susan AI companion chat brand. Includes SEO output, FAQ structured data, sitemap and legal page templates.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: susan-ai
Tags: landing-page, one-column, custom-colors, responsive-layout
*/

/* ============================================================
   Susan AI — design system
   ============================================================ */
:root {
  --bg: #07060d;
  --bg-2: #0d0a18;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f1fa;
  --muted: #a79fc0;
  --pink: #ff3d8b;
  --violet: #a855f7;
  --coral: #ff7a59;
  --gold: #ffcf6b;
  --grad: linear-gradient(115deg, #ff3d8b 0%, #a855f7 55%, #5b6bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 61, 139, 0.18), rgba(168, 85, 247, 0.14));
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 30px 80px -30px rgba(255, 61, 139, 0.45);
  --shadow-soft: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
  --max: 1200px;
  --font-display: 'Sora', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(255, 61, 139, 0.28), transparent 60%),
    radial-gradient(760px 560px at 92% 8%, rgba(91, 107, 255, 0.24), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(168, 85, 247, 0.22), transparent 62%),
    var(--bg);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }

p { margin: 0 0 18px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { position: relative; padding: clamp(64px, 8vw, 118px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 760px; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 61, 139, 0.22);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 61, 139, 0); } }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); color: #fff; }
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.8s ease; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 20px 40px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-stuck {
  background: rgba(9, 7, 16, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -35px #000;
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 1.05rem; color: #fff;
  box-shadow: 0 12px 30px -12px rgba(255, 61, 139, 0.9);
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: #fff; }
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s;
}
.nav-burger span { top: 21px; }
.nav-burger span::before { top: -6px; left: 0; }
.nav-burger span::after { top: 6px; left: 0; }
.nav-burger.is-active span { background: transparent; }
.nav-burger.is-active span::before { transform: rotate(45deg) translate(0, 6px); }
.nav-burger.is-active span::after { transform: rotate(-45deg) translate(0, -6px); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(52px, 8vw, 104px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  --mx: 70%; --my: 30%;
}
.hero::before {
  content: '';
  position: absolute; inset: -20% -10%;
  background: radial-gradient(520px 520px at var(--mx) var(--my), rgba(255, 61, 139, 0.22), transparent 65%);
  transition: background 0.2s ease;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero-points { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.hero-points li b { color: var(--text); font-weight: 700; }
.tick {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 0.7rem; color: var(--gold); margin-top: 3px;
}
.trustline { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.86rem; margin-top: 26px; }
.trustline span { display: inline-flex; align-items: center; gap: 8px; }

.hero-visual { position: relative; }
.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.4deg);
  animation: float 8s ease-in-out infinite;
}
.hero-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@keyframes float { 50% { transform: rotate(1.4deg) translateY(-14px); } }
.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(13, 10, 24, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-size: 0.85rem; font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.hero-chip.one { left: -14px; top: 12%; animation: float 7s ease-in-out infinite; }
.hero-chip.two { right: -10px; bottom: 16%; animation: float 9s ease-in-out infinite reverse; }
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #38e0a3; box-shadow: 0 0 12px #38e0a3; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { border-color: rgba(255, 61, 139, 0.45); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h2 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--grad); margin-bottom: 18px;
  box-shadow: 0 16px 34px -18px rgba(168, 85, 247, 0.9);
}

/* Companions gallery */
.model-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.model-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 0.7s ease; filter: saturate(1.06); }
.model-card:hover img { transform: scale(1.07); }
.model-card:hover { box-shadow: 0 40px 70px -40px rgba(255, 61, 139, 0.7); }
.model-body {
  position: absolute; inset: auto 0 0 0; padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(7, 6, 13, 0.92) 62%);
}
.model-body h2 { font-size: 1.16rem; margin-bottom: 4px; }
.model-body p { font-size: 0.88rem; color: var(--muted); margin: 0 0 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.model-card .btn { width: 100%; padding: 12px 18px; font-size: 0.92rem; }

/* Steps */
.step { counter-increment: step; }
.step .num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 12px;
}

/* Chat mockup */
.chat-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-soft);
}
.chat-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chat-ava { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 61, 139, 0.6); }
.chat-ava img { width: 100%; height: 100%; object-fit: cover; }
.chat-top b { font-family: var(--font-display); }
.chat-top small { display: block; color: #38e0a3; font-size: 0.76rem; }
.bubble { max-width: 82%; padding: 13px 17px; border-radius: 20px; margin-bottom: 12px; font-size: 0.96rem; line-height: 1.6; }
.bubble.them { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.me { background: var(--grad); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.bubble.typing { display: inline-flex; min-height: 22px; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--gold); margin-left: 3px; animation: blink 1s steps(2) infinite; vertical-align: -2px; }
@keyframes blink { 50% { opacity: 0; } }

/* Stats */
.stat { text-align: center; padding: 26px 18px; }
.stat .val { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* Prose blocks */
.prose { max-width: 860px; }
.prose p { color: #cfc8e0; }
.prose p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 3.1rem; font-weight: 800; float: left;
  line-height: 0.9; padding: 4px 12px 0 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pull {
  border-left: 3px solid var(--pink); padding: 6px 0 6px 20px; margin: 26px 0;
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: #fff; line-height: 1.45;
}

/* Reviews */
.review { display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.review p { color: #d6cfe6; font-style: normal; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); color: #fff; }
.who b { display: block; font-size: 0.93rem; }
.who small { color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
th { font-family: var(--font-display); font-weight: 800; color: #fff; background: rgba(255, 255, 255, 0.05); }
td.yes { color: #38e0a3; font-weight: 700; }
td.no { color: #ff7a8a; font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: border-color 0.25s ease; }
.faq-item.is-open { border-color: rgba(255, 61, 139, 0.5); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; padding: 20px 56px 20px 22px; position: relative;
}
.faq-q::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--pink); transition: transform 0.25s ease;
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 22px; }
.faq-item.is-open .faq-a { max-height: 460px; padding: 0 22px 20px; }
.faq-a p { color: var(--muted); margin: 0; }

/* CTA banner */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 70px);
  background: linear-gradient(120deg, rgba(255, 61, 139, 0.22), rgba(91, 107, 255, 0.18));
  border: 1px solid rgba(255, 61, 139, 0.35);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band::before {
  content: ''; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 61, 139, 0.28), transparent 40%);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band > * { position: relative; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: rgba(255, 255, 255, 0.03); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }
.marquee-track span b { color: var(--pink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Legal pages */
.page-hero { padding: clamp(50px, 7vw, 90px) 0 20px; }
.legal { max-width: 900px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 38px 0 12px; }
.legal p, .legal li { color: #cbc4dd; }
.legal ul { padding-left: 22px; }
.legal .updated { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 30px 0 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: 6px; }
.toc a { color: #d9d2ea; font-size: 0.93rem; }
.toc a:hover { color: var(--pink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 34px; margin-top: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 61, 139, 0.05)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.footer-grid p { color: var(--muted); font-size: 0.95rem; }
.footer-col b { font-family: var(--font-display); display: block; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 0.87rem; }
.age { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; color: var(--gold); font-size: 0.78rem; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-burger { display: block; }
  .site-nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 10px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(13, 10, 24, 0.97); border: 1px solid var(--line); border-radius: 20px;
    padding: 16px 20px; display: none; backdrop-filter: blur(14px);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px 0; width: 100%; }
  .site-nav .btn { width: 100%; margin-top: 8px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .bubble { max-width: 94%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
