/* GenieSlate Marketing Site — v2 */
:root {
  --bg: #faf9fd;
  --surface: #ffffff;
  --surface-alt: #f0f0f8;
  --text: #1a1a2e;
  --text-secondary: #3d5070;
  --text-muted: #8593a8;
  --border: rgba(74, 74, 158, 0.12);
  --accent: #4a4a9e;
  --accent-hover: #353580;
  --accent-subtle: #f0f0f8;
  --accent-2: #6d4fc7;
  --accent-3: #9a6ae0;
  --gold: #edab3b;
  --grad: linear-gradient(120deg, #4a4a9e 0%, #6d4fc7 55%, #9a6ae0 100%);
  --grad-soft: linear-gradient(120deg, rgba(74,74,158,0.12), rgba(109,79,199,0.10) 55%, rgba(154,106,224,0.10));
  --max-width: 1120px;
  --header-h: 64px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 150ms ease;
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(26, 26, 46, 0.16);
  --shadow-lg: 0 28px 60px -28px rgba(26, 26, 46, 0.30);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f18;
    --surface: #1a1a28;
    --surface-alt: #222233;
    --text: #f5f5fa;
    --text-secondary: #a8b4c8;
    --text-muted: #6b7a90;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #6b6bbf;
    --accent-hover: #8585d4;
    --accent-subtle: #222233;
    --accent-2: #9d84ff;
    --accent-3: #b79bff;
    --grad: linear-gradient(120deg, #7b7be0 0%, #9d84ff 55%, #b79bff 100%);
    --grad-soft: linear-gradient(120deg, rgba(123,123,224,0.16), rgba(157,132,255,0.12) 55%, rgba(183,155,255,0.12));
    --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 28px 60px -28px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
}

.text-muted { color: var(--text-muted); font-size: 0.875rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 249, 253, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(15, 15, 24, 0.92); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo-link img { height: 28px; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-desktop a:hover { color: var(--accent); }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 99;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn:hover {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 10px 24px -6px rgba(74, 74, 158, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.btn-sm { padding: 0.5rem 1.125rem; font-size: 0.875rem; border-radius: 10px; }

/* Primary CTA — gradient with glow */
.btn-primary {
  position: relative;
  background: var(--grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(74, 74, 158, 0.38);
}

.btn-primary:hover {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  background-position: 100% 50%;
  box-shadow: 0 14px 28px -12px rgba(74, 74, 158, 0.42);
  transform: translateY(-2px) scale(1.02);
}

/* Secondary CTA — outlined glass */
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

/* Aurora / gradient-mesh backdrop */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

.hero::before {
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(109, 79, 199, 0.28), transparent 72%);
  animation: aurora 16s ease-in-out infinite alternate;
}

.hero::after {
  bottom: -180px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 60% 40%, rgba(74, 74, 158, 0.22), transparent 72%);
  animation: aurora 20s ease-in-out infinite alternate-reverse;
}

@media (prefers-color-scheme: dark) {
  .hero::before, .hero::after { opacity: 0.22; }
}

@keyframes aurora {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 40px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-mock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--accent-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Animated Q&A demo */
.qa-demo {
  padding: 0;
  gap: 0;
  overflow: hidden;
  justify-content: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -28px rgba(26, 26, 46, 0.25);
  height: 400px;
  min-height: 0;
}

.qa-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.qa-head-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.qa-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.75rem 1.5rem 0.5rem;
  overflow: hidden;
}

.qa-question,
.qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  font-size: 1.0625rem;
  line-height: 1.45;
  max-width: 92%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.qa-question {
  background: var(--surface-alt);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.qa-answer {
  background: var(--surface);
  color: var(--text);
  align-self: flex-end;
  font-weight: 500;
  border: 1px solid var(--border);
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 16px -10px rgba(26, 26, 46, 0.2);
}

.qa-question.show,
.qa-answer.show {
  opacity: 1;
  transform: translateY(0);
}

.qa-q-label {
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.qa-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--accent);
  vertical-align: text-bottom;
  opacity: 0;
}

.chat-open {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.chat-open.show { opacity: 1; transform: translateY(0); }
.chat-open img { width: 16px; height: 16px; border-radius: 4px; }
.chat-open svg { width: 13px; height: 13px; }

.qa-inputbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 54px;
  margin: 0 1.5rem 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.qa-input-hint {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-mic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: background 0.3s ease;
}

.qa-mic svg { width: 18px; height: 18px; }

.qa-wave {
  display: none;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.qa-wave i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #fff;
  animation: qaWave 0.9s ease-in-out infinite;
}

.qa-wave i:nth-child(2) { animation-delay: 0.15s; }
.qa-wave i:nth-child(3) { animation-delay: 0.3s; }
.qa-wave i:nth-child(4) { animation-delay: 0.45s; }

@keyframes qaWave {
  0%, 100% { height: 5px; }
  50% { height: 16px; }
}

.qa-inputbar.listening .qa-mic {
  background: #e5484d;
  box-shadow: 0 0 0 6px rgba(229, 72, 77, 0.15);
}

.qa-inputbar.listening .qa-mic svg { display: none; }
.qa-inputbar.listening .qa-wave { display: flex; }

@media (prefers-reduced-motion: reduce) {
  .qa-wave i { animation: none; height: 10px; }
}

.qa-question.typing .qa-caret {
  opacity: 1;
  animation: qa-blink 0.9s steps(1) infinite;
}

@keyframes qa-blink {
  50% { opacity: 0; }
}

.qa-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #22a06b;
  color: #fff;
  transform: scale(0);
}

.qa-answer.show .qa-tick {
  animation: qa-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.qa-tick svg {
  width: 13px;
  height: 13px;
}

@keyframes qa-pop {
  to { transform: scale(1); }
}

/* Demo toggle */
.hero-visual-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-toggle {
  display: flex;
  gap: 0.4rem;
  align-self: flex-start;
}

.demo-tab {
  padding: 0.375rem 0.9rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.demo-tab.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

/* WhatsApp view */
.wa-demo {
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: none;
  justify-content: flex-start;
  min-height: 320px;
  background: #e5ddd5;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35);
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: #075e54;
  color: #fff;
  flex-shrink: 0;
}

.wa-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.wa-name { font-weight: 600; font-size: 0.9375rem; line-height: 1.15; }
.wa-status { font-size: 0.75rem; opacity: 0.85; }

.wa-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
}

.wa-msg {
  position: relative;
  max-width: 82%;
  background: #fff;
  color: #111b21;
  border-radius: 10px;
  padding: 0.55rem 0.75rem 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-msg.show { opacity: 1; transform: translateY(0); }

.wa-out {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 2px;
}

.wa-in {
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.wa-text { display: block; }
.wa-text strong { font-weight: 600; }
.wa-text em { color: #54656f; font-style: italic; }

.wa-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e9edef;
  color: #027eb5;
  font-weight: 500;
  font-size: 0.875rem;
}

.wa-cta img { width: 16px; height: 16px; border-radius: 4px; }

.wa-time {
  display: block;
  text-align: right;
  font-size: 0.6875rem;
  color: #667781;
  margin-top: 0.15rem;
}

.wa-tick-blue { color: #53bdeb; }

/* WhatsApp typing indicator */
.wa-typing {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 0.6rem 0.8rem;
  background: #fff;
  border-radius: 10px;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.wa-typing.show { display: flex; }

.wa-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa5ad;
  animation: wa-bounce 1.2s infinite ease-in-out;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .qa-question,
  .qa-answer,
  .wa-msg { opacity: 1; transform: none; transition: none; }
  .qa-tick { transform: scale(1); animation: none; }
  .qa-caret { display: none; }
  .wa-typing { display: none !important; }
  .wa-typing span { animation: none; }
}

/* Cards & grids */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid-2 { grid-template-columns: 1fr; }
.card-grid-3 { grid-template-columns: 1fr; }
.card-grid-4 { grid-template-columns: 1fr; }
.card-grid-5 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color var(--transition);
}

/* Gradient hairline that fades in on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.card-icon svg { width: 100%; height: 100%; }

.card ul {
  margin-top: 0.75rem;
}

.card li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Timeline / day-in-life */
.timeline {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.timeline-meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.timeline-item h3 { margin-bottom: 0.375rem; }

.timeline-item p { font-size: 0.875rem; margin: 0; }

/* Highlight blocks */
.highlight-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2.5rem;
}

.highlight-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.highlight-tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .benefit-list { grid-template-columns: repeat(2, 1fr); }
}

.benefit-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.875rem;
  margin: 0;
}

.honesty-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--accent-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  padding-top: 2.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50%;
}

/* Journey path */
.journey-path {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .journey-path { grid-template-columns: repeat(3, 1fr); }
}

.journey-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.journey-stage .stage-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ERP modules */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .module-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .module-grid { grid-template-columns: repeat(4, 1fr); }
}

.module-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color var(--transition);
}

.module-item:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.module-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  padding: 8px;
  box-sizing: content-box;
  border-radius: 10px;
  background: var(--grad-soft);
  transition: transform var(--transition);
}

.module-item:hover svg { transform: scale(1.08) rotate(-3deg); }

/* Persona tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.persona-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.persona-panel ul { margin-top: 1rem; }

.persona-panel li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.persona-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Plans */
.plan-card {
  text-align: center;
  padding: 1.25rem 1rem;
}

.plan-card.featured {
  border-color: var(--accent);
}

.plan-tier {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.375rem;
}

.plan-card p {
  font-size: 0.8125rem;
  margin: 0;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-card h3 { font-size: 1rem; }

.trust-card p { font-size: 0.875rem; margin: 0; }

.callout-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout-box h3 { font-size: 1rem; margin-bottom: 0.75rem; }

.callout-box ul { margin-top: 0.5rem; }

.callout-box li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
}

.callout-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Download band */
.download-band {
  text-align: center;
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.store-badges a img { height: 48px; width: auto; }

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand img { height: 24px; margin-bottom: 0.75rem; }

.footer-links a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--gold);
  color: #1a1a2e;
  border-radius: 4px;
}

/* Highlights strip */
.highlights {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
}

.highlight-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  text-align: left;
}

.highlight-stat svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
}

.highlight-stat strong {
  display: block;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}

.highlight-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
