:root {
  /* Colors */
  --background: #FFFFFF;
  --surface1: #FFFFFF;
  --surface2: #F5F7FA;
  --surface3: #E8ECF1;
  --border: #E8ECF1;
  --border-visible: #D4DAE3;
  --text1: #233863;
  --text2: #6D7B96;
  --text3: #4A4A4A;
  --text4: #8E99AB;
  --accent: #229AF4;
  --accent-subtle: #E8F4FE;
  --accent-hover: #1B7CC3;
  --gradient-start: #A792FF;
  --gradient-end: #8296FF;
  --gradient: linear-gradient(135deg, #A792FF, #8296FF);
  --gradient-hover: linear-gradient(135deg, #9582EF, #7286EF);
  --footer-bg: #F7F8FA;
  --success: #52C41A;
  --warning: #FAAD14;
  --error: #FF4D4F;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 60px;
  --space-4xl: 80px;
  --space-5xl: 100px;

  /* Radii */
  --radius-element: 4px;
  --radius-control: 8px;
  --radius-component: 12px;
  --radius-container: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-3: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-diffuse: 0 20px 60px rgba(137,142,255,0.15);
}


.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 30px;
}
/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes diffuseDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -15px); }
}

@keyframes diffuseDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-15px, 20px); }
}

@keyframes diffuseDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(10px, -20px) scale(1.05); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-entry {
  opacity: 0;
  animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-1 { animation-delay: 0ms; }
.stagger-2 { animation-delay: 120ms; }
.stagger-3 { animation-delay: 240ms; }
.stagger-4 { animation-delay: 360ms; }
.stagger-5 { animation-delay: 480ms; }
.stagger-6 { animation-delay: 600ms; }

/* IntersectionObserver controlled */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 600ms cubic-bezier(0.4,0,0.2,1), transform 600ms cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  padding: 0 40px;
  height: 52px;
  line-height: 52px;
  border: none;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  padding: 0 40px;
  height: 52px;
  line-height: 52px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--gradient-end);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 48px;
  border: none;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.section-header h2 {
  font-size: 40px;
  font-weight: 600;
  color: var(--text1);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   1. TOP NAVIGATION (71360 Style)
   ======================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text1);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text1);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

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

.nav-links a.active {
  color: var(--accent);
  font-weight: 500;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right .nav-phone {
  font-size: 14px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-right .btn-primary {
  padding: 8px 20px;
  font-size: 14px;
  background: transparent;
  color: var(--text1);
  border: 1px solid var(--border-visible);
  border-radius: var(--radius-element);
}

.nav-right .btn-primary:hover {
  background: var(--surface2);
  transform: none;
  box-shadow: none;
}

/* ========================================
   2. BANNER (Diffuse Gradient + Vector Graphics)
   ======================================== */
.banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F7FA 0%, #E8ECFF 50%, #F0F2FF 100%);
  overflow: hidden;
}

/* bottom fade mask */
.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #F5F7FA 100%);
  z-index: 5;
  pointer-events: none;
}

/* diffuse gradient blobs */
.banner-diffuse {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.banner-diffuse span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: blobFadeIn 2s forwards;
}
.banner-diffuse .d1 {
  width: 600px; height: 600px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(137,142,255,.35) 0%, transparent 70%);
  animation: blobFadeIn 2s .3s forwards, diffuseDrift 14s ease-in-out 2s infinite alternate;
}
.banner-diffuse .d2 {
  width: 500px; height: 500px;
  top: 15%; right: -5%;
  background: radial-gradient(circle, rgba(167,146,255,.28) 0%, transparent 70%);
  animation: blobFadeIn 2s .6s forwards, diffuseDrift2 16s ease-in-out 2.5s infinite alternate;
}
.banner-diffuse .d3 {
  width: 450px; height: 450px;
  bottom: -8%; left: 20%;
  background: radial-gradient(circle, rgba(130,150,255,.25) 0%, transparent 70%);
  animation: blobFadeIn 2s .9s forwards, diffuseDrift3 12s ease-in-out 3s infinite alternate;
}
@keyframes blobFadeIn { to { opacity: 1; } }

/* vector graphics — abstract shapes */
.banner-vectors {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.banner-vectors svg {
  position: absolute;
  opacity: 0;
  animation: vecFadeIn 1.2s forwards;
}
.banner-vectors .vec1 { top: 12%; right: 8%; width: 180px; animation-delay: .5s; }
.banner-vectors .vec2 { bottom: 15%; left: 6%; width: 160px; animation-delay: .8s; }
.banner-vectors .vec3 { top: 50%; right: 15%; width: 120px; animation-delay: 1.1s; }
@keyframes vecFadeIn {
  from { opacity: 0; transform: scale(.9) rotate(-5deg); }
  to { opacity: .08; transform: scale(1) rotate(0deg); }
}

/* external SVG illustration */
.banner-illustration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  animation: illuFadeIn 1.5s .8s forwards;
  padding-bottom: 0;
  transform: translateY(100px);
}
.banner-illustration img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
}
@keyframes illuFadeIn {
  from { opacity: 0; transform: translateY(130px) scale(.95); }
  to { opacity: 1; transform: translateY(100px) scale(1); }
}

.banner .container {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 160px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(-120px);
}

.banner .tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(137,142,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #898EFF;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
}

.banner h1 {
  font-size: clamp(26px, 4.5vw, 48px);
  font-weight: 600;
  color: var(--text1);
  line-height: 1.3;
  max-width: 1000px;
  letter-spacing: -0.02em;
}

.banner .subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text2);
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 35px rgba(255, 255, 255, 0.7),
    0 0 60px rgba(255, 255, 255, 0.5),
    0 0 80px rgba(255, 255, 255, 0.3);
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.banner-actions .btn-primary {
  background: linear-gradient(135deg, #898EFF, #5E7DF9);
  color: #fff;
  box-shadow: 0 4px 20px rgba(137,142,255,.3);
}
.banner-actions .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(137,142,255,.45);
}

.banner-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 40px;
  border-radius: var(--radius-control);
  font-size: 16px;
  font-weight: 500;
  color: var(--text1);
  border: 1px solid var(--border-visible);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: rgba(255,255,255,.6);
}
.banner-actions .btn-ghost:hover {
  background: rgba(255,255,255,.9);
  border-color: #898EFF;
  transform: translateY(-2px);
}

/* Stats bar inside banner */
.banner-stats {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1260px;
  margin: auto auto 40px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.banner-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(137,142,255,.15);
}

.banner-stat .stat-val {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #898EFF;
  letter-spacing: .02em;
}

.banner-stat .stat-lbl {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text2);
  margin-top: 4px;
}

/* ========================================
   3. PRODUCT POSITIONING
   ======================================== */
.product-intro {
  padding: var(--space-5xl) 0;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}

.product-intro .blob-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,154,244,0.04) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: diffuseDrift 8s ease-in-out infinite alternate;
}

.intro-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3xl);
}

.intro-text {
  flex: 1;
}

.intro-text .tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.intro-text h2 {
  font-size: 40px;
  font-weight: 600;
  color: var(--text1);
  line-height: 1.3;
  margin-bottom: var(--space-lg);
}

.intro-text .highlight {
  color: var(--text1);
  font-weight: 400;
}

.intro-text p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: var(--space-xl);
}

.intro-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.intro-stat {
  text-align: center;
}

.intro-stat .number {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.intro-stat .label {
  font-size: 14px;
  color: var(--text2);
  margin-top: 4px;
}

.intro-visual {
  flex: 0 0 420px;
  position: relative;
}

.intro-visual .visual-box {
  background: var(--surface1);
  border-radius: var(--radius-component);
  box-shadow: var(--shadow-diffuse);
  padding: var(--space-xl);
  position: relative;
}

.visual-box .vb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.visual-box .vb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.visual-box .vb-dot.red { background: #FF5F56; }
.visual-box .vb-dot.yellow { background: #FFBD2E; }
.visual-box .vb-dot.green { background: #27C93F; }

.visual-box .vb-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.vb-flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface2);
  border-radius: var(--radius-control);
  font-size: 13px;
  color: var(--text1);
  font-weight: 500;
  transition: all 0.3s ease;
}

.vb-flow-item:hover {
  background: var(--accent-subtle);
}

.vb-flow-item .flow-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vb-flow-connector {
  width: 2px;
  height: 16px;
  background: var(--border-visible);
  margin-left: 28px;
}

/* ========================================
   4. UNIQUE ADVANTAGES
   ======================================== */
.advantages {
  padding: var(--space-5xl) 0;
  background: var(--background);
  position: relative;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.advantage-card {
  background: var(--surface1);
  border-radius: var(--radius-component);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}

.advantage-card .adv-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px;
  font-weight: 700;
  color: var(--surface2);
  line-height: 1;
}

.advantage-card .adv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-component);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.advantage-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.8;
  text-align: left;
  position: relative;
  z-index: 1;
}

/* ========================================
   5. PRODUCT FEATURES — Stacked Card Carousel
   ======================================== */
.features {
  padding: var(--space-5xl) 0;
  background: #0c1033;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* aurora gradient layers */
.features .aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: blur(60px);
  opacity: .85;
}
.features .aurora span {
  position: absolute;
  border-radius: 50%;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.features .aurora .a1 {
  width: 70%; height: 80%;
  left: -15%; bottom: -25%;
  background: radial-gradient(circle, rgba(30,50,120,.9) 0%, transparent 70%);
  animation: auroraA 12s infinite alternate;
}
.features .aurora .a2 {
  width: 60%; height: 70%;
  right: -10%; top: -10%;
  background: radial-gradient(circle, rgba(120,80,200,.85) 0%, transparent 70%);
  animation: auroraB 14s infinite alternate;
}
.features .aurora .a3 {
  width: 50%; height: 55%;
  left: 20%; top: 15%;
  background: radial-gradient(circle, rgba(167,146,255,.7) 0%, transparent 65%);
  animation: auroraC 10s infinite alternate;
}
.features .aurora .a4 {
  width: 45%; height: 50%;
  left: -5%; top: -15%;
  background: radial-gradient(circle, rgba(60,50,160,.6) 0%, transparent 70%);
  animation: auroraD 16s infinite alternate;
}

/* 3D particle canvas */
#featCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.features .feat-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 55% 45% at 50% 45%, rgba(12,16,51,.4) 0%, transparent 70%);
  pointer-events: none;
}

/* grid: left title + right stacked cards */
.feat-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: 520px;
}

.feat-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.feat-left-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-left .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}
.feat-left .tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}

.feat-left h2 {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.feat-left .feat-sub {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

/* arrows */
.feat-arrows {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.feat-arrow {
  width: 48px; height: 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all .3s;
}
.feat-arrow.prev {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
}
.feat-arrow.next {
  background: rgba(255,255,255,.95);
  color: var(--text1);
}
.feat-arrow:hover { transform: scale(1.08); }

/* counter */
.feat-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
}
.feat-counter strong {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

/* ── stacked cards container ── */
.feat-stack {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1200px;
}

.feat-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .65s cubic-bezier(.4,0,.2,1),
              opacity .65s cubic-bezier(.4,0,.2,1);
  transform-origin: center center;
  will-change: transform, opacity;
}

/* top accent line */
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 40px;
  width: 120px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--accent));
}

.feat-card .fc-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.feat-card .fc-step-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-card .fc-step-icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat-card .fc-step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
}

.feat-card h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text1);
  line-height: 1.4;
  margin-bottom: 20px;
}
.feat-card h3 em {
  font-style: normal;
  color: var(--text4);
}

.feat-card .fc-desc {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.8;
  flex: 1;
}

.feat-card .fc-metrics {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.feat-card .fc-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-control);
  background: var(--surface2);
}
.feat-card .fc-metric strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.feat-card .fc-metric span {
  font-size: 12px;
  color: var(--text2);
}

.feat-card .fc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--text1);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.feat-card .fc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ── Architecture Diagram (keep below cards) ── */
.architecture {
  margin-top: var(--space-3xl);
}

.arch-diagram {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-component);
  padding: var(--space-2xl);
  overflow-x: auto;
}

.arch-layer { margin-bottom: var(--space-lg); }
.arch-layer:last-child { margin-bottom: 0; }

.arch-layer-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.arch-items { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.arch-item {
  padding: 10px 18px;
  border-radius: var(--radius-control);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.arch-item:hover { transform: translateY(-2px); }

.arch-item.blue { background: rgba(34,154,244,.15); color: rgba(255,255,255,.9); }
.arch-item.purple { background: rgba(167,146,255,.15); color: rgba(255,255,255,.9); }
.arch-item.green { background: rgba(82,196,26,.12); color: rgba(255,255,255,.9); }
.arch-item.orange { background: rgba(250,173,20,.12); color: rgba(255,255,255,.9); }
.arch-item.dark { background: rgba(255,255,255,.12); color: #fff; }

.arch-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: var(--space-md) 0;
  position: relative;
}
.arch-divider::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(255,255,255,.2);
}

@media(max-width:1024px){
  .feat-layout { grid-template-columns: 1fr; }
  .feat-stack { height: 480px; }
}
@media(max-width:768px){
  .feat-stack { height: 520px; }
  .feat-card { padding: 32px 24px; }
  .feat-card h3 { font-size: 20px; }
}

/* ========================================
   5.5 PRODUCT ARCHITECTURE DIAGRAM
   ======================================== */
.arch-section {
  padding: var(--space-5xl) 0;
  background: #F5F7FA;
}

.arch-section .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.arch-section .section-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text1);
}
.arch-section .section-header p {
  font-size: 14px;
  color: var(--text3);
  margin-top: 8px;
}

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-lyr {
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
}

/* layer colors */
.arch-lyr.lyr-5 { background: #F3F0FF; }
.arch-lyr.lyr-4 { background: #EDF4FF; }
.arch-lyr.lyr-3 { background: #EDFDF5; }
.arch-lyr.lyr-2 { background: #FFFBEB; }
.arch-lyr.lyr-1 { background: #FFF4ED; }

.arch-lyr-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.arch-lyr-title .lyr-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.lyr-5 .lyr-num { background: #7C6BDB; }
.lyr-4 .lyr-num { background: #4A90D9; }
.lyr-3 .lyr-num { background: #52C41A; }
.lyr-2 .lyr-num { background: #D48806; }
.lyr-1 .lyr-num { background: #E8590C; }

.arch-lyr-body {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* simple tag row (layer 5) */
.arch-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.arch-tag {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text1);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.06);
}

/* sub-module card */
.arch-mod {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 16px 18px;
}
.arch-mod-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.arch-mod-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.arch-mod-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text2);
  background: rgba(0,0,0,.03);
}

/* wide module (layer 4 left) */
.arch-mod-wide {
  flex: 0 0 220px;
}

/* ========================================
   6. SCENARIO SOLUTIONS
   ======================================== */
.scenarios {
  padding: var(--space-5xl) 0;
  background: var(--background);
  position: relative;
}

.scenario-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.scenario-tab {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  background: var(--surface2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.scenario-tab:hover {
  color: var(--accent);
  background: var(--accent-subtle);
}

.scenario-tab.active {
  color: #FFFFFF;
  background: var(--gradient);
}

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.scenario-card {
  background: var(--surface1);
  border-radius: var(--radius-component);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}

.scenario-card .sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-element);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.sc-badge.expert { background: #EEEFFE; color: var(--gradient-end); }
.sc-badge.business { background: var(--accent-subtle); color: var(--accent); }
.sc-badge.developer { background: #F0FDF4; color: var(--success); }
.sc-badge.operation { background: #FFFBEB; color: #D48806; }

.scenario-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text1);
  line-height: 1.35;
  margin-bottom: var(--space-md);
}

.scenario-card .sc-section {
  margin-bottom: var(--space-md);
}

.scenario-card .sc-section:last-child {
  margin-bottom: 0;
}

.scenario-card .sc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: 6px;
}

.scenario-card .sc-text {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
  text-align: left;
}

.scenario-card .sc-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface2);
  border-radius: var(--radius-control);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 8px;
}

.scenario-card .sc-value svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

/* ========================================
   7. CUSTOMER CASES
   ======================================== */
.customers {
  padding: var(--space-5xl) 0;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}

.customers .blob-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,154,244,0.04) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: diffuseDrift 8s ease-in-out infinite alternate;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.case-card {
  background: var(--surface1);
  border-radius: var(--radius-component);
  padding: var(--space-xl);
  box-shadow: var(--shadow-1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.case-card .cc-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.case-card .cc-industry {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-element);
  font-size: 12px;
  font-weight: 500;
}

.cc-industry.auto { background: var(--accent-subtle); color: var(--accent); }
.cc-industry.finance { background: #EEEFFE; color: var(--gradient-end); }
.cc-industry.retail { background: #F0FDF4; color: var(--success); }

.case-card .cc-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-control);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text1);
}

.case-card .cc-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text1);
}

.case-card .cc-role {
  font-size: 12px;
  color: var(--text4);
}

.case-card .cc-quote {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.8;
  text-align: left;
  margin-bottom: var(--space-lg);
  flex: 1;
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.case-card .cc-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.cc-metric {
  text-align: center;
  padding: var(--space-md);
  background: var(--surface2);
  border-radius: var(--radius-control);
}

.cc-metric .value {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.cc-metric .desc {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px;
}

/* Brand Logos */
.brand-logos {
  margin-top: var(--space-2xl);
}

.brand-logos h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: var(--space-xl);
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.logo-item {
  width: 140px;
  height: 64px;
  background: var(--surface1);
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1);
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}

.logo-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  color: var(--accent);
}

/* ========================================
   8. DEPLOYMENT OPTIONS
   ======================================== */
.deployment {
  padding: var(--space-5xl) 0 var(--space-3xl);
  background: var(--background);
}

.deploy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.deploy-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--surface1);
  border-radius: var(--radius-component);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.deploy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--accent);
}

.deploy-card .dc-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-component);
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deploy-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: var(--space-sm);
}

.deploy-card p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
}

/* ========================================
   9. LEAD CAPTURE (留资卡片 - 71360 Style)
   ======================================== */
.lead-capture {
  padding: var(--space-5xl) 0;
  background: var(--background);
}

.lead-card {
  position: relative;
  overflow: hidden;
  background: #229AF4;
  border-radius: 16px;
  padding: 0;
  /* Match SVG aspect ratio 1260x364 */
  aspect-ratio: 1260 / 364;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wave — from SVG path */
.lead-card .lead-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Whale — from SVG */
.lead-card .lead-whale {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.lead-card .lead-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 40px;
}

.lead-card h2 {
  font-size: 40px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: var(--space-lg);
}

.lead-card .lead-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.lead-card .btn-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 56px;
  border: none;
  border-radius: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(22,113,182,0.24);
}

.lead-card .btn-cta-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(22,113,182,0.32);
}

/* Fix responsive for footer light bg */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   10. FOOTER (71360 Style)
   ======================================== */
.footer {
  background: var(--footer-bg);
  padding: var(--space-3xl) 0 var(--space-xl);
  color: var(--text3);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  padding-right: var(--space-xl);
}

.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text1);
}

.footer-brand .fb-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .fb-logo .logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-brand .fb-contact {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .fb-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text3);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 12px;
  color: var(--text2);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--text1);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom .copyright {
  font-size: 14px;
  color: var(--text2);
}

.footer-bottom .footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom .footer-links a {
  font-size: 14px;
  color: var(--text2);
  transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
  color: var(--text1);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .intro-content { flex-direction: column; }
  .intro-visual { flex: auto; width: 100%; }
  .feature-row, .feature-row.reverse { flex-direction: column; }
  .feature-visual { flex: auto; width: 100%; }
  .advantages-grid { grid-template-columns: 1fr; }
  .scenario-cards { grid-template-columns: 1fr; }
  .case-cards { grid-template-columns: 1fr; }
  .deploy-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .banner .float-card { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .nav-phone { display: none; }
  .banner { min-height: auto; }
  .banner-stats { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 28px; }
  .section-header p { font-size: 15px; }
  .intro-stats { flex-direction: column; gap: var(--space-lg); }
  .footer-main { grid-template-columns: 1fr; }
  .lead-card { aspect-ratio: auto; padding: var(--space-2xl) var(--space-lg); }
  .lead-card h2 { font-size: 26px; }
  .lead-card .lead-whale { display: none; }
  .lead-card .lead-inner { padding: 0 16px; }
  .banner-actions { flex-direction: column; }
}

/* ========================================
   SVG ICONS INLINE
   ======================================== */
.icon-svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}