/* ============================================================
   TrueJourney — site.css
   Production CSS for the TrueJourney marketing website
   ============================================================ */

/* ── Design tokens ── */
:root {
  --bg:               #09090B;
  --bg-card:          #111116;
  --bg-card-hover:    #16161d;
  --border:           rgba(255, 255, 255, 0.08);
  --border-hover:     rgba(216, 84, 155, 0.30);
  --primary:          hsl(316, 72%, 55%);
  --primary-dim:      rgba(216, 84, 155, 0.12);
  --accent:           hsl(270, 60%, 50%);
  --accent-dim:       rgba(105, 56, 200, 0.12);
  --text:             rgba(255, 255, 255, 0.90);
  --text-muted:       rgba(255, 255, 255, 0.55);
  --text-faint:       rgba(255, 255, 255, 0.30);
  --gradient:         linear-gradient(135deg, hsl(316,72%,55%) 0%, hsl(270,60%,50%) 100%);
  --gradient-subtle:  linear-gradient(135deg, rgba(216,84,155,0.10) 0%, rgba(105,56,200,0.10) 100%);
  --radius:           16px;
  --radius-sm:        10px;
  --radius-xs:        8px;
  --section-pad:      8rem 0;
  --container:        1280px;
  --header-h:         4.5rem;
  --transition:       0.2s ease;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Layout helpers ── */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
}

/* ── Grid background utility ── */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Text gradient ── */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--text-muted);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-subtle);
  border: 1px solid rgba(216, 84, 155, 0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-subtle);
  border: 1px solid rgba(216, 84, 155, 0.20);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(216, 84, 155, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(216, 84, 155, 0.06);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Site Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 9, 11, 0.95);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

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

.nav-logo {
  flex-shrink: 0;
}

.site-logo {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active {
  color: var(--text);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
}
.hamburger:hover {
  border-color: rgba(255, 255, 255, 0.20);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 99;
  animation: slide-down 0.2s ease;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.mobile-nav-links {
  list-style: none;
  margin-bottom: 1.5rem;
}
.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-links a {
  display: block;
  padding: 0.9rem 0.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  transition: color var(--transition);
  text-decoration: none;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--text);
}
.mobile-nav-links a.active {
  font-weight: 500;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-actions .btn-primary,
.mobile-nav-actions .btn-ghost {
  justify-content: center;
  width: 100%;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

.section-label {
  display: block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  color: #fff;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Grid layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%) translateX(-200px);
  background: radial-gradient(circle, rgba(216, 84, 155, 0.18) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: 0;
  right: -100px;
  background: radial-gradient(circle, rgba(105, 56, 200, 0.15) 0%, transparent 70%);
}

.hero-content {
  max-width: 48rem;
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem 6rem;
}

.hero-content .badge {
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero > .hero-content > p,
.hero p.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ── Problem section ── */
.problem-statement {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--gradient-subtle);
  border: 1px solid rgba(216, 84, 155, 0.15);
}

.problem-statement p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.problem-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
}
.problem-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.problem-item .problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(216, 84, 155, 0.12);
  border: 1px solid rgba(216, 84, 155, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.problem-item .problem-icon svg {
  width: 20px;
  height: 20px;
}
.problem-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.problem-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Differentiators ── */
.diff-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
}
.diff-item:hover {
  border-color: var(--border-hover);
}
.diff-item .diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.diff-item .diff-icon svg {
  width: 20px;
  height: 20px;
}
.diff-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.diff-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.positioning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.positioning-left p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 28rem;
}
.positioning-left h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.diff-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Persona cards ── */
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), background var(--transition);
}
.persona-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.persona-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.persona-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.persona-icon svg {
  width: 22px;
  height: 22px;
}
.persona-meta h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.persona-frequency {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-dim);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}
.persona-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.persona-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.persona-card ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.persona-cta {
  text-align: center;
  margin-top: 3rem;
}
.persona-cta a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity var(--transition);
}
.persona-cta a:hover {
  opacity: 0.8;
}

/* ── CTA section ── */
.cta-section {
  position: relative;
  padding: var(--section-pad);
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(105, 56, 200, 0.20) 0%, rgba(216, 84, 155, 0.12) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.cta-section > .container > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}
.cta-trust {
  font-size: 0.85rem;
  color: var(--text-faint);
  position: relative;
  z-index: 2;
}

/* ── Page hero ── */
.page-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid {
  opacity: 0.6;
}
.page-hero .badge {
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(216, 84, 155, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Product page ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child {
  border-bottom: none;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}

.feature-text h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.feature-text p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.975rem;
}

.view-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.view-row:last-child {
  margin-bottom: 0;
}
.view-row.reverse .view-mockup {
  order: -1;
}

.view-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.view-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.view-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.view-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.view-text ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.view-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.view-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}
.mockup-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.mockup-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
}
.mockup-line.w-80 { width: 80%; }
.mockup-line.w-65 { width: 65%; }
.mockup-line.w-90 { width: 90%; }
.mockup-line.w-50 { width: 50%; }
.mockup-line.w-75 { width: 75%; }
.mockup-accent {
  height: 32px;
  border-radius: 6px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(216, 84, 155, 0.15);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.5rem;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.mockup-accent-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(216, 84, 155, 0.25);
  flex: 1;
}

/* ── Why traditional fails ── */
.fails-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.fail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.fail-card .fail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}
.fail-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(216, 84, 155, 0.9);
}
.fail-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Use cases ── */
.use-case-section {
  padding: var(--section-pad);
  border-bottom: 1px solid var(--border);
}
.use-case-section:last-of-type {
  border-bottom: none;
}

.use-case-header {
  margin-bottom: 3rem;
}
.use-case-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.use-case-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.story-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.story-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.win-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.win-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.win-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.win-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.win-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(216, 84, 155, 0.15);
  border: 1px solid rgba(216, 84, 155, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.1rem;
}
.win-check svg {
  width: 10px;
  height: 10px;
}

/* ── Integrations page ── */
.lens-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.lens-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}
.lens-card .lens-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.integration-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.integration-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.ip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(216, 84, 155, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.ip-icon svg {
  width: 14px;
  height: 14px;
}
.integration-point h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.integration-point p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.crm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.crm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.crm-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.crm-logo-area {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.crm-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.crm-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.status-badge.available {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
}
.status-badge.coming-soon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-faint);
}
.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Steps ── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 48rem;
  margin: 0 auto;
}
.step-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.step-item:last-child {
  padding-bottom: 0;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(216, 84, 155, 0.3), rgba(105, 56, 200, 0.1));
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  padding-top: 0.5rem;
}
.step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Security card ── */
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 48rem;
  margin: 4rem auto 0;
}
.security-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.security-icon svg {
  width: 24px;
  height: 24px;
}
.security-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.security-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── About page ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.philosophy-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.philosophy-text p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid rgba(216, 84, 155, 0.20);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  position: relative;
}
.quote-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}
.quote-card blockquote::before {
  content: '"';
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5rem;
  color: var(--primary);
  opacity: 0.5;
  margin-right: 0.25rem;
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(216, 84, 155, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.benefit-icon svg {
  width: 18px;
  height: 18px;
}
.benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.benefit-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-group .required {
  color: var(--primary);
  margin-left: 2px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(216, 84, 155, 0.40);
  background: rgba(255, 255, 255, 0.06);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.form-group select {
  cursor: pointer;
  color: var(--text-muted);
}
.form-group select option {
  background: #1a1a24;
  color: var(--text);
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  margin-top: 0.5rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.alert-success {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
}
.alert-error {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* ── Privacy prose ── */
.prose-content {
  max-width: 48rem;
  margin: 0 auto;
}
.prose-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.prose-content h2:first-child {
  margin-top: 0;
}
.prose-content p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose-content ul li {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}
.prose-last-updated {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 3rem;
}

/* ── 404 page ── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.error-content {
  position: relative;
  z-index: 2;
}
.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.error-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.error-message {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 24rem;
  margin-top: 1rem;
}

.footer-nav h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav ul a:hover {
  color: var(--text);
}

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

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .positioning-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .positioning-left p {
    max-width: 100%;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .view-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .view-row.reverse .view-mockup {
    order: 0;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 5rem 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-actions .hamburger {
    display: flex;
  }

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

  .fails-grid {
    grid-template-columns: 1fr;
  }

  .crm-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .hero-glow-1,
  .hero-glow-2 {
    width: 300px;
    height: 300px;
  }

  .win-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .form-card {
    padding: 1.5rem;
  }
}
