/* ============================================================
   persona.css — shared styles for Shoute persona landing pages
   (/developers, /creators, /students, /translation, /lawyers,
   /accessibility). Reuses the homepage design tokens so the
   pages feel first-class, but is a clean, focused stylesheet
   rather than the homepage's alternating-theme machinery.
   ============================================================ */

:root {
  --bg: #09090b;
  --surface: #111114;
  --surface2: #18181c;
  --surface3: #222228;
  --border: #27272e;
  --border-light: #333340;
  --text: #ededf0;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;
  --accent: #ff6b2b;
  --accent-soft: rgba(255, 107, 43, 0.12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --cream: #fffbe8;
  --cream-text: #2d2a26;
  --cream-text-soft: #5a554d;
  --cream-border: #e8e2dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(39, 39, 46, 0.5);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links > a:hover { color: #fff; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.9; }

/* ===== NAV DROPDOWN ("For You") ===== */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  padding: 0;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown[data-open="true"] .nav-dropdown-toggle { color: #fff; }

.nav-dropdown-toggle .caret {
  width: 9px; height: 9px;
  transition: transform 0.2s;
}

.nav-dropdown[data-open="true"] .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown[data-open="true"] .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.nav-dropdown-menu a:hover { background: var(--surface3); }
.nav-dropdown-menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.nav-dropdown-menu a .row-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.nav-dropdown-menu a:hover .row-sub { color: var(--text-secondary); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255, 107, 43, 0.25); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #e7e7ec;
  color: var(--accent);
  border: 1px solid #e7e7ec;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }

/* ===== HERO ===== */
.hero {
  padding: 150px 32px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100%);
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-family: 'Newsreader', serif;
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 em { color: var(--accent); font-style: italic; font-size: 1.04em; }

.hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  animation: fadeUp 0.6s ease 0.2s both;
}
.hero-sub strong { color: var(--green); font-weight: 600; }

.hero-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.25s both;
}
.kbd-pill { display: inline-flex; gap: 4px; }
.kbd-pill kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--surface2);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
  color: var(--text);
}
.hero-shortcut-text { font-size: 15px; color: var(--text-secondary); }
.hero-shortcut-text strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.3s both;
}
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  animation: fadeUp 0.6s ease 0.35s both;
}
.hero-note strong { color: var(--green); font-weight: 600; }

/* ===== SECTIONS ===== */
.section { padding: 84px 32px; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.section h2 {
  font-family: 'Newsreader', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section h2 em { color: var(--accent); font-style: italic; }
.section-sub { font-size: 17px; color: var(--text-secondary); }

/* Light "use cases" section on cream */
.section-light {
  background: var(--cream);
  color: var(--cream-text);
}
.section-light h2 { color: var(--cream-text); }
.section-light .section-sub { color: var(--cream-text-soft); }
/* Testimonial sits on cream too: default (dark-section) colors are near-white
   and vanish, so re-color text dark when inside a light section. */
.section-light .testimonial blockquote { color: var(--cream-text); }
.section-light .testimonial blockquote em { color: var(--accent); }
.section-light .testimonial-by { color: var(--cream-text-soft); }
.section-light .testimonial-by strong { color: var(--cream-text); }

/* ===== USE-CASE CARDS ===== */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.usecase-card {
  background: #fff;
  border: 1px solid var(--cream-border);
  border-radius: 16px;
  padding: 30px 28px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.usecase-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(45, 42, 38, 0.1); }
.usecase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.usecase-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--cream-text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.usecase-card p { font-size: 15px; color: var(--cream-text-soft); line-height: 1.6; }
.usecase-said {
  display: inline-block;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 7px;
}

/* ===== WHY (value bullets) ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--green-soft, rgba(52, 211, 153, 0.12));
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}
.why-item h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.why-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.55; }

/* ===== TESTIMONIAL ===== */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: 'Newsreader', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 22px;
}
.testimonial blockquote em { color: var(--accent); font-style: italic; }
.testimonial-by { font-size: 14px; color: var(--text-muted); }
.testimonial-by strong { color: var(--text-secondary); font-weight: 600; }
.testimonial-by .t-sep { margin: 0 7px; opacity: 0.6; }
.testimonial-by .t-logo { height: 22px; width: auto; max-width: 120px; vertical-align: middle; }
.testimonial-by .t-logo-wb { height: 30px; }
.testimonial-by .t-logo-lenovo { height: 26px; }

/* ===== FINAL CTA BAND ===== */
.final-cta {
  text-align: center;
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 100%);
  height: 480px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.final-cta h2 {
  font-family: 'Newsreader', serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 16px;
}
.final-cta h2 em { color: var(--accent); font-style: italic; }
.final-cta p { font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; }

/* ===== FOOTER ===== */
footer { padding: 40px 32px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

.footer-personas {
  max-width: 1140px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-personas .label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.footer-personas a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-personas a:hover { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .usecases { grid-template-columns: 1fr; max-width: 460px; }
  .why-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 800px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-dropdown { display: none; }
  .hero { padding: 130px 20px 64px; }
  .section, .final-cta { padding: 64px 20px; }
}
