/* =====================
   BASE SYSTEM
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #fff;
  color: #000;
  max-width: 430px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: Poppins, sans-serif;
}

/* =====================
   TOP NAV
===================== */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #EFEFEF;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.back {
  font-size: 20px;
  cursor: pointer;
}

.logo {
  font-family: Poppins;
  font-weight: 600;
  color: #702E3B;
  font-size: 16px;
}

.menu {
  font-size: 22px;
}

/* =====================
   HERO PRODUCT
===================== */
.hero {
  padding: 18px 20px 26px;
}

.product-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-hero-media-card {
  width: 100%;
  min-height: 430px;
  background:
    radial-gradient(circle at center, rgba(112,46,59,0.12), transparent 58%),
    #f8f8f8;
  border: 1px solid #ececec;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-hero-image {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 18px;
}

.product-hero-content {
  width: 100%;
}

.title {
  font-family: Poppins, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  line-height: 1.45;
}

/* =========================
SOLUTION OVERVIEW
========================= */

/* =========================
XBI VALUE SECTION
========================= */

.xbi-value-section {
  background: #ffffff;
  padding: 4rem 1rem;
}

.xbi-value-container {
  max-width: 1200px;
  margin: 0 auto;
}

.xbi-value-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.xbi-value-header h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--black);
}

.xbi-value-header p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.7;
}

.xbi-value-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.xbi-value-main-card,
.xbi-value-card {
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(0,0,0,0.06);
}

.xbi-value-main-card {
  background:
    linear-gradient(135deg, #111111 0%, #1a1a1a 55%, #702E3B 130%);
  color: #ffffff;
}

.xbi-card-label {
  display: inline-block;
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 1rem;
}

.xbi-value-main-card h3 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.xbi-value-main-card p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.xbi-value-btn {
  display: inline-flex;
  background: #ffffff;
  color: var(--primary);
  text-decoration: none;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
}

.xbi-value-card {
  background: #ffffff;
}

.xbi-value-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(112,46,59,0.1);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.xbi-value-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.xbi-value-card p {
  color: var(--gray-text);
  line-height: 1.65;
  font-size: 0.95rem;
}
/* TABLET */
@media (min-width: 768px) {
  .solution-overview {
    padding: 5rem 1.5rem;
  }

  .solution-panel {
    padding: 2.75rem;
  }

  .solution-panel h2 {
    font-size: 2.6rem;
  }

  .solution-proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .solution-overview-inner {
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
    gap: 1.75rem;
  }

  .solution-panel {
    padding: 3.5rem;
  }

  .solution-panel h2 {
    font-size: 3.1rem;
    max-width: 760px;
  }

  .solution-proof-grid {
    grid-template-columns: 1fr;
  }

  .solution-proof-card:hover {
    transform: translateY(-4px);
    transition: .25s ease;
  }
}

/* =====================
   CTA ROW (TOP)
===================== */
.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn,
.btn:link,
.btn:visited {
  text-decoration: none;
  color: inherit;
}

.btn.primary,
.btn.primary:link,
.btn.primary:visited {
  background: #702E3B;
  color: #fff;
}

.btn.secondary,
.btn.secondary:link,
.btn.secondary:visited {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.primary {
  background: #702E3B;
  color: #fff;
}

.secondary {
  background: #fff;
  border: 1px solid #000;
}

/* =====================
   OVERVIEW
===================== */
.section {
  padding: 0 20px;
  margin-top: 24px;
}

.section h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.section p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* =====================
   FEATURES
===================== */
.features {
  margin-top: 16px;
}

.feature-card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.feature-title {
  font-weight: 600;
  font-family: Poppins;
  font-size: 14px;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 12px;
  color: #666;
}

/* =====================
   SCREENSHOTS
===================== */
.gallery {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  padding: 12px 20px 20px;
  scroll-snap-type: x mandatory;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.product-screen-card {
  width: 290px;
  min-width: 290px;
  height: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at center, rgba(112,46,59,0.10), transparent 58%),
    #f8f8f8;
  border: 1px solid #ececec;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-screen-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;
}

/* =====================
   AUDIENCE
===================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(112,46,59,0.1);
  color: #702E3B;
}

/* =====================
   PRICING
===================== */
.pricing {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 16px;
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.price {
  font-size: 22px;
  font-weight: 700;
  font-family: Poppins;
  margin-bottom: 4px;
}

.price-sub {
  font-size: 12px;
  color: #666;
}

.pricing-link-btn {
  margin-top: 16px;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #702E3B;
  color: #ffffff;
  text-decoration: none;

  border-radius: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.pricing-link-btn:hover {
  background: #5b2430;
  text-decoration: none;
}

.pricing-link-btn:visited,
.pricing-link-btn:link {
  color: #ffffff;
  text-decoration: none;
}

/* =====================
   BANNER CTA
===================== */
.banner {
  margin: 30px 20px;
  background: #702E3B;
  color: #fff;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
}

.banner h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.banner .btn {
  background: #fff;
  color: #702E3B;
}

/* =====================
   FAQ
===================== */
.faq {
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.faq-q {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.faq-a {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  display: none;
}

/* =====================
   STICKY CTA
===================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
}

.sticky-cta .btn {
  height: 54px;
}

.product-screen-card {
  cursor: zoom-in;
  border: 1px solid #ececec;
}

.product-screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}

.screen-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.screen-modal.is-open {
  display: flex;
}

.screen-modal-content {
  width: min(100%, 430px);
  max-height: 90vh;
  background: #fff;
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.screen-modal-content img {
  width: 100%;
  max-height: calc(90vh - 28px);
  object-fit: contain;
  display: block;
  border-radius: 20px;
}

.screen-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
}

/* =====================
   TABLET (768px+)
===================== */
@media (min-width: 768px) {
  body {
    max-width: 768px;
  }

  .hero {
    padding: 34px 40px 34px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .btn-row {
    flex-direction: row;
  }

  .btn {
    flex: 1;
  }

  .product img {
    height: 260px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .product-hero-media-card {
    min-height: 560px;
    padding: 24px;
  }

  .product-hero-image {
    max-height: 510px;
  }

  .product-screen-card {
    width: 340px;
    min-width: 340px;
    height: 430px;
  }
  .solution-overview {
    padding: 5rem 1.5rem;
  }

  .solution-panel {
    padding: 2.75rem;
  }

  .solution-panel h2 {
    font-size: 2.6rem;
  }

  .solution-proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .screen-modal-content {
    width: min(100%, 520px);
  }
}

/* =====================
   DESKTOP (1024px+)
===================== */
@media (min-width: 1024px) {
  body {
    max-width: 1100px;
  }

  .hero {
    padding: 50px 40px 34px;
  }

  .product-hero-layout {
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: 42px;
  }

  .product-hero-media-card {
    min-height: 620px;
    padding: 28px;
  }

  .product-hero-image {
    max-height: 560px;
  }

  .product-hero-content .title {
    font-size: 44px;
  }

  .product-hero-content .subtitle {
    font-size: 16px;
    max-width: 520px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-row {
    max-width: 520px;
    margin: 0 auto;
  }

  .strip {
    margin: 30px 40px;
  }

  .section-title {
    padding: 0 40px;
  }

  .product {
    width: calc(50% - 40px);
    display: inline-block;
    vertical-align: top;
    margin: 20px;
  }

  .product img {
    height: 240px;
  }

  .cta {
    padding: 60px 40px;
  }

  footer {
    font-size: 13px;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: 20px;
    padding: 14px 40px 24px;
  }

  .product-screen-card {
    width: 100%;
    min-width: 0;
    height: 430px;
  }
 .solution-overview-inner {
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
    gap: 1.75rem;
  }

  .solution-panel {
    padding: 3.5rem;
  }

  .solution-panel h2 {
    font-size: 3.1rem;
    max-width: 760px;
  }

  .solution-proof-grid {
    grid-template-columns: 1fr;
  }

  .solution-proof-card:hover {
    transform: translateY(-4px);
    transition: .25s ease;
  }
  .screen-modal-content {
    width: min(100%, 620px);
  }
}