/* =====================================================================
   TW DataHub  —  data.css
   Colors: #ffcf48 (yellow) | #00424e (dark teal) | #019ade (blue) | #28b7e7 (light blue)
   ===================================================================== */

/* ---------- Hero Banner ---------- */
.header-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: url("../assets/img/carousel/9.jpeg") no-repeat center center / cover;
}
.header-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 0;
}
@media screen and (max-width: 1024px) { .header-container { height: 60vh; } }
@media screen and (max-width: 768px)  { .header-container { height: 60vh; } }
@media screen and (max-width: 660px)  { .header-container { height: 65vh; } }

.heading-container {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 90%;
}
.heading-container h3 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.6);
  margin-bottom: 0.6rem;
}
.heading-container p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 1.4rem;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}
.heading-container button {
  background-color: #ffcf48;
  color: #00424e;
  font-weight: 700;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.heading-container button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: linear-gradient(135deg, #00424e 0%, #006b7a 100%);
  padding: 2.5rem 0;
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 1rem;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffcf48;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.4rem;
  display: block;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
}

/* ---------- Section heading (reuse styles.css pattern) ---------- */
.heading-outer-container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 30px 0;
}
.heading-left-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  padding: 20px 15px;
  border-radius: 8px;
}
.vertical-bar {
  width: 6px;
  min-height: 60px;
  background-color: #ffcf48;
  border-radius: 4px;
  flex-shrink: 0;
}
.heading-text-wrap { display: flex; flex-direction: column; justify-content: center; }
.left-heading-title { font-size: 26px; color: #00424e; font-weight: bold; margin-bottom: 10px; }
.highlight-text { color: #ffcf48; }
.left-heading-desc { font-size: 16px; color: #555; line-height: 1.4; }

/* ---------- Tier Cards (What We Offer) ---------- */
.tier-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  padding: 2.2rem 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid transparent;
  position: relative;
  overflow: hidden;
}
.tier-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.tier-card.tier-raw   { border-top-color: #019ade; }
.tier-card.tier-report { border-top-color: #ffcf48; }
.tier-card.tier-api   { border-top-color: #00424e; }

.tier-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.badge-raw    { background: #e0f4ff; color: #019ade; }
.badge-report { background: #fff8e0; color: #b38a00; }
.badge-api    { background: #e0f2ef; color: #00424e; }

.tier-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.tier-raw   .tier-icon { color: #019ade; }
.tier-report .tier-icon { color: #ffcf48; }
.tier-api   .tier-icon { color: #00424e; }

.tier-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00424e;
  margin-bottom: 0.6rem;
}
.tier-card p {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.65;
  flex-grow: 1;
}
.tier-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 1.4rem;
}
.tier-card ul li {
  font-size: 0.93rem;
  color: #444;
  margin-bottom: 0.4rem;
}
.tier-cta {
  display: inline-block;
  margin-top: auto;
  background: #00424e;
  color: #ffcf48;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start;
}
.tier-cta:hover {
  background: #006b7a;
  color: #ffcf48;
  transform: translateY(-2px);
}
.tier-card.tier-report .tier-cta { background: #ffcf48; color: #00424e; }
.tier-card.tier-report .tier-cta:hover { background: #e6b800; color: #00424e; }

/* ---------- Data Categories ---------- */
.category-section {
  background: #f7fbfc;
  padding: 3rem 0;
}
.category-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.category-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}
.category-card .cat-icon {
  font-size: 3rem;
  color: #019ade;
  margin-bottom: 1rem;
}
.category-card h5 {
  font-weight: 700;
  color: #00424e;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.category-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.param-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.param-tag {
  background: #e0f4ff;
  color: #019ade;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
}

/* ---------- Use Cases (who buys) ---------- */
.usecase-section {
  padding: 4rem 0;
}
.usecase-row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.4rem 1.2rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  margin-bottom: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.usecase-row:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.11);
}
.usecase-icon {
  font-size: 2.2rem;
  color: #019ade;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #e0f4ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.usecase-text h6 {
  font-weight: 700;
  color: #00424e;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.usecase-text p {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Sample Data Table ---------- */
.sample-section {
  background: linear-gradient(135deg, #f0fafd 0%, #e8f7eb 100%);
  padding: 3.5rem 0;
}
.sample-table-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
  overflow: hidden;
}
.sample-table-wrap table {
  margin: 0;
}
.sample-table-wrap thead th {
  background: #00424e;
  color: #ffcf48;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 1rem 0.9rem;
}
.sample-table-wrap tbody tr:hover { background: #f0fafd; }
.sample-table-wrap tbody td {
  font-size: 0.88rem;
  color: #444;
  vertical-align: middle;
  padding: 0.75rem 0.9rem;
}
.badge-live {
  background: #d4f5e4;
  color: #1a9452;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}
.table-note {
  font-size: 0.8rem;
  color: #888;
  text-align: right;
  margin-top: 0.6rem;
}

/* ---------- Network Map Strip ---------- */
.map-strip {
  background: #00424e;
  padding: 3rem 0;
  color: #fff;
  text-align: center;
}
.map-strip h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.4rem; }
.map-strip p { font-size: 1rem; opacity: 0.8; margin-bottom: 1.8rem; }
.state-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 860px;
  margin: 0 auto 1.8rem;
}
.state-dot {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,207,72,0.5);
  color: #ffcf48;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  transition: background 0.2s;
}
.state-dot:hover { background: rgba(255,207,72,0.2); }
.state-dot.active {
  background: #ffcf48;
  color: #00424e;
  border-color: #ffcf48;
}

/* ---------- Pricing / CTA ---------- */
.data-cta-section {
  background-image: url("../assets/img/carousel/4.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  overflow: hidden;
}
.data-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.data-cta-section .cta-inner {
  text-align: center;
  color: #fff;
}
.data-cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.data-cta-section p {
  font-size: 1.1rem;
  color: #ddd;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.btn-cta-primary {
  background: #ffcf48;
  color: #00424e;
  font-weight: 700;
  padding: 0.75rem 2.2rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  text-decoration: none;
  margin-right: 0.8rem;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-cta-primary:hover { background: #e6b800; color: #00424e; transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2.2rem;
  border-radius: 30px;
  border: 2px solid #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); color: #fff; transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .heading-container h3 { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
  .stat-divider { display: none; }
  .tier-card { margin-bottom: 1.2rem; }
  .data-cta-section h2 { font-size: 1.7rem; }
  .btn-cta-primary, .btn-cta-outline { display: block; width: 100%; text-align: center; margin: 0.4rem 0; }
}
