/* ══════════════════════════════════════════
   AI创客工厂 — CSS Variables & Base
   ══════════════════════════════════════════ */
:root {
  /* Colors - Deep tech navy + cyan accent */
  --black: #0a0e17;
  --dark: #111827;
  --navy: #1a2332;
  --blue: #0ea5e9;
  --blue-light: #e0f2fe;
  --blue-dark: #0369a1;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.3);
  --white: #ffffff;
  --gray-1: #f8fafc;
  --gray-2: #f1f5f9;
  --gray-3: #e2e8f0;
  --gray-4: #94a3b8;
  --gray-5: #64748b;
  --gray-6: #475569;
  --text: #1e293b;
  --text-2: #64748b;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
}
.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-demo-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--accent);
  color: var(--black) !important;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-demo-btn:hover {
  background: var(--white);
  transform: scale(1.02);
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
}
.label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.btn-primary {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
}

.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }

.hero-visual {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  display: none;
}
@media (min-width: 1100px) {
  .hero-visual { display: block; }
}

.hero-device {
  background: linear-gradient(135deg, #1a2332, #0f172a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.device-screen {
  background: #0a0e17;
  border-radius: 10px;
  padding: 16px;
  min-height: 200px;
}
.screen-line {
  height: 8px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 4px;
  margin-bottom: 10px;
}
.screen-detection {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 8px;
  margin-top: 16px;
}
.det-icon { font-size: 20px; }
.det-text { font-size: 12px; color: var(--accent); }

.hero-device-label {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════════
   SCROLL INDICATOR
   ══════════════════════════════════════════ */
.scroll-indicator {
  background: var(--black);
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-indicator span {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-gray {
  padding: 100px 32px;
  background: var(--gray-1);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   PRODUCT CARD
   ══════════════════════════════════════════ */
.product-card-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--dark);
  border-radius: 24px;
  padding: 56px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.product-card-main::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
  pointer-events: none;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
  margin-bottom: 16px;
}
.product-name {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.product-desc p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  line-height: 1.7;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.feat-icon {
  color: var(--accent);
  font-size: 12px;
}
.product-actions {
  display: flex;
  gap: 14px;
}
.btn-outline-dark {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline-dark:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-placeholder {
  width: 280px;
  height: 200px;
  background: linear-gradient(135deg, #1a2332, #0f172a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.product-img-placeholder small {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════════
   ALGORITHM GRID
   ══════════════════════════════════════════ */
.algo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.algo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  cursor: default;
}
.algo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.algo-icon-lg {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.algo-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.algo-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
}
.why-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1;
}
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   DEMO CTA SECTION
   ══════════════════════════════════════════ */
.section-demo {
  background: var(--black);
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.06), transparent 60%);
}
.demo-content {
  position: relative;
  z-index: 1;
}
.section-demo h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.section-demo p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
.btn-demo {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.15);
}
.btn-demo span {
  font-size: 18px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}
.footer-logo .logo-icon {
  font-size: 22px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ══════════════════════════════════════════
   MODAL — Shared
   ══════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 90%;
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}
.modal-wide { max-width: 640px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}
.modal-title { font-size: 16px; font-weight: 600; }
.modal-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--gray-2);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-5);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--gray-3); }
.modal-body { padding: 24px; }

/* ══════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-input, .form-select {
  width: 100%;
  background: var(--gray-1);
  border: 1.5px solid transparent;
  border-radius: var(--radius-xs);
  color: var(--text);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--blue);
  background: var(--white);
}
.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
}

/* ══════════════════════════════════════════
   IMAGE UPLOAD
   ══════════════════════════════════════════ */
.img-upload-zone {
  border: 2px dashed var(--gray-3);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 14px;
  position: relative;
}
.img-upload-zone:hover { border-color: var(--blue); background: var(--blue-light); }
.img-upload-zone.has-img { padding: 8px; }
.img-upload-icon { font-size: 32px; margin-bottom: 8px; }
.img-upload-text { font-size: 13px; color: var(--gray-5); }
.img-upload-hint { font-size: 11px; color: var(--gray-4); margin-top: 4px; }
.img-preview {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  display: none;
}
.img-clear-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.img-upload-zone.has-img .img-clear-btn { display: flex; }

.img-source-tabs {
  display: flex;
  gap: 0;
  background: var(--gray-1);
  border-radius: var(--radius-xs);
  padding: 3px;
  margin-bottom: 14px;
}
.img-source-tab {
  flex: 1;
  padding: 7px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-5);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.img-source-tab.active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.input-with-icon { position: relative; }
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}
.input-with-icon .form-input { padding-left: 36px; }

/* ══════════════════════════════════════════
   DEMO RESULT
   ══════════════════════════════════════════ */
.demo-result {
  margin-top: 16px;
  background: #0a0e17;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: none;
}
.demo-result.show { display: block; }
.result-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  font-family: var(--font-mono);
}
.response-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.response-tag.ok { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.response-tag.err { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.response-tag.warn { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.result-json {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 280px;
  overflow-y: auto;
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .algo-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .main-nav { height: 56px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }

  .hero { padding: 80px 20px 60px; }
  .hero h1 { font-size: 40px; }

  .section, .section-gray { padding: 60px 20px; }
  .section-header { margin-bottom: 40px; }

  .product-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-intro-visual { position: static; }
  .product-img-box { height: 200px; }

  .algo-items-grid { grid-template-columns: 1fr; }
  .algo-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .algo-item:last-child { border-bottom: none; }

  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 28px 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .product-actions { flex-direction: column; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PAGE HERO (shared)
   ══════════════════════════════════════════ */
.page-hero {
  padding: 140px 32px 80px;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  margin: 12px 0;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   PRODUCT PAGE
   ══════════════════════════════════════════ */
.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.product-intro-visual { position: sticky; top: 80px; }
.product-main-img {
  margin-bottom: 20px;
}
.product-img-box {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--navy), var(--dark));
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
}
.product-img-box small {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
}
.product-img-box .product-icon { font-size: 36px; color: var(--accent); }

.product-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.thumb-item {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--dark));
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb-item.active,
.thumb-item:hover { border-color: var(--accent); }

.product-intro-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag-new {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--accent);
  color: var(--black);
  border-radius: 100px;
}
.product-subtitle {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 32px;
  line-height: 1.6;
}

.product-specs {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 32px;
}
.spec-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  width: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-5);
  flex-shrink: 0;
}
.spec-value {
  font-size: 13px;
  color: var(--text);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.price-label { font-size: 13px; color: var(--text-2); }
.price-actions { display: flex; gap: 12px; }

/* ── ALGORITHM CATEGORIES ── */
.algo-category-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.algo-category {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.algo-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: var(--gray-1);
  border-bottom: 1px solid var(--border-light);
}
.cat-icon { font-size: 20px; }
.algo-cat-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.algo-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.algo-item {
  padding: 20px 24px;
  border-right: 1px solid var(--border-light);
}
.algo-item:last-child { border-right: none; }
.algo-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.algo-item-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.algo-more {
  text-align: center;
  padding: 40px 0 20px;
  color: var(--text-2);
  font-size: 14px;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--gray-1);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.feature-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   SOLUTIONS PAGE
   ══════════════════════════════════════════ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.solution-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-placeholder {
  font-size: 56px;
}
.solution-content {
  padding: 24px;
}
.solution-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}
.solution-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.solution-content p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.solution-algos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.solution-algos li {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 100px;
}
.solution-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.solution-link:hover { color: var(--blue-dark); }

/* ══════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.about-text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value-item {
  padding: 24px;
  background: var(--gray-1);
  border-radius: var(--radius);
}
.value-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.value-item p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.tech-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1;
}
.tech-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-area h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
}
.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
}
.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 18px; }
.info-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}
.info-value {
  font-size: 14px;
  color: var(--white);
}

/* ══════════════════════════════════════════
   HERO BANNER SLIDER
   ══════════════════════════════════════════ */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-content {
  max-width: 800px;
  text-align: center;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.hero-slide-content .hero-label {
  justify-content: center;
  margin-bottom: 28px;
}
.hero-slide-content h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-slide-content .hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 0 auto 36px;
  max-width: 640px;
}
.hero-slide-content .hero-actions {
  justify-content: center;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 5px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.hero-arrow-prev { left: 32px; }
.hero-arrow-next { right: 32px; }

/* ══════════════════════════════════════════
   PRODUCT LINE CARDS (3-col)
   ══════════════════════════════════════════ */
.product-line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-line-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s;
}
.product-line-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.plc-img {
  height: 200px;
  background: linear-gradient(135deg, #1a2332, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plc-icon {
  font-size: 64px;
  filter: grayscale(0.3);
}
.plc-body {
  padding: 28px;
}
.plc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 100px;
  margin-bottom: 14px;
}
.plc-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.plc-body p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.plc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.plc-features li {
  font-size: 13px;
  color: var(--gray-6);
  padding-left: 18px;
  position: relative;
}
.plc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.plc-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.plc-link:hover { color: var(--blue-dark); }

/* ══════════════════════════════════════════
   DARK SECTION
   ══════════════════════════════════════════ */
.section-dark {
  padding: 100px 32px;
  background: var(--dark);
}

/* ══════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════ */
.section-stats {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   FOOTER ENHANCEMENTS
   ══════════════════════════════════════════ */
.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   ABOUT PAGE — History Timeline
   ══════════════════════════════════════════ */
.history-timeline {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-3);
}
.history-item {
  display: flex;
  gap: 40px;
  padding: 28px 0;
  position: relative;
}
.history-year {
  width: 120px;
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  text-align: right;
  padding-right: 20px;
  position: relative;
}
.history-year::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-3);
}
.history-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.history-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   SPINNER
   ══════════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════
   RESPONSIVE EXTENSIONS
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-line-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero-arrow { display: none; }
}

@media (max-width: 768px) {
  .hero-banner { min-height: 500px; height: auto; padding: 120px 0 80px; }
  .hero-slide { position: relative; opacity: 1 !important; display: none; }
  .hero-slide.active { display: flex; }
  .hero-slide-content h1 { font-size: 32px; }
  .product-line-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}