/* Vanionyet Circular • ATR RENEWABLES LTD (CRN: 16567066)
   Minimalist Slate White (#f8fafc) + Eco-Emerald (#059669) Circular ITAD Design */
:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --ink-primary: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #475569;
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --amber: #d97706;
  --amber-soft: #fffbeb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--bg-page);
  color: var(--ink-primary);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

a {
  color: inherit;
  text-decoration: none;
}

/* Top Compliance Ticker */
.gov-topbar {
  background: #0f172a;
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 24px;
}

.gov-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.gov-topbar .pill-green {
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

/* Promo & Royal Mail Ribbon */
.promo-ribbon {
  background: var(--emerald-soft);
  border-bottom: 1px solid var(--emerald-border);
  color: var(--emerald-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 24px;
}

.promo-ribbon-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Main Header */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover {
  background: var(--bg-muted);
  color: var(--ink-primary);
}

.main-nav a.active {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--ink-primary);
}

.badge-chip.emerald {
  background: var(--emerald);
  border-color: var(--emerald-dark);
  color: #ffffff;
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

/* Hero Card */
.hero-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 36px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #059669 0%, #10b981 55%, #0f172a 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-dark);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 12px;
  max-width: 960px;
}

.hero-lead {
  font-size: 16.5px;
  color: var(--ink-secondary);
  max-width: 920px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--emerald);
  color: #ffffff;
  border-color: var(--emerald-dark);
}

.btn-secondary {
  background: var(--bg-page);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.kpi-value {
  font-size: 27px;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kpi-value.emerald {
  color: var(--emerald-dark);
}

.kpi-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-top: 6px;
}

.kpi-sub {
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin-top: 4px;
  font-weight: 600;
}

/* Section Headings */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
}

.section-meta {
  font-size: 13.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.product-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.product-media {
  background: #ffffff;
  height: 228px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.grade-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.product-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-specs {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.price-tag {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-primary);
}

.stock-pill {
  background: var(--emerald);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
}

/* Cards & Tables */
.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

table.data-table th {
  text-align: left;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 14px;
}

table.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-primary);
  font-weight: 600;
}

table.data-table tr.total-row td {
  background: var(--emerald-soft);
  color: var(--ink-primary);
  font-weight: 800;
  border-top: 2px solid var(--emerald);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.stars {
  color: #059669;
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 800;
}

.review-quote {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 10px 0 14px;
}

.review-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
}

.review-item {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 36px 24px 28px;
  margin-top: 32px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #334155;
}

.footer-h {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.footer-p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .kpi-grid, .product-grid, .review-grid, .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col, .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kpi-grid, .product-grid, .review-grid, .three-col, .product-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
