/* Buttons, cards, badges, tags, forms — reusable across pages */

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-p {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(46, 134, 193, .3);
}

.btn-p:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 134, 193, .4);
}

.btn-s {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.btn-s:hover {
  background: rgba(255, 255, 255, .25);
  border-color: rgba(255, 255, 255, .6);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform .25s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── Product cards ── */

.pcard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all .4s;
  cursor: pointer;
  position: relative;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(11, 29, 51, .12);
  border-color: var(--blue);
}

.pcard.flagship {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(46, 134, 193, .1);
}

.flagship-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.pvis {
  height: 220px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pvis::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(46, 134, 193, .1) 0%,
    transparent 60%
  );
}

.psil {
  position: relative;
  z-index: 1;
}

.sbody {
  width: 70px;
  height: 100px;
  background: linear-gradient(180deg, #3A6B8C, #1E3A5C);
  border-radius: 12px 12px 24px 24px;
  border: 1.5px solid rgba(46, 134, 193, .35);
  position: relative;
  box-shadow: 0 0 30px rgba(46, 134, 193, .15);
}

.sbody::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 6px;
  background: var(--blue);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(46, 134, 193, .5);
}

.slbl {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: .65rem;
  color: rgba(255, 255, 255, .4);
  letter-spacing: 2px;
}

.pbeams {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.pb {
  width: 1.5px;
  height: 50px;
  background: linear-gradient(180deg, rgba(61, 174, 245, .4), transparent);
  transform-origin: top;
}

.pb:nth-child(1) { transform: rotate(-20deg); }
.pb:nth-child(2) { transform: rotate(-7deg); }
.pb:nth-child(3) { transform: rotate(7deg); }
.pb:nth-child(4) { transform: rotate(20deg); }

/* Product visual: real product photography (overrides stylized variant) */
.pvis-photos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  gap: 2px;
  background: var(--gray-100);
  min-height: 380px;
}

.pvis-photos::after {
  display: none;
}

.pvis-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform .5s ease;
}

.pvis-photo[data-media="lightbox"]:hover {
  transform: scale(1.04);
}

.pinfo {
  padding: 1.75rem;
}

.pseries {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.pname {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
  letter-spacing: -.5px;
  font-family: var(--font-sans) !important;
}

.pfreq {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.pdesc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.ptags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.ptag {
  background: var(--ice-light);
  color: var(--navy-light);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.plink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: gap .25s;
}

.plink:hover {
  gap: 10px;
}

/* ── Application cards ── */

.acard {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-100);
  transition: all .3s;
  text-align: center;
  cursor: pointer;
}

.acard:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 29, 51, .08);
}

.aicon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--ice-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background .3s, color .3s;
}

.aicon svg {
  width: 26px;
  height: 26px;
}

.acard:hover .aicon {
  background: var(--blue);
  color: #fff;
}

.acard h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}

.acard p {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Tech feature items ── */

.tf {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tf-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(46, 134, 193, .15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: .85rem;
  margin-top: 2px;
}

.tf-text {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.5;
}

.tf-text strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

/* ── Software badges ── */

.sw-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.sw-badge {
  background: var(--ice-light);
  color: var(--navy-light);
  font-size: .78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sw-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── About value cards ── */

.about-value {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
}

.about-value h5 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.about-value p {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}
