
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #131a29;
  --bg-card: #182234;
  --bg-card-hover: #1f2c42;
  --accent-blue: #00d2ff;
  --accent-cyan: #3a7bd5;
  --accent-emerald: #00f2fe;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #24324a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-blue); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: rgba(10, 14, 23, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; background: linear-gradient(135deg, #00d2ff, #00f2fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-badge { background: linear-gradient(135deg, #00d2ff, #3a7bd5); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; -webkit-text-fill-color: #fff; vertical-align: middle; }
nav ul { display: flex; list-style: none; gap: 20px; }
nav a { font-size: 14px; font-weight: 500; color: var(--text-secondary); padding: 8px 12px; border-radius: var(--radius-sm); transition: all 0.2s; }
nav a:hover, nav a.active { color: #fff; background: var(--bg-card); }
.header-status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent-green); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); padding: 6px 14px; border-radius: 20px; }
.status-dot { width: 8px; height: 8px; background-color: var(--accent-green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.8; } }

/* Breadcrumbs */
.breadcrumbs { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent-blue); }
.breadcrumbs span { margin: 0 8px; }

/* Hero */
.hero-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0 40px; background: var(--bg-card); border: 1px solid var(--border-color); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 0.9fr; }
.hero-img-wrap { position: relative; min-height: 400px; overflow: hidden; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero-card:hover .hero-img-wrap img { transform: scale(1.03); }
.hero-badge { position: absolute; top: 20px; left: 20px; background: rgba(0, 210, 255, 0.95); color: #000; font-weight: 800; font-size: 11px; padding: 5px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.hero-tag { color: var(--accent-blue); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.hero-title { font-size: 30px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.hero-desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; background: var(--bg-secondary); padding: 14px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.spec-item { text-align: center; }
.spec-val { font-size: 20px; font-weight: 800; color: var(--accent-emerald); }
.spec-lbl { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #00d2ff, #3a7bd5); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 26px; border-radius: var(--radius-sm); border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 210, 255, 0.3); transition: all 0.2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45); color: #fff; }

/* Filter Tabs */
.tabs-wrap { display: flex; gap: 10px; margin-bottom: 30px; overflow-x: auto; padding-bottom: 8px; }
.tab-btn { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary); padding: 9px 18px; border-radius: 30px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.tab-btn:hover, .tab-btn.active { background: var(--accent-blue); color: #000; font-weight: 700; border-color: var(--accent-blue); }

/* Cards Grid */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-size: 24px; font-weight: 800; }
.section-subtitle { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; margin-bottom: 50px; }
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent-cyan); box-shadow: var(--shadow); }
.card-img-wrap { position: relative; height: 210px; background: #000; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-category-tag { position: absolute; top: 12px; left: 12px; background: rgba(10, 14, 23, 0.85); color: var(--accent-blue); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(0, 210, 255, 0.3); }
.card-rating { position: absolute; top: 12px; right: 12px; background: rgba(10, 14, 23, 0.85); color: var(--accent-gold); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.card-excerpt { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; flex: 1; }
.card-specs { display: flex; justify-content: space-between; background: var(--bg-secondary); padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 12px; border: 1px solid var(--border-color); }
.card-specs div span { display: block; color: var(--text-muted); font-size: 10px; text-transform: uppercase; }
.card-specs div strong { color: var(--text-primary); font-weight: 700; }
.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 14px; font-size: 12px; color: var(--text-muted); }
.read-more { color: var(--accent-blue); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.read-more:hover { text-decoration: underline; }

/* Table */
.table-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow-x: auto; margin-bottom: 50px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th { background: var(--bg-secondary); padding: 16px 20px; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border-color); }
td { padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-card-hover); }
.car-cell { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.car-cell-img { width: 48px; height: 34px; border-radius: 4px; object-fit: cover; border: 1px solid var(--border-color); }

/* Review (Level 3) */
.review-header { margin: 20px 0 24px; }
.review-headline { font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.review-meta { display: flex; align-items: center; gap: 20px; color: var(--text-muted); font-size: 13px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
.review-hero-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 30px; border: 1px solid var(--border-color); }
.review-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 36px; margin-bottom: 60px; }
.article-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 16px; color: var(--text-primary); border-left: 4px solid var(--accent-blue); padding-left: 12px; }
.article-content p { color: #cbd5e1; font-size: 16px; margin-bottom: 20px; line-height: 1.75; }
.article-content ul { margin-left: 20px; margin-bottom: 20px; color: #cbd5e1; }
.article-content li { margin-bottom: 8px; }
.verdict-box { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros h4 { color: var(--accent-green); font-size: 15px; margin-bottom: 12px; }
.cons h4 { color: #ef4444; font-size: 15px; margin-bottom: 12px; }
.pros ul, .cons ul { list-style: none; margin: 0; }
.pros li::before { content: "✓ "; color: var(--accent-green); font-weight: bold; }
.cons li::before { content: "✕ "; color: #ef4444; font-weight: bold; }

/* Sidebar */
.sidebar-widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px; margin-bottom: 24px; }
.widget-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.spec-table-side { width: 100%; font-size: 13px; }
.spec-table-side td { padding: 9px 0; border-bottom: 1px dashed var(--border-color); }
.spec-table-side td:last-child { text-align: right; font-weight: 700; color: var(--accent-blue); }

/* Comments */
.comments-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px; margin-top: 40px; }
.comment-item { border-bottom: 1px solid var(--border-color); padding: 18px 0; }
.comment-item:last-child { border-bottom: none; }
.comment-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.comment-author { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.verified-owner { background: rgba(0, 210, 255, 0.15); color: var(--accent-blue); font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.comment-date { color: var(--text-muted); font-size: 12px; }
.comment-text { font-size: 14px; color: #94a3b8; line-height: 1.5; }

/* Footer */
footer { background: #06090e; border-top: 1px solid var(--border-color); padding: 50px 0 30px; margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { color: var(--text-muted); font-size: 13px; margin-top: 12px; max-width: 340px; line-height: 1.5; }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text-primary); margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 13px; }
.footer-col a:hover { color: var(--accent-blue); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
}
