/* ============================================================
   Q Fresh 夸父净界 — Apple-inspired design system
   Pure white surfaces · SF-style type · frosted glass · pill CTAs
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-deep: #0b0b10;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --hairline: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-2: #0a84ff;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --teal: #30d1c6;
  --ocean-grad: linear-gradient(100deg, #0071e3 0%, #0a84ff 45%, #4fb7ff 100%);
  --nav-h: 52px;
  --r-pill: 980px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 12px 40px -12px rgba(0, 0, 0, 0.14);
  --shadow-sm: 0 4px 18px -6px rgba(0, 0, 0, 0.1);
  --container: 1500px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Font stacks per language ---------- */
html, body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html[lang^="zh"] body, html[lang^="zh"] button, html[lang^="zh"] input { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif; }
html[lang="ja"] body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; }
html[lang="ko"] body { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif; }
html[lang="ar"] body, html[lang="fa"] body { font-family: "SF Pro Text", "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-align: start;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 28px; border-radius: var(--r-pill);
  font-size: 17px; font-weight: 600; line-height: 1.2; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(0, 113, 227, 0.55); }
.btn-primary:hover { background: #0077ed; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: rgba(0, 0, 0, 0.14); }
.btn-secondary:hover { background: var(--bg-alt); transform: translateY(-1px); }
.btn-ghost-blue { background: var(--accent-soft); color: var(--accent); }
.btn-ghost-blue:hover { background: rgba(0, 113, 227, 0.16); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f2; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-block { width: 100%; }

/* ---------- Top navigation (frosted) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--hairline); box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.nav-inner { max-width: var(--container); margin-inline: auto; padding-inline: 24px; height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-inline-end: auto; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 8px; }
.brand-word small { font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: 0.14em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  color: var(--ink); font-size: 15px; border-radius: 10px; transition: background 0.18s;
}
.nav-links a:hover { background: rgba(0, 0, 0, 0.05); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px;
  background: transparent; border: 0; border-radius: 10px; color: var(--ink);
  font-size: 14px; cursor: pointer; font-weight: 500;
}
.lang-btn:hover { background: rgba(0, 0, 0, 0.05); }
.lang-btn svg { width: 15px; height: 15px; opacity: 0.7; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
  border: 1px solid var(--hairline); border-radius: 16px; padding: 6px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s; transform-origin: top;
  z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font-size: 14.5px; cursor: pointer; text-align: start;
}
.lang-menu button:hover { background: rgba(0, 0, 0, 0.05); }
.lang-menu button .native { flex: 1; }
.lang-menu button .code { font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.lang-menu button[aria-checked="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.nav-cta { display: inline-flex; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.burger svg { width: 22px; height: 22px; }
.burger:hover { background: rgba(0, 0, 0, 0.05); }
.mobile-sheet {
  display: none; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--hairline); padding: 12px 24px 24px;
}
.mobile-sheet.open { display: block; }
.mobile-sheet a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.mobile-sheet a:last-of-type { border-bottom: 0; }
.mobile-sheet .btn { margin-top: 16px; }

/* ---------- Section scaffolding ---------- */
main { display: block; }
section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.sec { padding: 110px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-deep { background: var(--bg-deep); color: #f5f5f7; }
.sec-deep .kicker, .sec-deep .sub { color: rgba(255, 255, 255, 0.7); }
.sec-head { max-width: 940px; margin-inline: auto; text-align: center; margin-bottom: 64px; }
.sec-head.start { margin-inline: 0; text-align: start; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--ocean-grad); }
.sec-head.start .kicker::before { content: ""; }
.sec-title { font-size: clamp(2.1rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.sec-sub { margin-top: 18px; font-size: 18.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 88px) 0 0; overflow: hidden; }
.hero-glow { position: absolute; inset-inline-start: 50%; top: -260px; width: 1300px; height: 760px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, rgba(0, 113, 227, 0.1), rgba(90, 200, 250, 0.05) 45%, transparent 70%); }
html[dir="rtl"] .hero-glow { transform: translateX(50%); }
.hero-inner { position: relative; text-align: center; }
.hero .kicker { justify-content: center; margin-bottom: 20px; background: var(--accent-soft); color: var(--accent); padding: 6px 16px; border-radius: 999px; font-size: 12.5px; }
.hero .kicker::before { display: none; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 .grad { display: inline-block; background: var(--ocean-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 780px; margin: 26px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.68; color: var(--muted); }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

.hero-media { position: relative; margin-top: 74px; }
.hero-media .frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #0c1630;
}
.hero-media img { width: 100%; height: clamp(320px, 52vw, 560px); object-fit: cover; }
.hero-media .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.16), transparent 30%);
}
.float-chip {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 18px; padding: 14px 20px;
  box-shadow: var(--shadow-md); min-width: 168px;
}
.float-chip b { font-size: 20px; letter-spacing: -0.02em; }
.float-chip span { font-size: 12.5px; color: var(--muted); }
.float-chip.f1 { top: 8%; inset-inline-start: 3%; }
.float-chip.f2 { top: 44%; inset-inline-end: 4%; }
.float-chip.f3 { bottom: 12%; inset-inline-start: 9%; }
.hero .scroll-hint { display: flex; justify-content: center; margin: 34px 0 0; color: var(--faint); }
.hero .scroll-hint svg { width: 22px; height: 34px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Stats band ---------- */
.band { padding: 30px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.band-cell { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.band-cell b { display: block; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; background: var(--ocean-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-cell span { font-size: 14.5px; color: var(--muted); }
.band-cell b sup { font-size: 1rem; }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.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(--hairline); border-radius: var(--r-md); padding: 30px; transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Product series overview ---------- */
.series-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.series-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.3s var(--ease);
}
.series-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.series-card .thumb { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--bg-alt); }
.series-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.series-card:hover .thumb img { transform: scale(1.045); }
.series-card .cover-txt {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 26px; color: #fff;
}
.cover-2 { background: linear-gradient(135deg, #062c66 0%, #0a4db5 55%, #1670e0 100%); }
.cover-3 { background: linear-gradient(135deg, #0b3d33 0%, #0f6b58 55%, #23a183 100%); }
.cover-4 { background: linear-gradient(135deg, #10224f 0%, #1b3a7c 55%, #2f6bd6 100%); }
.series-card .cover-txt .big { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.series-card .cover-txt .small { margin-top: 8px; font-size: 14px; opacity: 0.85; }
.series-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.series-card .meta { display: flex; align-items: center; gap: 10px; }
.series-card .no {
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--accent);
  border: 1px solid rgba(0, 113, 227, 0.35); border-radius: 999px; padding: 3px 10px; background: var(--accent-soft);
}
.series-card .cat { font-size: 12.5px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.series-card h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.series-card .model { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.03em; }
.series-card .blurb { color: var(--muted); font-size: 15px; line-height: 1.6; }
.series-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--hairline); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.series-card:hover .link-arrow svg { transform: translateX(3px); }
html[dir="rtl"] .series-card:hover .link-arrow svg { transform: translateX(-3px) scaleX(-1); }

/* ---------- Series detail ---------- */
.series-detail { padding: 0 0 110px; }
.series-detail + .series-detail { border-top: 1px solid var(--hairline); }
.sd-wrap { padding-top: 96px; }
.sd-top { display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center; }
.sd-media { min-width: 0; }
.sd-gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-md); background: var(--bg-alt); }
.sd-gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sd-gallery-main .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform 0.2s;
}
.sd-gallery-main .play:hover { transform: scale(1.08); }
.sd-gallery-main .play svg { width: 26px; height: 26px; color: var(--accent); margin-inline-start: 3px; }
.sd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.sd-thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--bg-alt); }
.sd-thumbs button.active { border-color: var(--accent); }
.sd-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sd-videocard { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #0c1630; cursor: pointer; position: relative; }
.sd-videocard video, .sd-videocard img { width: 100%; display: block; }
.sd-txt { min-width: 0; }
.sd-txt .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sd-txt h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; margin-bottom: 6px; }
.sd-txt .model-line { color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.sd-txt .intro { font-size: 17px; line-height: 1.75; color: var(--muted); margin-bottom: 26px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feat { border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 16px 16px 14px; background: var(--bg-alt); transition: background 0.2s, transform 0.2s; }
.feat:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.feat h4 { font-size: 15px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.feat h4 svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.feat p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.sd-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* spec table */
.spec-wrap { margin-top: 64px; }
.spec-title { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.spec-title::after { content: ""; height: 1px; flex: 1; background: var(--hairline); }
.spec { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; }
.spec th, .spec td { padding: 13px 20px; font-size: 14.5px; text-align: start; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 30%; background: var(--bg-alt); font-weight: 600; color: var(--ink); }
.spec td { color: var(--ink); }
.spec tbody tr:nth-child(even) td { background: #fafafc; }

/* variants */
.variants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.variant { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.3s; cursor: pointer; }
.variant:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.variant .vimg { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.variant .vimg img { width: 100%; height: 100%; object-fit: cover; }
.variant .vimg.vtxt {
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(135deg, #062c66 0%, #0a4db5 58%, #0a84ff 100%);
}
.variant .vimg.vtxt span { color: #fff; font-size: clamp(1.3rem, 1.9vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.variant.vtxt-card { cursor: default; }
.variant.vtxt-card:hover { transform: none; box-shadow: none; }
.variant .vbody { padding: 16px 18px 18px; }
.variant h4 { font-size: 15.5px; margin-bottom: 4px; }
.variant p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- Accessories ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.acc-card { display: grid; grid-template-columns: 1fr 1.25fr; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; align-items: stretch; transition: transform 0.25s var(--ease), box-shadow 0.3s; }
.acc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.acc-card .aimg { position: relative; background: var(--bg-alt); min-height: 250px; overflow: hidden; }
.acc-card .aimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc-card .abody { padding: 34px 32px; display: flex; flex-direction: column; }
.acc-card .model { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.acc-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin: 8px 0 12px; }
.acc-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.acc-card .btn { margin-top: auto; align-self: flex-start; min-height: 40px; padding: 0 22px; font-size: 15px; }

/* ---------- Applications ---------- */
.app-tile {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.app-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-tile .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.app-tile .ic svg { width: 24px; height: 24px; color: var(--accent); }
.app-tile h3 { font-size: 18px; }
.app-tile p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ---------- Quality ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qual-cell { border-radius: var(--r-md); padding: 30px 26px; background: #fff; border: 1px solid var(--hairline); position: relative; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.3s; }
.qual-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.qual-cell::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--ocean-grad); opacity: 0.85; }
.qual-cell .tic { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.qual-cell .tic svg { width: 16px; height: 16px; }
.qual-cell h3 { font-size: 17px; margin-bottom: 8px; }
.qual-cell p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.std-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.std-chip {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--hairline);
  border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.std-chip svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.about-statement { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.32; font-weight: 700; }
.about-statement .grad { background: var(--ocean-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-body p { color: var(--muted); font-size: 16.5px; line-height: 1.8; margin-bottom: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.badge { display: inline-flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--hairline); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* ---------- Service ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-cell { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 28px 24px; transition: transform 0.25s var(--ease), box-shadow 0.3s; }
.svc-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-cell .tic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-cell .tic svg { width: 20px; height: 20px; }
.svc-cell h3 { font-size: 17px; margin-bottom: 8px; }
.svc-cell p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.dl-row { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 20px 22px; transition: transform 0.2s var(--ease), box-shadow 0.25s; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dl-card .fic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 59, 48, 0.09); color: #ff3b30; display: flex; align-items: center; justify-content: center; flex: none; }
.dl-card .fic svg { width: 20px; height: 20px; }
.dl-card .dl-meta { flex: 1; min-width: 0; }
.dl-card .dl-meta b { display: block; font-size: 15px; line-height: 1.4; }
.dl-card .dl-meta span { font-size: 12.5px; color: var(--faint); }
.dl-card .go { color: var(--accent); }
.dl-card .go svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-intro { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 30px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ik { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.info-list .ik svg { width: 18px; height: 18px; }
.info-list .ik2 { display: flex; flex-direction: column; min-width: 0; }
.info-list .ik2 small { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.info-list .ik2 b, .info-list .ik2 a { font-size: 16px; font-weight: 600; color: var(--ink); word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(0, 0, 0, 0.16); border-radius: 12px; background: #fff;
  padding: 13px 16px; font-size: 15.5px; font-family: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18); }
.field textarea { min-height: 110px; resize: vertical; }
.form-err { color: #d70015; font-size: 13.5px; margin: 0 0 12px; display: none; }
.form-err.show { display: block; }
.form-ok { color: #1d7f3b; font-size: 13.5px; margin: 12px 0 0; display: none; background: rgba(52, 199, 89, 0.12); border-radius: 10px; padding: 10px 14px; }
.form-ok.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #a1a1a6; padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer .brand { color: #fff; margin: 0 0 16px; }
.footer .brand-word small { color: #86868b; }
.footer p.desc { font-size: 14.5px; line-height: 1.75; max-width: 380px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: #a1a1a6; font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; font-size: 13px; flex-wrap: wrap; }
.footer-bottom .disc { color: #6e6e73; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 8, 14, 0.92);
  display: none; align-items: center; justify-content: center; padding: 4vw;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 18px; box-shadow: var(--shadow-lg); background: #000; }
.lightbox .lb-close {
  position: absolute; top: 22px; inset-inline-end: 26px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.25); }
.lb-cap { position: absolute; bottom: 26px; inset-inline: 0; text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; inset-inline-start: 50%; transform: translate(-50%, 20px); z-index: 400;
  background: rgba(29, 29, 31, 0.94); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 14.5px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  max-width: 90vw; text-align: center;
}
html[dir="rtl"] .toast { transform: translate(50%, 20px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html[dir="rtl"] .toast.show { transform: translate(50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: 1fr; }
  .qual-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .variants { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-cta { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 60px); }
  .sec { padding: 84px 0; }
  .sd-top { grid-template-columns: 1fr; gap: 44px; }
  .series-cards { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-card { grid-template-columns: 1fr; }
  .acc-card .aimg { min-height: 300px; }
  .grid-3, .grid-4, .band-grid, .dl-row { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .qual-grid, .svc-grid, .dl-row { grid-template-columns: 1fr; }
  .variants { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .spec th { width: 42%; }
  .form-card { padding: 24px; }
  .float-chip { display: none; }
}
