/* ====== RESET & BASE ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --cyan: #0891B2;
  --blue: #2563EB;
  --indigo: #4F46E5;
  --text: #334155;
  --text-dim: #64748B;
  --text-bright: #0F172A;
  --border: rgba(15, 23, 42, 0.08);
  --card-bg: #FFFFFF;
  --card-border: rgba(15, 23, 42, 0.06);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 24px rgba(37,99,235,0.1), 0 1px 4px rgba(0,0,0,0.04);
  --glow-blue: 0 0 24px rgba(37,99,235,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ====== GRADIENT TEXT ====== */
.gradient-text {
  background: linear-gradient(135deg, #0891B2 0%, #2563EB 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(37,99,235,0.35); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: var(--bg-white);
  border: 1.5px solid rgba(15,23,42,0.12);
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: rgba(37,99,235,0.03); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-link { color: var(--text-dim); font-weight: 500; transition: color 0.2s; }
.btn-link:hover { color: var(--blue); }

/* ====== HEADER ====== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon svg { width: 32px; height: 32px; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--text-bright); }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { color: var(--text-dim); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-menu a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.3s; }

/* ====== LANGUAGE DROPDOWN ====== */
.lang-dropdown { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  color: var(--text); font-weight: 600; font-size: 0.82rem;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.lang-toggle svg { flex-shrink: 0; }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px; padding: 6px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
  z-index: 1001;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 6px;
  background: none; border: none;
  color: var(--text); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.lang-menu button:hover { background: rgba(37,99,235,0.06); color: var(--blue); }
.lang-menu button.active { background: rgba(37,99,235,0.08); color: var(--blue); font-weight: 600; }

/* RTL support */
[dir="rtl"] .hero-inner { direction: rtl; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-ctas { justify-content: flex-start; }
[dir="rtl"] .hero-stats { direction: rtl; }
[dir="rtl"] .arch-row { direction: rtl; }
[dir="rtl"] .section-header { direction: rtl; }
[dir="rtl"] .nav-menu { direction: rtl; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] body { direction: rtl; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg) 100%);
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 900px; height: 600px;
  top: -100px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(37,99,235,0.06) 0%, rgba(124,58,237,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--blue); font-size: 0.85rem; font-weight: 600;
  width: fit-content;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(37,99,235,0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero title */
.hero-title {
  font-size: clamp(2.5rem, 1vw, 4rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-dim);
  line-height: 1.7; max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 20px;
  margin-top: 12px; padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  width: fit-content;
}
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--blue); font-family: 'JetBrains Mono', monospace; }
.stat-label { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* ====== ARCHITECTURE DIAGRAM ====== */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.arch-diagram {
  position: relative;
  width: 100%; min-height: 440px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.arch-diagram-image {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: auto; padding: 20px;
  overflow: hidden;
  background: var(--bg-white);
}
.arch-diagram-image img {
  width: 100%; height: auto; max-width: 720px;
  border-radius: 8px;
  display: block;
}
.arch-arrows {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  pointer-events: none;
  z-index: 2;
}
.arch-arrow {
  fill: none;
  stroke: #93C5FD;
  stroke-width: 0.25;
  stroke-linecap: round;
  stroke-dasharray: 0.5 1.3;
  opacity: 0.9;
}

/* Row-based layout to avoid overlapping */
.arch-row {
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
}
.arch-row-top { justify-content: flex-start; padding-left: 8px; }
.arch-row-mid { gap: 16px; }
.arch-row-bot { justify-content: space-between; }

/* Shared node style */
.arch-node {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text);
  border: 1.5px solid var(--card-border);
  background: var(--bg-subtle);
  white-space: nowrap;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.arch-node:hover { border-color: rgba(37,99,235,0.3); box-shadow: var(--glow-blue); }
.arch-icon { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }

/* Attacker */
.arch-attacker { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.04); }
.arch-attacker .arch-icon { color: #EF4444; }

/* Client */
.arch-client { border-color: rgba(37,99,235,0.2); background: rgba(37,99,235,0.03); }

/* Origin */
.arch-origin { border-color: rgba(16,185,129,0.25); background: rgba(16,185,129,0.04); }

/* Cluster */
.arch-cluster {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 14px 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.04) 0%, rgba(124,58,237,0.03) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  min-width: 200px;
}
.cluster-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.cluster-nodes {
  display: flex; gap: 8px; width: 100%;
}
.cluster-nodes .arch-node {
  flex: 1; flex-direction: column; gap: 4px;
  text-align: center; padding: 10px 8px;
  font-size: 0.7rem;
  background: var(--card-bg);
  border-color: rgba(37,99,235,0.15);
}
.cluster-nodes .arch-node .arch-icon { font-size: 1.1rem; }
.node-status {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 100px;
}
.node-status.active { color: #059669; background: rgba(16,185,129,0.1); }
.cluster-footer {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(37,99,235,0.1);
  width: 100%; text-align: center;
}
.cluster-info {
  font-size: 0.6rem; color: var(--text-dim); font-weight: 500;
}

/* Flow arrows & labels */
.arch-flow {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600; color: var(--text-dim);
  padding: 4px 0;
}
.flow-arrow {
  display: flex; align-items: center; gap: 2px;
  color: var(--blue); font-size: 1rem;
}
.flow-arrow.attack { color: #EF4444; }
.flow-label {
  padding: 3px 10px; border-radius: 6px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em;
}
.flow-label.blocked { color: #EF4444; background: rgba(239,68,68,0.08); }
.flow-label.encrypted { color: var(--blue); background: rgba(37,99,235,0.06); }
.flow-label.sync { color: #7C3AED; background: rgba(124,58,237,0.06); }

/* Animated dotted connector lines between rows */
.arch-connector {
  width: 100%; height: 2px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.arch-connector::before {
  content: '';
  width: 80%; height: 0;
  border-top: 1.5px dashed rgba(37,99,235,0.15);
}

/* SVG lines overlay */
.arch-lines { display: none; } /* we replaced SVG lines with CSS flow */

/* Animated dots in flow */
.flow-dots {
  display: flex; gap: 4px; align-items: center;
}
.flow-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
  animation: flow-pulse 1.5s ease-in-out infinite;
}
.flow-dots span:nth-child(2) { animation-delay: 0.3s; opacity: 0.7; }
.flow-dots span:nth-child(3) { animation-delay: 0.6s; opacity: 0.4; }
@keyframes flow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ====== SOCIAL PROOF ====== */
.social-proof { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-white); }
.social-proof-title {
  text-align: center; color: var(--text-dim);
  font-size: 0.95rem; font-weight: 500;
  margin-bottom: 48px; letter-spacing: 0.02em;
}
.industry-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.industry-icon {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.3s;
}
.industry-icon:hover { transform: translateY(-4px); }
.icon-wrap {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.icon-wrap svg { width: 36px; height: 36px; }
.industry-icon:hover .icon-wrap { border-color: rgba(37,99,235,0.25); box-shadow: var(--glow-blue); }
.industry-icon span { font-size: 0.8rem; color: var(--text-dim); font-weight: 500; text-align: center; }

/* ====== SECTION COMMON ====== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; padding: 6px 14px;
  border-radius: 100px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.12);
  color: var(--blue); font-size: 0.8rem; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.05em; text-transform: uppercase;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-bright); line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--text-dim); max-width: 640px; margin: 0 auto; }

/* ====== CORE VALUES ====== */
.core-values { padding: 120px 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.4s, transform 0.3s, border-color 0.4s;
  display: flex; flex-direction: column; gap: 12px;
}
.value-card:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.value-icon { width: 48px; height: 48px; }
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-bright); }
.value-highlight { font-size: 0.85rem; font-weight: 600; color: var(--blue); }
.value-card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }

/* ====== COMPARISON TABLE ====== */
.comparison { padding: 120px 0; background: linear-gradient(180deg, var(--bg) 0%, #EFF6FF 50%, var(--bg) 100%); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare-table th {
  padding: 24px 20px; font-weight: 700; font-size: 0.95rem;
  text-align: left; border-bottom: 2px solid var(--border);
  background: var(--bg-subtle);
}
.compare-table th span { font-weight: 400; font-size: 0.78rem; color: var(--text-dim); display: block; margin-top: 4px; }
.compare-table td { padding: 20px; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.feat-name { font-weight: 600; color: var(--text-bright); min-width: 160px; }
.col-legacy { background: rgba(239,68,68,0.02); }
.col-zt { background: rgba(37,99,235,0.02); }
th.col-zt { color: var(--blue); }
.compare-table p { margin-top: 6px; font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.status { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.status.good { color: #059669; background: rgba(16,185,129,0.1); }
.status.bad { color: #DC2626; background: rgba(239,68,68,0.08); }
.status.warn { color: #D97706; background: rgba(251,191,36,0.12); }

/* ====== HOW IT WORKS ====== */
.how-it-works { padding: 120px 0; }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin: 0 auto; }
.step-card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover { border-color: rgba(37,99,235,0.2); box-shadow: var(--card-shadow-hover); }
.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, #0891B2, #2563EB);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; flex-shrink: 0;
}
.step-body { display: flex; flex-direction: column; gap: 12px; }
.step-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); }
.step-body p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }
.step-connector {
  width: 2px; height: 40px;
  background: linear-gradient(180deg, var(--blue), transparent);
  margin: 0 auto; opacity: 0.2;
}
.code-snippet {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; line-height: 1.7;
  padding: 16px; border-radius: 10px;
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.06);
  color: #E2E8F0;
  overflow-x: auto;
}
.code-comment { color: #64748B; }
.code-keyword { color: #A78BFA; }
.code-str { color: #34D399; }
.code-fn { color: #60A5FA; }
.code-num { color: #FBBF24; }
.code-success { color: #34D399; }

/* ====== SOLUTIONS TABS ====== */
.solutions { padding: 120px 0; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab {
  padding: 10px 24px; border-radius: 100px;
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  color: var(--text-dim); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.3s;
}
.tab:hover { color: var(--text); border-color: rgba(15,23,42,0.15); }
.tab.active {
  background: rgba(37,99,235,0.06);
  border-color: var(--blue);
  color: var(--blue);
}
.tab-panels { position: relative; }
.tab-panel { display: none; animation: fadeIn 0.4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.panel-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px;
  align-items: center;
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.panel-content h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-bright); margin-bottom: 12px; }
.panel-content p { color: var(--text-dim); line-height: 1.7; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text); }
.check { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.panel-visual { display: flex; flex-direction: column; gap: 16px; }
.metric-card {
  padding: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-align: center;
}
.metric-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, #0891B2, #2563EB);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.metric-label { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }

/* ====== FINAL CTA ====== */
.final-cta {
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #EFF6FF 100%);
}
.cta-glow {
  position: absolute; z-index: 0;
  width: 600px; height: 400px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(37,99,235,0.06) 0%, rgba(124,58,237,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--text-bright);
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.final-cta p { font-size: 1.15rem; color: var(--text-dim); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ====== FOOTER ====== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--card-border);
  border-radius: 8px; font-size: 1rem;
  transition: border-color 0.3s, color 0.3s;
}
.footer-social a:hover { border-color: var(--blue); color: var(--blue); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-weight: 700; color: var(--text-bright); font-size: 0.9rem; margin-bottom: 4px; }
.footer-col a { color: var(--text-dim); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-dim); }
.footer-badges { display: flex; gap: 8px; }
.trust-badge {
  padding: 4px 12px; border-radius: 100px;
  background: rgba(37,99,235,0.05);
  border: 1px solid rgba(37,99,235,0.12);
  color: var(--blue); font-size: 0.75rem; font-weight: 600;
}

/* ====== INTEGRATION PROCESS ====== */
.integration-process { padding: 100px 0; background: var(--bg-white); }
.process-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin-top: 48px;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; min-width: 110px;
}
.process-circle {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid rgba(37,99,235,0.12);
  box-shadow: 0 4px 20px rgba(37,99,235,0.08), inset 0 0 0 4px #fff;
  color: var(--blue);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.process-step:hover .process-circle {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.25);
  box-shadow: 0 8px 28px rgba(37,99,235,0.14), inset 0 0 0 4px #fff;
}
.process-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-bright); text-align: center;
}
.process-arrow {
  width: 64px; height: 32px;
  color: var(--blue);
  opacity: 0.35;
  flex-shrink: 0;
}
.process-arrow svg { width: 100%; height: 100%; }

/* ====== PRICING ====== */
.pricing { padding: 100px 0; background: var(--bg); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.pricing-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.pricing-card.featured {
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 4px 24px rgba(37,99,235,0.1), var(--card-shadow);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: #fff;
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
}
.pricing-header { margin-bottom: 20px; }
.pricing-header h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-bright); margin-bottom: 6px; }
.pricing-header p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.pricing-price {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 24px;
}
.price-symbol { font-size: 1.1rem; font-weight: 600; color: var(--text-bright); }
.price-value { font-size: 2.2rem; font-weight: 900; color: var(--text-bright); }
.price-period { font-size: 0.85rem; color: var(--text-dim); }
.pricing-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px; flex-grow: 1;
}
.pricing-features li {
  position: relative; padding-left: 22px;
  font-size: 0.88rem; color: var(--text);
}
.pricing-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}
.pricing-card .btn-primary, .pricing-card .btn-secondary {
  width: 100%; text-align: center; justify-content: center;
}
.pricing-note {
  text-align: center; margin-top: 40px;
  color: var(--text-dim); font-size: 0.9rem;
}

/* ====== SCROLL REVEAL ====== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .values-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cluster-nodes { flex-direction: column; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 12px; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .arch-diagram { padding: 16px 12px; min-height: auto; }
  .cluster-nodes { flex-direction: column; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 14px 12px; }
  .steps { gap: 0; }
  .step-card { flex-direction: column; gap: 16px; }
  .tabs { gap: 6px; }
  .tab { padding: 8px 16px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .panel-grid { padding: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-flow { flex-direction: column; gap: 16px; }
  .process-arrow {
    width: 32px; height: 48px;
    transform: rotate(90deg);
  }
}
