/* ═══════════════════════════════════════════════════════════════
   Workflow Autopilot — Dark Theme Design System
   Inspired by modern SaaS agency aesthetics
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --wa-black: #050505;
  --wa-bg: #0a0a0a;
  --wa-surface: #111113;
  --wa-surface-2: #18181b;
  --wa-surface-3: #1e1e22;
  --wa-border: #27272a;
  --wa-border-light: #333338;
  --wa-text: #fafafa;
  --wa-text-dim: #a1a1aa;
  --wa-text-muted: #71717a;
  --wa-purple: #814ac8;
  --wa-purple-light: #9d6dd7;
  --wa-purple-glow: rgba(129, 74, 200, 0.25);
  --wa-purple-subtle: rgba(129, 74, 200, 0.08);
  --wa-green: #22c55e;
  --wa-green-dim: rgba(34, 197, 94, 0.15);
  --wa-amber: #f59e0b;
  --wa-red: #ef4444;
  --wa-radius: 12px;
  --wa-radius-lg: 20px;
  --wa-radius-xl: 28px;
  --wa-radius-pill: 100px;
  --wa-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --wa-max-w: 1240px;
  --wa-font: 'Figtree', system-ui, -apple-system, sans-serif;
  --wa-mono: 'Fragment Mono', 'SF Mono', 'Fira Code', monospace;
  --wa-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ── Light Mode Variables ───────────────────────────────────────── */
[data-theme="light"] {
  --wa-black:          #f0f0f2;
  --wa-bg:             #fafafa;
  --wa-surface:        #ffffff;
  --wa-surface-2:      #f4f4f5;
  --wa-surface-3:      #e4e4e7;
  --wa-border:         #e4e4e7;
  --wa-border-light:   #d4d4d8;
  --wa-text:           #09090b;
  --wa-text-dim:       #3f3f46;
  --wa-text-muted:     #71717a;
  --wa-text-secondary: #52525b;
  --wa-purple:         #6d3db0;
  --wa-purple-light:   #814ac8;
  --wa-purple-glow:    rgba(109, 61, 176, 0.18);
  --wa-purple-subtle:  rgba(109, 61, 176, 0.07);
  --wa-green:          #16a34a;
  --wa-green-dim:      rgba(22, 163, 74, 0.12);
  --wa-amber:          #d97706;
  --wa-red:            #dc2626;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--wa-font);
  background: var(--wa-bg);
  color: var(--wa-text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
ul, ol { list-style: none; }

::selection {
  background: var(--wa-purple);
  color: #fff;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wa-text);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-family: var(--wa-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wa-purple-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-purple);
  box-shadow: 0 0 8px var(--wa-purple-glow);
}

.section-desc {
  color: var(--wa-text-dim);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-desc {
  margin: 1rem auto 0;
}

/* ── Container ── */
.wa-container {
  width: 100%;
  max-width: var(--wa-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wa-section {
  padding: 6rem 0;
  position: relative;
}

.wa-section + .wa-section {
  border-top: 1px solid var(--wa-border);
}

/* ── Noise overlay ── */
.wa-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--wa-noise);
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.wa-section > * { position: relative; z-index: 1; }

/* ── Navigation ── */
.wa-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--wa-border);
  transition: background var(--wa-transition);
}

.wa-nav-inner {
  max-width: var(--wa-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wa-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wa-nav-logo img {
  height: 36px;
  width: auto;
}

.wa-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wa-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wa-text-dim);
  transition: color var(--wa-transition);
  position: relative;
}
.wa-nav-links a:hover,
.wa-nav-links a.active {
  color: var(--wa-text);
}
.wa-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wa-purple);
  transition: width var(--wa-transition);
}
.wa-nav-links a:hover::after,
.wa-nav-links a.active::after {
  width: 100%;
}

/* Mobile menu toggle */
.wa-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.wa-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wa-text);
  margin: 5px 0;
  transition: var(--wa-transition);
  border-radius: 2px;
}
.wa-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.wa-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.wa-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--wa-radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--wa-transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--wa-purple);
  color: #fff;
  box-shadow: 0 0 0 0 var(--wa-purple-glow);
}
.btn-primary:hover {
  background: var(--wa-purple-light);
  box-shadow: 0 8px 30px var(--wa-purple-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--wa-text);
  border: 1px solid var(--wa-border-light);
}
.btn-outline:hover {
  border-color: var(--wa-purple);
  color: var(--wa-purple-light);
  background: var(--wa-purple-subtle);
}

.btn-ghost {
  background: var(--wa-surface-2);
  color: var(--wa-text);
  border: 1px solid var(--wa-border);
}
.btn-ghost:hover {
  border-color: var(--wa-border-light);
  background: var(--wa-surface-3);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── Hero ── */
.wa-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.wa-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--wa-purple-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wa-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 4rem 0;
}

.wa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wa-text-dim);
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.6s ease-out both;
}
.wa-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 8px var(--wa-green);
  animation: pulse 2s infinite;
}

.wa-hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.6s ease-out 0.1s both;
}
.wa-hero h1 .hero-accent {
  background: linear-gradient(135deg, var(--wa-purple-light), var(--wa-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wa-hero-sub {
  font-size: 1.15rem;
  color: var(--wa-text-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
  animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.wa-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s ease-out 0.3s both;
}

/* ── Trust Bar ── */
.wa-trust {
  padding: 3rem 0;
}

.wa-trust-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--wa-text-muted);
  margin-bottom: 2rem;
  font-weight: 500;
}

.wa-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.45;
  transition: opacity var(--wa-transition);
}
.wa-trust-logos:hover { opacity: 0.7; }

.wa-trust-logos .trust-logo {
  font-family: var(--wa-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--wa-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── Card Grid ── */
.wa-grid {
  display: grid;
  gap: 1.5rem;
}
.wa-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wa-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wa-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Service Cards ── */
.service-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--wa-transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--wa-purple);
  box-shadow: 0 0 40px var(--wa-purple-glow);
  transform: translateY(-4px);
}

.service-card-mockup {
  background: var(--wa-surface-2);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.service-card-label {
  font-family: var(--wa-mono);
  font-size: 0.75rem;
  color: var(--wa-purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--wa-text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

.service-card-tags,
.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.service-card-tags span,
.service-tags .tag {
  padding: 0.3rem 0.75rem;
  background: var(--wa-surface-2);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--wa-text-dim);
}

/* Service category label (used in HTML as .service-category) */
.service-category {
  font-family: var(--wa-mono);
  font-size: 0.72rem;
  color: var(--wa-purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: block;
}

/* Service feature list */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.service-features li {
  font-size: 0.875rem;
  color: var(--wa-text-dim);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--wa-purple);
  font-size: 0.75rem;
  top: 0.05em;
}

/* ── Mockup internals ── */
.mock-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mock-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--wa-surface-3);
  border-radius: 8px;
  font-size: 0.82rem;
}
.mock-list-item .mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-list-item .mock-name {
  flex: 1;
  margin-left: 0.75rem;
  color: var(--wa-text);
  font-weight: 500;
}
.mock-list-item .mock-meta {
  color: var(--wa-text-muted);
  font-size: 0.75rem;
}

.mock-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wa-text-dim);
}

.mock-progress {
  height: 6px;
  background: var(--wa-surface-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.mock-progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--wa-purple), var(--wa-purple-light));
}

.mock-chat-bubble {
  background: var(--wa-surface-3);
  border-radius: 12px 12px 12px 4px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--wa-text-dim);
  max-width: 90%;
  line-height: 1.5;
}
.mock-chat-bubble.outgoing {
  background: var(--wa-purple);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
  margin-left: auto;
}

.mock-code {
  font-family: var(--wa-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--wa-text-muted);
}
.mock-code .code-keyword { color: var(--wa-purple-light); }
.mock-code .code-string { color: var(--wa-green); }
.mock-code .code-comment { color: var(--wa-text-muted); opacity: 0.6; }

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--wa-transition);
}
.process-step:hover {
  border-color: var(--wa-border-light);
}

.process-step-number {
  font-family: var(--wa-mono);
  font-size: 0.75rem;
  color: var(--wa-purple-light);
  margin-bottom: 0.5rem;
}

.process-step h3 {
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--wa-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.process-step-visual {
  background: var(--wa-surface-2);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  padding: 1rem;
  margin-top: 1.5rem;
  min-height: 100px;
}

/* ── Case Studies Grid ── */
.cases-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  overflow: hidden;
  transition: all var(--wa-transition);
  display: block;
}
.case-card:hover {
  border-color: var(--wa-purple);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.case-card-img {
  height: 180px;
  background: var(--wa-surface-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-industry {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--wa-radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wa-purple-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-card-body {
  padding: 1.5rem;
}
.case-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.case-card-body p {
  color: var(--wa-text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

.case-card-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wa-border);
}
.case-card-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--wa-purple-light);
}
.case-card-stat span {
  font-size: 0.75rem;
  color: var(--wa-text-muted);
}

/* ── Benefits Grid ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2rem;
  transition: all var(--wa-transition);
}
.benefit-card:hover {
  border-color: var(--wa-border-light);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--wa-purple-subtle);
  border: 1px solid rgba(129, 74, 200, 0.15);
  border-radius: var(--wa-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.benefit-card p {
  color: var(--wa-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Pricing ── */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.pricing-toggle-inner {
  display: flex;
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-pill);
  padding: 4px;
  gap: 2px;
}
.pricing-toggle-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  color: var(--wa-text-dim);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--wa-radius-pill);
  transition: all var(--wa-transition);
  border: none;
}
.pricing-toggle-btn.active {
  background: var(--wa-purple);
  color: #fff;
}
.pricing-toggle-btn:hover:not(.active) {
  color: var(--wa-text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--wa-transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--wa-purple);
  box-shadow: 0 0 60px var(--wa-purple-glow);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--wa-radius-lg);
  background: linear-gradient(180deg, var(--wa-purple), transparent 60%);
  z-index: -1;
  opacity: 0.15;
}
.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wa-purple);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: var(--wa-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-tier {
  font-family: var(--wa-mono);
  font-size: 0.78rem;
  color: var(--wa-purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--wa-text-muted);
}

.pricing-desc {
  color: var(--wa-text-dim);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-divider {
  border: none;
  height: 1px;
  background: var(--wa-border);
  margin: 1.5rem 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--wa-text-dim);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  color: var(--wa-purple-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn { width: 100%; }

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

.testimonial-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--wa-amber);
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--wa-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wa-surface-3);
  border: 2px solid var(--wa-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--wa-purple-light);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--wa-text-muted);
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  overflow: hidden;
  transition: border-color var(--wa-transition);
}
.faq-item.open {
  border-color: var(--wa-border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--wa-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--wa-transition);
}
.faq-question:hover { color: var(--wa-purple-light); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wa-surface-2);
  border: 1px solid var(--wa-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--wa-text-dim);
  transition: all var(--wa-transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--wa-purple);
  border-color: var(--wa-purple);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--wa-text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── CTA Banner ── */
.wa-cta-banner {
  text-align: center;
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-xl);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.wa-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--wa-purple-glow) 0%, transparent 65%);
  pointer-events: none;
}
.wa-cta-banner > * { position: relative; z-index: 1; }

.wa-cta-banner h2 {
  max-width: 600px;
  margin: 0 auto 1rem;
}
.wa-cta-banner p {
  color: var(--wa-text-dim);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

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

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

.wa-footer-brand p {
  color: var(--wa-text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}

.wa-footer-newsletter {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.wa-footer-newsletter input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-pill);
  color: var(--wa-text);
  font-size: 0.85rem;
  outline: none;
  font-family: var(--wa-font);
}
.wa-footer-newsletter input::placeholder {
  color: var(--wa-text-muted);
}
.wa-footer-newsletter input:focus {
  border-color: var(--wa-purple);
}

.wa-footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--wa-text);
}
.wa-footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.88rem;
  color: var(--wa-text-dim);
  transition: color var(--wa-transition);
}
.wa-footer-col a:hover {
  color: var(--wa-purple-light);
}

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

/* ── Contact / Cal embed ── */
.cal-embed-wrapper {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 1.5rem;
  min-height: 500px;
  overflow: hidden;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 1.75rem;
  text-align: center;
}
.contact-info-card .contact-icon {
  width: 48px;
  height: 48px;
  background: var(--wa-purple-subtle);
  border-radius: var(--wa-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
}
.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.contact-info-card p, .contact-info-card a {
  color: var(--wa-text-dim);
  font-size: 0.88rem;
}

/* ── About Page ── */
.about-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-value-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2rem;
}
.about-value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.about-value-card p {
  color: var(--wa-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-process-step {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  padding: 2rem;
  text-align: center;
}
.about-process-step .step-num {
  font-family: var(--wa-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--wa-purple);
  margin-bottom: 0.75rem;
}
.about-process-step h3 { margin-bottom: 0.6rem; }
.about-process-step p {
  color: var(--wa-text-dim);
  font-size: 0.9rem;
}

/* ── Blog & Case Study listing (dark) ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-lg);
  overflow: hidden;
  transition: all var(--wa-transition);
  display: block;
}
.blog-card:hover {
  border-color: var(--wa-border-light);
  transform: translateY(-2px);
}

.blog-card-body {
  padding: 1.5rem;
}
.blog-card-body .blog-date {
  font-family: var(--wa-mono);
  font-size: 0.75rem;
  color: var(--wa-text-muted);
  margin-bottom: 0.5rem;
}
.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.blog-card-body p {
  color: var(--wa-text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}
.blog-card-body .blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wa-purple-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: gap var(--wa-transition);
}
.blog-card:hover .blog-read-more { gap: 0.6rem; }

/* ── Animations ── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .wa-grid-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: span 2; }
  .wa-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wa-nav-links { display: none; }
  .wa-nav-toggle { display: block; }

  .wa-nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--wa-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--wa-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  }
  .wa-nav-links.mobile-open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--wa-border);
    font-size: 1rem;
    color: var(--wa-text);
    font-weight: 500;
  }
  .wa-nav-links.mobile-open a:hover {
    color: var(--wa-purple);
  }
  .wa-nav-links.mobile-open .btn {
    margin-top: 1rem;
    padding: 0.75rem;
    text-align: center;
    border-bottom: none;
    color: #ffffff !important;
  }

  .wa-grid-2, .wa-grid-3, .benefits-grid, .testimonials-grid,
  .process-grid, .about-values, .about-process-row {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card:last-child { grid-column: auto; }

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

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

  .wa-section { padding: 4rem 0; }
  .wa-hero-content { padding: 2.5rem 0; }
  .wa-hero-actions { flex-direction: column; }
  .wa-hero-actions .btn { width: 100%; }

  .wa-cta-banner { padding: 3rem 1.5rem; }

  .cases-scroll { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .wa-trust-logos { gap: 1.5rem; }
  .wa-trust-logos .trust-logo { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Light Mode Component Overrides
   ═══════════════════════════════════════════════════════════════ */

/* Hero: soft lavender instead of near-black gradient */
[data-theme="light"] .wa-hero {
  background: linear-gradient(135deg, #f0ebff 0%, #e8d5ff 40%, #f5f0ff 100%) !important;
}

/* Nav: lighter blur backdrop */
[data-theme="light"] .wa-nav {
  background: rgba(250, 250, 250, 0.92);
  border-bottom-color: var(--wa-border);
}

/* Footer: light background + logo de-invert */
[data-theme="light"] .wa-footer {
  background: var(--wa-surface-2);
  border-top-color: var(--wa-border);
}
[data-theme="light"] .wa-footer img,
[data-theme="light"] .wa-footer-brand img {
  filter: none !important;
}

/* Hero badge */
[data-theme="light"] .wa-hero-badge {
  background: rgba(109, 61, 176, 0.09);
  border-color: rgba(109, 61, 176, 0.22);
  color: var(--wa-purple);
}

/* Trust bar */
[data-theme="light"] .wa-trust {
  background: var(--wa-surface-2);
}

/* Pricing featured card */
[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(145deg, rgba(109,61,176,0.07), rgba(109,61,176,0.03));
}

/* Code/mono mockups */
[data-theme="light"] .mock-code {
  background: var(--wa-surface-2);
  border-color: var(--wa-border);
}

/* ═══════════════════════════════════════════════════════════════
   Theme Toggle Button
   ═══════════════════════════════════════════════════════════════ */
.wa-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--wa-border);
  background: var(--wa-surface-2);
  color: var(--wa-text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--wa-transition);
  flex-shrink: 0;
  padding: 0;
  margin-right: 0.5rem;
}
.wa-theme-toggle:hover {
  border-color: var(--wa-purple);
  color: var(--wa-purple);
  background: var(--wa-purple-subtle);
}
.wa-theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* Dark mode shows sun icon (click = go light); light mode shows moon icon (click = go dark) */
[data-theme="dark"]  .wa-theme-toggle .icon-moon { display: none; }
[data-theme="dark"]  .wa-theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .wa-theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .wa-theme-toggle .icon-moon { display: block; }

@media (max-width: 768px) {
  .wa-theme-toggle { width: 34px; height: 34px; margin-right: 0.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   FIX 1 — Nav logo: white bg on anchor (not img) — no size change
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] .wa-nav-logo {
  background: #ffffff;
  border-radius: 10px;
  padding: 4px 10px;
}

/* ═══════════════════════════════════════════════════════════════
   FIX 2 — Button contrast: force white text on primary buttons
   ═══════════════════════════════════════════════════════════════ */
.btn-primary,
a.btn-primary { color: #ffffff !important; }

/* ═══════════════════════════════════════════════════════════════
   FIX — Trust label centering (services page uses .trust-label)
   ═══════════════════════════════════════════════════════════════ */
.trust-label {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--wa-text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .btn-outline:hover {
  border-color: var(--wa-purple-light);
}

/* ═══════════════════════════════════════════════════════════════
   FIX 6 — Tech belt logos (call page)
   ═══════════════════════════════════════════════════════════════ */
.tech-belt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}
.tech-belt img {
  height: 30px;
  width: auto;
  opacity: 0.75;
}
/* Light mode: make white/light logos visible as dark gray */
[data-theme="light"] .tech-belt img {
  filter: brightness(0) saturate(0);
  opacity: 0.45;
}

/* ═══════════════════════════════════════════════════════════════
   FIX 7 — Legal footer text
   ═══════════════════════════════════════════════════════════════ */
.wa-footer-legal {
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: var(--wa-text-muted);
  line-height: 1.5;
  padding-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   FIX 9 — Trust logo text pill badges (services page)
   ═══════════════════════════════════════════════════════════════ */
.trust-logo-text {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: var(--wa-surface-2);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wa-text-dim);
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   FIX 10 — Services 2-column grid
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}
