/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F8FAFC;
  color: #0F172A;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Custom Properties ===== */
:root {
  --blue: #2563EB;
  --blue-light: #06B6D4;
  --green: #10B981;
  --green-light: #34D399;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --bg-white: #F8FAFC;
  --bg-blue: #EFF6FF;
  --text-deep: #0F172A;
  --text-muted: #64748B;
  --glass-bg: rgba(255,255,255,0.45);
  --glass-border: rgba(255,255,255,0.6);
  --glass-shadow: 0 8px 32px rgba(37,99,235,0.08);
  --gradient-main: linear-gradient(135deg, #2563EB 0%, #06B6D4 40%, #10B981 70%, #8B5CF6 100%);
  --gradient-hero: linear-gradient(160deg, #EFF6FF 0%, #F0FDF4 40%, #F5F3FF 80%, #EFF6FF 100%);
  --radius: 20px;
  --radius-sm: 12px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Canvas Background ===== */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  background: var(--glass-bg); 
  height: 80px;
}
.navbar.scrolled {
  background: rgba(248,250,252,0.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 24px rgba(37,99,235,0.08);
  padding: 10px 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1vw;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-deep);
  transition: all 0.3s ease;
  position: relative;
  font-size: clamp(12px, 1vw, 18px);
}
.nav-links a:hover {
  color: var(--blue);
  background: rgba(37,99,235,0.06);
}
.nav-cta {
  padding: 8px 24px !important;
  background: var(--gradient-main) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  transition: all 0.3s ease !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.4) !important;
  background: var(--gradient-main) !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-deep);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Hero Section ===== */
.hero {
  position: relative;
  z-index: 1;
/*  min-height: 100vh;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* Floating gradient orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.3), transparent 70%);
  top: -15%; left: -10%;
  animation: orbFloat1 20s ease-in-out infinite alternate;
}
.hero-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.25), transparent 70%);
  top: 30%; right: -8%;
  animation: orbFloat2 18s ease-in-out infinite alternate;
}
.hero-orb--3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  bottom: -10%; left: 20%;
  animation: orbFloat3 22s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px,40px) scale(1.15); }
  100% { transform: translate(-30px,80px) scale(1.05); }
}
@keyframes orbFloat2 {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px,-30px) scale(1.1); }
  100% { transform: translate(30px,50px) scale(0.95); }
}
@keyframes orbFloat3 {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-60px) scale(1.1); }
  100% { transform: translate(-40px,20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px 6px 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Three Entry Cards */
.entry-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.entry-cards--secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.entry-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.entry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(16,185,129,0.3), rgba(139,92,246,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.entry-card:hover::before { opacity: 1; }
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.12), 0 4px 16px rgba(16,185,129,0.08);
  background: rgba(255,255,255,0.65);
}

/* Primary card - Workspace */
.entry-card--primary {
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(139,92,246,0.06) 50%, rgba(16,185,129,0.08) 100%);
  border: 1.5px solid rgba(37,99,235,0.15);
  box-shadow: 0 8px 40px rgba(37,99,235,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
}
.entry-card--primary::before {
  background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(16,185,129,0.4), rgba(139,92,246,0.5));
}
.entry-card--primary:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 56px rgba(37,99,235,0.18), 0 4px 16px rgba(16,185,129,0.1);
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(139,92,246,0.08) 50%, rgba(16,185,129,0.12) 100%);
}
.entry-card--primary h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.entry-card--primary p {
  font-size: 15px;
}

.entry-icon {
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.entry-icon--primary {
  width: 72px; height: 72px;
  background: var(--gradient-main);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
  border-radius: 20px;
}
.entry-icon--blue {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  border-radius: 14px;
}
.entry-icon--green {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 14px;
}
.entry-card--small h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.entry-card--small p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.entry-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.entry-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.entry-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  transition: gap 0.3s ease;
}
.entry-arrow--primary {
  font-size: 16px;
  color: var(--blue);
}
.entry-arrow--blue { color: var(--blue); }
.entry-arrow--green { color: var(--green); }
.entry-card:hover .entry-arrow { gap: 8px; }

/* QR Code placeholder */
.qr-placeholder {
  width: 80px; height: 80px;
  margin: 12px auto 0;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.qr-placeholder canvas { border-radius: 8px; }

/* ===== Section Common ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.tag-blue { background: rgba(37,99,235,0.08); color: var(--blue); }
.tag-green { background: rgba(16,185,129,0.08); color: var(--green); }
.tag-purple { background: rgba(139,92,246,0.08); color: var(--purple); }

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Feature Section Layout ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text { max-width: 520px; }
.feature-text h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.feature-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-deep);
}
.feature-list li .check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 11px;
  color: #fff;
}
.check-blue { background: var(--blue); }
.check-green { background: var(--green); }
.check-purple { background: var(--purple); }

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 600;
  transition: gap 0.3s ease;
}
.feature-link:hover { gap: 10px; }
.link-blue { color: var(--blue); }
.link-green { color: var(--green); }
.link-purple { color: var(--purple); }

/* Feature Image */
.feature-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.feature-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.12);
}
.feature-visual-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual-inner .visual-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}
.feature-visual .visual-icon {
  font-size: 80px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}
.feature-visual .visual-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-deep);
  z-index: 2;
}

/* Visual gradients per feature */
.visual-img .visual-gradient { background: linear-gradient(135deg, #2563EB, #06B6D4); }
.visual-video .visual-gradient { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.visual-digital .visual-gradient { background: linear-gradient(135deg, #10B981, #34D399); }
.visual-mix .visual-gradient { background: linear-gradient(135deg, #06B6D4, #8B5CF6); }
.visual-agent .visual-gradient { background: linear-gradient(135deg, #2563EB, #10B981); }

/* Animated decorative elements */
.feature-visual .float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.3;
  animation: floatOrb 8s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes floatOrb {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(20px,-20px) scale(1.2); }
}

/* Section alternating bg */
.section-even { background: transparent; }
.section-odd { background: var(--gradient-hero); }

/* ===== FAQ Section ===== */
.faq-section {
  background: var(--gradient-hero);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 20px rgba(37,99,235,0.06);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-deep);
  gap: 16px;
  transition: color 0.3s ease;
  user-select: none;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(37,99,235,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
  color: var(--blue);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 32px 40px;
  background: #F8FAFC;
  border-top: 1px solid rgba(37,99,235,0.06);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .nav-logo {
  flex-shrink: 0;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--blue); }
.footer-divider {
  width: 1px;
  height: 16px;
  background: rgba(37,99,235,0.12);
  flex-shrink: 0;
}
.footer-bottom {
  max-width: 1200px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(37,99,235,0.04);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feature-row { gap: 40px; }
}
@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(248,250,252,0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; padding: 12px 32px; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 20px 60px; }
  .entry-cards { max-width: 100%; }
  .entry-cards--secondary { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row.reverse { direction: ltr; }
  .feature-text { max-width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { gap: 12px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .entry-card--primary { padding: 28px 20px; }
  .entry-card--primary h3 { font-size: 20px; }
  .section-header h2 { font-size: 24px; }
  .feature-text h3 { font-size: 22px; }
}
