/* FILE: public_html/css/coresphere-upgrade.css
   Purpose: Lightweight modern UI upgrade for Shirish Mahadik + The CoreSphere product showcase.
*/

:root {
  --cs-navy: #0B242C;
  --cs-navy-2: #102F3A;
  --cs-orange: #F2803C;
  --cs-orange-soft: rgba(242, 128, 60, 0.14);
  --cs-card: #ffffff;
  --cs-border: rgba(11, 36, 44, 0.10);
  --cs-shadow: 0 22px 55px rgba(15, 28, 52, 0.12);
}

.cs-hero-content h1 {
  max-width: 850px;
  letter-spacing: -0.04em;
}

.cs-hero-content p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.72;
}

.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cs-hero-actions .btn {
  margin: 0;
}

.cs-hero-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.cs-hero-outline:hover {
  color: var(--cs-navy) !important;
  background: #ffffff;
  border-color: #ffffff !important;
}

.coresphere-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 128, 60, 0.16), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(115, 85, 247, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
}

.coresphere-showcase:before {
  content: "";
  position: absolute;
  inset: 52px auto auto -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(242, 128, 60, 0.08);
}

.cs-section-copy {
  position: relative;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(145deg, #0B242C 0%, #123946 100%);
  color: #ffffff;
  box-shadow: var(--cs-shadow);
}

.cs-section-copy .title {
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffd8c1;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cs-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.78;
}

.cs-value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
}

.cs-value-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.cs-value-list i {
  color: var(--cs-orange);
}

.cs-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-section-actions .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
}

.cs-section-actions .btn-outline-primary:hover {
  background: #ffffff;
  color: var(--cs-navy);
  border-color: #ffffff;
}

.cs-product-grid {
  align-items: stretch;
}

.cs-product-grid > [class*="col-"] {
  display: flex;
}

.cs-product-card {
  width: 100%;
  min-height: 300px;
  position: relative;
  padding: 28px;
  border: 1px solid var(--cs-border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(15, 28, 52, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  backdrop-filter: blur(16px);
}

.cs-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cs-shadow);
  border-color: rgba(242, 128, 60, 0.38);
}

.cs-card-featured {
  background: linear-gradient(145deg, #ffffff 0%, #fff2e9 100%);
}

.cs-product-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cs-orange), #ff9f63);
  box-shadow: 0 12px 22px rgba(242, 128, 60, 0.28);
  font-size: 23px;
}

.cs-product-tag {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--cs-orange);
  background: var(--cs-orange-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-product-card h4 {
  margin-bottom: 10px;
  color: var(--cs-navy);
  letter-spacing: -0.02em;
}

.cs-product-card p {
  min-height: 82px;
  margin-bottom: 18px;
  color: #68717a;
  line-height: 1.68;
}

.cs-product-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cs-navy);
  font-weight: 800;
  text-decoration: none;
}

.cs-product-card a:hover {
  color: var(--cs-orange);
}

.cs-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--cs-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(15, 28, 52, 0.06);
}

.cs-proof-strip div {
  padding: 12px 16px;
  border-radius: 18px;
  background: #ffffff;
}

.cs-proof-strip strong {
  display: block;
  color: var(--cs-navy);
  font-size: 20px;
  line-height: 1.2;
}

.cs-proof-strip span {
  display: block;
  margin-top: 4px;
  color: #7b858e;
  font-size: 13px;
}

.site-footer .widget_services a {
  transition: color 0.2s ease;
}

@media only screen and (max-width: 991px) {
  .cs-section-copy {
    margin-bottom: 28px;
  }

  .cs-proof-strip {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 575px) {
  .cs-hero-content h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .cs-hero-content p {
    font-size: 16px;
  }

  .cs-hero-actions,
  .cs-section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cs-hero-actions .btn,
  .cs-section-actions .btn {
    width: 100%;
    text-align: center;
  }

  .cs-section-copy {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .cs-value-list {
    grid-template-columns: 1fr;
  }

  .cs-product-card {
    padding: 24px;
    min-height: auto;
  }

  .cs-product-card p {
    min-height: auto;
  }
}
