/* ===== PRODUCTS PAGE ===== */

/* ----- HERO ----- */
.products-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #020202;
  overflow: hidden;
  padding: 140px 0 120px;
}

.products-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(198, 162, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 162, 74, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.products-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(224, 195, 109, 0.18), transparent 55%);
}

.products-hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.products-hero-inner .hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 18px;
}

.products-hero-inner h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--rich-gold);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 880px;
}

.products-hero-inner > p {
  font-size: 1.1rem;
  color: #c8c8c8;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.products-hero-actions a {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.products-hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;

  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: rgba(224, 195, 109, 0.65);
  text-transform: uppercase;
}

/* ----- PRODUCT GRID ----- */
.products-section {
  background: linear-gradient(180deg, #050505, #020202);
  border-top: 1px solid rgba(198, 162, 74, 0.15);
  padding: clamp(80px, 10vw, 140px) 0;
}

.products-section-header {
  max-width: 720px;
  margin-bottom: 70px;
}

.products-section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--rich-gold);
  margin-top: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 200px 1fr;
  background: linear-gradient(160deg, #0c0c0c, #030303);
  border: 1px solid rgba(198, 162, 74, 0.22);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(224, 195, 109, 0.55);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(198, 162, 74, 0.15);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent 70%);
  z-index: 2;
}

/* ----- CARD VISUAL ----- */
.product-card-visual {
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(198, 162, 74, 0.12), transparent 60%),
    linear-gradient(135deg, #060606, #020202);
  border-bottom: 1px solid rgba(198, 162, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.visual-shape {
  position: relative;
  width: 70%;
  height: 70%;
}

/* CovionOne — connected nodes */
.visual-covionone .dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rich-gold);
  box-shadow: 0 0 14px rgba(224, 195, 109, 0.55);
}

.visual-covionone .dot:nth-child(1) { top: 20%; left: 18%; }
.visual-covionone .dot:nth-child(2) { top: 60%; left: 50%; }
.visual-covionone .dot:nth-child(3) { top: 30%; right: 18%; }

.visual-covionone .ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(198, 162, 74, 0.4);
  border-radius: 50%;
  animation: ring-pulse 5s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.06); opacity: .9; }
}

/* Trilyn One — ledger / financial document */
.visual-trilynone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-trilynone .ledger-doc {
  position: relative;
  width: 58%;
  height: 88%;
  background: linear-gradient(165deg, rgba(198, 162, 74, 0.08), rgba(198, 162, 74, 0.02));
  border: 1px solid rgba(198, 162, 74, 0.5);
  border-radius: 4px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 24px rgba(224, 195, 109, 0.08);
}

.visual-trilynone .ledger-doc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--rich-gold), transparent 70%);
  border-radius: 4px 4px 0 0;
}

.visual-trilynone .ledger-doc::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(224, 195, 109, 0.6);
}

.visual-trilynone .doc-title {
  width: 55%;
  height: 7px;
  background: var(--rich-gold);
  border-radius: 1px;
  margin-bottom: 4px;
}

.visual-trilynone .line {
  width: 100%;
  height: 2px;
  background: rgba(198, 162, 74, 0.4);
  border-radius: 1px;
}

.visual-trilynone .line.short {
  width: 65%;
}

.visual-trilynone .total {
  width: 70%;
  align-self: flex-end;
  height: 3px;
  background: var(--rich-gold);
  border-radius: 1px;
  margin-top: auto;
  box-shadow: 0 0 10px rgba(224, 195, 109, 0.55);
}

/* Accounting OS — ledger grid */
.visual-accounting {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.visual-accounting .grid-cell {
  border: 1px solid rgba(198, 162, 74, 0.4);
  background: rgba(198, 162, 74, 0.05);
}

.visual-accounting .c2,
.visual-accounting .c4 {
  background: rgba(224, 195, 109, 0.18);
}

/* GoldArkIQ — risk layers */
.visual-goldarkiq {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-goldarkiq .layer {
  position: absolute;
  border: 1.5px solid rgba(198, 162, 74, 0.5);
  border-radius: 6px;
}

.visual-goldarkiq .l1 {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  transform: rotate(-6deg);
}

.visual-goldarkiq .l2 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  transform: rotate(6deg);
  border-color: rgba(224, 195, 109, 0.35);
}

.visual-goldarkiq .pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--rich-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(224, 195, 109, 0.6);
  animation: ring-pulse 4s ease-in-out infinite;
}

/* Intelleson — heartbeat / business vitals */
.visual-intelleson {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rich-gold);
}

.visual-intelleson .pulse-svg {
  width: 86%;
  height: 56%;
  filter: drop-shadow(0 0 8px rgba(224, 195, 109, 0.35));
  overflow: visible;
}

.visual-intelleson .pulse-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: pulse-draw 3.6s ease-in-out infinite;
}

.visual-intelleson .pulse-end {
  position: absolute;
  right: 14%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--rich-gold);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(224, 195, 109, 0.7);
  animation: pulse-throb 1.8s ease-in-out infinite;
}

@keyframes pulse-draw {
  0% { stroke-dashoffset: 600; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -600; }
}

@keyframes pulse-throb {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50% { transform: translateY(-50%) scale(1.4); opacity: 0.6; }
}

/* "One of a kind" / featured product badge */
.product-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 241, 217, 0.18), rgba(224, 195, 109, 0.18));
  color: #c8eee6;
  border: 1px solid rgba(20, 241, 217, 0.45);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .visual-covionone .ring,
  .visual-goldarkiq .pulse,
  .visual-intelleson .pulse-end,
  .visual-intelleson .pulse-line {
    animation: none;
  }
  .visual-intelleson .pulse-line {
    stroke-dashoffset: 0;
  }
}

/* ----- CARD BODY ----- */
.product-card-body {
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-status {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(198, 162, 74, 0.4);
  color: var(--rich-gold);
}

.product-status.live {
  background: rgba(224, 195, 109, 0.12);
  color: var(--rich-gold);
  border-color: rgba(224, 195, 109, 0.5);
}

.product-status.soon {
  background: transparent;
  color: #d8d8d8;
  border-color: rgba(216, 216, 216, 0.35);
}

.product-domain {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.product-card-body h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  color: var(--rich-gold);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.product-tagline {
  color: #d4d4d4;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.product-features li {
  position: relative;
  padding-left: 18px;
  color: #c0c0c0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.product-card-actions a {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

/* ----- PRINCIPLES ----- */
.product-principles {
  background: #050505;
  border-top: 1px solid rgba(198, 162, 74, 0.15);
  padding: clamp(80px, 10vw, 140px) 0;
}

.principles-header {
  max-width: 720px;
  margin-bottom: 70px;
}

.principles-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--rich-gold);
  margin: 12px 0 18px;
}

.principles-header p {
  color: #c8c8c8;
  font-size: 1.02rem;
  line-height: 1.7;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.principle-item {
  position: relative;
  padding: 28px 28px 28px 32px;
  background: linear-gradient(160deg, #0a0a0a, #030303);
  border: 1px solid rgba(198, 162, 74, 0.2);
}

.principle-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent 80%);
}

.principle-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.principle-item h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.principle-item p {
  color: #b8b8b8;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ----- CTA ----- */
.products-cta {
  background:
    radial-gradient(circle at 70% 30%, rgba(224, 195, 109, 0.12), transparent 55%),
    #020202;
  border-top: 1px solid rgba(198, 162, 74, 0.15);
  padding: clamp(80px, 10vw, 140px) 0;
}

.products-cta-inner {
  max-width: 760px;
}

.products-cta-inner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--rich-gold);
  margin: 12px 0 18px;
  line-height: 1.2;
}

.products-cta-inner p {
  color: #c8c8c8;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.products-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.products-cta-actions a {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 180px 1fr;
  }

  .product-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .products-hero {
    padding: 110px 0 80px;
    min-height: auto;
  }

  .products-hero-actions {
    margin-bottom: 40px;
  }

  .product-card-body {
    padding: 26px 22px 28px;
  }

  .product-card-body h3 {
    font-size: 1.35rem;
  }
}
