/* Flight tracker landing page (/flight-tracker-app) — built on home-v2/style.css design tokens.
   Keeps the ids/classes the page's inline slider and FAQ scripts use (#slideImage, #slideTitle,
   #slideText, #prevBtn, #nextBtn, .dot, .faq-item, .faq-question) so those keep working untouched. */

.tr-hero {
  /* Same top space as .guide-hero: the .section default (min 72px) went under the fixed topbar on short/zoomed windows */
  padding-top: clamp(124px, 17vh, 170px);
  padding-bottom: 0;
}
@media (max-width: 768px) {
  /* style.css sets .section { padding: 32px 0 !important } here; keep clear of the fixed topbar */
  .tr-hero {
    padding-top: 104px !important;
  }
}
.tr-hero .head {
  max-width: 860px;
}
.tr-store {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.tr-store a {
  display: block;
  transition: transform 0.2s;
}
.tr-store a:hover {
  transform: translateY(-3px);
}
.tr-store img {
  height: 48px;
  width: auto;
}

.tr-title {
  margin: 0;
  font-family: var(--f-disp);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
.tr-sec-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}
.tr-sec-head p {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
}

/* Cards */
.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.tr-card {
  padding: 24px;
  border-radius: var(--r-l);
  border: 1px solid var(--stroke-2);
  background: var(--card-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.tr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 135, 255, 0.4);
  box-shadow: 0 20px 42px -10px rgba(155, 135, 255, 0.25);
}
.tr-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-2);
  color: var(--cyan);
  font-size: 18px;
}
.tr-card h3 {
  margin: 0 0 8px;
  font-family: var(--f-disp);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.tr-card p {
  margin: 0;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.65;
}

/* App walkthrough slider */
.tr-shot {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  justify-content: center;
  max-width: 940px;
  margin: 0 auto;
}
.phone-frame {
  padding: 10px;
  border-radius: 38px;
  border: 1px solid var(--stroke-3);
  background: var(--bg-2);
  box-shadow: var(--glow);
}
.phone-screen {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 9 / 19;
  background: var(--bg-3);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.screenshot-content h2 {
  margin: 0 0 12px;
  font-family: var(--f-disp);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: var(--text);
}
.screenshot-content p {
  margin: 0 0 24px;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.7;
}
.controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.slider-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.slider-btn:hover {
  border-color: var(--cyan);
  background: rgba(99, 228, 255, 0.08);
}
.dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--stroke-3);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.dot.active {
  width: 26px;
  border-radius: 99px;
  background: var(--cyan);
}
@media (max-width: 760px) {
  .tr-shot {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Long-form copy */
.tr-prose {
  max-width: 860px;
  margin: 40px auto 28px;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.75;
}
.tr-prose h3 {
  margin: 28px 0 10px;
  font-family: var(--f-disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.tr-prose p {
  margin: 0 0 14px;
}
.tr-prose ul {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}
.tr-prose li {
  margin-bottom: 8px;
}
.tr-prose li::marker {
  color: var(--violet);
}
.tr-prose strong {
  color: var(--text);
}
.smart-bar {
  max-width: 860px;
  margin: 36px auto 0;
  padding: 22px 26px;
  border-radius: var(--r-l);
  border: 1px solid var(--stroke-3);
  background: var(--grad-soft);
}
.smart-bar h4 {
  margin: 0 0 8px;
  font-family: var(--f-disp);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.smart-bar p {
  margin: 0;
  color: var(--dim);
  line-height: 1.7;
}
.tr-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

/* CTA band */
.tr-cta {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke-3);
  background: var(--grad-soft);
  text-align: center;
  box-shadow: var(--glow);
}
.tr-cta p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--dim);
  line-height: 1.7;
}

/* Testimonials */
.tr-quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tr-quote blockquote {
  margin: 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
}
.tr-quote .client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.tr-quote .avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-2);
  color: var(--cyan);
}
.tr-quote .client h3 {
  margin: 0;
  font-size: 15px;
}
.tr-quote .client p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
/* single centred column under the heading; the dark line-art image was barely visible on the dark theme */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
}
.faq-image {
  display: none;
}
.faq-image img {
  width: 100%;
  height: auto;
  border-radius: var(--r-l);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border-radius: var(--r-m);
  border: 1px solid var(--stroke-2);
  background: var(--card-2);
  overflow: hidden;
}
.faq-item.active {
  border-color: var(--stroke-3);
  background: var(--grad-soft);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--f-disp);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question .icon {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-answer p {
  margin: 0;
}
.faq-item.active .faq-answer {
  display: block;
}
