/*----------------------------------------
  Srivensoftech LLC - Product Development showcase (index.html #products)
  Loaded after main.css and srivensoftech-custom.css.
  Every selector is prefixed with "products-" so nothing else is affected.
----------------------------------------*/

/* ---------- Section ---------- */
.products-area {
  position: relative;
  overflow: hidden;
  background: #EEF1FF;
  background: color-mix(in srgb, var(--tv-theme-1) 8%, var(--tv-common-white));
}
/* soft decorative rings in the theme blue */
.products-area::before,
.products-area::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 60px solid rgba(43, 77, 255, 0.05);
  pointer-events: none;
}
.products-area::before {
  width: 520px;
  height: 520px;
  top: -260px;
  right: -200px;
}
.products-area::after {
  width: 420px;
  height: 420px;
  bottom: -220px;
  left: -180px;
}
.products-area .container {
  position: relative;
  z-index: 1;
}

/* ---------- Feature row (large highlight card) ---------- */
.products-feature {
  background: var(--tv-common-white);
  border-radius: 50px 0 50px 0;
  padding: 60px;
  margin-bottom: 30px;
  box-shadow: 0 24px 60px rgba(10, 22, 94, 0.08);
  border: 1px solid transparent;
  transition: 0.3s all;
}
.products-feature:hover {
  border-color: var(--tv-theme-1);
}
.products-feature:last-child {
  margin-bottom: 0;
}

/* ---------- Text column ---------- */
.products-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.products-index {
  font-family: var(--tv-ff-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--tv-theme-1);
}
.products-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-family: var(--tv-ff-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: var(--tv-theme-1);
  background: rgba(43, 77, 255, 0.08);
  border-radius: 14px 0 14px 0;
}
.products-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 18px;
}
.products-desc {
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 36px;
}
.products-btn .btn-wrap span {
  white-space: nowrap;
}
.products-btn .btn-wrap i {
  margin-left: 8px;
  font-size: 14px;
}

/* ---------- Visual: browser-frame placeholder ---------- */
.products-browser {
  background: var(--tv-heading-primary);
  border-radius: 30px 0 30px 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 22, 94, 0.22);
}
.products-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--tv-gray-2);
}
.products-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.products-browser-dot:first-child {
  background: var(--tv-yellow-color);
}
.products-browser-url {
  flex: 1;
  margin-left: 10px;
  padding: 2px 14px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.products-browser-body {
  padding: 30px;
}

/* Delta Code: code-diff mock */
.products-diff-file {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.products-diff-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  margin-bottom: 6px;
  border-radius: 6px;
}
.products-diff-line::before {
  content: "";
  flex: 0 0 14px;
  font-family: var(--tv-ff-heading);
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
}
.products-diff-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}
.products-diff-line.is-removed {
  background: rgba(236, 176, 20, 0.12);
}
.products-diff-line.is-removed::before {
  content: "\2212";
  color: var(--tv-yellow-color);
}
.products-diff-line.is-removed .products-diff-bar {
  background: rgba(236, 176, 20, 0.55);
}
.products-diff-line.is-added {
  background: rgba(43, 77, 255, 0.28);
}
.products-diff-line.is-added::before {
  content: "+";
  color: var(--tv-common-white);
}
.products-diff-line.is-added .products-diff-bar {
  background: rgba(255, 255, 255, 0.6);
}
.products-w-30 { width: 30%; }
.products-w-45 { width: 45%; }
.products-w-55 { width: 55%; }
.products-w-65 { width: 65%; }
.products-w-75 { width: 75%; }

.products-pr-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 16px;
  font-family: var(--tv-ff-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--tv-common-white);
  background: var(--tv-theme-1);
  border-radius: 14px 0 14px 0;
}

/* Roleward: connected-journey mock */
.products-role-target {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: var(--tv-theme-1);
  border-radius: 14px 0 14px 0;
  color: var(--tv-common-white);
}
.products-role-target span {
  font-family: var(--tv-ff-heading);
  font-size: 15px;
  font-weight: 500;
}
.products-role-target .products-diff-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.45);
}
.products-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 10px 4px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.85);
}
/* vertical connector between steps */
.products-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  height: 16px;
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
}
.products-step-icon {
  flex: 0 0 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  color: var(--tv-common-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px 0 8px 0;
}
.products-step-check {
  margin-left: auto;
  font-size: 13px;
  color: var(--tv-yellow-color);
}

/* ---------- Responsive ---------- */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .products-feature {
    padding: 50px;
  }
  .products-title {
    font-size: 36px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .products-feature {
    padding: 44px 40px;
  }
  .products-title {
    font-size: 34px;
  }
}
@media (max-width: 991px) {
  .products-feature {
    padding: 44px 40px;
  }
  .products-visual {
    margin-top: 44px;
  }
  .products-title {
    font-size: 34px;
  }
}
@media (max-width: 575px) {
  .products-feature {
    padding: 32px 22px;
    border-radius: 30px 0 30px 0;
  }
  .products-index {
    font-size: 34px;
  }
  .products-title {
    font-size: 28px;
  }
  .products-desc {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 30px;
  }
  .products-browser {
    border-radius: 20px 0 20px 0;
  }
  .products-browser-body {
    padding: 22px 18px;
  }
  .products-area::before,
  .products-area::after {
    display: none;
  }
}
