/* ═══════════════════════════════════════════════════════
   ALTRIXLABS.AI — Product Page Styles
   Inherits design tokens from styles.css
   ═══════════════════════════════════════════════════════ */

/* ── Back link ── */
.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-bottom: 22px;
  transition: color .2s;
}
.product-back-link::before { content: '←'; }
.product-back-link:hover { color: rgba(255,255,255,.85); }

/* ═══════════════════════════════════════════════════════
   PRODUCT HERO
   ═══════════════════════════════════════════════════════ */
.product-hero {
  position: relative;
  padding: 140px 0 0;
  overflow: hidden;
}
.product-hero--kizuna {
  background: linear-gradient(140deg, #042a0f 0%, #064e1a 40%, #0a6b25 75%, #0d8a31 100%);
}
.product-hero--zensho {
  background: linear-gradient(140deg, #071629 0%, #0d1f49 40%, #0f2d6b 65%, #1036a0 100%);
}
.product-hero--uhin {
  background: linear-gradient(140deg, #061523 0%, #082030 40%, #0a3852 65%, #0c4f78 100%);
}
.product-hero--averyq {
  background: linear-gradient(140deg, #0f0620 0%, #1a0a38 35%, #220d50 60%, #2e0f6b 100%);
}

/* Grid overlay */
.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.product-hero__orb {
  position: absolute;
  border-radius: 50%;
}
.product-hero--kizuna .product-hero__orb:nth-child(1) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(34,197,94,.16), transparent 70%);
  top: -200px; right: -150px;
}
.product-hero--kizuna .product-hero__orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.1), transparent 70%);
  bottom: -100px; left: -120px;
}
.product-hero--zensho .product-hero__orb:nth-child(1) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
  top: -200px; right: -150px;
}
.product-hero--zensho .product-hero__orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,58,107,.5), transparent 70%);
  bottom: -100px; left: -120px;
}
.product-hero--uhin .product-hero__orb:nth-child(1) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(6,182,212,.14), transparent 70%);
  top: -200px; right: -150px;
}
.product-hero--uhin .product-hero__orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(8,145,178,.1), transparent 70%);
  bottom: -100px; left: -120px;
}
.product-hero--averyq .product-hero__orb:nth-child(1) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,.15), transparent 70%);
  top: -200px; right: -150px;
}
.product-hero--averyq .product-hero__orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,.12), transparent 70%);
  bottom: -100px; left: -120px;
}

.product-hero > .container {
  position: relative;
  z-index: 1;
}
.product-hero__inner {
  max-width: 780px;
  padding-bottom: 64px;
}
.product-hero__content {}
.product-hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.product-hero__h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.product-hero__h1-accent {
  display: block;
}
.product-hero--kizuna .product-hero__h1-accent {
  background: linear-gradient(135deg, #86efac, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-hero--zensho .product-hero__h1-accent {
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-hero--uhin .product-hero__h1-accent {
  background: linear-gradient(135deg, #67e8f9, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-hero--averyq .product-hero__h1-accent {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.72;
  max-width: 640px;
  margin-bottom: 36px;
}
.product-hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Product hero visual (logo frame) */
.product-hero__visual {
  margin-top: 48px;
}
.product-hero__logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 28px 36px;
}
.product-hero__logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Product hero diagram */
.product-hero__diagram-wrap {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding-bottom: 32px;
}
.product-hero__diagram-img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
}

/* Product hero stats bar */
.product-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 16px;
  padding: 28px 0;
}
.product-hero__stat {
  padding: 0 40px 0 0;
  margin-right: 40px;
  text-align: left;
  flex: 0 0 auto;
}
.product-hero__stat + .product-hero__stat {
  padding-left: 40px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.product-hero__stat-div { display: none; }
.product-hero__stat-val {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -.02em;
  line-height: 1;
}
.product-hero__stat-lbl {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT OVERVIEW
   ═══════════════════════════════════════════════════════ */
.product-overview {
  padding: 96px 0;
  background: #ffffff;
}
.product-overview__logo-wrap {
  margin-bottom: 48px;
}
.product-overview__logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fcfd;
  border: 1px solid #d1ecf5;
  border-radius: 20px;
  padding: 24px 36px;
}
.product-overview__logo-card img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.product-overview__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 16px;
}
.product-overview__text p {
  font-size: 15px;
  color: #3a5a70;
  line-height: 1.78;
  margin-bottom: 18px;
}
.product-overview__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.product-highlight-card {
  background: #f8fcfd;
  border: 1px solid #d1ecf5;
  border-radius: 16px;
  padding: 22px;
  transition: transform .22s, box-shadow .22s;
}
.product-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(7,22,41,.1);
}
.product-highlight-card__icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}
.product-highlight-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f1e2e;
  margin-bottom: 6px;
}
.product-highlight-card p {
  font-size: 13px;
  color: #5a7a96;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT FEATURES
   ═══════════════════════════════════════════════════════ */
.product-features {
  padding: 96px 0;
  background: #f8fcfd;
}
.product-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.product-feature-card {
  background: #ffffff;
  border: 1px solid #d1ecf5;
  border-radius: 18px;
  padding: 30px;
  transition: transform .25s, box-shadow .25s;
}
.product-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(7,22,41,.12);
}
.product-feature-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.product-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f1e2e;
  margin-bottom: 10px;
}
.product-feature-card p {
  font-size: 14px;
  color: #3a5a70;
  line-height: 1.68;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT SEGMENTS
   ═══════════════════════════════════════════════════════ */
.product-segments {
  padding: 96px 0;
  background: #ffffff;
}
.product-segments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.product-segment-card {
  background: #f8fcfd;
  border: 1px solid #d1ecf5;
  border-radius: 18px;
  padding: 28px;
  transition: transform .22s, box-shadow .22s;
}
.product-segment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(7,22,41,.1);
}
.product-segment-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.product-segment-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f1e2e;
  margin-bottom: 12px;
}
.product-segment-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
}
.product-segment-card li {
  font-size: 13px;
  color: #5a7a96;
  padding-left: 14px;
  position: relative;
}
.product-segment-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0891b2;
  opacity: .6;
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS (dark section)
   ═══════════════════════════════════════════════════════ */
.product-how {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(160deg, #071629 0%, #0a2d4a 50%, #071629 100%);
  overflow: hidden;
}
.product-how::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.product-how > .container { position: relative; z-index: 1; }
.product-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.product-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 28px 24px;
  transition: background .25s, border-color .25s;
}
.product-step:hover {
  background: rgba(8,145,178,.08);
  border-color: rgba(8,145,178,.2);
}
.product-step__num {
  font-size: 40px;
  font-weight: 900;
  color: rgba(8,145,178,.4);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.product-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.product-step p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CTA BANNER
   ═══════════════════════════════════════════════════════ */
.product-cta-banner {
  padding: 96px 0;
  background: #ffffff;
  text-align: center;
}
.product-cta-banner .section-label {
  margin-bottom: 16px;
}
.product-cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #0f1e2e;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.product-cta-banner p {
  font-size: 16px;
  color: #3a5a70;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.72;
}
.product-cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.product-cta-banner__email {
  font-size: 14px;
  color: #5a7a96;
  margin: 0 !important;
}
.product-cta-banner__email a {
  color: #0891b2;
  font-weight: 600;
}
.product-cta-banner__email a:hover { color: #06b6d4; }

/* Footer inside product pages */
.footer .nav__logo-text { color: #ffffff; font-weight: 800; }
.footer .nav__logo-mark { box-shadow: none; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE (PRODUCT PAGES)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .product-overview__layout { grid-template-columns: 1fr; }
  .product-overview__highlights { grid-template-columns: repeat(2, 1fr); }
  .product-features__grid { grid-template-columns: repeat(2, 1fr); }
  .product-segments__grid { grid-template-columns: repeat(2, 1fr); }
  .product-how__steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .product-hero { padding: 110px 0 0; }
  .product-hero__h1 { font-size: clamp(30px, 8vw, 46px); }
  .product-hero__inner { padding-bottom: 40px; }
  .product-hero__stat { padding: 0 20px 0 0; margin-right: 20px; }
  .product-hero__stat + .product-hero__stat { padding-left: 20px; }
  .product-overview__highlights { grid-template-columns: 1fr; }
  .product-features__grid { grid-template-columns: 1fr; }
  .product-segments__grid { grid-template-columns: 1fr; }
  .product-how__steps { grid-template-columns: 1fr; }
}
