/* ============ 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;
  }
}

/* ============ 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;
}

/* ============ 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;
}

/* ============ 6. Announcement card ============ */

.announcement-card {
  max-width: 1040px;
  margin: 20px auto 0 auto;
  padding: 18px 20px;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1e3a8a;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.announcement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

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

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

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

/* ============ 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;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  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;
}

/* Highlight middle (Pro) plan */
.pricing-card:nth-child(2) {
  border-color: #2563eb;
  box-shadow: 0px 14px 30px rgba(37, 99, 235, 0.18);
}

/* 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;
}


/* ============ 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: 16px 14px 14px;
  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;
}

.testimonial-card .quote {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #111827;
}

/* 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;
}

/* ============ 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;
}
