/* ============================================
   SISTEM.KS — Editorial Design System v2
   Premium / Minimal / Luxury Technology
   Inspired by: Apple, Linear, Nothing, Arc
   ============================================ */

/* ---------- ROOT TOKENS ---------- */
:root {
  --bg: #F7F6F3;
  --bg-warm: #FAFAF8;
  --white: #FFFFFF;
  --text: #0B0B0D;
  --text-secondary: #4A4A52;
  --muted: #8A8A92;
  --accent: #215CFF;
  --accent-light: rgba(33, 92, 255, 0.08);
  --accent-hover: #1a4dd6;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1200px;
  --max-w-wide: 1400px;
  --max-w-narrow: 760px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { opacity: 0.72; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ---------- TYPOGRAPHY SCALE ---------- */
.display {
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.h4 {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.h5 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.body-lg { font-size: 1.1875rem; line-height: 1.65; color: var(--text-secondary); font-weight: 400; }
.body { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); font-weight: 400; }
.body-sm { font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.mono { font-variant-numeric: tabular-nums; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.container-wide { width: 100%; max-width: var(--max-w-wide); margin: 0 auto; padding: 0 28px; }
.container-narrow { width: 100%; max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 28px; }

.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding: 2rem 0; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; display: block; }
.section-head .body-lg { margin-top: 1.25rem; }

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }

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

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; } .mb-8 { margin-bottom: 4rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 243, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.header-logo img, .header-logo-img {
  height: 32px; width: auto;
}
.header-logo-text {
  font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; color: var(--text);
}
.logo-dot {
  color: var(--accent);
}
.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text); opacity: 0.6;
}
.header-nav a:hover, .header-nav a.active { opacity: 1; color: var(--accent); }
.header-cta-group { display: flex; align-items: center; gap: 14px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; border: none; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover); opacity: 1;
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(33,92,255,0.28);
}
.btn-dark {
  background: var(--text); color: #fff;
}
.btn-dark:hover {
  background: #1a1a1e; opacity: 1;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.2); opacity: 1;
}
.btn-white {
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
}
.btn-white:hover {
  opacity: 0.9; transform: translateY(-1px);
}
.btn-lg { padding: 15px 32px; font-size: 0.9375rem; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 0.8125rem; }

/* ---------- LANG TOGGLE ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 32px; border-radius: 8px;
  background: transparent; color: var(--text); opacity: 0.6;
  border: 1px solid var(--border-strong);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  cursor: pointer; transition: all 0.2s ease;
}
.lang-toggle:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; border-radius: 2px; }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-content { max-width: 640px; }
.hero-content .eyebrow { margin-bottom: 1.25rem; display: block; }
.hero-content .display { margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.55; max-width: 520px; margin-bottom: 1rem; }
.hero-desc { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 500px; }
.hero-cta {
  display: flex; gap: 14px; margin-top: 2.5rem; flex-wrap: wrap;
}

/* Hero visual — blue spiral / abstract */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
}
.hero-visual-art {
  width: 100%; max-width: 420px; aspect-ratio: 1;
  position: relative;
}
.hero-visual-art svg { width: 100%; height: 100%; }
.hero-logo-img { max-width: 380px; width: 100%; height: auto; }

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.75rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- PROCESS BAR ---------- */
.process-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.process-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.process-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text); opacity: 0.5;
}
.process-item.active { color: var(--accent); opacity: 1; }
.process-item .process-dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.process-sep { width: 24px; height: 1px; background: var(--border-strong); }

/* ---------- SECTION HEADERS ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

/* ---------- ECOSYSTEM GRID ---------- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.eco-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.eco-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33,92,255,0.15);
}
.eco-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.eco-card:hover::before { transform: scaleX(1); }
.eco-card .eco-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; margin-bottom: 24px;
}
.eco-card h3 { margin-bottom: 6px; }
.eco-card .eco-desc { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.eco-card .eco-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; font-size: 0.875rem;
}
.eco-card .eco-link::after { content: '→'; transition: transform 0.2s; }
.eco-card:hover .eco-link::after { transform: translateX(4px); }
.eco-card .eco-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted);
  padding: 4px 10px; border-radius: 100px;
  background: var(--bg);
}
.eco-card-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 12px; margin-top: 16px;
}

/* ---------- STANDARD VS CUSTOM ---------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-card {
  padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s ease;
}
.split-card.light {
  background: var(--white);
  border: 1px solid var(--border);
}
.split-card.light:hover { box-shadow: var(--shadow-md); }
.split-card.dark {
  background: var(--text);
  color: #fff;
}
.split-card.dark .body, .split-card.dark .body-lg { color: rgba(255,255,255,0.55); }
.split-card-tag {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 4px;
}
.split-card.dark .split-card-tag { color: #4F8AFF; }
.split-card .check-list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 20px; }
.split-card .check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--text-secondary);
}
.split-card .check-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.split-card.dark .check-list li { color: rgba(255,255,255,0.6); }
.split-card.dark .check-list li::before { color: #4F8AFF; }

/* ---------- STATS ---------- */
.stats-section { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  padding: clamp(2.5rem, 5vw, 4rem) 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; }
.cta-banner .body-lg { color: rgba(255,255,255,0.55); max-width: 480px; margin: 1rem auto 0; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ---------- PRODUCT HERO ---------- */
.hero-product {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.hero-product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  margin-bottom: 1.5rem; transition: color 0.2s;
}
.back-link:hover { color: var(--accent); opacity: 1; }
.hero-product-content .eyebrow { margin-bottom: 1rem; display: block; }
.hero-product-content .display { margin-bottom: 1.25rem; }
.hero-product-sub { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.55; max-width: 500px; margin-bottom: 1rem; }
.hero-product-desc { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 480px; }

/* Product device mockup */
.product-mockup {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.device-frame {
  background: var(--text);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 380px;
}
.device-screen {
  background: var(--bg-warm);
  border-radius: 10px;
  padding: 24px 20px;
  min-height: 420px;
}
.device-screen .ds-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.device-screen .ds-logo {
  font-size: 0.875rem; font-weight: 700; color: var(--text);
}
.device-screen .ds-badge {
  font-size: 0.625rem; font-weight: 600; color: var(--accent);
  background: var(--accent-light); padding: 3px 8px; border-radius: 100px;
}
.device-screen .ds-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px;
}
.device-screen .ds-stat {
  background: var(--white); border-radius: 10px; padding: 14px;
  border: 1px solid var(--border);
}
.device-screen .ds-stat .ds-label { font-size: 0.6875rem; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.device-screen .ds-stat .ds-value { font-size: 1.25rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.device-screen .ds-chart {
  background: var(--white); border-radius: 10px; padding: 16px;
  border: 1px solid var(--border); margin-bottom: 12px;
}
.device-screen .ds-chart-title { font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; }
.device-screen .ds-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.device-screen .ds-bar {
  flex: 1; background: var(--accent); border-radius: 3px 3px 0 0;
  opacity: 0.85; transition: opacity 0.3s;
}
.device-screen .ds-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}
.device-screen .ds-list-item:last-child { border-bottom: none; }
.device-screen .ds-list-item .ds-li-name { color: var(--text); font-weight: 500; }
.device-screen .ds-list-item .ds-li-time { color: var(--muted); font-size: 0.75rem; }

/* ---------- FEATURE GRID ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.feature-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33,92,255,0.12);
}
.feature-block .feature-icon-large {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 20px;
}
.feature-block h3 { margin-bottom: 6px; }
.feature-block p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* ---------- FEATURE ROW (Alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-row.reverse .feature-text { order: 2; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-list-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-list-item .fi-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.feature-list-item h4 { font-size: 1rem; margin-bottom: 2px; }
.feature-list-item p { font-size: 0.875rem; }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(33,92,255,0.1);
  position: relative;
}
.pricing-card.featured::after {
  content: 'Most Popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 600;
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pricing-card .plan-name {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px;
}
.pricing-card .plan-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.pricing-price { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.pricing-price .pricing-unit { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; flex-grow: 1; }
.pricing-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.5;
}
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Pricing rows (barber system) */
.pricing-rows {
  max-width: 560px; margin: 0 auto;
}
.pricing-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.pricing-row:last-of-type { border-bottom: none; }
.pricing-label { font-size: 1rem; font-weight: 500; color: var(--text); }
.pricing-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.pricing-value .pricing-unit { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.pricing-row--featured .pricing-label { color: var(--accent); font-weight: 700; }
.pricing-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- BOOKING FLOW STEPS ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.step-card .step-num {
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.step-card h4 { margin-bottom: 6px; }
.step-card p { font-size: 0.875rem; }

/* ---------- DASHBOARD PREVIEW ---------- */
.section-dark {
  background: var(--text); color: #fff;
}
.section-dark .h2 { color: #fff; }
.section-dark .body, .section-dark .body-lg { color: rgba(255,255,255,0.55); }
.section-dark .section-sub { color: rgba(255,255,255,0.55); }

.section-tinted { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-grid-three {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-block-light {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px;
}
.feature-block-light h3 { color: #fff; }
.feature-num {
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}

.dot-list {
  list-style: none; padding: 0; margin: 16px 0 0;
}
.dot-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot-list li:last-child { border-bottom: none; }
.dot-list li::before {
  content: ''; width: 5px; height: 5px; background: var(--accent);
  border-radius: 50%; position: absolute; left: 4px; top: 16px;
}

/* ---------- ROLES ---------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.role-card .role-icon { font-size: 1.5rem; margin-bottom: 14px; }
.role-card h4 { margin-bottom: 4px; }
.role-card .role-subtitle { font-size: 0.8125rem; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.role-card ul li { font-size: 0.875rem; color: var(--text-secondary); padding: 5px 0; }

/* ---------- FORM ---------- */
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-label, .form-group label {
  font-size: 0.875rem; font-weight: 600; margin-bottom: 7px; color: var(--text);
}
.form-input, .form-select, .form-textarea, .form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; font-size: 0.9375rem;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 12px;
  background: var(--white); color: var(--text);
  font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(33,92,255,0.1);
}
.form-textarea, .form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- ARCHITECTURE (3 Experiences) ---------- */
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arch-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.arch-card .arch-num {
  font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
}
.arch-card ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.arch-card ul li { font-size: 0.875rem; color: var(--text-secondary); padding-left: 16px; position: relative; }
.arch-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; margin: 48px 0; }
.about-text p { font-size: 1.0625rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 20px; }
.about-text p strong { color: var(--text); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; margin: 48px 0; }
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--text); color: #fff; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { color: #fff; margin-bottom: 12px; font-size: 1.125rem; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.9375rem; max-width: 320px; line-height: 1.6; }
.footer-col h5 {
  color: #fff; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.45); font-size: 0.9375rem; }
.footer-col ul li a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8125rem; }

/* ---------- UTILITIES ---------- */
.divider { height: 1px; background: var(--border); margin: clamp(3rem,6vw,5rem) 0; }
.bg-white { background: var(--white); }
.bg-dark { background: var(--text); color: #fff; }
.rounded-xl { border-radius: var(--radius-lg); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-secondary { color: var(--text-secondary); }
.full-w { width: 100%; }
.hidden { display: none !important; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.fade-up-delay-1 { animation-delay: 0.08s; }
.fade-up-delay-2 { animation-delay: 0.16s; }
.fade-up-delay-3 { animation-delay: 0.24s; }
.fade-up-delay-4 { animation-delay: 0.32s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid, .hero-product-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 280px; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .feature-grid-three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .split-section, .feature-row, .pricing-grid, .steps-grid, .arch-grid, .role-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .header-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 24px;
    border-bottom: 1px solid var(--border); gap: 16px;
  }
  .header-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-cta-group .btn:not(.btn-primary):not(.btn-dark) { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .container, .container-wide, .container-narrow { padding: 0 18px; }
  .feature-block, .eco-card, .pricing-card, .split-card, .step-card { padding: 24px; }
  .cta-banner { padding: 2rem 1.5rem; }
  .process-bar-inner { gap: 1rem; }
  .process-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
