.tracking-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 3%, rgba(49, 213, 165, .2), transparent 32rem),
    radial-gradient(circle at 94% 12%, rgba(31, 124, 255, .15), transparent 34rem),
    linear-gradient(180deg, #fbfdff 0, #f4f8fc 48%, #fbfdff 100%);
}

.tracking-page main { overflow: hidden; }
.tracking-page section[id],
.tracking-page article[id] { scroll-margin-top: 28px; }

.tracking-header {
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding-block: 22px;
}

.tracking-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--navy);
  font-size: .96rem;
  font-weight: 820;
}

.tracking-header-nav > a { padding: 12px 0; }
.tracking-header-nav > a:hover { color: var(--blue-dark); }

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 22px rgba(16, 32, 51, .06);
}

.language-switch a {
  display: grid;
  min-width: 42px;
  min-height: 38px;
  place-items: center;
  border-radius: 999px;
  color: #61738a;
  font-size: .78rem;
  font-weight: 900;
}

.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--navy);
}

.tracking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  min-height: 720px;
  padding-block: clamp(46px, 7vw, 92px) clamp(74px, 9vw, 118px);
}

.tracking-hero-copy { position: relative; z-index: 2; }
.tracking-hero h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(3rem, 5.5vw, 6rem); line-height: .98; letter-spacing: -.055em; }
.tracking-lead { max-width: 720px; margin-bottom: 28px; color: #4f647b; font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.62; }
.tracking-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tracking-actions .button { min-height: 52px; }
.tracking-caveat { max-width: 680px; margin: 22px 0 0; padding-left: 15px; border-left: 3px solid var(--mint); color: #687a8f; font-size: .88rem; line-height: 1.55; }

.tracking-phone-scene {
  position: relative;
  min-height: 610px;
  isolation: isolate;
}

.tracking-phone-scene::before {
  content: "";
  position: absolute;
  inset: 10% -12% 2% 4%;
  z-index: -3;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(145deg, rgba(49, 213, 165, .22), rgba(31, 124, 255, .18));
  transform: rotate(-7deg);
}

.tracking-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(310px, 64%);
  aspect-ratio: 310 / 610;
  padding: 13px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 50px;
  background: linear-gradient(145deg, #14273c, #07121f);
  box-shadow: 0 44px 90px rgba(14, 39, 68, .28), inset 0 0 0 2px rgba(255, 255, 255, .09);
  transform: translate(-50%, -50%) rotate(4deg);
}

.phone-speaker { position: absolute; top: 22px; left: 50%; z-index: 3; width: 72px; height: 17px; border-radius: 999px; background: #09131f; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 38px; background: #eef7f6; }
.phone-screen svg { display: block; width: 100%; height: 100%; }
.gps-status { position: absolute; left: 50%; top: 50px; display: flex; align-items: center; gap: 8px; min-width: max-content; padding: 10px 14px; border: 1px solid rgba(16, 32, 51, .08); border-radius: 999px; color: var(--navy); background: rgba(255, 255, 255, .92); box-shadow: 0 12px 28px rgba(16, 32, 51, .11); font-size: .76rem; font-weight: 900; transform: translateX(-50%); }
.gps-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(49, 213, 165, .16); }

.signal-ring { position: absolute; left: 50%; top: 50%; z-index: -2; border: 2px solid rgba(31, 124, 255, .17); border-radius: 50%; transform: translate(-50%, -50%); }
.signal-ring-one { width: 430px; height: 430px; }
.signal-ring-two { width: 550px; height: 550px; border-color: rgba(49, 213, 165, .14); }

.tracking-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid rgba(31, 124, 255, .12);
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 44px rgba(16, 32, 51, .14);
  backdrop-filter: blur(12px);
}

.tracking-float-card > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--blue-dark); background: #eaf3ff; font-size: 1.3rem; font-weight: 900; }
.tracking-float-card strong, .tracking-float-card small { display: block; }
.tracking-float-card strong { color: var(--navy); font-size: .82rem; }
.tracking-float-card small { margin-top: 2px; color: var(--mint-dark); font-size: .74rem; font-weight: 850; }
.float-location { left: -2%; top: 23%; }
.float-battery { right: -4%; bottom: 20%; }

.quick-section,
.setup-section,
.brand-section,
.impact-section,
.faq-section { padding-block: clamp(64px, 8vw, 108px); }

.quick-section { position: relative; padding: clamp(70px, 7vw, 96px) clamp(28px, 3.5vw, 54px); }
.quick-section::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(31, 124, 255, .08); border-radius: 34px; background: rgba(255, 255, 255, .62); box-shadow: var(--soft-shadow); }
.tracking-section-heading { max-width: 780px; margin-bottom: 34px; }
.tracking-section-heading h2 { margin-bottom: 12px; font-size: clamp(2.25rem, 4vw, 4rem); letter-spacing: -.04em; }
.tracking-section-heading > p:last-child { max-width: 650px; color: #60738a; font-size: 1.03rem; line-height: 1.6; }

.quick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 1.5vw, 24px); margin: 0; padding: 0; list-style: none; }
.quick-grid li { min-width: 0; padding: 22px 19px; border: 1px solid rgba(31, 124, 255, .11); border-radius: 20px; background: rgba(255, 255, 255, .88); box-shadow: 0 12px 28px rgba(16, 32, 51, .055); }
.quick-grid span { display: grid; width: 38px; height: 38px; margin-bottom: 18px; place-items: center; border-radius: 12px; color: var(--blue-dark); background: #eaf3ff; font-size: .72rem; font-weight: 950; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { margin-bottom: 7px; color: var(--navy); font-size: .98rem; }
.quick-grid small { color: #66798e; font-size: .84rem; line-height: 1.45; }

.setup-section { padding-top: clamp(54px, 7vw, 92px); }
.priority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.priority-card { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 25px; background: rgba(255, 255, 255, .88); box-shadow: var(--soft-shadow); }
.priority-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--blue); }
.recommended-card::after { background: var(--mint); }
.diagnostic-card::after { background: var(--gold); }
.priority-label { display: inline-flex; margin-bottom: 17px; padding: 7px 11px; border-radius: 999px; color: var(--blue-dark); background: #eaf3ff; font-size: .71rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.recommended-card .priority-label { color: #087a58; background: var(--mint-soft); }
.diagnostic-card .priority-label { color: #8a5a00; background: var(--gold-soft); }
.priority-card h3 { margin-bottom: 17px; font-size: 1.32rem; }
.priority-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.priority-card li { position: relative; padding-left: 24px; color: #5e7187; font-size: .92rem; line-height: 1.52; }
.priority-card li::before { content: "✓"; position: absolute; left: 0; top: .02em; color: var(--mint-dark); font-weight: 950; }

.brand-section { width: 100%; max-width: none; padding-inline: max(calc((100% - 1530px) / 2), 5vw); background: linear-gradient(145deg, #102033, #153b5d); }
.brand-section .tracking-section-heading h2 { color: #fff; }
.brand-section .tracking-section-heading > p:last-child { color: rgba(255, 255, 255, .66); }
.brand-section .eyebrow { color: var(--mint); }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 26px; }
.brand-grid > a { display: flex; min-width: 0; min-height: 210px; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 22px; color: #fff; background: rgba(255, 255, 255, .075); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.brand-grid > a:hover { border-color: rgba(49, 213, 165, .5); background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.brand-grid strong, .brand-grid small, .brand-grid b { display: block; }
.brand-grid strong { margin: 18px 0 5px; font-size: 1.1rem; }
.brand-grid small { color: rgba(255, 255, 255, .62); line-height: 1.42; }
.brand-grid b { margin-top: auto; padding-top: 18px; color: var(--mint); font-size: .82rem; }
.brand-glyph { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--blue), #174fca); box-shadow: 0 12px 24px rgba(0, 0, 0, .16); font-weight: 950; }
.huawei-glyph { background: linear-gradient(145deg, #f24b59, #bd1e37); }
.oppo-glyph { background: linear-gradient(145deg, #25bd78, #08784b); }
.android-glyph { color: var(--navy); background: linear-gradient(145deg, #c4f4df, #79d7b3); }

.brand-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand-guide { padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 25px; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 60px rgba(0, 0, 0, .12); }
.guide-title { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.guide-title p { margin: 0 0 3px; color: var(--blue-dark); font-size: .72rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.guide-title h3 { margin: 0; font-size: 1.25rem; }
.brand-guide ol { display: grid; gap: 13px; margin: 0; padding-left: 22px; }
.brand-guide li { padding-left: 4px; color: #5a6e84; font-size: .91rem; line-height: 1.55; }
.brand-guide li::marker { color: var(--blue); font-weight: 950; }
.brand-guide strong { color: var(--navy); }
.guide-note { margin: 20px 0 0; padding: 13px 15px; border-radius: 13px; color: #66798e; background: #f3f7fb; font-size: .81rem; line-height: 1.48; }

.impact-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.impact-copy h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 3.8rem); letter-spacing: -.04em; }
.impact-copy > p:last-child { color: #60738a; line-height: 1.62; }
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.impact-grid article { padding: 22px 18px; border: 1px solid rgba(31, 124, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .82); box-shadow: var(--soft-shadow); }
.impact-grid span { display: grid; width: 42px; height: 42px; margin-bottom: 16px; place-items: center; border-radius: 13px; color: var(--blue-dark); background: #eaf3ff; font-size: 1.35rem; font-weight: 950; }
.impact-grid h3 { margin-bottom: 8px; font-size: 1rem; }
.impact-grid p { margin: 0; color: #64778c; font-size: .84rem; line-height: 1.5; }
.impact-disclaimer { grid-column: 1 / -1; margin: 0; padding: 16px 18px; border: 1px solid rgba(245, 182, 66, .28); border-radius: 15px; color: #6f5a2f; background: var(--gold-soft); font-size: .86rem; line-height: 1.5; }

.faq-section { max-width: 1050px; }
.faq-list { display: grid; gap: 11px; }
.faq-list details { border: 1px solid rgba(31, 124, 255, .11); border-radius: 18px; background: rgba(255, 255, 255, .88); box-shadow: 0 10px 26px rgba(16, 32, 51, .045); }
.faq-list summary { position: relative; min-height: 58px; padding: 19px 56px 19px 21px; color: var(--navy); cursor: pointer; font-weight: 880; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: #eaf3ff; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 21px 21px; color: #60738a; line-height: 1.6; }

.tracking-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 72px; padding: clamp(28px, 4vw, 46px); border-radius: 27px; color: #fff; background: linear-gradient(135deg, var(--navy), #17466f); box-shadow: 0 26px 60px rgba(15, 32, 53, .2); }
.tracking-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.8rem, 3vw, 3rem); }
.tracking-cta p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .7); }
.tracking-cta .eyebrow { color: var(--mint); }
.tracking-cta .button { flex: 0 0 auto; }

.tracking-footer { grid-template-columns: minmax(260px, 1fr) minmax(360px, .8fr); column-gap: clamp(48px, 8vw, 120px); }
.tracking-footer-links { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: clamp(28px, 4vw, 60px); justify-self: end; width: min(100%, 470px); }
.tracking-footer-links nav { gap: 0; }
.tracking-footer-links nav h3 { margin-bottom: 10px; }
.tracking-footer-links nav a { display: flex; align-items: center; min-height: 38px; color: #5f7084; }
.tracking-footer-links nav a:hover { color: var(--blue-dark); }
.tracking-footer .footer-bottom { color: #718196; font-weight: 680; }

@media (max-width: 1100px) {
  .tracking-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr); gap: 25px; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-section { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .tracking-header { grid-template-columns: 1fr; gap: 13px; }
  .tracking-header-nav { justify-content: space-between; }
  .tracking-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 38px; }
  .tracking-phone-scene { width: min(100%, 590px); min-height: 560px; margin-inline: auto; }
  .priority-grid, .brand-guides { grid-template-columns: 1fr; }
  .tracking-cta { align-items: flex-start; flex-direction: column; }
  .tracking-footer { grid-template-columns: 1fr; }
  .tracking-footer-links { justify-self: start; width: min(100%, 470px); }
}

@media (max-width: 580px) {
  .tracking-header { width: min(100% - 34px, 1530px); padding-block: 17px; }
  .tracking-header .brand { justify-self: center; }
  .tracking-header-nav { width: 100%; gap: 6px; font-size: .8rem; }
  .tracking-header-nav > a { min-height: 44px; display: grid; place-items: center; }
  .language-switch { margin-left: auto; }
  .language-switch a { min-width: 37px; min-height: 36px; }
  .tracking-hero { padding-top: 28px; padding-bottom: 60px; }
  .tracking-hero h1 { margin-bottom: 18px; font-size: clamp(2.35rem, 10.5vw, 3.2rem); line-height: 1.01; letter-spacing: -.045em; }
  .tracking-lead { margin-bottom: 24px; font-size: 1rem; line-height: 1.58; }
  .tracking-actions { width: 100%; }
  .tracking-actions .button { width: 100%; }
  .tracking-phone-scene { min-height: 485px; margin-top: 8px; }
  .tracking-phone { width: min(245px, 68%); border-radius: 40px; }
  .phone-screen { border-radius: 30px; }
  .phone-speaker { top: 18px; width: 58px; height: 14px; }
  .signal-ring-one { width: 330px; height: 330px; }
  .signal-ring-two { width: 420px; height: 420px; }
  .tracking-float-card { padding: 10px 11px; border-radius: 14px; }
  .tracking-float-card > span { width: 32px; height: 32px; }
  .tracking-float-card strong { font-size: .7rem; }
  .tracking-float-card small { font-size: .65rem; }
  .float-location { left: 0; top: 23%; }
  .float-battery { right: 0; bottom: 19%; }
  .quick-section { padding: 50px 0; }
  .quick-section::before { inset-inline: -8px; }
  .quick-section .tracking-section-heading { margin-bottom: 24px; }
  .tracking-section-heading h2, .impact-copy h2 { font-size: clamp(1.95rem, 9vw, 2.5rem); line-height: 1.08; }
  .tracking-section-heading > p:last-child { font-size: .98rem; line-height: 1.55; }
  .quick-grid { grid-template-columns: 1fr; gap: 9px; }
  .quick-grid li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; padding: 14px 15px; }
  .quick-grid span { grid-row: 1 / 3; width: 36px; height: 36px; margin: 0; border-radius: 11px; }
  .quick-grid strong, .quick-grid small { grid-column: 2; }
  .quick-grid strong { margin-bottom: 3px; font-size: .94rem; line-height: 1.3; }
  .quick-grid small { font-size: .81rem; line-height: 1.38; }
  .brand-section { padding-inline: 17px; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .brand-grid > a { min-height: 190px; padding: 17px 15px; }
  .brand-grid strong { font-size: .98rem; }
  .brand-grid small { font-size: .75rem; }
  .brand-grid b { font-size: .72rem; }
  .brand-guide { padding: 22px 18px; }
  .guide-title { align-items: flex-start; }
  .impact-grid { grid-template-columns: 1fr; }
  .tracking-cta { margin-bottom: 48px; }
  .tracking-cta .button { width: 100%; }
  .tracking-footer { gap: 24px; padding: 32px 0 28px; }
  .tracking-footer .footer-brand p { margin-top: 12px; }
  .tracking-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
  .tracking-footer-links nav h3 { margin-bottom: 6px; }
  .tracking-footer-links nav a { min-height: 40px; font-size: .86rem; line-height: 1.3; }
  .tracking-footer .footer-bottom { gap: 6px; padding-top: 18px; }
  .tracking-footer .footer-bottom p { line-height: 1.45; }
}

@media (max-width: 370px) {
  .tracking-header-nav > a:first-child { display: none; }
  .tracking-phone-scene { min-height: 450px; }
  .tracking-phone { width: 225px; }
  .tracking-float-card > span { display: none; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-grid > a { min-height: 175px; }
}

@media (max-width: 350px) {
  .tracking-footer-links { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-grid > a { transition: none; }
}
