/* ============ 1. Base layout & reset ============ */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #0f172a; /* slate-900 */
  background: #ffffff;
}

/* Main page container */
.page {
  max-width: 1040px;
  margin: 24px auto 0 auto;
  padding: 0 18px 40px;
}

/* ============ 2. Hero + Top Navigation ============ */

.hero {
  padding: 32px 18px 34px;
  background: radial-gradient(circle at top left, #1d4ed8 0, #0f172a 40%, #020617 100%);
  color: #f9fafb;
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* Top navigation inside hero */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.9rem;
  gap: 16px;
}

.top-nav-brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.top-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.top-nav-links a {
  text-decoration: none;
  color: #ffffff;
  opacity: 0.9;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-bottom-color 0.2s ease;
}

.top-nav-links a.active {
  opacity: 1;
  border-bottom-color: #facc15; /* highlight for current section */
}

.top-nav-links a:hover {
  opacity: 1;
  border-bottom-color: #ffffff;
}

/* Temporary test badge for branch testing */
.app-link-badge {
  background: #1d4ed8;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15,23,42,0.25);
  transition: 0.2s ease;
  white-space: nowrap;
}

.app-link-badge:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* Hero main area: copy + visual */
.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Branding row (logo + name) */
.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #020617;
}

.brand-row h1 {
  font-size: 1.35rem;
  margin: 0;
}

/* Hero text */
.hero-copy {
  flex: 1.2;
}

.tagline {
  font-size: 1.4rem;
  margin: 6px 0 6px;
  color: #e5e7eb;
}

.subtext {
  max-width: 640px;
  margin: 0 0 10px;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 14px;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.hero-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #facc15;
}

/* Hero CTAs */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: #facc15;
  color: #1f2937;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

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

.btn-secondary {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-1px);
}

/* Hero credibility badge */
.hero-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 0.8rem;
  color: #e5e7eb;
}

/* Hero visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  cursor: zoom-in;
}


.hero-screenshot-card {
  background: #020617;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
  position: relative;
  max-width: 420px;
}

.hero-screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.hero-screenshot-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Stack nav on smaller screens */
@media (max-width: 900px) {
  .top-nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .hero-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 26px 18px 24px;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .subtext {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .top-nav-links {
    gap: 8px;
  }
}

/* Hero image mockup animation */
.hero-screenshot-card.hero-animated {
  position: relative;
  transform-style: preserve-3d;
  animation: heroFloat 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50%      { transform: translateY(-10px) rotateX(2deg) rotateY(-2deg); }
}

/* subtle glow behind the card hero image */
.hero-screenshot-card.hero-animated::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle at 40% 30%, rgba(37, 99, 235, 0.22), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(99, 102, 241, 0.18), transparent 55%);
  filter: blur(18px);
  z-index: -1;
  border-radius: 18px;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.9; }
}
/* Animate the “+18% growth” bubble gently bouncing hero image */
.hero-growth-bubble {
  position: absolute;
  top: 18%;
  right: 14%;
  background: rgba(255,255,255,0.96);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  animation: bubblePop 3.2s ease-in-out infinite;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

/* +18% */
.hero-growth-bubble .growth-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #16a34a; /* green */
}

/* Demand Change Growth - Label*/
.hero-growth-bubble .growth-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Gentle float animation */
@keyframes bubblePop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-growth-bubble {
    animation: none;
  }
}


/* ============ 3. Generic sections & typography ============ */

.section {
  padding: 32px 4px 26px;
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid #e5e7eb;
}

.section:first-of-type {
  border-top: none;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.section h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.section p {
  margin: 4px 0 10px;
  font-size: 0.97rem;
  color: #1f2937;
}

.section-lead {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 640px;
  margin-bottom: 16px;
}

.section ul,
.section ol {
  padding-left: 20px;
  margin-top: 6px;
  font-size: 0.95rem;
  color: #111827;
}

/* Alternate background sections */
.section-alt {
  background: #f9fafb;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  margin-top: 22px;
  padding: 26px 18px 28px;
}

/* Header row for some sections */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

/* Slightly softer body copy in About & Contact */
.about p,
.contact p {
  font-size: 0.96rem;
}

/* ============ 4. Overview cards ============ */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.info-card {
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
  border-color: #d1d5db;
}

.info-card ul,
.info-card ol {
  margin-top: 6px;
}
/* ===== Overview cards: auto-spotlight (like pricing) ===== */
.info-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid #e5e7eb; /* ensure consistent border */
}

.info-card.is-spotlight {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: #2563eb; /* same blue as pricing spotlight */
}

/* Optional: softer hover when NOT spotlighted */
.info-card:not(.is-spotlight):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  border-color: #93c5fd;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .info-card,
  .info-card.is-spotlight {
    transition: none;
    transform: none;
  }
}

/* ============ 5. Product tour: slider + video ============ */

.product-tour-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-top: 16px;
}

.preview-slider {
  flex: 1.3;
  position: relative;
  min-width: 260px;
}

.preview-image-wrapper {
  margin-top: 12px;
  text-align: center;
}

.preview-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.preview-image-wrapper img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.preview-image-wrapper.secondary {
  margin-top: 22px;
}

.preview-slide {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.preview-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.preview-slide:not(.active) {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.slider-controls {
  display: flex;
  justify-content: space-between; /* keeps left/right fixed */
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.slider-btn {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  min-width: 130px; /* keeps width stable */
  background: #ffffff;
  padding: 6px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #111827;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

/* Video card */
.video-card {
  flex: 1;
  min-width: 260px;
}

/* 16:9 responsive video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
  margin-top: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ============ 7. Features grid ============ */


/* ===== Feature cards: lighter + smaller ===== */
.feature-card {
  background: #f6fdf8; /* subtle blue-gray */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 14px 12px; /* slightly tighter */
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.feature-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #374151;
}


/* ===== Features carousel (1 card at a time) ===== */


.feature-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Centered, compact feature card */
.feature-carousel .feature-card {
  flex: 0 0 100%;
  max-width: 560px;   /* controls width */
  width: 100%;
  margin: 0 auto;
}

.feature-carousel {
  overflow: hidden;
  border-radius: 16px;
}

.feature-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Each slide ALWAYS takes full carousel width */
.feature-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center; /* centers the card */
}
/* The card can be smaller, but the slide is 100% 
.feature-slide .feature-card {
  width: min(520px, 92%);
  */
}
.feature-slide .feature-card{
  width: min(520px, 92%);
  background: #f6fdf8;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #16a34a;     /* green accent */
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

/* Controls + dots */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.carousel-btn {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 6px 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: #111827;
}



/* ============ 8. Pricing ============ */

.pricing > p {
  font-size: 0.96rem;
  color: #4b5563;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.pricing-card {
  background: #ffffff;
  padding: 20px 18px 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0px 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}


/* Hover effect for NON-spotlight cards */
.pricing-card:not(.is-spotlight):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  border-color: #93c5fd; /* lighter blue */
}

/* Spotlight card (stronger than hover) */
.pricing-card.is-spotlight {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: #2563eb;
}


.pricing-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 1.1rem;
}

.plan-desc {
  font-size: 0.93rem;
  margin-bottom: 6px;
  color: #4b5563;
}

.pricing-card ul {
  padding-left: 18px;
  margin: 4px 0 0;
  font-size: 0.9rem;
}


/* Card-style container for legal/support pages */
.small-page-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 20px 18px 22px;
}

/* Slightly tighten top spacing inside the card */
.small-page-card h1 {
  margin-top: 2px;
  margin-bottom: 6px;
}

.small-page-card h2 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.small-page-card p {
  margin-bottom: 10px;
}

/* ===== Pricing auto-spotlight (clean + consistent) ===== */
.pricing-card {
  border: 1px solid #e5e7eb;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pricing-card.is-spotlight {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: #2563eb; /* blue border ONLY when spotlighted */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card.is-spotlight {
    transition: none;
    transform: none;
  }
}


/* ============ 9. Why Merchants Love It & FAQ ============ */

.why-list {
  padding-left: 20px;
  font-size: 0.95rem;
}

/* Accordion-style FAQ */
.faq-list {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  color: #111827;
}

.faq-question-text {
  margin-right: 10px;
}

.faq-icon {
  font-size: 1.1rem;
  color: #6b7280;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Answer area (collapsed by default) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: #f9fafb;
  transition: max-height 0.25s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
}

.faq-answer p {
  margin: 8px 0 12px;
}

/* Open state */
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 6px;
  padding-bottom: 10px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg); /* + to x */
  color: #1d4ed8;
}

.faq-question:hover {
  background: #f3f4f6;
}

/* Light alternate background for some blocks */
.features,
.why,
.support {
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  margin-top: 18px;
  padding: 26px 18px 26px;
}

/* ============ 10. Testimonials section ============ */

.testimonials {
  background: #f9fafb;
  border-radius: 16px;
  margin-top: 24px;
  padding: 28px 18px 30px;
  border: 1px solid #e5e7eb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 16px 15px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  border-color: #d1d5db;
}


/* Avatar + name row */
.testimonial-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #6b7280;
  margin-top: 4px;
}

.testimonial-card .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #6b7280;
}

.stars {
  font-size: 1.1rem;
  color: #fbbf24; /* amber-400 */
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ===== Testimonials: fade carousel (centered card look) ===== */
.testimonial-carousel {
  position: relative;
  border-radius: 16px;
  padding: 4px 0; /* breathing room */
}

.testimonial-track {
  position: relative;
  min-height: 240px; /* prevents layout jump; adjust if needed */
}

/* IMPORTANT: keep the card styling you already have above.
   Here we only control positioning + centering for carousel. */
.testimonial-carousel .testimonial-card {
  position: absolute;

  /* center it and keep it card-sized */
	left: 50%;
	top: 0;
	transform: translateX(-50%) translateY(8px);
	width: 100%;
	max-width: 520px;


  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.testimonial-carousel .testimonial-card.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.testimonial-carousel .testimonial-card:hover {
  transform: translateX(-50%) translateY(-3px);
}

/* Make testimonial cards feel like cards, not full-width text */
.testimonial-carousel .testimonial-card {
  max-width: 520px;       /* key change */
  margin: 0 auto;         /* center it */
}


/* ============ 11. Scroll reveal animation ============ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 12. Back-to-top button & back-home link ============ */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(8px);
  z-index: 50;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #1e40af;
}

/* Back to home link (policy/support pages) */

.aux-hero {
  background: radial-gradient(circle at top left, #1d4ed8 0, #0f172a 40%, #020617 100%);
  color: #e5e7eb;
  padding: 14px 18px;
  border-bottom: 1px solid #020617;
}

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

.aux-hero-brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #e5e7eb;
}

/* Reuse this as the “back to home” pill in the mini-hero */
.back-home {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.back-home:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
}

/* Subtitle under the page title */
.policy-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0;
}


/* ============ 13. Footer ============ */

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 30px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 12px;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-resources {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #888;
  text-align: center;  /* ⬅ key line */
}

.footer-resources-label {
  font-weight: 600;
  color: #999;
  margin-right: 6px;
}

.footer-resources a {
  color: #888;
  text-decoration: none;
}

.footer-resources a:hover {
  color: #555;
  text-decoration: underline;
}

.footer-resources .dot {
  opacity: 0.6;
  margin: 0 4px;
}


.footer-inner {
  max-width: 1100px; /* or match your site width */
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}


/* ============ 14. Smaller formatting for policy/support pages ============ */

.small-page {
  max-width: 720px;
  margin: 50px auto;
  padding: 0 20px;
}

.small-page h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.small-page p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.small-page h2 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.small-page h3 {
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 6px;
}

.small-page ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.small-page ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.policy-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0;
}

/* ============ 15. Responsive tweaks ============ */

@media (max-width: 900px) {
  .page {
    padding: 0 14px 30px;
  }

  .product-tour-layout {
    flex-direction: column;
  }
}

/*============For support contact==============*/
.support-embed {
  margin-top: 16px;
}

.support-embed iframe {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

/*============For social media icons footer==============*/
.footer-social{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-link{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
}

.social-link svg{
  width: 18px;
  height: 18px;
  fill: #1f2937;
  opacity: 0.85;
}

.social-link:hover{
  transform: translateY(-1px);
}

.social-link:hover svg{
  opacity: 1;
}

/*============Lightbox  For images readability==============*/
/* Lightbox */
.img-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
}

.img-lightbox::backdrop {
  background: rgba(0,0,0,0.65);
}

.img-lightbox img {
  display: block;
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  margin: 6vh auto 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Prevent hero image from triggering lightbox */
.hero-visual img {
  cursor: default;
  pointer-events: none;
}

