/* =============================================
   TianJi AI Agent — Complete Landing Page CSS
   Dark theme, premium SaaS, bilingual
   Redesigned 2026-05-24 for professional polish
   ============================================= */

:root {
  --bg: #030712;
  --bg-2: #0a0f1a;
  --bg-3: #111827;
  --bg-card: rgba(15,23,42,.6);
  --bg-card-hover: rgba(30,41,59,.5);
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dim: rgba(99,102,241,0.12);
  --accent-glow: rgba(99,102,241,0.3);
  --cyan: #22d3ee;
  --purple: #a78bfa;
  --emerald: #34d399;
  --rose: #fb7185;
  --amber: #fbbf24;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --border: rgba(148,163,184,0.08);
  --border-accent: rgba(99,102,241,0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --ease: cubic-bezier(0.16,1,0.3,1);
  --ease-out: cubic-bezier(0.33,1,0.68,1);
  --shadow: 0 1px 3px rgba(0,0,0,.5);
  --shadow-lg: 0 16px 64px rgba(0,0,0,.5);
  --glass: rgba(15,23,42,.5);
  --glass-border: rgba(148,163,184,0.06);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hide-mobile { display: inline; }
a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: all .4s var(--ease);
}
.nav-scrolled {
  background: rgba(3,7,18,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  box-shadow: 0 0 24px rgba(99,102,241,.35);
  transition: box-shadow .3s var(--ease);
}
.nav-logo:hover .logo-icon { box-shadow: 0 0 32px rgba(99,102,241,.5); }
.logo-icon-sm { width: 28px; height: 28px; font-size: 14px; }
.logo-text { font-weight: 700; font-size: 17px; color: var(--text); letter-spacing: -.02em; }
.logo-text-cn { color: var(--text-3); font-weight: 400; margin-left: 6px; font-size: 13px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--text-2); text-decoration: none;
  font-weight: 500; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--purple));
  border-radius: 1px; transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 13px !important; }
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text-2);
  border-radius: 2px; transition: all .3s var(--ease); transform-origin: center;
}
.nav-toggle-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all .25s var(--ease);
  border: none; font-family: inherit; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  box-shadow: 0 0 24px var(--accent-dim), 0 2px 8px rgba(0,0,0,.3);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity .25s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow: 0 0 48px var(--accent-glow), 0 4px 20px rgba(0,0,0,.3);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn svg { flex-shrink: 0; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px);
  animation: heroGlowFloat 8s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 600px; height: 400px; top: -100px; left: 5%;
  background: radial-gradient(circle, rgba(99,102,241,.25), transparent 70%);
}
.hero-glow-2 {
  width: 500px; height: 350px; bottom: -50px; right: 5%;
  background: radial-gradient(circle, rgba(167,139,250,.18), transparent 70%);
  animation-delay: -4s;
}
.hero-glow-3 {
  width: 350px; height: 250px; top: 30%; left: 40%;
  background: radial-gradient(circle, rgba(34,211,238,.08), transparent 70%);
  animation-delay: -2s;
}
@keyframes heroGlowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -15px) scale(1.05); }
}
.hero-particles { position: absolute; inset: 0; z-index: 1; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { max-width: 560px; }

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid var(--border-accent);
  border-radius: 100px; padding: 6px 18px; font-size: 12px;
  color: var(--accent-light); font-weight: 500; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 8px rgba(52,211,153,.5);
  animation: pulse 2s infinite;
}
.badge-sep { color: var(--text-3); }
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 8px rgba(52,211,153,.5); }
  50% { opacity: .4; box-shadow: 0 0 16px rgba(52,211,153,.3); }
}

/* Title */
.hero-title { margin-bottom: 20px; line-height: 1.1; }
.hero-title-line {
  display: block; font-size: clamp(38px, 5vw, 60px);
  font-weight: 800; letter-spacing: -.04em; color: var(--text);
}
.hero-title-gradient {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShimmer 4s ease infinite;
}
@keyframes gradientShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-subtitle {
  font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 8px;
}
.hero-subtitle-en {
  font-size: 14px; color: var(--text-3); margin-bottom: 32px; letter-spacing: .01em;
}

/* Hero Form */
.hero-form { margin-bottom: 16px; }
.hero-input-group { display: flex; gap: 8px; max-width: 480px; }
.hero-input-group input {
  flex: 1; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(15,23,42,.8); border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-family: inherit;
  transition: all .25s var(--ease); min-width: 0;
  backdrop-filter: blur(8px);
}
.hero-input-group input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 20px rgba(99,102,241,.1);
}
.hero-input-group input::placeholder { color: var(--text-3); }

/* Social proof */
.hero-proof {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-3); margin-bottom: 32px;
}
.proof-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 8px rgba(52,211,153,.5);
  animation: pulse 2s infinite;
}

/* Hero Stats */
.hero-stats { display: flex; align-items: center; gap: 24px; margin-top: 8px; }
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 32px; font-weight: 800; color: var(--text);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.hero-stat-plus { font-size: 24px; font-weight: 700; color: var(--accent-light); }
.hero-stat-label {
  display: block; font-size: 12px; color: var(--text-3); line-height: 1.4; margin-top: 2px;
}
.hero-stat-label small { font-size: 11px; color: var(--text-3); opacity: .7; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Preview (Product Mockup) */
.hero-preview { perspective: 1200px; position: relative; }
.preview-glow {
  position: absolute; inset: -20px; border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.12), transparent 70%);
  z-index: 0; filter: blur(30px);
}
.preview-window {
  position: relative; z-index: 1;
  background: var(--bg-2); border: 1px solid rgba(148,163,184,.1);
  border-radius: var(--radius); overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 80px rgba(99,102,241,.06),
    inset 0 1px 0 rgba(255,255,255,.03);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.preview-window:hover { transform: rotateY(0) rotateX(0); }
.preview-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: rgba(17,24,39,.9);
  border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.preview-title { font-size: 11px; color: var(--text-3); letter-spacing: .02em; }
.preview-body { display: flex; min-height: 280px; }
.preview-sidebar {
  width: 72px; background: rgba(3,7,18,.6); border-right: 1px solid var(--border);
  padding: 12px 0;
}
.sidebar-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; font-size: 10px; color: var(--text-3);
  cursor: default; transition: all .2s; border-left: 2px solid transparent;
}
.sidebar-item.active {
  color: var(--accent-light); background: var(--accent-dim);
  border-left-color: var(--accent);
}
.si-icon { font-size: 16px; }
.si-text { font-size: 10px; }
.preview-main { flex: 1; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.preview-chat { display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.chat-avatar-user { background: var(--bg-3); color: var(--text-2); }
.chat-avatar-ai {
  background: linear-gradient(135deg, var(--accent), var(--purple)); color: #fff;
  box-shadow: 0 0 12px rgba(99,102,241,.3);
}
.chat-bubble {
  background: rgba(17,24,39,.8); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-size: 12px; color: var(--text-2); line-height: 1.6; max-width: 340px;
}
.chat-model-badge {
  display: inline-block; background: var(--accent-dim); color: var(--accent-light);
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 4px;
  margin-bottom: 6px; border: 1px solid var(--border-accent);
}
.chat-typing { display: flex; gap: 4px; margin-top: 8px; }
.chat-typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light);
  animation: typing 1.4s infinite;
}
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%,60%,100% { opacity: .2; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.preview-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.ptool {
  font-size: 10px; padding: 4px 10px; border-radius: 4px;
  background: rgba(3,7,18,.5); border: 1px solid var(--border); color: var(--text-3);
  transition: all .2s;
}
.ptool.active { border-color: var(--border-accent); color: var(--accent-light); background: var(--accent-dim); }

/* ---- SECTIONS COMMON ---- */
.section { padding: 100px 0; position: relative; }
.section-eyebrow {
  font-size: 12px; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  letter-spacing: -.03em; text-align: center; margin-bottom: 12px;
  line-height: 1.15;
}
.section-desc {
  font-size: 16px; color: var(--text-2); text-align: center;
  max-width: 600px; margin: 0 auto 56px; line-height: 1.7;
}
.section-desc strong { color: var(--emerald); }

/* ---- FEATURES ---- */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all .4s var(--ease); position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
}
.feature-card-glow {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
.feature-card[data-accent="indigo"] .feature-card-glow {
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,.06), transparent 50%);
}
.feature-card[data-accent="purple"] .feature-card-glow {
  background: radial-gradient(circle at 50% 50%, rgba(167,139,250,.06), transparent 50%);
}
.feature-card[data-accent="cyan"] .feature-card-glow {
  background: radial-gradient(circle at 50% 50%, rgba(34,211,238,.06), transparent 50%);
}
.feature-card[data-accent="emerald"] .feature-card-glow {
  background: radial-gradient(circle at 50% 50%, rgba(52,211,153,.06), transparent 50%);
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.feature-card:hover .feature-card-glow { opacity: 1; }
.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #fff;
}
.icon-indigo { background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(99,102,241,.1)); color: var(--accent-light); border: 1px solid rgba(99,102,241,.2); }
.icon-purple { background: linear-gradient(135deg, rgba(167,139,250,.2), rgba(167,139,250,.1)); color: var(--purple); border: 1px solid rgba(167,139,250,.2); }
.icon-cyan { background: linear-gradient(135deg, rgba(34,211,238,.2), rgba(34,211,238,.1)); color: var(--cyan); border: 1px solid rgba(34,211,238,.2); }
.icon-emerald { background: linear-gradient(135deg, rgba(52,211,153,.2), rgba(52,211,153,.1)); color: var(--emerald); border: 1px solid rgba(52,211,153,.2); }

.feature-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 12px;
}
.badge-exclusive { color: var(--amber); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.15); }
.badge-smart { color: var(--purple); background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.15); }
.badge-community { color: var(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.15); }
.badge-data { color: var(--emerald); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.15); }

.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.feature-en { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.feature-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.feature-highlights { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-highlights li {
  font-size: 13px; color: var(--text-2); padding-left: 20px; position: relative;
}
.feature-highlights li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
}
.feature-card[data-accent="indigo"] .feature-highlights li::before { background: var(--accent); }
.feature-card[data-accent="purple"] .feature-highlights li::before { background: var(--purple); }
.feature-card[data-accent="cyan"] .feature-highlights li::before { background: var(--cyan); }
.feature-card[data-accent="emerald"] .feature-highlights li::before { background: var(--emerald); }

/* ---- COMPARISON TABLE ---- */
.section-compare {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.compare-table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  backdrop-filter: blur(12px);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th {
  padding: 18px 24px; text-align: left; font-weight: 600;
  border-bottom: 1px solid rgba(148,163,184,.12);
  background: rgba(15,23,42,.4);
}
.compare-table td { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.compare-table tbody tr { transition: background .2s; }
.compare-table tbody tr:hover { background: rgba(99,102,241,.03); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.ct-feature { width: 28%; }
.ct-feature strong { display: block; color: var(--text); font-size: 14px; }
.ct-feature span { font-size: 12px; color: var(--text-3); }
.ct-them { width: 36%; color: var(--text-2); }
.ct-us { width: 36%; }
th.ct-us { color: var(--accent-light); }
.ct-no { color: var(--rose); font-weight: 700; margin-right: 6px; }
.ct-yes { color: var(--emerald); font-weight: 700; margin-right: 6px; }
.ct-neutral { color: var(--text-3); margin-right: 6px; }

/* ---- PLATFORMS ---- */
.platform-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.platform-group {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(12px);
  transition: all .3s var(--ease);
}
.platform-group:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.platform-group-title {
  font-size: 15px; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.platform-group-title small { color: var(--text-3); font-weight: 400; font-size: 13px; }
.pg-icon { font-size: 18px; }
.platform-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-tag {
  font-size: 12px; padding: 5px 12px; border-radius: var(--radius-xs);
  background: rgba(3,7,18,.5); border: 1px solid var(--border); color: var(--text-2);
  transition: all .2s var(--ease);
}
.platform-tag:hover {
  border-color: var(--accent); color: var(--text);
  background: var(--accent-dim); transform: translateY(-1px);
}
.tag-china {
  border-color: var(--border-accent); color: var(--accent-light);
  background: rgba(99,102,241,.06);
}

/* ---- PRICING ---- */
.section-pricing {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all .4s var(--ease); position: relative;
  backdrop-filter: blur(12px);
}
.pricing-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 48px rgba(99,102,241,.08), 0 16px 48px rgba(0,0,0,.15);
  background: linear-gradient(180deg, rgba(99,102,241,.05), var(--bg-card));
}
.pricing-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 18px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(99,102,241,.3);
}
.pricing-header { margin-bottom: 16px; }
.pricing-tier { font-size: 22px; font-weight: 700; }
.pricing-tier-en { font-size: 13px; color: var(--text-3); }
.pricing-amount { margin-bottom: 8px; display: flex; align-items: baseline; }
.pricing-currency { font-size: 24px; font-weight: 600; color: var(--text-2); margin-right: 2px; }
.pricing-num { font-size: 48px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pricing-period { font-size: 16px; color: var(--text-3); margin-left: 4px; }
.pricing-note { font-size: 13px; color: var(--text-3); margin-bottom: 24px; line-height: 1.5; }
.pricing-note strong { color: var(--emerald); }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2); padding: 7px 0;
  border-bottom: 1px solid rgba(148,163,184,.04);
}
.pricing-features li:last-child { border-bottom: none; }
.pf-check { color: var(--emerald); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.pf-x { color: var(--text-3); flex-shrink: 0; }
.pf-muted { opacity: .5; }

/* ---- ROADMAP ---- */
.roadmap-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.roadmap-line {
  position: absolute; left: 16px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple), rgba(100,116,139,.3));
}
.roadmap-item { position: relative; padding-left: 56px; padding-bottom: 40px; }
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-dot {
  position: absolute; left: 6px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-3);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.roadmap-active .roadmap-dot {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(99,102,241,.3);
}
.roadmap-dot-inner {
  width: 8px; height: 8px; border-radius: 50%; background: transparent;
}
.roadmap-active .roadmap-dot-inner {
  background: var(--accent); animation: pulse 2s infinite;
}
.roadmap-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px 26px;
  backdrop-filter: blur(12px);
  transition: all .3s var(--ease);
}
.roadmap-card:hover { border-color: var(--border-accent); }
.roadmap-active .roadmap-card {
  border-color: var(--border-accent);
  box-shadow: 0 0 24px rgba(99,102,241,.05);
}
.roadmap-date {
  font-size: 12px; font-weight: 600; color: var(--accent-light);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em;
}
.roadmap-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.roadmap-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.roadmap-en { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.roadmap-status {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 600;
  color: var(--emerald); background: rgba(52,211,153,.08);
  padding: 4px 12px; border-radius: 4px; border: 1px solid rgba(52,211,153,.15);
}

/* ---- MARKET DATA ---- */
.section-market { background: var(--bg); }
.market-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px;
}
.market-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: all .4s var(--ease); backdrop-filter: blur(12px);
}
.market-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.market-num {
  font-size: 44px; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-variant-numeric: tabular-nums;
}
.market-unit { font-size: 16px; color: var(--text-2); font-weight: 600; margin-bottom: 12px; }
.market-label { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.market-label-en { font-size: 12px; color: var(--text-3); margin-top: 6px; }

.market-pain {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  backdrop-filter: blur(12px);
}
.market-pain h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 24px; text-align: center;
}
.market-pain h3 small { color: var(--text-3); font-weight: 400; font-size: 14px; margin-left: 8px; }
.pain-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-item { display: flex; gap: 14px; align-items: flex-start; }
.pain-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(251,113,133,.08); border: 1px solid rgba(251,113,133,.12);
  color: var(--rose); display: flex; align-items: center; justify-content: center;
}
.pain-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pain-item p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; }

/* ---- FOOTER ---- */
.footer {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,15,26,.8));
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), var(--border-accent), var(--accent-dim), transparent);
}
.footer-cta { text-align: center; margin-bottom: 60px; }
.footer-cta-title {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  margin-bottom: 12px; letter-spacing: -.02em;
}
.footer-cta-desc { font-size: 16px; color: var(--text-2); margin-bottom: 28px; line-height: 1.7; }
.footer-cta-en { color: var(--text-3); font-size: 14px; }
.footer-form { max-width: 480px; margin: 0 auto; }
.footer-input-group { display: flex; gap: 8px; }
.footer-input-group input {
  flex: 1; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(15,23,42,.8); border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-family: inherit;
  transition: all .25s var(--ease); min-width: 0;
}
.footer-input-group input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.footer-input-group input::placeholder { color: var(--text-3); }
.footer-bottom {
  text-align: center; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 12px;
}
.footer-brand-name { font-size: 15px; font-weight: 600; }
.footer-brand-name small { color: var(--text-3); font-weight: 400; }
.footer-info { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: var(--text-3); opacity: .5; }

/* ---- FORM STATUS ---- */
.form-status { font-size: 13px; margin-top: 8px; min-height: 20px; }
.form-status-loading { color: var(--text-3); }
.form-status-success { color: var(--emerald); }
.form-status-error { color: var(--rose); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-2); font-size: 18px;
  cursor: pointer; opacity: 0; transform: translateY(16px);
  transition: all .3s var(--ease);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  border-color: var(--accent); color: var(--accent-light);
  box-shadow: 0 0 20px rgba(99,102,241,.15);
}

/* ---- SCROLL ANIMATIONS ---- */
.animate-target {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.animate-in { opacity: 1; transform: translateY(0); }

/* Stagger children */
.features-grid .animate-target:nth-child(2) { transition-delay: .08s; }
.features-grid .animate-target:nth-child(3) { transition-delay: .16s; }
.features-grid .animate-target:nth-child(4) { transition-delay: .24s; }
.pricing-grid .animate-target:nth-child(2) { transition-delay: .08s; }
.pricing-grid .animate-target:nth-child(3) { transition-delay: .16s; }
.market-grid .animate-target:nth-child(2) { transition-delay: .08s; }
.market-grid .animate-target:nth-child(3) { transition-delay: .16s; }

/* ---- FOCUS / A11Y ---- */
*:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
input:focus-visible { outline: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-preview { display: none; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-input-group { max-width: 100%; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-proof { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .platform-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pain-items { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(3,7,18,.95); backdrop-filter: blur(24px);
    padding: 12px 0; border-bottom: 1px solid var(--border);
  }
  .nav-links-open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-input-group { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hide-mobile { display: none; }
  .section { padding: 64px 0; }
  .section-desc { margin-bottom: 40px; }
  .footer-input-group { flex-direction: column; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .pricing-grid { gap: 16px; }
  .footer::before { width: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title-line { font-size: 32px; }
  .section-title { font-size: 24px; }
  .pricing-num { font-size: 40px; }
  .market-num { font-size: 36px; }
}
