:root {
  --bg: #0b1120;
  --bg-soft: #111827;
  --surface: rgba(17, 24, 39, 0.8);
  --surface-strong: #1f2937;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #d1d5db;
  --text-strong: #f9fafb;
  --muted: #9ca3af;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --accent-glow: rgba(99, 102, 241, 0.25);
  --cyan: #22d3ee;
  --emerald: #34d399;
  --rose: #fb7185;
  --amber: #fbbf24;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.3);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes qrPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.7s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }

html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ====== Ambient BG ====== */
.page-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}
.ambient-orb-one {
  width: 500px; height: 500px;
  top: -150px; right: -80px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.ambient-orb-two {
  width: 400px; height: 400px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  opacity: 0.15;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 40px; height: 40px;
  border-radius: 10px;
  transition: transform 0.3s;
}
.brand:hover img { transform: scale(1.05); }
.brand strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
}
.brand span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.site-nav a:hover, .site-nav a.is-active {
  color: var(--text-strong);
  background: var(--glass);
}

.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}
.header-cta, .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}
.header-cta:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-secondary {
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}
.btn-block { width: 100%; }

/* ====== Section ====== */
.section-shell { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 2px;
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: 100px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.25;
  pointer-events: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: float 2s ease-in-out infinite;
}
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-strong);
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--cyan), var(--emerald));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
.hero__desc {
  margin: 20px auto 0;
  max-width: 580px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
}
.hero__stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-strong);
}
.hero__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ====== Section Head ====== */
.section-head { margin-bottom: 40px; }
.section-head-center { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.section-head-center p { margin-left: auto; margin-right: auto; }

/* ====== Tool Categories ====== */
.tools-category { margin-bottom: 48px; }
.tools-category:last-child { margin-bottom: 0; }

.tools-category__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}
.tools-category__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.tools-category__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}
.tools-category__count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.25s ease;
  cursor: pointer;
}
.tool-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  background: rgba(31, 41, 55, 0.9);
}
.tool-card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.tool-card__icon--img { background: rgba(245, 158, 11, 0.12); }
.tool-card__icon--video { background: rgba(59, 130, 246, 0.12); }
.tool-card__icon--pdf { background: rgba(239, 68, 68, 0.12); }
.tool-card__icon--doc { background: rgba(16, 185, 129, 0.12); }
.tool-card__icon--audio { background: rgba(139, 92, 246, 0.12); }
.tool-card__icon--office { background: rgba(236, 72, 153, 0.12); }

.tool-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.tool-card__arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  opacity: 0;
  transition: all 0.25s;
}
.tool-card:hover .tool-card__arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ====== QR CTA ====== */
.qr-cta-card {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.15);
  position: relative;
  overflow: hidden;
}
.qr-cta-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}
.qr-cta-content { flex: 1; position: relative; z-index: 1; }
.qr-cta-content h2 {
  margin: 14px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.25;
}
.qr-cta-content p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.qr-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.qr-cta-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text);
}
.qr-cta-feature__check { color: var(--emerald); font-weight: 700; }

.qr-cta-images {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.qr-cta-image { flex-shrink: 0; }
.qr-cta-image__wrap {
  width: 160px; height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow);
  background: #fff;
}
.qr-cta-image__wrap img { width: 100%; height: 100%; object-fit: cover; }
.qr-cta-image__label {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* ====== Contact Section ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-info-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.contact-info-item strong {
  font-size: 16px;
  color: var(--text-strong);
  font-weight: 600;
}
.contact-qr-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--glass-border);
}
.contact-qr-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--text-strong);
  font-weight: 700;
}
.contact-qr-card p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.contact-qr-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.contact-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact-qr-item__img {
  width: 110px; height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  background: #fff;
}
.contact-qr-item__img img { width: 100%; height: 100%; object-fit: cover; }
.contact-qr-item__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-qr-grid { justify-content: center; }
}

/* ====== Inline QR Banner ====== */
.qr-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.12);
}
.qr-banner__img {
  width: 90px; height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  background: #fff;
  flex-shrink: 0;
}
.qr-banner__img img { width: 100%; height: 100%; object-fit: cover; }
.qr-banner__text h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-strong);
  font-weight: 700;
}
.qr-banner__text p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ====== Process ====== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  position: relative;
}
.process-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.process-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
}
.process-card p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ====== FAQ ====== */
.faq-container {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.is-open {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent-light); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ====== SEO Content ====== */
.seo-content {
  max-width: 820px;
  margin: 0 auto;
}
.seo-content h2 {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}
.seo-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 18px;
}
.seo-content p:last-child { margin-bottom: 0; }

/* ====== Footer ====== */
.site-footer {
  padding: 40px 0 36px;
  border-top: 1px solid var(--glass-border);
  background: rgba(11, 17, 32, 0.6);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong {
  font-size: 15px;
  color: var(--text-strong);
  display: block;
  margin-bottom: 2px;
}
.footer-brand p { margin: 0; font-size: 12px; color: var(--muted); }

.footer-bottom {
  padding-top: 20px;
}
.footer-bottom p { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }

/* ====== Floating QR ====== */
.floating-qr-wrap {
  position: fixed;
  top: 50%; right: 24px;
  transform: translateY(-50%);
  z-index: 100;
}
.floating-qr-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}
.floating-qr-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px var(--accent-glow);
}
.floating-qr-btn svg { width: 24px; height: 24px; fill: #fff; }
.floating-qr-btn .qr-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.3);
  animation: qrPulse 2s ease-out infinite;
}
.floating-qr-panel {
  position: absolute;
  right: 0; bottom: 64px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px var(--glass-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s;
  min-width: 170px;
}
.floating-qr-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.floating-qr-panel .qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.floating-qr-panel img {
  width: 140px; height: 140px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}
.floating-qr-panel .qr-label { font-size: 12px; font-weight: 600; color: var(--text); }
.floating-qr-panel .qr-close {
  position: absolute;
  top: 6px; right: 8px;
  width: 22px; height: 22px;
  border: 0; background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.floating-qr-panel .qr-close:hover { background: var(--glass); color: var(--text); }

/* ====== Responsive ====== */
@media (max-width: 1080px) {
  .qr-cta-card {
    flex-direction: column;
    padding: 40px;
    gap: 32px;
  }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .site-nav { display: none; }
  .hero { padding: 72px 0 48px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .qr-cta-card { padding: 28px; }
  .qr-banner { flex-direction: column; text-align: center; }
  .footer-qr-section { flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100%, calc(100% - 24px)); }
  .section-shell { padding: 48px 0; }
  .hero h1 { font-size: 28px; }
  .hero__desc { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tool-card { padding: 12px 14px; gap: 8px; }
  .tool-card__icon { width: 34px; height: 34px; font-size: 16px; }
  .tool-card__name { font-size: 13px; }
  .tool-card__arrow { display: none; }
  .qr-cta-images { flex-wrap: wrap; justify-content: center; }
  .qr-cta-image__wrap { width: 130px; height: 130px; }
  .contact-qr-grid { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .floating-qr-wrap { right: 14px; }
  .floating-qr-btn { width: 46px; height: 46px; }
}
