:root {
  --bg: #f6f8fc;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-soft: rgba(248, 250, 252, 0.92);
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(148, 163, 184, 0.28);
  --accent: #635bff;
  --accent-dark: #4f46e5;
  --accent-2: #7c3aed;
  --green: #0f9f6e;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}
* {
  box-sizing: border-box;
}


button,
input {
  font: inherit;
}

.store-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.store-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: end;
  padding: 24px 0 30px;
}

.header-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.18;
}

h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.header-summary {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.signal-panel {
  min-height: 152px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.signal-panel strong {
  font-size: 2rem;
}

.signal-panel span {
  color: var(--muted);
  font-weight: 700;
}

.section-band,
.integration-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-band {
  margin-top: 22px;
  padding: 24px;
}

.section-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
  padding: 8px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
}

.compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #b9c8dc;
  box-shadow: 0 18px 48px rgba(36, 107, 254, 0.13);
}

.image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--panel-soft);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.recommendation-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-content {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
}

.benefit {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
}

.description {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.product-footer strong {
  font-size: 1rem;
  white-space: nowrap;
}

.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  width: 100%;
  background: var(--text);
  color: #fff;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  padding: 8px 16px;
  font-weight: 850;
}

.tab-button.active,
.tab-button:hover {
  border-color: var(--accent);
  background: #edf4ff;
  color: var(--accent-dark);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.integration-panel {
  min-width: 0;
  padding: 20px;
}

.question-form {
  display: grid;
  gap: 10px;
}

.question-form label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.input-row input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.inline-feedback {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 750;
}

.product-card-compact {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
}

.product-card-compact .image-wrap {
  min-height: 100%;
  aspect-ratio: auto;
}

.product-card-compact .recommendation-badge,
.product-card-compact .description {
  display: none;
}

.product-card-compact .product-content {
  padding: 12px;
  gap: 8px;
}

.product-card-compact .product-footer {
  align-items: stretch;
}

.product-card-compact .button {
  min-height: 36px;
  padding: 8px 10px;
}

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

.stat-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 18px;
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.stat-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(36, 107, 254, 0.22);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .store-header,
  .integration-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .store-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .section-band,
  .integration-panel {
    padding: 16px;
  }

  .section-heading {
    display: grid;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card-compact {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}






/* ============================= */
/* ULTRA PREMIUM STORE UI */
/* Apple + Stripe style */
/* ============================= */



body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(99, 91, 255, 0.18), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(14, 165, 233, 0.16), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.12), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 45%, #eef2ff 100%);
  color: var(--text);
}
.store-shell {
  width: min(1240px, calc(100% - 36px));
  padding: 54px 0 80px;
}

.store-header {
  position: relative;
  min-height: 430px;
  padding: 70px 28px !important;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.62)),
    radial-gradient(circle at 20% 20%, rgba(99,91,255,0.16), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(14,165,233,0.15), transparent 32%);
  box-shadow: 0 35px 110px rgba(15, 23, 42, 0.13);
  overflow: hidden;
}

.store-header::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent, rgba(99,91,255,0.22), transparent);
  opacity: 0.65;
  pointer-events: none;
}

.eyebrow {
  color: var(--accent) !important;
  letter-spacing: 0.08em;
  font-weight: 950;
}

.header-copy h1,
.store-shell h1 {
  font-size: clamp(3rem, 7vw, 6.4rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.065em !important;
  background: linear-gradient(90deg, #0f172a 0%, #334155 38%, #635bff 72%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-summary {
  color: #475569 !important;
  font-size: 1.15rem !important;
}

.signal-panel {
  border-radius: 24px !important;
  background: rgba(255,255,255,0.78) !important;
  backdrop-filter: blur(22px);
  border: 1px solid rgba(148,163,184,0.28) !important;
  box-shadow: 0 25px 70px rgba(99,91,255,0.16) !important;
}

.signal-panel strong {
  background: linear-gradient(90deg, #635bff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-band,
.integration-panel {
  border-radius: 28px !important;
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: blur(22px);
  border: 1px solid rgba(148,163,184,0.25) !important;
  box-shadow: var(--shadow) !important;
}

.section-band {
  padding: 34px !important;
  margin-top: 28px !important;
}

.section-heading h2,
.panel-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem) !important;
  letter-spacing: -0.04em;
}

.text-button {
  color: var(--accent) !important;
  background: rgba(99,91,255,0.08) !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
}

.product-grid {
  gap: 24px !important;
}

.product-card {
  border-radius: 24px !important;
  border: 1px solid rgba(148,163,184,0.25) !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 20px 70px rgba(15,23,42,0.10) !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.012) !important;
  border-color: rgba(99,91,255,0.55) !important;
  box-shadow: 0 35px 95px rgba(99,91,255,0.20) !important;
}

.image-wrap {
  aspect-ratio: 16 / 10 !important;
  background: linear-gradient(135deg, #eef2ff, #f8fafc) !important;
}

.image-wrap img {
  transition: transform 350ms ease;
}

.product-card:hover .image-wrap img {
  transform: scale(1.045);
}

.recommendation-badge {
  top: 14px !important;
  left: 14px !important;
  padding: 8px 12px !important;
  background: rgba(255,255,255,0.88) !important;
  color: #047857 !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
}

.product-content {
  padding: 22px !important;
}

.product-meta span {
  background: #eef2ff !important;
  color: #475569 !important;
  font-weight: 900 !important;
}

.benefit {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.description {
  color: #64748b !important;
}

.product-footer strong {
  font-size: 1.12rem !important;
}

.button,
.product-cta,
.tab-button {
  border-radius: 999px !important;
}

.button-primary,
.product-cta {
  background: linear-gradient(135deg, #635bff, #7c3aed) !important;
  color: white !important;
  box-shadow: 0 16px 35px rgba(99,91,255,0.25) !important;
}

.button-primary:hover,
.product-cta:hover {
  box-shadow: 0 24px 55px rgba(99,91,255,0.35) !important;
}

.tabs {
  justify-content: center !important;
}

.tab-button {
  background: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(148,163,184,0.26) !important;
}

.tab-button.active,
.tab-button:hover {
  background: linear-gradient(135deg, #635bff, #7c3aed) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.stat-card {
  border-radius: 22px !important;
  background: rgba(248,250,252,0.9) !important;
}

.stat-value {
  color: #0f172a !important;
}

@media (max-width: 640px) {
  .store-shell {
    width: min(100% - 22px, 1240px);
  }

  .store-header {
    min-height: auto;
    padding: 46px 18px !important;
    border-radius: 26px;
  }

  .header-copy h1,
  .store-shell h1 {
    font-size: 2.7rem !important;
  }

  .section-band {
    padding: 20px !important;
  }
}

/* FINAL STORE CENTER FIX */
.store-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 28px !important;
}

.header-copy {
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.header-summary {
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-heading,
.panel-heading {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  flex-direction: column !important;
}


/* FINAL HERO SIZE BALANCE */
.header-copy h1,
.store-shell h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem) !important;
  max-width: 980px !important;
}

.store-header {
  min-height: 560px !important;
}

.header-summary {
  max-width: 680px !important;
  font-size: 1.08rem !important;
}


/* ============================= */
/* 🔥 MOBILE OPTIMIZATION FIX */
/* ============================= */

@media (max-width: 640px) {

  /* Reduce overall padding */
  .store-shell {
    padding: 20px 0 40px !important;
  }

  /* HERO spacing */
  .store-header {
    padding: 32px 16px !important;
    min-height: auto !important;
  }

  /* Fix BIG heading */
  .header-copy h1 {
    font-size: 2.2rem !important;
    line-height: 1.1 !important;
  }

  /* Fix summary spacing */
  .header-summary {
    font-size: 0.95rem !important;
  }

  /* 🔥 PRODUCT GRID FIX */
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 🔥 CARD SIZE FIX */
  .product-card {
    border-radius: 18px !important;
  }

  /* 🔥 IMAGE HEIGHT FIX (MOST IMPORTANT) */
  .image-wrap {
    aspect-ratio: 16 / 9 !important;
    max-height: 180px !important;
  }

  .image-wrap img {
    object-fit: cover !important;
  }

  /* Reduce content padding */
  .product-content {
    padding: 14px !important;
  }

  /* Text scaling */
  .benefit {
    font-size: 0.9rem !important;
  }

  .description {
    font-size: 0.85rem !important;
  }

  /* Button full width */
  .product-footer {
    flex-direction: column !important;
  }

  .product-cta {
    width: 100% !important;
  }

}


/* FIX STORE SECTION TITLE VISIBILITY */
.store-shell .section-heading h2,
.store-shell #recommendedTitle,
.store-shell #categoryTitle,
.store-shell #analyticsTitle {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: none !important;
}

.store-shell .section-heading .eyebrow {
  color: #635bff !important;
}

.store-shell .text-button {
  color: #635bff !important;
  -webkit-text-fill-color: #635bff !important;
}


.product-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
}

.product-card {
  background:white;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

/* Store page spacing after navbar */

