/* Artpress Card Vault UK - Premium High-Trust Theme */
:root {
  --primary: #0a192f;
  --secondary: #172a45;
  --accent: #d4af37;
  --accent-blue: #0070f3;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --card-bg: #1e293b;
  --success: #10b981;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--primary); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header { background: rgba(10, 25, 47, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #d4af37, #f59e0b); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: #0a192f; }
.brand-text h1 { font-size: 19px; font-weight: 700; letter-spacing: -0.5px; }
.brand-text p { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

nav ul { display: flex; list-style: none; gap: 24px; }
nav a { text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; padding: 6px 12px; border-radius: 6px; }
nav a:hover, nav a.active { color: #fff; background: var(--secondary); }

.badge-ssl { display: flex; align-items: center; gap: 6px; background: #064e3b; color: #34d399; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* Hero */
.hero { padding: 48px 0 32px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-tag { display: inline-block; background: rgba(212, 175, 55, 0.15); color: var(--accent); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.hero h2 { font-size: 34px; line-height: 1.2; font-weight: 800; margin-bottom: 16px; }
.hero p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge-item { background: var(--secondary); border: 1px solid var(--border); padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

.hero-card-preview { background: var(--card-bg); border: 2px solid var(--accent); border-radius: 12px; padding: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-card-preview img { width: 100%; max-height: 380px; object-fit: contain; border-radius: 8px; }
.hero-card-info { margin-top: 12px; text-align: left; }
.hero-card-title { font-size: 16px; font-weight: 700; }
.hero-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }
.price-tag { color: var(--accent); font-weight: 800; font-size: 20px; }

/* Grid Sections */
.section-title { font-size: 24px; font-weight: 700; margin: 40px 0 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title span { font-size: 14px; color: var(--text-muted); font-weight: 400; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.card-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.card-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-img-wrap { padding: 16px; background: #0f172a; text-align: center; }
.card-img-wrap img { height: 260px; width: 100%; object-fit: contain; }
.card-body { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.card-cert { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; font-family: monospace; }
.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 12px; }
.card-price { font-size: 18px; font-weight: 800; color: var(--accent); }
.status-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: #065f46; color: #34d399; }

/* Reviews Page Styles */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.stat-box { background: var(--secondary); border: 1px solid var(--border); padding: 20px; border-radius: 8px; text-align: center; }
.stat-val { font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-lbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.review-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.review-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.reviewer-name { font-weight: 700; font-size: 15px; }
.review-stars { color: #f59e0b; font-size: 16px; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-body { font-size: 14px; color: #cbd5e1; }
.review-tag { display: inline-block; font-size: 11px; background: var(--secondary); padding: 2px 8px; border-radius: 4px; color: var(--accent); margin-top: 10px; }

/* Sales Table */
.table-wrap { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 48px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th { background: var(--secondary); color: var(--text-muted); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--border); }
td { padding: 14px 18px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* Footer */
footer { background: #070f1e; border-top: 1px solid var(--border); padding: 48px 0 24px; font-size: 13px; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-col h3 { font-size: 15px; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer-col p { margin-bottom: 8px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
