:root {
  --wf-bg: #ffffff;
  --wf-bg-soft: #f8fafc;
  --wf-text: #0f172a;
  --wf-text-muted: #475569;
  --wf-accent: #2563eb;
  --wf-accent-soft: #dbeafe;
  --wf-border: #e2e8f0;
  --wf-card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --wf-space-xs: 8px;
  --wf-space-sm: 16px;
  --wf-space-md: 24px;
  --wf-space-lg: 48px;
  --wf-space-xl: 80px;
  --wf-radius: 8px;
  --wf-font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wf-font-display: 'Georgia', serif;
}

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

body {
  font-family: var(--wf-font-main);
  color: var(--wf-text);
  background-color: var(--wf-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--wf-font-display);
  line-height: 1.2;
}

p {
  color: var(--wf-text-muted);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem);
}

section {
  margin-top: var(--wf-space-xl);
  padding: var(--wf-space-md) 0;
}

main > :first-child {
  margin-top: 0;
}

/* Navigation */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--wf-border);
  background: var(--wf-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--wf-accent);
  text-decoration: none;
  font-family: var(--wf-font-display);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: var(--wf-space-md);
}

.nav-links a {
  text-decoration: none;
  color: var(--wf-text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--wf-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--wf-accent);
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--wf-accent);
  color: var(--wf-accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--wf-accent-soft);
}

/* Hero */
.hero {
  padding: var(--wf-space-xl) 0;
  background: linear-gradient(135deg, var(--wf-bg-soft) 0%, #fff 100%);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto var(--wf-space-sm);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--wf-space-md);
}

.hero-actions {
  display: flex;
  gap: var(--wf-space-sm);
  justify-content: center;
}

/* Cards & Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--wf-space-md);
}

.card {
  background: white;
  padding: var(--wf-space-md);
  border-radius: var(--wf-radius);
  border: 1px solid var(--wf-border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: var(--wf-space-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wf-card-shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--wf-accent-soft);
  color: var(--wf-accent);
  border-radius: var(--wf-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Comparison/Split Sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wf-space-lg);
  align-items: center;
}

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

/* Feature Specific */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--wf-text-muted);
}

.feature-list svg {
  color: var(--wf-accent);
  flex-shrink: 0;
}

/* Architecture Section */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--wf-space-sm);
  margin-top: var(--wf-space-md);
}

.arch-card {
  background: var(--wf-bg-soft);
  padding: var(--wf-space-sm);
  border-radius: var(--wf-radius);
  border-left: 4px solid var(--wf-accent);
}

.arch-card h4 {
  margin-bottom: 8px;
  font-family: var(--wf-font-main);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--wf-accent);
}

/* Engagement Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wf-space-md);
  position: relative;
}

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

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--wf-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: bold;
}

/* Footer */
footer {
  margin-top: var(--wf-space-xl);
  background: var(--wf-text);
  color: white;
  padding: var(--wf-space-lg) 0;
}

footer p {
  color: #94a3b8;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--wf-space-lg);
}

.placeholder-image {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: var(--wf-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  width: 100%;
  aspect-ratio: 16/9;
}

.placeholder-image::after {
  content: attr(data-label);
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--wf-accent-soft);
  color: var(--wf-accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tagline {
  font-weight: 600;
  color: var(--wf-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
}
