/* saas_7_chat_shopify.css */

:root {
  --shopify-ink: #101828;
  --shopify-muted: #475467;
  --shopify-line: #d0d5dd;
  --shopify-soft: #f6f9f6;
  --shopify-green: #008060;
  --shopify-green-dark: #005c45;
  --shopify-blue: #2563eb;
  --shopify-gold: #b7791f;
  --shopify-rose: #c2415d;
  --shopify-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--shopify-ink);
  background: var(--shopify-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.shopify-page {
  overflow-x: hidden;
}

.shopify-page a {
  text-decoration: none;
}

.shopify-hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0 58%, rgba(0, 128, 96, 0.07) 58% 58.5%, rgba(255, 255, 255, 0) 58.5% 100%),
    linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(208, 213, 221, 0.7);
}

.shopify-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
}

.shopify-hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(56px, 8vw, 96px) 0;
}

.shopify-kicker {
  margin: 0 0 12px;
  color: var(--shopify-green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shopify-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--shopify-ink);
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.shopify-hero-subtitle {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--shopify-muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.shopify-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.shopify-store-badge {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.shopify-store-badge:hover,
.shopify-store-badge:focus {
  filter: brightness(0.96);
  transform: translateY(-2px);
}

.shopify-store-badge img {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.shopify-secondary-link {
  color: var(--shopify-green-dark);
  font-weight: 800;
  border-bottom: 2px solid rgba(0, 128, 96, 0.32);
}

.shopify-hero-panel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(208, 213, 221, 0.9);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.16);
  padding: clamp(18px, 3vw, 26px);
}

.shopify-hero-art {
  display: block;
  width: 100%;
  height: auto;
  margin: -4px auto 4px;
}

.shopify-hero-chat,
.shopify-hero-badge {
  filter: drop-shadow(0 14px 20px rgba(16, 24, 40, 0.12));
}

.shopify-panel-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f8fffb 0%, #ffffff 100%);
  border: 1px solid rgba(0, 128, 96, 0.14);
  border-radius: 8px;
}

.shopify-panel-topline {
  color: var(--shopify-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shopify-panel-metric {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-width: 0;
}

.shopify-panel-metric span {
  color: var(--shopify-green);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.shopify-panel-metric p {
  margin: 0;
  flex: 1 1 180px;
  min-width: 160px;
  color: var(--shopify-ink);
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 600;
}

.shopify-panel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.shopify-panel-list div {
  position: relative;
  padding: 12px 12px 12px 34px;
  color: var(--shopify-ink);
  background: var(--shopify-soft);
  border: 1px solid rgba(0, 128, 96, 0.12);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
}

.shopify-panel-list div::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--shopify-green);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(0, 128, 96, 0.1);
}

.shopify-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) 0;
}

.shopify-section-header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.shopify-section-header h2,
.shopify-final-cta h2 {
  margin: 0;
  color: var(--shopify-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.shopify-section-header p:not(.shopify-kicker),
.shopify-final-cta p:not(.shopify-kicker) {
  margin: 16px 0 0;
  color: var(--shopify-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.shopify-feature-grid,
.shopify-faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shopify-feature-card,
.shopify-faq-item,
.shopify-price-card {
  background: #ffffff;
  border: 1px solid var(--shopify-line);
  border-radius: 8px;
  padding: 26px;
}

.shopify-feature-card {
  position: relative;
  min-height: 210px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.shopify-feature-card:hover {
  border-color: rgba(0, 128, 96, 0.34);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
  transform: translateY(-2px);
}

.shopify-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--shopify-green);
  background: #e7f8ef;
  border: 1px solid rgba(0, 128, 96, 0.18);
  border-radius: 8px;
}

.shopify-feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shopify-feature-icon-blue {
  color: var(--shopify-blue);
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.18);
}

.shopify-feature-icon-gold {
  color: var(--shopify-gold);
  background: #fff7e6;
  border-color: rgba(183, 121, 31, 0.18);
}

.shopify-feature-icon-rose {
  color: var(--shopify-rose);
  background: #fff1f3;
  border-color: rgba(194, 65, 93, 0.18);
}

.shopify-feature-card h3,
.shopify-faq-item h3,
.shopify-price-card h3 {
  margin: 0;
  color: var(--shopify-ink);
  font-size: 1.18rem;
  line-height: 1.35;
}

.shopify-feature-card p,
.shopify-faq-item p {
  margin: 12px 0 0;
  color: var(--shopify-muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.shopify-pricing-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.06) 0 18%, transparent 18% 100%),
    #f8fafc;
  border-top: 1px solid rgba(208, 213, 221, 0.75);
  border-bottom: 1px solid rgba(208, 213, 221, 0.75);
  padding-inline: 20px;
}

.shopify-pricing-section > * {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.shopify-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.shopify-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.06);
}

.shopify-price-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 4px;
  background: linear-gradient(90deg, var(--shopify-green), var(--shopify-blue));
  border-radius: 0 0 999px 999px;
}

.shopify-price-card-featured {
  border-color: rgba(0, 128, 96, 0.45);
  box-shadow: 0 18px 48px rgba(0, 128, 96, 0.14);
}

.shopify-plan-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--shopify-green);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shopify-price {
  margin: 18px 0 4px;
  color: var(--shopify-ink);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.shopify-price span {
  color: var(--shopify-muted);
  font-size: 1rem;
  font-weight: 700;
}

.shopify-price-note {
  margin: 0 0 20px;
  color: var(--shopify-green-dark);
  font-weight: 800;
}

.shopify-price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shopify-price-card li {
  color: var(--shopify-muted);
  line-height: 1.5;
}

.shopify-price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--shopify-green);
  font-weight: 900;
}

.shopify-credit-note {
  margin-top: 24px;
  color: var(--shopify-muted);
  text-align: center;
  font-weight: 700;
}

.shopify-faq-section {
  padding-bottom: clamp(52px, 7vw, 84px);
}

.shopify-faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shopify-final-cta {
  position: relative;
  overflow: hidden;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto clamp(56px, 8vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  background: #101828;
  border-radius: 8px;
}

.shopify-final-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 360px;
  height: 260px;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(143, 227, 194, 0.22) 46% 48%, transparent 48% 100%),
    linear-gradient(45deg, transparent 0 54%, rgba(96, 165, 250, 0.16) 54% 56%, transparent 56% 100%);
  transform: rotate(-8deg);
}

.shopify-final-cta > * {
  position: relative;
  z-index: 1;
}

.shopify-final-cta .shopify-kicker {
  color: #8fe3c2;
}

.shopify-final-cta h2,
.shopify-final-cta p:not(.shopify-kicker) {
  color: #ffffff;
}

.shopify-final-cta p:not(.shopify-kicker) {
  color: rgba(255, 255, 255, 0.76);
  max-width: 620px;
}

@media (max-width: 900px) {
  .shopify-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .shopify-feature-grid,
  .shopify-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shopify-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .shopify-panel-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .shopify-hero-inner,
  .shopify-section,
  .shopify-final-cta {
    width: min(100% - 28px, 1120px);
  }

  .shopify-hero-inner {
    padding: 46px 0 54px;
  }

  .shopify-hero h1 {
    font-size: clamp(2.25rem, 14vw, 3.15rem);
  }

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

  .shopify-hero-panel {
    padding: 14px;
  }

  .shopify-panel-metric,
  .shopify-panel-list {
    grid-template-columns: 1fr;
  }

  .shopify-store-badge img {
    width: min(100%, 280px);
  }

  .shopify-feature-grid,
  .shopify-faq-list,
  .shopify-pricing-grid {
    grid-template-columns: 1fr;
  }

  .shopify-feature-card,
  .shopify-faq-item,
  .shopify-price-card {
    padding: 22px;
  }

  .shopify-price-card {
    min-height: auto;
  }
}
