/* ===================================================================
   Flow Launcher Official Website - Stylesheet
   Style: Flat / Modern / Professional
   Palette derived from logo (blue → cyan)
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from logo analysis) */
  --brand-900: #0A2540;   /* deep navy  */
  --brand-800: #0F2F5C;
  --brand-700: #0050B0;
  --brand-600: #0066C6;
  --brand-500: #007EDD;   /* primary    */
  --brand-400: #00A8FF;   /* sky        */
  --brand-300: #4FC3FF;
  --brand-200: #9AD9FF;
  --brand-100: #D6ECFF;
  --brand-50:  #EEF7FF;

  --cyan:      #00C8FF;
  --cyan-soft: #7FE3FF;

  /* Neutrals */
  --ink-900: #0B1220;
  --ink-700: #1B2A4E;
  --ink-500: #4A5A75;
  --ink-400: #6B7A92;
  --ink-300: #9AA6BC;
  --ink-200: #D6DDE7;
  --ink-100: #EEF1F6;
  --ink-50:  #F7F9FC;

  --bg:        #FFFFFF;
  --bg-soft:   #F4F8FC;
  --bg-deep:   #0A2540;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04);
  --shadow-md: 0 6px 18px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.05);
  --shadow-lg: 0 18px 48px rgba(10,37,64,.12), 0 6px 14px rgba(10,37,64,.06);
  --shadow-xl: 0 30px 80px rgba(10,37,64,.18);

  --gradient-brand: linear-gradient(135deg, #007EDD 0%, #00A8FF 55%, #00C8FF 100%);
  --gradient-deep:  linear-gradient(135deg, #0A2540 0%, #0F3A78 60%, #007EDD 100%);
  --gradient-soft:  linear-gradient(135deg, #EEF7FF 0%, #D6ECFF 100%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container: 1200px;
  --header-h: 72px;

  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, Monaco, monospace;

  --transition: .25s cubic-bezier(.4,.0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-700); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--brand-900);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
p  { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--gradient-deep); color: #fff; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-50);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section--deep .section-head .eyebrow {
  background: rgba(255,255,255,.12);
  color: var(--brand-200);
}
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-500);
  margin: 0;
}
.section--deep .section-head p { color: rgba(255,255,255,.78); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-900);
  letter-spacing: -.01em;
}
.brand__logo {
  height: 18px;
  width: auto;
}
.brand__name b { color: var(--brand-500); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-weight: 500;
  font-size: .95rem;
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover { background: var(--brand-50); color: var(--brand-700); }
.nav__link.is-active { color: var(--brand-600); background: var(--brand-50); }

.nav__cta { margin-left: 10px; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-50);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 18px; height: 2px; background: var(--brand-900); border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--brand-900); border-radius: 2px;
  transition: transform var(--transition);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,126,221,.32);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,126,221,.42);
}
.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-200);
}
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--light {
  background: #fff;
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--brand-700); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 16px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(0,200,255,.18), transparent 60%),
    radial-gradient(800px 500px at 0% 30%, rgba(0,126,221,.12), transparent 60%),
    linear-gradient(180deg, #F4F9FF 0%, #FFFFFF 60%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); }
.hero h1 {
  background: linear-gradient(120deg, #0A2540 0%, #007EDD 60%, #00A8FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.hero__lead {
  font-size: 1.15rem;
  color: var(--ink-500);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 32px;
}
.hero__stats {
  display: flex; gap: 36px; flex-wrap: wrap;
}
.hero__stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -.02em;
}
.hero__stat .label {
  font-size: .85rem;
  color: var(--ink-400);
}

/* Hero mock visual */
.hero__visual {
  position: relative;
}
.mock-window {
  background: var(--gradient-deep);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.mock-window::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,200,255,.25), transparent 50%);
  pointer-events: none;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.mock-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-bar .dot.r { background: #FF5F57; }
.mock-bar .dot.y { background: #FEBC2E; }
.mock-bar .dot.g { background: #28C840; }
.mock-search {
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-700);
  font-size: .98rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
  position: relative; z-index: 1;
}
.mock-search .prompt { color: var(--brand-500); font-weight: 700; }
.mock-search .caret {
  display: inline-block; width: 2px; height: 18px; background: var(--brand-500);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mock-results {
  margin-top: 14px;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  position: relative; z-index: 1;
}
.mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-700);
  font-size: .92rem;
}
.mock-row.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
}
.mock-row .ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient-brand); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .8rem;
}
.mock-row .meta { margin-left: auto; font-size: .75rem; color: var(--ink-300); }
.mock-row.is-active .meta { color: var(--brand-400); }

/* Floating badges around mock */
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-900);
  z-index: 2;
}
.float-badge .icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.float-badge--a { top: -20px; left: -32px; animation: float 5s ease-in-out infinite; }
.float-badge--b { bottom: -24px; right: -28px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Feature Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.card--brand .card__icon { background: var(--gradient-brand); color: #fff; box-shadow: 0 6px 16px rgba(0,126,221,.32); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-500); font-size: .96rem; }

/* Feature row with mockup */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media {
  background: var(--gradient-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 280px;
}
.feature-row__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 80% 0%, rgba(0,200,255,.25), transparent 60%);
}
.feature-row__body .eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-500); margin-bottom: 12px;
}
.feature-row__body h2 { margin-bottom: 16px; }
.feature-row__body p { color: var(--ink-500); font-size: 1.02rem; }
.feature-list { margin: 22px 0 0; display: grid; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--ink-700); font-size: .98rem;
}
.feature-list li::before {
  content: ""; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007EDD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  margin-top: 2px;
}

/* Mini code/dark mock block */
.mock-dark {
  position: relative; z-index: 1;
  background: rgba(10,37,64,.4);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
  color: #DCE8FF;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.8;
}
.mock-dark .k { color: #7FE3FF; }
.mock-dark .s { color: #FFD479; }
.mock-dark .c { color: rgba(255,255,255,.4); }

/* ---------- Scenario (Use Cases) ---------- */
.scenario-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.scenario-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scenario-card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand-50);
  line-height: 1;
}
.scenario-card__tag {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: .75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  margin-bottom: 14px;
}
.scenario-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.scenario-card p { color: var(--ink-500); font-size: .92rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial__quote {
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.75;
  margin-bottom: 22px;
  position: relative;
  padding-left: 26px;
}
.testimonial__quote::before {
  content: "\201C";
  position: absolute;
  left: -4px; top: -14px;
  font-size: 3rem;
  color: var(--brand-200);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial__author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial__meta { font-size: .9rem; }
.testimonial__name { color: var(--brand-900); font-weight: 600; }
.testimonial__role { color: var(--ink-400); font-size: .82rem; }
.testimonial__rating { color: #FEBC2E; margin-bottom: 12px; letter-spacing: 2px; }

/* ---------- Download / Modal ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.dl-card--featured {
  background: var(--gradient-deep);
  color: #fff;
  border: 0;
}
.dl-card--featured h3, .dl-card--featured .dl-card__price { color: #fff; }
.dl-card--featured .dl-card__desc { color: rgba(255,255,255,.75); }
.dl-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient-soft);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.dl-card--featured .dl-card__icon { background: rgba(255,255,255,.15); color: #fff; }
.dl-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.dl-card__desc { color: var(--ink-500); font-size: .9rem; margin-bottom: 18px; min-height: 42px; }
.dl-card__meta {
  display: flex; justify-content: center; gap: 14px;
  font-size: .8rem; color: var(--ink-400);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.dl-card--featured .dl-card__meta { color: rgba(255,255,255,.6); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,37,64,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-overlay.is-open { display: flex; opacity: 1; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal__head {
  position: relative;
  padding: 26px 30px 18px;
  border-bottom: 1px solid var(--ink-100);
  background: var(--gradient-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal__head h3 { margin: 0 0 4px; font-size: 1.35rem; }
.modal__head p { margin: 0; color: var(--ink-500); font-size: .9rem; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-500);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), color var(--transition);
}
.modal__close:hover { color: var(--brand-600); transform: rotate(90deg); }
.modal__body { padding: 28px 30px 30px; }

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.qr-item {
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.qr-item__img {
  width: 180px; height: 180px;
  margin: 0 auto 14px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.qr-item__img img { width: 100%; height: 100%; }
.qr-item h4 { margin: 0 0 4px; color: var(--brand-900); font-size: 1.05rem; }
.qr-item p { margin: 0; font-size: .82rem; color: var(--ink-400); }
.qr-item__tag {
  display: inline-block;
  background: var(--brand-50); color: var(--brand-600);
  font-size: .72rem; font-weight: 600;
  padding: 3px 10px; border-radius: var(--radius-pill);
  margin-top: 10px;
}

.modal__footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-200);
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
}
.modal__footer .hint { font-size: .82rem; color: var(--ink-400); }

.alt-install {
  margin-top: 26px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.alt-install h4 { margin: 0 0 14px; font-size: 1rem; color: var(--brand-900); }
.alt-install__list { display: grid; gap: 10px; }
.alt-install__item {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.alt-install__item .name {
  font-weight: 600; color: var(--brand-900);
  min-width: 100px;
  font-size: .92rem;
}
.alt-install__item code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 6px 10px;
  border-radius: 6px;
  overflow-x: auto;
  white-space: nowrap;
}
.alt-install__item .copy {
  background: var(--brand-50); color: var(--brand-600);
  border-radius: 6px; padding: 6px 10px;
  font-size: .8rem; font-weight: 600;
  transition: background var(--transition);
}
.alt-install__item .copy:hover { background: var(--brand-100); }
.alt-install__item .copy.copied { background: #28C840; color: #fff; }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-bar .num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(120deg, #fff 0%, #7FE3FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
}
.stats-bar .label {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600;
  color: var(--brand-900);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-500);
  transition: transform var(--transition);
}
.faq[open] summary::after { content: "\2212"; }
.faq__body {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: .96rem;
  line-height: 1.75;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gradient-deep);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 20% 0%, rgba(0,200,255,.25), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(0,168,255,.25), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 640px; margin: 0 auto 28px; position: relative; }
.cta-banner .hero__cta { justify-content: center; position: relative; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--brand-500); color: #fff; }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(0,200,255,.2), transparent 60%),
    radial-gradient(600px 400px at 0% 30%, rgba(0,126,221,.18), transparent 60%),
    linear-gradient(180deg, #F4F9FF 0%, #FFFFFF 80%);
  padding: 80px 0 56px;
  text-align: center;
}
.page-banner h1 {
  background: linear-gradient(120deg, #0A2540 0%, #007EDD 60%, #00A8FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.page-banner p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-500);
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: .85rem; color: var(--ink-400);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--brand-600); }
.breadcrumb span { color: var(--ink-300); }

/* ---------- Plugins / Tag Cloud ---------- */
.tag-cloud {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.tag-cloud li {
  background: #fff;
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.tag-cloud li:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
  background: var(--brand-50);
  transform: translateY(-2px);
}

/* ---------- Hotkey table ---------- */
.hotkey-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
}
.hotkey-table th, .hotkey-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: .95rem;
  border-bottom: 1px solid var(--ink-100);
}
.hotkey-table th {
  background: var(--bg-soft);
  color: var(--brand-900);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hotkey-table tr:last-child td { border-bottom: 0; }
.hotkey-table td kbd {
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
}

/* ---------- Logo Cloud ---------- */
.logo-cloud {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 36px 48px;
  opacity: .85;
}
.logo-cloud span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: .03em;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--brand-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .float-badge { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav, .nav__cta { display: none; }
  .nav.is-open, .nav.is-open .nav__cta {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav.is-open .nav__link { padding: 12px 14px; }
  .nav.is-open .nav__cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal__head, .modal__body { padding: 22px 20px; }
  .alt-install__item { flex-wrap: wrap; }
  .alt-install__item code { width: 100%; }
}
