/* ==========================================================================
   TagSpaces Official Website - Stylesheet
   Version: 1.0.0
   Brand palette derived from official TagSpaces logo
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors (extracted from official logo) */
  --c-primary:        #616577;   /* slate gray  - logo text & outline */
  --c-primary-dark:   #4a4e5c;
  --c-primary-light:  #8b8fa3;
  --c-teal:           #33b5be;   /* teal accent  - stroke */
  --c-teal-dark:      #28949c;
  --c-orange:         #f7901e;   /* orange accent - fill */
  --c-orange-dark:    #d97706;
  --c-purple:         #a466aa;   /* purple accent - stroke */
  --c-purple-dark:    #85508c;

  /* Neutrals */
  --c-bg:             #ffffff;
  --c-bg-alt:         #f6f7f9;
  --c-bg-dark:        #2d3142;
  --c-text:           #2d3142;
  --c-text-muted:     #6c7080;
  --c-text-light:     #9ca0ad;
  --c-border:         #e6e8ee;
  --c-border-strong:  #d1d5de;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Roboto,
               Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, monospace;

  /* Spacing & layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(45, 49, 66, 0.06);
  --shadow:    0 4px 16px rgba(45, 49, 66, 0.08);
  --shadow-lg: 0 12px 40px rgba(45, 49, 66, 0.12);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--c-teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-primary-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--c-text-muted); max-width: 720px; }
.lead--center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal-dark);
  margin-bottom: 12px;
}
.eyebrow--orange { color: var(--c-orange-dark); }
.eyebrow--purple { color: var(--c-purple-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: -0.01em;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--c-primary); background: var(--c-bg-alt); }
.main-nav a.is-active { color: var(--c-teal-dark); }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px;
  background: var(--c-primary-dark);
  border-radius: 2px;
  position: relative;
  transition: all var(--transition);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after  { transform: rotate(-45deg); top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--teal { background: var(--c-teal); color: #fff; }
.btn--teal:hover { background: var(--c-teal-dark); color: #fff; transform: translateY(-1px); }
.btn--orange { background: var(--c-orange); color: #fff; }
.btn--orange:hover { background: var(--c-orange-dark); color: #fff; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-border-strong);
}
.btn--outline:hover { border-color: var(--c-primary); background: var(--c-bg-alt); }
.btn--ghost { background: transparent; color: var(--c-text); }
.btn--ghost:hover { background: var(--c-bg-alt); }
.btn--lg { padding: 14px 28px; font-size: 1.05rem; }
.btn--sm { padding: 7px 14px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(51, 181, 190, 0.10), transparent 60%),
    radial-gradient(900px 400px at 0% 20%, rgba(247, 144, 30, 0.08), transparent 55%),
    radial-gradient(700px 400px at 50% 100%, rgba(164, 102, 170, 0.06), transparent 60%),
    var(--c-bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--c-teal-dark); }
.hero h1 .accent-orange { color: var(--c-orange-dark); }
.hero-lead { font-size: 1.18rem; color: var(--c-text-muted); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; font-size: 0.9rem; color: var(--c-text-muted); }
.hero-meta-item { display: flex; align-items: center; gap: 6px; }
.hero-meta-item svg { width: 18px; height: 18px; color: var(--c-teal); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #f6f7f9 0%, #eef0f4 100%);
  aspect-ratio: 4 / 3;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-window-bar {
  display: flex; gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.hero-window-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-border-strong);
}
.hero-window-bar span:nth-child(1) { background: #ff5f57; }
.hero-window-bar span:nth-child(2) { background: #febc2e; }
.hero-window-bar span:nth-child(3) { background: #28c840; }
.hero-mock {
  flex: 1;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--c-border);
}
.hero-sidebar { display: flex; flex-direction: column; gap: 8px; }
.hero-side-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: var(--radius-sm);
  font-size: 0.8rem; color: var(--c-text-muted);
}
.hero-side-item.is-active { background: rgba(51, 181, 190, 0.1); color: var(--c-teal-dark); font-weight: 600; }
.hero-side-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c-primary-light); flex-shrink: 0; }
.hero-side-item.is-active .hero-side-dot { background: var(--c-teal); }
.hero-files { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.hero-file {
  background: var(--c-bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid transparent;
  transition: border-color var(--transition);
}
.hero-file:hover { border-color: var(--c-border-strong); }
.hero-file-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--c-orange);
}
.hero-file-icon.t { background: var(--c-teal); }
.hero-file-icon.p { background: var(--c-purple); }
.hero-file-icon.g { background: var(--c-primary-light); }
.hero-file-name { font-size: 0.7rem; color: var(--c-text); font-weight: 500; }
.hero-file-tags { display: flex; gap: 3px; }
.hero-file-tag { font-size: 0.6rem; padding: 1px 5px; border-radius: 3px; background: rgba(51,181,190,0.15); color: var(--c-teal-dark); }
.hero-file-tag.o { background: rgba(247,144,30,0.15); color: var(--c-orange-dark); }
.hero-file-tag.p { background: rgba(164,102,170,0.15); color: var(--c-purple-dark); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 0;
  background: var(--c-bg);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-label { font-size: 0.85rem; color: var(--c-text-muted); font-weight: 500; }
.platform-list { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.platform-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--c-text); font-weight: 500; }
.platform-item svg { width: 20px; height: 20px; color: var(--c-primary); }

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon--teal   { background: rgba(51, 181, 190, 0.12);  color: var(--c-teal-dark); }
.feature-icon--orange { background: rgba(247, 144, 30, 0.12);  color: var(--c-orange-dark); }
.feature-icon--purple { background: rgba(164, 102, 170, 0.12); color: var(--c-purple-dark); }
.feature-icon--slate  { background: rgba(97, 101, 119, 0.12);  color: var(--c-primary-dark); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--c-text-muted); font-size: 0.96rem; margin-bottom: 0; }

/* ---------- Section Heading ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--c-text-muted); }

/* ---------- Scenarios (Homepage) ---------- */
.scenario-list { display: flex; flex-direction: column; gap: 56px; }
.scenario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.scenario:nth-child(even) .scenario-content { order: 2; }
.scenario-content h3 { font-size: 1.5rem; margin-bottom: 14px; }
.scenario-content p { color: var(--c-text-muted); margin-bottom: 18px; }
.scenario-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.scenario-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; }
.scenario-points svg { width: 18px; height: 18px; color: var(--c-teal); flex-shrink: 0; margin-top: 3px; }
.scenario-visual {
  background: linear-gradient(135deg, var(--c-bg-alt), #eef0f4);
  border-radius: var(--radius-lg);
  min-height: 320px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.scenario-visual svg { width: 100%; height: auto; max-width: 360px; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-stars { display: flex; gap: 3px; color: var(--c-orange); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text { font-size: 0.98rem; color: var(--c-text); line-height: 1.6; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author-info { display: flex; flex-direction: column; }
.testimonial-name { font-weight: 600; font-size: 0.95rem; color: var(--c-text); }
.testimonial-role { font-size: 0.85rem; color: var(--c-text-muted); }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-value .accent-teal { color: var(--c-teal-dark); }
.stat-value .accent-orange { color: var(--c-orange-dark); }
.stat-label { font-size: 0.92rem; color: var(--c-text-muted); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  opacity: 0.12;
}
.cta-band::before { width: 320px; height: 320px; background: var(--c-teal); top: -120px; right: -80px; }
.cta-band::after  { width: 280px; height: 280px; background: var(--c-orange); bottom: -120px; left: -60px; }
.cta-band h2 { color: #fff; position: relative; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); position: relative; max-width: 600px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; position: relative; margin-bottom: 0; }

/* ---------- Download Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(45, 49, 66, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-overlay.is-open { display: flex; opacity: 1; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1);top: 0;
    right: 0;
    bottom: 0;
    left: 0; }
 button { outline: none } 
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--c-border);
}
.modal-header h3 { margin: 0; font-size: 1.3rem; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
  transition: all var(--transition);
}
.modal-close:hover { background: var(--c-bg-alt); color: var(--c-text); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 28px; }

.modal-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.modal-platform {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.modal-platform:hover { border-color: var(--c-teal); background: rgba(51,181,190,0.04); }
.modal-platform svg { width: 28px; height: 28px; color: var(--c-primary); }
.modal-platform-name { font-size: 0.9rem; font-weight: 600; color: var(--c-text); }
.modal-platform-ver { font-size: 0.78rem; color: var(--c-text-muted); }

.qr-section {
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.qr-section h4 { font-size: 1.05rem; margin-bottom: 6px; }
.qr-section p { font-size: 0.88rem; color: var(--c-text-muted); margin-bottom: 22px; }
.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 520px;
  margin: 0 auto;
}
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-frame {
  width: 168px; height: 168px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
}
.qr-frame img { width: 100%; height: 100%; }
.qr-label { font-size: 0.85rem; font-weight: 600; color: var(--c-text); }
.qr-sub { font-size: 0.78rem; color: var(--c-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--c-teal); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 18px 0;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb-sep { margin: 0 8px; color: var(--c-text-light); }
.breadcrumb-current { color: var(--c-text); font-weight: 500; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(51, 181, 190, 0.10), transparent 60%),
    radial-gradient(700px 300px at 0% 30%, rgba(247, 144, 30, 0.06), transparent 55%),
    var(--c-bg);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.12rem; color: var(--c-text-muted); max-width: 680px; margin: 0 auto; }

/* ---------- Feature Detail (alternating) ---------- */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--c-border);
}
.feature-detail:last-child { border-bottom: none; }
.feature-detail:nth-child(even) .feature-detail-content { order: 2; }
.feature-detail-content .eyebrow { margin-bottom: 10px; }
.feature-detail-content h3 { font-size: 1.7rem; margin-bottom: 14px; }
.feature-detail-content p { color: var(--c-text-muted); font-size: 1.02rem; margin-bottom: 18px; }
.feature-detail-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.feature-detail-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; }
.feature-detail-list svg { width: 20px; height: 20px; color: var(--c-teal); flex-shrink: 0; margin-top: 2px; }
.feature-detail-visual {
  background: linear-gradient(135deg, var(--c-bg-alt), #eef0f4);
  border-radius: var(--radius-lg);
  min-height: 360px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
}
.feature-detail-visual svg { width: 100%; max-width: 380px; height: auto; }

/* ---------- Comparison Table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
}
.compare-table th {
  background: var(--c-bg-alt);
  font-weight: 600;
  color: var(--c-primary-dark);
}
.compare-table th:nth-child(2) { color: var(--c-teal-dark); }
.compare-table th:nth-child(3) { color: var(--c-orange-dark); }
.compare-table td:first-child { font-weight: 500; color: var(--c-text); }
.compare-table .check { color: var(--c-teal); width: 20px; height: 20px; }
.compare-table .cross { color: var(--c-text-light); width: 20px; height: 20px; }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Download Cards ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.download-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}
.download-card:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.download-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.download-card-icon svg { width: 32px; height: 32px; }
.download-card-icon--win { background: rgba(97, 101, 119, 0.12); color: var(--c-primary); }
.download-card-icon--mac { background: rgba(164, 102, 170, 0.12); color: var(--c-purple-dark); }
.download-card-icon--linux { background: rgba(247, 144, 30, 0.12); color: var(--c-orange-dark); }
.download-card-icon--ios { background: rgba(51, 181, 190, 0.12); color: var(--c-teal-dark); }
.download-card-icon--android { background: rgba(164, 102, 170, 0.12); color: var(--c-purple-dark); }
.download-card-icon--web { background: rgba(97, 101, 119, 0.12); color: var(--c-primary); }
.download-card h3 { margin-bottom: 6px; }
.download-card .ver { font-size: 0.85rem; color: var(--c-text-muted); margin-bottom: 18px; }
.download-card .btn { margin-bottom: 12px; }
.download-card .req { font-size: 0.82rem; color: var(--c-text-muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  gap: 16px;
}
.faq-question:hover { background: var(--c-bg-alt); }
.faq-question svg {
  width: 18px; height: 18px;
  color: var(--c-text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.is-open .faq-question svg { transform: rotate(45deg); color: var(--c-teal-dark); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--c-text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--c-text-muted); margin: 0; }

/* ---------- Info Cards (About) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.value-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-card-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { color: var(--c-text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Tech badges ---------- */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
}
.tech-badge svg { width: 18px; height: 18px; color: var(--c-primary); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: var(--c-border);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-teal);
}
.timeline-item:nth-child(2) .timeline-dot { border-color: var(--c-orange); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--c-purple); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--c-primary); }
.timeline-year { font-size: 0.85rem; font-weight: 700; color: var(--c-teal-dark); margin-bottom: 4px; }
.timeline-item:nth-child(2) .timeline-year { color: var(--c-orange-dark); }
.timeline-item:nth-child(3) .timeline-year { color: var(--c-purple-dark); }
.timeline-item:nth-child(4) .timeline-year { color: var(--c-primary); }
.timeline-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--c-text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); border-color: var(--c-border-strong); }
.contact-card-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { color: var(--c-text-muted); font-size: 0.92rem; margin-bottom: 14px; }

/* ---------- Browser extension cards ---------- */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ext-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
}
.ext-card:hover { box-shadow: var(--shadow); border-color: var(--c-border-strong); transform: translateY(-2px); }
.ext-card-head { display: flex; align-items: center; gap: 14px; }
.ext-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.ext-card-icon svg { width: 26px; height: 26px; }
.ext-card h3 { margin: 0; font-size: 1.1rem; }
.ext-card p { color: var(--c-text-muted); font-size: 0.92rem; margin: 0; flex: 1; }
.ext-card .btn { align-self: flex-start; }

/* ---------- Notice box ---------- */
.notice {
  padding: 18px 22px;
  background: rgba(51, 181, 190, 0.08);
  border: 1px solid rgba(51, 181, 190, 0.25);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice svg { width: 22px; height: 22px; color: var(--c-teal-dark); flex-shrink: 0; }
.notice p { margin: 0; font-size: 0.95rem; color: var(--c-text); }
.notice--orange { background: rgba(247, 144, 30, 0.08); border-color: rgba(247, 144, 30, 0.25); }
.notice--orange svg { color: var(--c-orange-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .feature-grid, .testimonial-grid, .download-grid, .ext-grid, .value-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .scenario, .feature-detail { grid-template-columns: 1fr; gap: 32px; }
  .scenario:nth-child(even) .scenario-content, .feature-detail:nth-child(even) .feature-detail-content { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .modal-platforms { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-mobile {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    padding: 12px 18px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-mobile a { width: 100%; padding: 12px 14px; }
  .main-nav.is-mobile .header-cta-mobile { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--c-border); }
  .main-nav.is-mobile .header-cta-mobile .btn { width: 100%; }
  .feature-grid, .testimonial-grid, .download-grid, .ext-grid, .value-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .modal-platforms { grid-template-columns: 1fr 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
