/* ============================================
   Yantech — Modern SaaS Landing
   ============================================ */

:root {
  --bg: #07091c;
  --bg-2: #0b0e2a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e7e9f5;
  --text-muted: #a1a5c4;
  --text-dim: #6f7497;
  --primary: #8b5cf6;
  --primary-2: #6366f1;
  --accent: #60a5fa;
  --grad: linear-gradient(135deg, #a78bfa 0%, #6366f1 50%, #3b82f6 100%);
  --grad-soft: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(96, 165, 250, 0.12));
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow: 0 20px 60px -25px rgba(99, 102, 241, 0.45);
  --shadow-card: 0 30px 80px -40px rgba(99, 102, 241, 0.5);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ============================================
   Background
   ============================================ */

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(99, 102, 241, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
  overflow: hidden;
}

.bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
  top: -150px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  top: 200px;
  right: -200px;
}

.orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  bottom: -200px;
  left: 30%;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}

.eyebrow-center {
  margin: 0 auto 22px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-head-left {
  text-align: left;
  margin: 0 0 56px;
  max-width: 720px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

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

.section-head .section-sub {
  margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -10px rgba(139, 92, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-1px);
}

.link-muted {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.link-muted:hover {
  color: var(--text);
}

/* ============================================
   Navigation
   ============================================ */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 9, 28, 0.6);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-wrap.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 9, 28, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
}

.logo-text {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-item strong {
  font-size: 22px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Space Grotesk', sans-serif;
}

.meta-item span {
  font-size: 13px;
  color: var(--text-dim);
}

.meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ============================================
   Hero Visual
   ============================================ */

.hero-visual {
  position: relative;
  width: 100%;
  height: 540px;
}

.dashboard-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(15, 18, 42, 0.92), rgba(11, 14, 42, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), transparent);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.dash-dots span:nth-child(1) { background: rgba(239, 68, 68, 0.55); }
.dash-dots span:nth-child(2) { background: rgba(245, 158, 11, 0.55); }
.dash-dots span:nth-child(3) { background: rgba(34, 197, 94, 0.55); }

.dash-title {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  flex: 1;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4ade80;
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-weight: 500;
}

.stat-value {
  font-size: 22px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-trend {
  font-size: 11px;
  font-weight: 600;
}

.stat-trend.up {
  color: #4ade80;
}

.dash-chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.chart-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.chart-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.chart-legend {
  display: flex;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.dot-purple { background: #a78bfa; }
.dot-blue { background: #60a5fa; }

.chart-svg {
  width: 100%;
  height: 130px;
}

.line-path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawLine 2.5s ease-out 0.3s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.area-path {
  opacity: 0;
  animation: fadeIn 1.5s ease-out 1.8s forwards;
}

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

.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.row-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(167, 139, 250, 0.2);
  position: relative;
  flex-shrink: 0;
}

.row-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(167, 139, 250, 0.7);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.icon-bolt::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 3L4 14h7l-1 7 9-11h-7l1-7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 3L4 14h7l-1 7 9-11h-7l1-7z'/%3E%3C/svg%3E");
  -webkit-mask-size: 16px;
  mask-size: 16px;
}

.icon-spark::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l2 6 6 2-6 2-2 6-2-6-6-2 6-2 2-6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l2 6 6 2-6 2-2 6-2-6-6-2 6-2 2-6z'/%3E%3C/svg%3E");
  -webkit-mask-size: 16px;
  mask-size: 16px;
}

.row-text {
  flex: 1;
}

.row-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1px;
}

.row-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.row-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.tag-success {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.tag-info {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: linear-gradient(155deg, rgba(20, 23, 50, 0.95), rgba(15, 18, 42, 0.92));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card-1 {
  bottom: 70px;
  left: -40px;
  animation-delay: 0s;
}

.float-card-2 {
  top: 110px;
  right: -30px;
  font-size: 13px;
  font-weight: 500;
  animation-delay: 1.5s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  position: relative;
  flex-shrink: 0;
}

.float-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 12l4-4 4 6 4-8 6 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}

.float-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-value {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  position: relative;
}

.ping::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #a78bfa;
  animation: pingAnim 2s ease-out infinite;
}

@keyframes pingAnim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* ============================================
   Logos
   ============================================ */

.logos {
  padding: 50px 0 70px;
}

.logos-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  font-weight: 500;
}

.logos-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.logos-grid:hover {
  opacity: 0.8;
}

.logo-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.logo-bold {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dot-blue-text {
  color: #60a5fa;
}

/* ============================================
   Value / Flow
   ============================================ */

.value {
  padding: 100px 0;
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr auto 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(155deg, rgba(15, 18, 42, 0.6), rgba(11, 14, 42, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.flow-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.flow-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 6px;
}

.flow-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s ease;
}

.flow-chip:hover {
  border-color: rgba(167, 139, 250, 0.3);
  background: var(--surface-2);
  transform: translateX(2px);
}

.flow-end .flow-chip:hover {
  transform: translateX(-2px);
}

.flow-arrow {
  width: 80px;
  display: flex;
  justify-content: center;
}

.flow-core {
  position: relative;
}

.flow-core-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.flow-core-inner {
  position: relative;
  background: linear-gradient(155deg, rgba(20, 24, 56, 0.95), rgba(15, 18, 42, 0.95));
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 30px 80px -30px rgba(139, 92, 246, 0.4);
}

.flow-core-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.flow-core-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pillar {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pillar:hover {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.05);
}

.pillar-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   Benefits
   ============================================ */

.benefits {
  padding: 100px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: linear-gradient(155deg, rgba(15, 18, 42, 0.6), rgba(11, 14, 42, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(139, 92, 246, 0.3);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  margin-bottom: 22px;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Platform
   ============================================ */

.platform {
  padding: 100px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.platform-card {
  position: relative;
  background: linear-gradient(155deg, rgba(15, 18, 42, 0.7), rgba(11, 14, 42, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.platform-platform::before {
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15), transparent 70%);
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
  align-self: flex-start;
}

.platform-tag-alt {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}

.platform-card h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.platform-card > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: auto;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(167, 139, 250, 0.3);
  position: relative;
  flex-shrink: 0;
}

.check::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='%23a78bfa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.platform-visual {
  margin-top: 28px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layer Stack (Core) */
.layer-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer {
  position: absolute;
  width: 220px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(99, 102, 241, 0.1));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease;
}

.layer-1 { transform: translateY(-36px) scale(0.7); opacity: 0.4; }
.layer-2 { transform: translateY(-12px) scale(0.85); opacity: 0.65; }
.layer-3 { transform: translateY(12px) scale(0.92); opacity: 0.85; }
.layer-4 {
  transform: translateY(36px);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(99, 102, 241, 0.25));
  border-color: rgba(167, 139, 250, 0.4);
}

.platform-core:hover .layer-1 { transform: translateY(-44px) scale(0.7); }
.platform-core:hover .layer-2 { transform: translateY(-16px) scale(0.85); }
.platform-core:hover .layer-3 { transform: translateY(14px) scale(0.92); }
.platform-core:hover .layer-4 { transform: translateY(44px); }

/* Orbit (Platform) */
.orbit {
  position: relative;
  width: 200px;
  height: 140px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.6);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 20s linear infinite;
}

.orbit-ring-1 { width: 100px; height: 100px; }
.orbit-ring-2 { width: 150px; height: 150px; animation-duration: 30s; animation-direction: reverse; }
.orbit-ring-3 { width: 200px; height: 130px; animation-duration: 25s; }

.orbit-node {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.orbit-ring-2 .orbit-node {
  background: #a78bfa;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.8);
}

.orbit-ring-3 .orbit-node {
  background: #c4b5fd;
  box-shadow: 0 0 12px rgba(196, 181, 253, 0.8);
}

@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   Use Cases
   ============================================ */

.usecases {
  padding: 100px 0;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usecase-card {
  background: linear-gradient(155deg, rgba(15, 18, 42, 0.6), rgba(11, 14, 42, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usecase-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.usecase-card:hover {
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-3px);
}

.usecase-card:hover::before {
  opacity: 1;
}

.uc-glyph {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.uc-glyph svg {
  width: 28px;
  height: 28px;
}

.usecase-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.usecase-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Explore
   ============================================ */

.explore {
  padding: 100px 0;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.explore-card {
  background: linear-gradient(155deg, rgba(15, 18, 42, 0.7), rgba(11, 14, 42, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.explore-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(139, 92, 246, 0.3);
}

.explore-illu {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 24, 56, 0.6), rgba(15, 18, 42, 0.4));
  border-bottom: 1px solid var(--border);
}

.illu-platform .illu-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.illu-platform .illu-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  background: var(--grad);
  border-radius: 22px;
  box-shadow: 0 20px 50px -10px rgba(139, 92, 246, 0.6);
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

.explore-card:hover .illu-shape {
  transform: rotate(135deg) scale(1.1);
}

.illu-solutions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.illu-arc {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-right-color: transparent;
  transform: rotate(45deg);
}

.illu-arc-2 {
  width: 140px;
  height: 140px;
  border-color: rgba(96, 165, 250, 0.4);
  border-bottom-color: transparent;
  border-right-color: transparent;
  transform: rotate(225deg);
}

.illu-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.7);
  z-index: 1;
}

.illu-integrations {
  display: flex;
  align-items: center;
  justify-content: center;
}

.illu-integrations .illu-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.illu-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.6);
  z-index: 1;
}

.illu-node.n1 { top: 30%; left: 18%; }
.illu-node.n2 { top: 18%; left: 48%; width: 18px; height: 18px; }
.illu-node.n3 { top: 30%; left: 78%; }
.illu-node.n4 { top: 75%; left: 48%; }
.illu-node.n5 { top: 60%; left: 30%; width: 10px; height: 10px; }

.explore-body {
  padding: 24px 28px 28px;
}

.explore-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a78bfa;
  margin-bottom: 12px;
  display: inline-block;
}

.explore-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.explore-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.explore-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  color: #a78bfa;
}

.explore-card:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   CTA
   ============================================ */

.cta {
  padding: 60px 0 100px;
}

.cta-card {
  position: relative;
  background: linear-gradient(155deg, rgba(20, 24, 56, 0.8), rgba(15, 18, 42, 0.6));
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}

.cta-card p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 40px;
  background: rgba(7, 9, 28, 0.6);
}

.footer-grid {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text);
}

/* ============================================
   Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    height: auto;
    max-width: 540px;
    margin: 0 auto;
  }

  .dashboard-card {
    position: relative;
    inset: auto;
  }

  .float-card {
    display: none;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 22px;
  }

  .flow-arrow {
    width: 100%;
    transform: rotate(90deg);
    height: 40px;
  }

  .benefit-grid,
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .float-card-1 {
    left: -10px;
  }

  .float-card-2 {
    right: -10px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .nav-wrap {
    padding: 12px 0;
  }

  .nav {
    gap: 12px;
  }

  .nav-cta {
    gap: 10px;
  }

  .nav-cta .link-muted {
    display: none;
  }

  .logo-text {
    font-size: 17px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 36px;
  }

  .hero-cta .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-meta {
    gap: 14px;
    flex-wrap: wrap;
  }

  .meta-item strong {
    font-size: 19px;
  }

  .meta-divider {
    display: none;
  }

  .section-title {
    font-size: 30px;
    line-height: 1.15;
  }

  .section-sub {
    font-size: 15px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .section-head-left {
    margin-bottom: 36px;
  }

  .value,
  .benefits,
  .platform,
  .usecases,
  .explore {
    padding: 64px 0;
  }

  .flow {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .flow-core-inner {
    padding: 22px 18px;
  }

  .flow-core-pillars {
    gap: 8px;
  }

  .pillar {
    padding: 10px;
    font-size: 12px;
  }

  .benefit-grid,
  .usecase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefit-card,
  .usecase-card {
    padding: 24px;
  }

  .platform-grid {
    gap: 16px;
  }

  .platform-card {
    padding: 30px 26px;
    min-height: auto;
  }

  .platform-card h3 {
    font-size: 26px;
  }

  .explore-grid {
    gap: 16px;
  }

  .explore-illu {
    height: 130px;
  }

  .explore-body {
    padding: 22px 24px 24px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .dashboard-card {
    padding: 16px;
  }

  .dash-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-value {
    font-size: 20px;
  }

  .chart-svg {
    height: 110px;
  }

  .cta {
    padding: 40px 0 70px;
  }

  .cta-card {
    padding: 48px 22px;
  }

  .cta-card h2 {
    font-size: 26px;
  }

  .cta-card p {
    font-size: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
    width: 100%;
  }
}
