:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f7ff;
  --border: #e2e8f0;
  --border-hover: rgba(37,99,235,0.35);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #dbeafe;
  --blue-lighter: #eff6ff;
  --blue-glow: rgba(37,99,235,0.12);
  --blue-glow-strong: rgba(37,99,235,0.3);
  --cyan: #06b6d4;
  --radius: 14px;
  --radius-lg: 20px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 32px rgba(37,99,235,0.1), 0 2px 8px rgba(0,0,0,0.04);
}

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

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--cyan), #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 64px;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent; transition: all 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1rem;
}
.logo-svg {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a {
  text-decoration: none; color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-lighter); }
.nav-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; border-radius: 10px;
  cursor: pointer; border: none; font-family: var(--font); font-size: 0.88rem;
  transition: all 0.25s ease;
}

.btn-glow {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: #fff; padding: 8px 20px;
  box-shadow: 0 0 20px var(--blue-glow), 0 2px 8px rgba(37,99,235,0.2);
}
.btn-glow:hover {
  box-shadow: 0 0 30px var(--blue-glow-strong), 0 4px 16px rgba(37,99,235,0.3);
  transform: translateY(-1px); background: linear-gradient(135deg, var(--blue-hover), var(--blue));
}

.btn-ghost {
  background: transparent; color: var(--text); padding: 8px 20px;
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-glass {
  background: rgba(37,99,235,0.06); color: var(--blue);
  padding: 8px 20px; border: 1px solid rgba(37,99,235,0.15);
}
.btn-glass:hover { background: rgba(37,99,235,0.1); border-color: rgba(37,99,235,0.3); }

.btn-lg { padding: 13px 28px; font-size: 0.95rem; border-radius: 12px; }
.btn-xl { padding: 16px 36px; font-size: 1rem; border-radius: 14px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: linear-gradient(180deg, var(--blue-lighter) 0%, var(--bg) 60%);
}

.hero-grid { position: absolute; inset: 0; z-index: 0; }

.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.hero-glow-1 { width: 800px; height: 800px; background: rgba(37,99,235,0.08); top: -300px; left: 50%; transform: translateX(-60%); }
.hero-glow-2 { width: 500px; height: 500px; background: rgba(6,182,212,0.06); bottom: -200px; right: -100px; }
.hero-glow-3 { width: 400px; height: 400px; background: rgba(37,99,235,0.05); top: 40%; left: -100px; }

.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 0 80px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 16px;
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.15);
  border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  color: var(--blue); margin-bottom: 32px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 8px rgba(37,99,235,0.5); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.5rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 24px;
  color: var(--text);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 44px; line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 20px 36px;
  background: rgba(255,255,255,0.8); border: 1px solid var(--border);
  border-radius: var(--radius-lg); backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 1.3rem; font-weight: 800; color: var(--blue); }
.hero-stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 32px; background: var(--border); }

.hero-scroll-line {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.8; } }

.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 0.82rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: var(--text); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

.section-why { background: var(--bg); }
.card-grid { display: grid; gap: 16px; }
.four-cols { grid-template-columns: repeat(4, 1fr); }

.glass-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all 0.3s ease; box-shadow: var(--shadow-card);
}
.glass-card:hover {
  background: var(--bg-card-hover); border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.glass-card-shine {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.04), transparent);
  transition: left 0.5s ease; pointer-events: none;
}
.glass-card:hover .glass-card-shine { left: 100%; }

.glass-card-icon {
  width: 44px; height: 44px; background: var(--blue-lighter);
  border: 1px solid rgba(37,99,235,0.12); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--blue);
}
.glass-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.glass-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.section-get { background: var(--bg-alt); }
.get-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.get-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.3s ease; box-shadow: var(--shadow-card);
}
.get-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.get-card-num { font-size: 0.82rem; font-weight: 800; color: var(--blue); letter-spacing: 0.04em; margin-bottom: 14px; }
.get-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.get-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.section-steps { background: var(--bg); }
.steps-flow { display: flex; align-items: flex-start; justify-content: center; gap: 0; max-width: 800px; margin: 0 auto; }
.step-item { flex: 1; text-align: center; padding: 0 24px; }
.step-number {
  width: 52px; height: 52px;
  background: var(--blue-lighter); border: 2px solid rgba(37,99,235,0.25);
  color: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin: 0 auto 20px;
  transition: all 0.3s;
}
.step-item:hover .step-number {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 0 30px var(--blue-glow-strong);
}
.step-item h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-item p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.step-line {
  width: 60px; height: 2px; margin-top: 26px;
  background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(37,99,235,0.25), rgba(37,99,235,0.08));
  flex-shrink: 0;
}

.section-scenarios { background: var(--bg-alt); }
.scenario-card { padding: 0; }
.scenario-tag {
  display: inline-block;
  background: var(--blue-lighter); color: var(--blue);
  border: 1px solid rgba(37,99,235,0.12);
  font-weight: 600; font-size: 0.82rem; padding: 5px 14px;
  border-radius: 8px; margin: 24px 24px 0;
}
.scenario-block { padding: 12px 24px 4px; }
.scenario-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.scenario-block p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.scenario-result {
  margin: 12px 24px 24px; padding: 12px 16px;
  background: var(--blue-lighter); border-radius: 10px;
  border: 1px solid rgba(37,99,235,0.1);
}
.scenario-result span { font-size: 0.88rem; font-weight: 700; color: var(--blue); }

.section-demo { background: var(--bg); }
.demo-flow { max-width: 720px; margin: 0 auto; }
.demo-chat { margin-bottom: 32px; }
.chat-bubble { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.chat-bubble.chat-user { justify-content: flex-end; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37,99,235,0.2);
}
.chat-text {
  padding: 14px 18px; border-radius: 14px;
  font-size: 0.9rem; line-height: 1.6; max-width: 80%;
}
.chat-user .chat-text { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-system .chat-text { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.chat-response p { margin-bottom: 8px; }
.chat-product {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--blue-lighter); border-radius: 8px;
  margin-bottom: 6px; border: 1px solid rgba(37,99,235,0.1);
}
.chat-product-name { font-weight: 600; font-size: 0.88rem; }
.chat-product-price { font-weight: 700; color: var(--blue); }
.chat-reason { font-size: 0.85rem; color: var(--text-muted); }

.demo-flow-steps {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
  padding: 24px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.demo-flow-step {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px;
}
.demo-flow-num {
  width: 22px; height: 22px; background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; flex-shrink: 0;
}
.demo-flow-step span { font-size: 0.82rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.demo-flow-arrow { color: var(--blue); font-weight: 700; font-size: 1rem; }

.section-cta {
  background: linear-gradient(135deg, #0c1222 0%, #1e293b 100%);
  padding: 120px 0; overflow: hidden; position: relative;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.15) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-desc { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 40px; max-width: 420px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }
.cta .btn-glass { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.cta .btn-glass:hover { background: rgba(255,255,255,0.15); }

.section-faq { background: var(--bg-alt); }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; transition: all 0.3s;
  box-shadow: var(--shadow-card);
}
.faq-item:hover { border-color: rgba(37,99,235,0.2); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  color: var(--text); text-align: left; transition: all 0.2s;
}
.faq-toggle { flex-shrink: 0; color: var(--text-muted); transition: all 0.3s; margin-left: 16px; }
.faq-item.active .faq-toggle { transform: rotate(180deg); color: var(--blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 40px 0 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; color: var(--text); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff !important; padding: 40px !important;
  max-width: 400px; width: 90%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 4px; transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-body { text-align: center; }
.modal-logo {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.modal-title { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.modal-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 28px; }
.modal-qr { margin-bottom: 20px; }
.qr-placeholder {
  width: 180px; height: 180px; margin: 0 auto;
  background: var(--bg-alt); border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; color: var(--text-muted); font-size: 0.82rem;
}
.modal-hint { color: var(--text-muted); font-size: 0.85rem; }
.modal-hint a { color: var(--blue); text-decoration: none; }
.modal-hint a:hover { text-decoration: underline; }

.anim-fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (max-width: 1024px) {
  .four-cols { grid-template-columns: repeat(2, 1fr); }
  .get-grid { grid-template-columns: 1fr; }
  .steps-flow { flex-direction: column; align-items: center; gap: 12px; }
  .step-line { width: 2px; height: 30px; margin-top: 0; }
  .demo-flow-steps { flex-direction: column; }
  .demo-flow-arrow { transform: rotate(90deg); }
  .demo-flow-step { width: 100%; }
  .demo-flow-step span { white-space: normal; }
}

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .section { padding: 72px 0; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px 24px; gap: 4px;
    border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.active { display: flex; }
  .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-burger.active span:nth-child(2) { opacity: 0; }
  .nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .four-cols { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 0 60px; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px 28px; }
  .hero-stat-divider { width: 50px; height: 1px; }
  .btn-lg { padding: 11px 22px; }
  .btn-xl { padding: 13px 28px; }
  .footer-top { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
  .chat-text { max-width: 88%; }
}
