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

:root {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #eef2f7;
  --surface: rgba(15,23,42,0.04);
  --surface-hover: rgba(15,23,42,0.07);
  --border: rgba(15,23,42,0.10);
  --border-hover: rgba(79,70,229,0.40);
  --text: #0f172a;
  --text-muted: #4b5563;
  --text-dim: #94a3b8;
  --accent: #4f46e5;
  --accent2: #0891b2;
  --accent-soft: rgba(79,70,229,0.07);
  --accent-line: rgba(79,70,229,0.18);
  --accent-shadow: rgba(79,70,229,0.28);
  --green: #15803d;
  --green-soft: rgba(21,128,61,0.10);
  --amber: #b45309;
  --amber-soft: rgba(180,83,9,0.10);
  --rose: #be123c;
  --rose-soft: rgba(190,18,60,0.10);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,0.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #080b16;
  --bg2: #0e1220;
  --bg3: #151b2b;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.09);
  --border-hover: rgba(129,140,248,0.40);
  --text: #e6ebf5;
  --text-muted: #98a2b8;
  --text-dim: #64748b;
  --accent: #818cf8;
  --accent2: #22d3ee;
  --accent-soft: rgba(129,140,248,0.10);
  --accent-line: rgba(129,140,248,0.24);
  --accent-shadow: rgba(99,102,241,0.35);
  --green: #4ade80;
  --green-soft: rgba(74,222,128,0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251,191,36,0.12);
  --rose: #fb7185;
  --rose-soft: rgba(251,113,133,0.12);
  --shadow: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); color: inherit; }
input, select, textarea { font-family: var(--font); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent2) 50%, var(--accent) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-head { max-width: 700px; }
.section-head.centered { margin: 0 auto; text-align: center; }
.section-head.centered .section-sub { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px var(--accent-shadow);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-shadow); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.nav-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-wrapper.scrolled {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(15,23,42,0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; letter-spacing: -0.02em; }
.logo-icon { display: flex; }
.logo-text { color: var(--text); }
.logo-text strong { color: var(--accent); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover { color: var(--text); background: var(--surface); }
.chevron { font-size: 0.65rem; opacity: 0.6; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 240px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.15s;
}
.dropdown-menu a:hover { color: var(--text); background: var(--surface); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--border-hover); background: var(--surface-hover); }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  gap: 2px;
}
.mobile-menu a { padding: 12px 0; font-size: 1rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-cta { margin-top: 16px; text-align: center; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 24px 80px;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  gap: 56px;
}

.hero-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--accent-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--accent-shadow) 0%, transparent 70%);
  top: -160px; right: -120px;
  opacity: 0.5;
}
.glow-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent2) 0%, transparent 70%);
  bottom: -120px; left: 6%;
  opacity: 0.12;
}

.hero-content { flex: 1; min-width: 0; max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px 6px 10px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }

.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hm-num { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.hm-label { display: block; font-size: 0.8rem; color: var(--text-muted); }

/* ===== HERO MOCKUP ===== */
.hero-visual { flex: 1; min-width: 0; position: relative; }

.console-mockup {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-line);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.console-mockup:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }

.mockup-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-bar > span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar > span:nth-child(1) { background: #ff5f57; }
.mockup-bar > span:nth-child(2) { background: #febc2e; }
.mockup-bar > span:nth-child(3) { background: #28c840; }
.mockup-bar-title { flex: 1; text-align: center; font-size: 0.76rem; color: var(--text-muted); font-weight: 500; }

.mockup-body { display: flex; min-height: 384px; }

.mockup-sidebar {
  width: 146px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  border-radius: 7px;
  transition: all 0.15s;
}
.sidebar-item:hover, .sidebar-item.active { background: var(--surface-hover); color: var(--accent); }

.mockup-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }

.mockup-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px;
}
.stat-num { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { font-size: 0.62rem; color: var(--text-muted); line-height: 1.35; }
.stat-card.accent-card { border-color: var(--accent-line); background: var(--accent-soft); }
.stat-card.accent-card .stat-num { color: var(--accent); }

.mockup-chart { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 12px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.chart-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }
.chart-tag { font-size: 0.6rem; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 2px 7px; border-radius: 5px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 58px; }
.bar-group { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; height: 100%; justify-content: flex-end; }
.bar {
  width: 100%;
  height: var(--h);
  background: linear-gradient(to top, var(--accent), var(--accent2));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.bar.bar-dim { background: var(--surface-hover); opacity: 1; }
.bar-group span { font-size: 0.54rem; color: var(--text-dim); }

.mockup-rows { display: flex; flex-direction: column; gap: 6px; }
.row-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.row-avatar {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  flex-shrink: 0;
}
.row-info { flex: 1; min-width: 0; }
.row-title { font-size: 0.72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 0.62rem; color: var(--text-muted); }
.pill { font-size: 0.6rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; flex-shrink: 0; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-accent { background: var(--accent-soft); color: var(--accent); }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.card-1 { bottom: 24px; left: -34px; animation-delay: 0s; }
.card-2 { top: -24px; right: -26px; animation-delay: 1.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.fc-title { font-size: 0.8rem; font-weight: 600; }
.fc-sub { font-size: 0.7rem; color: var(--text-muted); }

/* ===== LOGOS ===== */
.logos-strip {
  padding: 44px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 24px;
}
.logos-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-inner { display: flex; gap: 56px; width: max-content; animation: logoScroll 36s linear infinite; }
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.2s;
}
.logo-item svg { flex-shrink: 0; opacity: 0.75; }
.logo-item:hover { color: var(--text-muted); }

/* ===== STATS ===== */
.stats-section { padding: 84px 0; background: var(--bg); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg2);
}
.stats-item {
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.stats-item:last-child { border-right: none; }
.stats-item:hover { background: var(--bg3); }
.stats-value { display: flex; align-items: flex-start; }
.stats-num {
  display: inline-block;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-suffix { font-size: 1.6rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stats-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; margin-top: 8px; }

/* ===== ABOUT ===== */
.about-section { padding: 92px 0; background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.ap-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.ap-text { font-size: 0.95rem; color: var(--text-muted); }
.ap-text strong { color: var(--text); font-weight: 600; }

.timeline-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.timeline-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 24px; }
.tl-row { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.tl-row:last-child { padding-bottom: 0; }
.tl-row::before {
  content: '';
  position: absolute;
  left: 5px; top: 18px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.tl-row:last-child::before { display: none; }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 0 4px var(--accent-soft);
  z-index: 1;
}
.tl-year { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.tl-title { font-size: 0.95rem; font-weight: 600; margin: 2px 0 4px; }
.tl-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ===== SERVICES (TABS) ===== */
.services-section { padding: 92px 0; background: var(--bg); }
.services-section .section-head { margin-bottom: 44px; }

.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  margin-bottom: 40px;
  overflow-x: auto;
}
.tab-btn {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 9px;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text); background: var(--surface); }
.tab-btn.active { background: var(--bg); color: var(--accent); box-shadow: var(--shadow); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tab-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tab-text h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.tab-text > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; }

.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; color: var(--text-muted); }
.check { color: var(--green); font-weight: 800; flex-shrink: 0; }

.tab-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.tab-visual { position: relative; }
.panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-hover); }
.panel-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; }

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.feed-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feed-body { flex: 1; min-width: 0; }
.feed-title { display: block; font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-meta { display: block; font-size: 0.72rem; color: var(--text-muted); font-family: var(--mono); }

/* pipeline */
.pipeline { display: flex; flex-direction: column; gap: 8px; }
.pipe-node {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
}
.pipe-node.done { background: var(--green-soft); border-color: var(--green-soft); }
.pipe-node.running { background: var(--accent-soft); border-color: var(--accent-line); }
.pipe-status { margin-left: auto; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); font-family: var(--mono); }
.pipe-node.done .pipe-status { color: var(--green); }
.pipe-node.running .pipe-status { color: var(--accent); }
.pipe-arrow { text-align: center; color: var(--text-dim); font-size: 0.9rem; line-height: 1; }

/* device */
.device-frame {
  width: 194px;
  margin: 8px auto;
  border: 8px solid var(--bg3);
  border-radius: 26px;
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.device-notch { height: 18px; background: var(--bg3); border-radius: 0 0 10px 10px; width: 78px; margin: 0 auto 8px; }
.device-body { padding: 4px 12px 16px; display: flex; flex-direction: column; gap: 9px; }
.dv-hero { border-radius: 10px; padding: 12px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.dv-hero .dv-k { font-size: 0.58rem; opacity: 0.85; }
.dv-hero .dv-v { font-size: 1.15rem; font-weight: 800; }
.dv-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 10px; }
.dv-k { font-size: 0.6rem; color: var(--text-muted); }
.dv-v { font-size: 0.85rem; font-weight: 700; }
.dv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dv-bar { height: 5px; border-radius: 3px; background: var(--surface-hover); overflow: hidden; margin-top: 6px; }
.dv-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; }

/* metric grid */
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.metric-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 13px; }
.mt-k { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 4px; }
.mt-v { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.mt-delta { font-size: 0.66rem; font-weight: 700; color: var(--green); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 44px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; box-sizing: content-box; }
.spark i { flex: 1; background: linear-gradient(to top, var(--accent), var(--accent2)); border-radius: 2px; opacity: .8; }

/* checklist */
.check-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.83rem;
}
.cr-box {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800;
  flex-shrink: 0;
}
.cr-box.pending { background: var(--surface-hover); color: var(--text-dim); }
.cr-time { margin-left: auto; font-size: 0.68rem; color: var(--text-dim); font-family: var(--mono); }

/* ===== PROCESS ===== */
.process-section { padding: 92px 0; background: var(--bg2); }
.process-section .section-head { margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  padding: 32px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  position: relative;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.05em;
}
.step-icon { margin-bottom: 14px; color: var(--accent); }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.step-meta {
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* ===== WORK ===== */
.work-section { padding: 92px 0; background: var(--bg); }
.work-section .section-head { margin-bottom: 48px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.work-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.work-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.work-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.work-card > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.work-results { display: flex; gap: 20px; padding-top: 18px; border-top: 1px solid var(--border); margin-bottom: 16px; }
.wr-item { display: flex; flex-direction: column; }
.wr-num { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.wr-label { display: block; font-size: 0.72rem; color: var(--text-muted); }
.work-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.work-stack .chip { font-size: 0.68rem; padding: 3px 9px; }

/* ===== INDUSTRIES ===== */
.industries-section { padding: 92px 0; background: var(--bg2); }
.industries-section .section-head { margin-bottom: 48px; }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card {
  padding: 28px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.industry-card:hover { border-color: var(--border-hover); background: var(--bg); transform: translateY(-4px); }
.ind-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.industry-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 9px; }
.industry-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ===== TECH STACK ===== */
.tech-section { padding: 92px 0; background: var(--bg); }
.tech-section .section-head { margin-bottom: 44px; }
.tech-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-group {
  padding: 26px 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.tech-group h4 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.tech-group ul { display: flex; flex-direction: column; gap: 9px; }
.tech-group li { font-size: 0.88rem; color: var(--text-muted); display: flex; align-items: center; gap: 9px; }
.tech-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.6; flex-shrink: 0; }

/* ===== ENGAGEMENT ===== */
.engage-section { padding: 92px 0; background: var(--bg2); }
.engage-section .section-head { margin-bottom: 48px; }
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.engage-card {
  padding: 34px 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  position: relative;
}
.engage-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.engage-card.featured {
  border-color: var(--accent-line);
  background: linear-gradient(150deg, var(--accent-soft), transparent 60%), var(--bg);
  box-shadow: 0 0 40px var(--accent-soft);
}
.engage-flag {
  position: absolute;
  top: -13px; left: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.engage-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.engage-fit { font-size: 0.82rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.engage-card > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.engage-list { display: flex; flex-direction: column; gap: 10px; }
.engage-list li { font-size: 0.88rem; color: var(--text-muted); display: flex; gap: 9px; align-items: flex-start; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 92px 0; background: var(--bg); }
.testimonials-section .section-head { margin-bottom: 48px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  padding: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-card.featured {
  background: linear-gradient(150deg, var(--accent-soft), transparent 65%), var(--bg2);
  border-color: var(--accent-line);
}
.testi-stars { color: var(--amber); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 3px; }
.testi-card > p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 600; }
.testi-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-section { padding: 92px 0; background: var(--bg2); }
.faq-section .section-head { margin-bottom: 44px; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-hover); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}
.faq-icon { color: var(--accent); font-size: 1.2rem; line-height: 1; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

/* ===== CTA ===== */
.cta-section { padding: 92px 0 100px; background: var(--bg); position: relative; }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 52px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent-shadow) 0%, transparent 70%);
  top: -280px; right: -160px;
  opacity: 0.35;
  pointer-events: none;
  border-radius: 50%;
}
.cta-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.cta-contacts { display: flex; flex-direction: column; gap: 16px; }
.cta-contact { display: flex; gap: 13px; align-items: flex-start; }
.cc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta-contact > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.cc-label { display: block; font-size: 0.74rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.cc-value { display: block; font-size: 0.94rem; font-weight: 600; }

.contact-form { position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 92px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group select option { background: var(--bg); color: var(--text); }
.submit-btn { margin-top: 6px; font-size: 1rem; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-dim); margin-top: 14px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 320px 1fr; gap: 72px; margin-bottom: 52px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--border-hover); }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 0.87rem; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.84rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.84rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-animate] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 116px; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { width: 100%; max-width: 620px; margin: 0 auto; }
  .console-mockup { transform: none; }
  .floating-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .tab-inner { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: none; }
  .stats-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .steps-grid, .tech-groups { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .industries-grid, .engage-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 20px 64px; }
  .section-head.centered, .section-head { text-align: left; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item { padding: 30px 18px; }
  .steps-grid, .tech-groups, .work-grid, .industries-grid, .engage-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .tab-nav { flex-wrap: wrap; }
  .tab-btn { flex: 1 1 calc(50% - 4px); }
  .form-row { grid-template-columns: 1fr; }
  .mockup-stats { grid-template-columns: repeat(2, 1fr); }
  .mockup-sidebar { display: none; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { padding: 32px 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-item:last-child { border-bottom: none; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-meta { gap: 18px; }
}
