/* ============================================================   
   jpchacha.com | Add-on CSS for Landing Page
============================================================ */

/* ------------------------------------------------------------
Hero
------------------------------------------------------------ */

.hero {
	padding: 72px 40px 60px;
	border-bottom: 0.5px solid var(--navy-mid);
	background-image: url('ui_img/hero_deco.png');
	background-repeat: no-repeat;
	background-position: right center;
	background-size: contain;
}

.hero a, .hero * a {
	text-decoration: none;
}

.hero-eyebrow {
	font-size: 11px;
	font-weight: 500;
	color: var(--blue);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.hero h1 {
	font-size: 36px;
	font-weight: 500;
	color: var(--text-primary);
	line-height: 1.2;
	letter-spacing: -0.025em;
	margin-bottom: 14px;
}

.hero p {
	font-size: 15px;
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 800px;
	margin-bottom: 28px;
}

.hero-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

/* ------------------------------------------------------------
Product Cards
------------------------------------------------------------ */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}

.cards a, .cards * a {
	text-decoration: none;
}

.card {
	background: var(--navy-mid);
	border: 0.5px solid var(--navy-light);
	border-radius: 10px;
	padding: 18px;
	display: flex;
	flex-direction: column;
}

.card.featured {
	border-color: var(--blue);
	border-width: 1.5px;
}

.card-icon {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	background: var(--slate-dim);
	float: left; 
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	margin-bottom: 14px;
}

.card-icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--blue);
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card h3 {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 5px;
}

.card p {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.55;
	margin-bottom: 14px;
	flex: 1;
}

.card-ver {
	font-size: 11px;
	color: var(--text-faint);
	margin-top: auto;
	margin-bottom: 12px;
}

.card-dl {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--blue-dim);
	color: var(--blue-pale);
	font-size: 13px;
	font-weight: 500;
	margin-top: auto;
	padding: 8px;
	border-radius: 7px;
	border: 0.5px solid #1d4ed8;
	cursor: pointer;
	transition: opacity 0.15s;
}

.card-dl:hover {
	opacity: 0.82;
}

.card.featured .card-dl {
	background: var(--blue);
	color: #fff;
	border-color: var(--blue);
}

/* ------------------------------------------------------------
News Feed
------------------------------------------------------------ */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--navy-mid);
  border: 0.5px solid var(--navy-light);
  border-radius: 10px;
  overflow: hidden;
}

.news-list a, .news-list * a {
	text-decoration: none;
}

.news-item {
  background: var(--navy);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.news-item:not(:last-child) {
  border-bottom: 0.5px solid var(--navy-mid);
}

.news-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
  flex-shrink: 0;
}

.news-dot.muted {
  background: var(--text-faint);
}

.news-body h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.news-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.news-date {
  font-size: 11px;
  color: var(--text-dimmer);
  margin-top: 7px;
}

/* ------------------------------------------------------------
Responsive
------------------------------------------------------------ */

@media (max-width: 640px) {
  .nav {
    padding: 0 20px;
    gap: 16px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .section {
    padding: 28px 20px;
  }

  .footer {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
