/* SOSSEN Energy B2B Clean Industrial UI Stylesheet */

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0284c7;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Header & Nav */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.brand-logo-text span {
  color: #0284c7;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 0.25rem;
}

.nav-link:hover, .nav-link.active {
  color: #0284c7;
  text-decoration: none;
}

.nav-cta-btn {
  background-color: #0284c7;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.125rem;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.nav-cta-btn:hover {
  background-color: #0369a1;
  text-decoration: none;
}

.hub-badge {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 3.5rem 1.5rem 3rem;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 1.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.75rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.spec-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.spec-pill svg {
  color: #0284c7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background-color: #0284c7;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0369a1;
  text-decoration: none;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background-color: #f8fafc;
  color: #0f172a;
  text-decoration: none;
}

.hero-media-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.hero-media-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.hero-caption {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.75rem;
  font-weight: 500;
}

/* Statistics Bar */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem;
}

.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.trust-item-label {
  font-size: 0.8125rem;
  color: #475569;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Interactive Workbench */
.workbench-section {
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.section-header p {
  font-size: 1rem;
  color: #475569;
  margin: 0;
}

.wb-container {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.wb-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
}

.wb-tab-btn {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.wb-tab-btn:hover {
  color: #0f172a;
}

.wb-tab-btn.active {
  background: #ffffff;
  color: #0284c7;
  border-bottom-color: #0284c7;
}

.wb-tab-panel {
  display: none;
  padding: 2rem;
}

.wb-tab-panel.active {
  display: block;
}

.wb-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.wb-form-group {
  margin-bottom: 1.25rem;
}

.wb-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.375rem;
}

.wb-input, .wb-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #ffffff;
}

.wb-input:focus, .wb-select:focus {
  outline: 2px solid #0284c7;
  outline-offset: 1px;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.wb-results-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
}

.wb-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.wb-res-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wb-res-label {
  font-size: 0.875rem;
  color: #475569;
}

.wb-res-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.wb-res-value.highlight {
  color: #0284c7;
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-badge.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.status-badge.alert {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.text-success { color: #059669; font-weight: 600; }
.text-danger { color: #dc2626; font-weight: 600; }

/* Product Grid */
.products-section {
  padding: 3.5rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.product-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.prod-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.prod-img-wrap {
  background: #f8fafc;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-img-wrap img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
}

.prod-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0284c7;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.prod-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.prod-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  flex: 1;
}

.prod-spec-list {
  background: #f8fafc;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
}

.prod-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.prod-spec-item:last-child {
  border-bottom: none;
}

.prod-spec-item span:first-child {
  color: #64748b;
}

.prod-spec-item span:last-child {
  font-weight: 600;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.prod-footer {
  display: flex;
  gap: 0.75rem;
}

.prod-footer a {
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
}

/* Specification Tables */
.spec-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.spec-table th, .spec-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.spec-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #1e293b;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table td {
  font-variant-numeric: tabular-nums;
}

/* GEO Citability Block */
.geo-answer-block {
  background: #eff6ff;
  border-left: 4px solid #0284c7;
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 2.5rem 0;
}

.geo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1d4ed8;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.geo-answer-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: #1e293b;
  line-height: 1.65;
}

/* Three-Tier Inquiry Matrix */
.inquiry-tiers-section {
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tier-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.tier-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tier-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.tier-lead {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.tier-benefits {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  flex: 1;
}

.tier-benefits li {
  font-size: 0.875rem;
  color: #1e293b;
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tier-benefits li svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .wb-tool-grid {
    grid-template-columns: 1fr;
  }
  .product-cards-grid, .tier-cards-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .product-cards-grid, .tier-cards-grid, .footer-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
}
