/* Inferno Card Vault UK - Professional Minimalist Styling */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f97316;
  --accent-gold: #f59e0b;
  --accent-blue: #0284c7;
  --success: #10b981;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg-card: #ffffff;
  --bg-page: #f8fafc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: -0.5px;
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
}

.brand-text p {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

.badge-ssl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: #ffedd5;
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #0f172a;
}

.hero p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hero-card-preview {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
  text-align: center;
}

.hero-card-preview img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 6px;
  margin: 10px 0;
}

.hero-card-info {
  text-align: left;
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.hero-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.price-tag {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

/* Sections */
main {
  padding: 40px 0 60px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.section-title span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.card-img-wrap {
  background: #f1f5f9;
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.card-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #0f172a;
}

.card-cert {
  font-size: 11px;
  font-family: monospace;
  color: #64748b;
  margin-bottom: 12px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.card-price {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #a7f3d0;
}

/* Reviews Page */
.review-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.reviewer {
  font-weight: 700;
  font-size: 14px;
}

.review-badge {
  font-size: 11px;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 8px;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.review-meta {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  border-top: 1px solid #f8fafc;
  padding-top: 8px;
}

/* Sales Page */
.sales-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.sales-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sales-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.sales-table th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 16px;
}

.sales-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #334155;
}

.sales-table tr:last-child td {
  border-bottom: none;
}

.sales-table tr:hover td {
  background: #f8fafc;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 20px;
  font-size: 12px;
  border-top: 1px solid #334155;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  color: #64748b;
}
