/* ==========================================================================
   GetPackSure Homepage Stylesheet (Theme: Professional Navy + Orange)
   Responsive for 360px, 390px, 768px, 1280px, 1440px
   Strictly references tokens.css and components.css
   ========================================================================== */

/* 1. Global & Layout Foundations */
.home-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  width: 100%;
}

.features-section {
  background: var(--surface);
}

.sec {
  background: var(--bg);
  padding: 96px 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 18px;
  }
  .sec {
    padding: 60px 0;
  }
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* 2. Typography & Core Layout Classes */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--eyebrow);
  letter-spacing: 0.2px;
  font-family: var(--font-head);
  margin-bottom: 6px;
}

.h1 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  font-size: 54px;
  line-height: 1.18;
  color: #FFFFFF;
}

.h2 {
  margin: 10px 0 0;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--font-head);
}

@media (max-width: 768px) {
  .h1 {
    font-size: 32px !important;
  }
  .h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 400px) {
  .h1 {
    font-size: 28px !important;
  }
}

.lead {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .lead {
    font-size: 16px;
  }
}

.nw {
  white-space: nowrap;
}

.hd {
  font-family: var(--font-head);
}

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

.g3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.g4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .g2, .g3, .g4 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* 4. Interactive & Component Buttons (Matching NavyHome Classes) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-o {
  background: var(--orange);
  color: var(--navy-dark) !important;
}

.btn-o:hover {
  background: #E2620E;
  transform: translateY(-1px);
}

.btn-ow {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
  background: transparent;
}

.btn-ow:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-on {
  border: 1.5px solid var(--btn-on-border, var(--navy));
  color: var(--btn-on-text, var(--navy)) !important;
  background: var(--btn-on-bg, #FFFFFF);
}

.btn-on:hover {
  background: rgba(15, 42, 74, 0.05);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-n {
  background: var(--navy);
  color: #FFFFFF !important;
}

.btn-n:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .btn {
    width: 100%;
  }
}

/* 5. Cards, Badges, Chips & Icons */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .card {
    padding: 22px;
  }
}

.ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-n, .ico.icon-n {
  background: var(--icon-navy-bg);
  color: #FFFFFF;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: var(--font-body);
}

.soon {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 9999px;
  background: var(--chip-soon-bg);
  color: var(--chip-soon-text);
  vertical-align: middle;
}

.ft {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ft b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
}

.ft div > span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* 6. Section 1: Hero Section */
.hero-section {
  background: radial-gradient(1200px 500px at 85% 20%, #1B3657 0%, #0F2A4A 45%, #0A1C33);
  color: #FFFFFF;
  padding: 88px 0 104px;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 56px 0 64px;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.heroCtas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .heroCtas {
    flex-direction: column;
    width: 100%;
  }
  .heroCtas .btn {
    width: 100%;
  }
}

.desk {
  display: block;
}

.mob {
  display: none !important;
}

@media (max-width: 760px) {
  .desk {
    display: none !important;
  }
  .mob {
    display: flex !important;
  }
}

/* Phone Mockup */
.hero-phone-container {
  position: relative;
  width: 300px;
  margin: 0 auto;
  max-width: 100%;
}

.phone-shell {
  width: 100%;
  height: 580px;
  border-radius: 44px;
  background: #05101F;
  padding: 13px;
  box-sizing: border-box;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px #1B3657;
}

.phone-screen {
  height: 100%;
  border-radius: 32px;
  background: #121620;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-camera-box {
  height: 52%;
  position: relative;
  background: #2A2F3A;
}

.phone-rec-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E53935;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.phone-bottom-box {
  flex: 1;
  background: #FFFFFF;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}

.phone-scanned-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F4F6FA;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.phone-scanned-item b {
  color: #0F2A4A;
}

.bar-fill {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: #34D399;
}

/* Floating Badges around Phone */
.hero-floating-card {
  position: absolute;
  background: var(--surface);
  color: var(--heading);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 2;
}

.hero-floating-card.card-top-left {
  top: 40px;
  left: -60px;
}

.hero-floating-card.card-bottom-right {
  bottom: 90px;
  right: -50px;
}

.hero-floating-card.card-mid-right {
  top: 220px;
  right: -70px;
  background: var(--navy);
  color: #FFFFFF;
  border: 1px solid #1B3657;
  font-size: 13px;
  font-weight: 500;
}

/* 7. Section 2: Platform Bar */
.platform-bar-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.platform-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.platform-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* 8. Section 5: Comparison Table */
.table-responsive {
  background: var(--surface);
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cmp {
  width: 100%;
  border-collapse: collapse;
}

.cmp td,
.cmp th {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 16px;
  vertical-align: middle;
}

.cmp th {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  font-size: 17px;
}
.cmp td {
  color: var(--text);
}

.cmp .c {
  text-align: center;
  width: 180px;
}

.cmp .c.c-packsure {
  background: var(--cmp-gps-bg);
  color: var(--cmp-gps-fg);
  font-weight: 600;
}
.cmp-badge-cross {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--cmp-cross-bg);
  color: var(--cmp-cross-fg);
}
.cmp-badge-check {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--cmp-check-bg);
  color: var(--cmp-check-fg);
}

.cmp tr:last-child td {
  border-bottom: none;
}

@media (max-width: 760px) {
  .cmp td,
  .cmp th {
    padding: 12px 8px;
    font-size: 14px;
  }
  .cmp .c {
    width: 64px;
  }
}

/* 9. Section 6: Customer Preview */
.preview-section {
  background: var(--surface);
}
.customer-phone-container {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 42, 74, 0.1);
  padding: 20px;
  box-sizing: border-box;
}

.customer-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-video-box {
  margin-top: 14px;
  aspect-ratio: 16/10;
  border-radius: 12px;
  background: #1B2B44;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #B5500C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-play-btn svg {
  fill: currentColor;
}

.customer-timeline-box {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.customer-timeline-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 10. Section 7: Security (Navy Background) */
.security-section {
  background: #0A1C33;
}

.security-card {
  background: #0F2A4A;
  border: 1px solid #1B3657;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-sizing: border-box;
}

.security-card b {
  color: #FFFFFF;
}

.security-card span {
  color: var(--text-on-navy);
}

/* 11. Section 8: Pricing Cards */
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-sizing: border-box;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.chip-live {
  background: var(--chip-orange-bg);
  color: var(--chip-orange-text);
}
.chip-packed {
  background: var(--chip-success-bg);
  color: var(--chip-success-text);
}
.pricing-card.is-live {
  border: 2px solid var(--orange);
  box-shadow: 0 20px 40px rgba(247, 115, 28, 0.15);
}

.price-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 38px;
  color: var(--heading);
  line-height: 1;
  margin: 6px 0;
}

.price-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-limits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  color: var(--text);
}

.pricing-limits li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pricing-limits li svg {
  color: var(--pricing-check);
  margin-top: 2px;
  flex-shrink: 0;
}

/* 12. Section 9: FAQ */
.faq-section {
  background: var(--surface);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.faq-item[open] {
  background: var(--faq-highlight-bg);
  border-color: var(--faq-highlight-border);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--heading);
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary svg {
  color: var(--heading);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-summary svg {
  transform: rotate(180deg);
}

.faq-body {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* 13. Section 10: Final CTA Banner */
.cta-banner-section {
  background: var(--bg);
  padding: 88px 0;
}

@media (max-width: 768px) {
  .cta-banner-section {
    padding: 56px 0;
  }
}

.cta-banner-box {
  border-radius: 28px;
  background: radial-gradient(800px 300px at 80% 0%, #1B3657, #0F2A4A 60%);
  padding: 56px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .cta-banner-box {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }
}

.cta-banner-title {
  margin: 0;
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .cta-banner-title {
    font-size: 28px;
  }
}

.cta-banner-p {
  margin: 10px 0 0;
  font-size: 17px;
  color: var(--text-on-navy);
  font-family: var(--font-body);
}

/* 14. Header Logo Overrides (58px Desktop / 44px Mobile) */
.top-nav .header-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .top-nav .header-logo {
    height: 44px;
  }
}

/* 15. Accessibility: Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   Public Rich Footer & Mobile Sticky Bar (Unified Standard)
   ========================================================================== */
.site-footer {
  background: var(--footer-bg, #ffffff);
  border-top: 1px solid var(--footer-border, var(--line, #DDE3EC));
  color: var(--text-muted, #52627A);
  padding: 48px 20px 36px;
  width: 100%;
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-sizing: border-box;
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand-col {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted, #52627A);
  line-height: 1.5;
  margin: 0;
}

.footer-nav-col {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: var(--font-head, 'Prompt', sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy, #0F2A4A);
  margin-bottom: 12px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  font-size: 14px;
  color: var(--text-muted, #52627A);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--orange, #F7731C);
}

.footer-line-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.line-qr-desktop {
  width: 108px;
  height: 108px;
  background: #ffffff;
  border: 1px solid var(--line, #DDE3EC);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.line-qr-desktop:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 185, 0, 0.2);
}

.line-qr-desktop svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #00B900;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.footer-btn-line:hover {
  background: #009900;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid var(--line, #DDE3EC);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted, #52627A);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 36px 16px calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .footer-top-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-nav-col {
    gap: 28px;
  }
  .line-qr-desktop {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   Mobile Sticky Bottom Bar (360px - 768px)
   ========================================================================== */
.sticky-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .sticky-bottom-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line, #DDE3EC);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(9, 38, 72, 0.12);
    transform: translateY(105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
    box-sizing: border-box;
  }

  .sticky-bottom-bar.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
  }

  .sticky-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }

  .sticky-bar-text b {
    font-family: var(--font-head, 'Prompt', sans-serif);
    font-size: 14px;
    font-weight: 800;
    color: var(--navy, #0F2A4A);
  }

  .sticky-bar-text span {
    font-size: 12px;
    color: var(--text-muted, #52627A);
  }

  .sticky-bar-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 14.5px !important;
    flex-shrink: 0;
    background: var(--orange, #F7731C) !important;
    color: var(--navy-dark, #0A1C33) !important;
    border-radius: var(--radius-sm, 10px) !important;
    font-weight: 700 !important;
    font-family: var(--font-head, 'Prompt', sans-serif) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(247, 115, 28, 0.25) !important;
  }

  .btn-orange {
    background: var(--orange, #F7731C);
    color: var(--navy-dark, #0A1C33) !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius, 14px);
  }
}

@media (min-width: 769px) {
  .sticky-bottom-bar {
    display: none !important;
  }
}

/* Dark Theme Footer Overrides */
[data-theme="dark"] .site-footer {
  background: #0A1C33;
  border-top-color: #1B3657;
  color: #C9D6E8;
}

[data-theme="dark"] .footer-col-title {
  color: #FFFFFF;
}

[data-theme="dark"] .footer-tagline {
  color: #C9D6E8;
}

[data-theme="dark"] .footer-links-list a {
  color: #C9D6E8;
}

[data-theme="dark"] .footer-links-list a:hover {
  color: #FF9A55;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: #1B3657;
  color: #8FA3BD;
}

[data-theme="dark"] .footer-legal-bar {
  border-top-color: #1B3657;
  color: #8FA3BD;
}

[data-theme="dark"] .footer-legal-links a {
  color: #8FA3BD;
}

[data-theme="dark"] .footer-legal-links a:hover {
  color: #FF9A55;
}

[data-theme="dark"] .line-qr-desktop {
  background: #FFFFFF !important; /* กล่องขาวเพื่อให้สแกน QR ได้เสมอ */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .line-qr-desktop:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 185, 0, 0.35);
}

[data-theme="dark"] .footer-btn-line {
  background: #00B900;
  color: #ffffff !important;
}

[data-theme="dark"] .footer-btn-line:hover {
  background: #009900;
}

/* ==========================================================================
   Theme Variables (Terminal Cascade Override)
   Guarantees winning specificity (0,1,1) and final document position
   ========================================================================== */
html[data-theme="light"],
:root[data-theme="light"] {
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --line: #DDE3EC;
  --line-strong: #C3CCD9;
  --heading: #0F2A4A;
  --text: #14213D;
  --text-muted: #52627A;
  --eyebrow: #B5500C;
  --chip-orange-bg: #FFE2CC;
  --chip-orange-text: #0A1C33;
  --chip-success-bg: #BFE6D2;
  --chip-success-text: #0A5A33;
  --icon-bg: #FFE2CC;
  --icon-fg: #0A1C33;
  --icon-navy-bg: #0F2A4A;
  --chip-soon-bg: #E6ECF4;
  --chip-soon-text: #3D4D63;
  --cmp-gps-bg: #FFF8F2;
  --cmp-gps-fg: #B5500C;
  --cmp-cross-bg: #F1F3F7;
  --cmp-cross-fg: #8A94A6;
  --cmp-check-bg: #D9F2E4;
  --cmp-check-fg: #0A5A33;
  --pricing-check: #0A5A33;
  --faq-highlight-bg: #FFF8F2;
  --faq-highlight-border: #FFE2CC;
  --btn-on-border: #0F2A4A;
  --btn-on-text: #0F2A4A;
  --btn-on-bg: #FFFFFF;
  --footer-bg: #FFFFFF;
  --footer-border: #DDE3EC;
  --footer-text: #52627A;
}

html[data-theme="dark"],
:root[data-theme="dark"] {
  --bg: #0B1220;
  --surface: #121A2B;
  --surface-elevated: #172136;
  --line: #24324A;
  --line-strong: #3A4A66;
  --heading: #F1F4F9;
  --text: #E6ECF4;
  --text-muted: #A9B6CA;
  --eyebrow: #FF9A55;
  --chip-orange-bg: rgba(247, 115, 28, 0.16);
  --chip-orange-text: #FFB27A;
  --chip-success-bg: #12382A;
  --chip-success-text: #8EE0B5;
  --icon-bg: rgba(247, 115, 28, 0.16);
  --icon-fg: #FFB27A;
  --icon-navy-bg: #23406B;
  --chip-soon-bg: #24324A;
  --chip-soon-text: #C9D6E8;
  --cmp-gps-bg: rgba(247, 115, 28, 0.08);
  --cmp-gps-fg: #FF9A55;
  --cmp-cross-bg: #1C2840;
  --cmp-cross-fg: #8A94A6;
  --cmp-check-bg: #12382A;
  --cmp-check-fg: #8EE0B5;
  --pricing-check: #8EE0B5;
  --faq-highlight-bg: rgba(247, 115, 28, 0.08);
  --faq-highlight-border: rgba(247, 115, 28, 0.35);
  --btn-on-border: #3A4A66;
  --btn-on-text: #F1F4F9;
  --btn-on-bg: #121A2B;
  --footer-bg: #0A1C33;
  --footer-border: #1B3657;
  --footer-text: #C9D6E8;
}
