*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #fff;
  color: #212a40;
  -webkit-font-smoothing: antialiased;
}

.gasstation-seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Scraped CSS reset may override Tailwind @layer utilities */
#gasstation-root .mx-auto,
#gasstation-root .container,
#gasstation-root .layout-container {
  margin-inline: auto !important;
}

#gasstation-root img {
  display: block;
  max-width: 100%;
  height: auto;
}

#gasstation-root .layout-container {
  width: 100%;
  max-width: 1200px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Section anchor offset for fixed nav */
#gasstation-root #advantage,
#gasstation-root #work,
#gasstation-root #faq {
  scroll-margin-top: 5rem;
}

/* FAQ accordion — expand/collapse */
#gasstation-root [data-slot="accordion-content"][hidden],
#gasstation-root [data-slot="accordion-item"][data-state="closed"] [data-slot="accordion-content"] {
  display: none !important;
}

#gasstation-root [data-slot="accordion-item"][data-state="open"] [data-slot="accordion-content"] {
  display: block !important;
}

#gasstation-root [data-slot="accordion-item"][data-state="open"] [data-slot="accordion-trigger"] svg {
  transform: rotate(180deg);
}

#gasstation-root .faq-content {
  padding: 0 0 1rem;
  color: rgba(33, 42, 64, 0.72);
  line-height: 1.625;
}

#gasstation-root .faq-content-p {
  margin: 0 0 0.75rem;
}

#gasstation-root .faq-content-p:last-child {
  margin-bottom: 0;
}

/* Mobile drawer fallback */
#gasstation-root [data-slot="drawer-content"][hidden],
#gasstation-root [role="dialog"][hidden] {
  display: none !important;
}

#gasstation-root .flex {
  display: flex;
}

#gasstation-root .grid {
  display: grid;
}

#gasstation-root .hidden {
  display: none;
}

@media (min-width: 1024px) {
  #gasstation-root .lg\:flex {
    display: flex !important;
  }
  #gasstation-root .lg\:hidden {
    display: none !important;
  }
  #gasstation-root .lg\:block {
    display: block !important;
  }
}

@media (max-width: 1023px) {
  #gasstation-root .max-lg\:hidden {
    display: none !important;
  }
  #gasstation-root .max-lg\:block {
    display: block !important;
  }
  #gasstation-root .max-lg\:flex {
    display: flex !important;
  }
}

/* Mobile header — logo + hamburger */
@media (max-width: 1023px) {
  #gasstation-root .gasstation-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 51;
    height: 56px;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  #gasstation-root .gasstation-mobile-header > a svg {
    display: block;
    height: 32px;
    width: auto;
  }

  #gasstation-root .gasstation-mobile-header-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  /* Hide header login on first paint — JS adds .gasstation-mobile-hide later */
  #gasstation-root .fixed.top-0.left-0.hidden.max-lg\:flex > .flex.items-center.h-full > .flex.items-center.h-full {
    display: none !important;
  }

  #gasstation-root .gasstation-mobile-header .gasstation-mobile-hide {
    display: none !important;
  }

  #gasstation-root .gasstation-mobile-header-actions > svg[data-slot="drawer-trigger"] {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
  }

  #gasstation-root .gasstation-drawer-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  #gasstation-root .gasstation-drawer-trigger svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  #gasstation-root .pt-80.max-lg\:pt-40 {
    padding-top: 56px !important;
  }
}

/* Mobile nav drawer */
.gasstation-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(8, 12, 24, 0.35);
}

.gasstation-drawer-panel {
  position: fixed;
  inset: 0;
  z-index: 10051;
  display: flex;
  flex-direction: column;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: #f8faff;
}

.gasstation-drawer-panel[hidden],
.gasstation-drawer-overlay[hidden],
body.gasstation-drawer-open .gasstation-drawer-panel[hidden] {
  display: none !important;
}

.gasstation-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 2rem;
}

.gasstation-drawer-logo svg {
  display: block;
  height: 28px;
  width: auto;
}

.gasstation-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gasstation-drawer-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.75rem;
}

.gasstation-drawer-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #080c18;
  -webkit-tap-highlight-color: transparent;
}

.gasstation-drawer-link.is-active {
  color: #2762ff;
}

.gasstation-drawer-lang {
  margin-top: 2rem;
}

.gasstation-drawer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(8, 12, 24, 0.15);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  color: #080c18;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.gasstation-drawer-open {
  overflow: hidden;
}

/* Framer Motion initial states — ensure content visible without React runtime */
#gasstation-root [style*="opacity: 0"],
#gasstation-root [style*="opacity:0"],
#gasstation-root [style*="translateY("] {
  opacity: 1 !important;
  transform: none !important;
}

/* Floating online consult button */
.gasstation-consult-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 9998;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #2762ff 0%, #2762ffcc 100%);
  box-shadow: 0 8px 24px rgba(39, 98, 255, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gasstation-consult-fab:active {
  transform: scale(0.96);
}

#gasstation-root [data-gasstation-buy-form] div.cursor-pointer.rounded-lg {
  min-height: 44px;
}

.gasstation-platform-brand {
  font-size: 1.375rem;
  font-weight: 700;
  color: #212a40;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
  .gasstation-platform-brand {
    display: none;
  }
}

#gasstation-root .flex.w-max span.cursor-pointer {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#gasstation-root .bg-white.flex.w-max.rounded-full.p-6 a > span.font-bold.text-white .relative.z-10 {
  color: #fff;
}

#gasstation-root .bg-white.flex.w-max.rounded-full.p-6 a > span.font-medium.text-text1 .relative.z-10 {
  color: var(--color-text1, #080c18);
}

[data-gasstation-lease-desc].max-lg\:mt-20 {
  margin-top: 1.25rem;
}

[data-gasstation-lease-features]:not(.max-lg\:hidden) {
  margin-top: 1rem;
}

[data-gasstation-quick-panel][hidden],
[data-gasstation-auto-panel][hidden],
[data-gasstation-account-card][hidden] {
  display: none !important;
}

.gasstation-auto-panel-wrap {
  padding-bottom: 2.5rem;
}

.gasstation-auto-panel {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
}

.gasstation-auto-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gasstation-auto-panel-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.gasstation-auto-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(33, 42, 64, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gasstation-auto-add-btn {
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gasstation-auto-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1rem 3rem;
}

.gasstation-auto-empty-icon {
  width: 160px;
  height: 160px;
  max-width: 100%;
}

.gasstation-auto-empty-text {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  color: rgba(33, 42, 64, 0.55);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .gasstation-auto-panel-wrap {
    padding-bottom: 1.5rem;
  }

  .gasstation-auto-panel {
    padding: 1rem;
    border-radius: 16px;
  }

  .gasstation-auto-panel-header {
    margin-bottom: 0.5rem;
  }

  .gasstation-auto-empty {
    padding: 1.5rem 0.5rem 2rem;
  }

  .gasstation-auto-empty-icon {
    width: 140px;
    height: 140px;
  }

  .gasstation-auto-empty-text {
    font-size: 0.875rem;
    max-width: 18rem;
  }
}
