@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --white: #FFFFFF;
  --purple: #7C3AED;
  --purple-light: #8B5CF6;
  --purple-dark: #6D28D9;
  --blue: #1E40AF;
  --blue-light: #3B82F6;
  --graphite: #1F2937;
  --silver: #CBD5E1;
  --light-gray: #F8FAFC;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --border: #E2E8F0;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.2s ease;
  --transition-slow: all 0.35s ease;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--graphite);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { line-height: 1.7; color: var(--text-secondary); }

a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--purple-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.main-nav { flex: 1; display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--purple);
  background: rgba(124, 58, 237, 0.06);
}

.nav-link .arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link .arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.nav-dropdown a:hover { background: var(--light-gray); color: var(--purple); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  transition: var(--transition);
  width: 240px;
}

.search-form:focus-within {
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
  width: 280px;
}

.search-form input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
}

.search-form input::placeholder { color: var(--text-muted); }

.search-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--purple);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.search-btn:hover { background: var(--purple-dark); }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover { border-color: var(--purple); color: var(--purple); background: rgba(124,58,237,0.04); }

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--purple);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-nav-item { border-bottom: 1px solid var(--border); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}

.mobile-subnav { padding-left: 1rem; display: none; }
.mobile-subnav.open { display: block; }
.mobile-subnav a { display: block; padding: 0.6rem 0; font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; }
.mobile-subnav a:hover { color: var(--purple); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--light-gray);
  color: var(--text-primary);
  border-color: var(--silver);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumbs li::after { content: '/'; color: var(--silver); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.breadcrumbs a:hover { color: var(--purple); }
.breadcrumbs li:last-child { color: var(--text-primary); font-weight: 500; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(31,41,55,0.88) 0%, rgba(30,64,175,0.55) 60%, rgba(124,58,237,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 4rem 0;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== CATEGORY HERO (for category pages) ===== */
.cat-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.cat-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(31,41,55,0.85) 40%, rgba(31,41,55,0.3) 100%);
  display: flex;
  align-items: center;
}

.cat-hero-content { color: white; }
.cat-hero-content h1 { color: white; margin-bottom: 0.5rem; }
.cat-hero-content p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 500px; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-secondary); font-size: 1.0625rem; max-width: 540px; margin: 0 auto; }
.section-header-left { text-align: left; margin-bottom: 2rem; }
.section-header-left h2 { margin-bottom: 0.5rem; }

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
  transition: var(--transition-slow);
}

.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img { transform: scale(1.05); }

.category-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(31,41,55,0.88) 0%, transparent 100%);
}

.category-card-info h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.category-card-info span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
}

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 58, 237, 0.25);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-gray);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.04); }

.product-actions-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.product-action-btn:hover { background: var(--purple); color: white; border-color: var(--purple); }

.product-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.product-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.product-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--light-gray);
  color: var(--text-secondary);
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid var(--border);
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 0.25rem;
}

.product-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stars { color: #F59E0B; font-size: 0.75rem; letter-spacing: 0.05em; }

.product-footer {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

.product-footer .btn { flex: 1; font-size: 0.8125rem; padding: 0.6rem 0.75rem; }

/* ===== CATALOG LAYOUT (category pages) ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filters-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.filters-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }

.clear-filters {
  font-size: 0.8rem;
  color: var(--purple);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: var(--transition);
}

.clear-filters:hover { color: var(--purple-dark); text-decoration: underline; }

.filter-group { margin-bottom: 1.5rem; }

.filter-group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.filter-group-title span { transition: transform 0.2s; }
.filter-group.closed .filter-group-title span { transform: rotate(-90deg); }
.filter-group.closed .filter-options { display: none; }

.filter-options { display: flex; flex-direction: column; gap: 0.5rem; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  padding: 0.25rem 0;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--purple);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-option label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.filter-option:hover label { color: var(--purple); }
.filter-count { font-size: 0.75rem; color: var(--text-muted); }

.price-range-wrap { padding-top: 0.5rem; }

.price-inputs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.price-input {
  flex: 1;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.price-input:focus { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(124,58,237,0.1); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple);
  cursor: pointer;
}

.catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalog-count { font-size: 0.875rem; color: var(--text-muted); }

.sort-select {
  padding: 0.5rem 2rem 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239CA3AF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: var(--transition);
}

.sort-select:focus { border-color: var(--purple); }

/* ===== COMPARISON TABLE ===== */
.comparison-section { background: var(--light-gray); padding: 3rem 0; }

.comparison-table-wrap { overflow-x: auto; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 700px;
}

.comparison-table th {
  background: var(--graphite);
  color: white;
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th:first-child { background: #111827; }

.comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  vertical-align: top;
}

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

.comparison-table tr:nth-child(even) td { background: rgba(248, 250, 252, 0.6); }

.comparison-table .spec-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8125rem;
  background: #F1F5F9;
}

.spec-highlight { color: var(--purple); font-weight: 600; }
.spec-check { color: var(--success); }
.spec-no { color: var(--text-muted); }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.blog-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.blog-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color 0.2s;
}

.blog-card:hover .blog-title { color: var(--purple); }

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-meta span { display: flex; align-items: center; gap: 0.25rem; }

/* ===== ARTICLE ===== */
.article-header { margin-bottom: 2.5rem; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-category {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  margin-bottom: 2.5rem;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body { max-width: 740px; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { margin: 2rem 0 0.875rem; font-size: 1.25rem; }
.article-body p { margin-bottom: 1.25rem; font-size: 1.0625rem; line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 1.0625rem; line-height: 1.65; color: var(--text-secondary); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

.article-intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 1.5rem;
  background: var(--light-gray);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
}

.info-box {
  background: rgba(30, 64, 175, 0.06);
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.info-box h4 { color: var(--blue); margin-bottom: 0.5rem; font-size: 0.9375rem; }
.info-box p { margin: 0; font-size: 0.9375rem; }

/* ===== FORMS ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-label .required { color: var(--error); margin-left: 0.2rem; }

.form-control {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-control.error { border-color: var(--error); }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 0.25rem; display: none; }
.form-error.visible { display: block; }

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.form-success.visible { display: block; }
.form-success h4 { color: var(--success); margin-bottom: 0.5rem; font-size: 1.0625rem; }
.form-success p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }
.success-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }

.form-footer { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: 0.8125rem; color: var(--text-muted); }

/* ===== FEATURES / INFO GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--graphite) 0%, #111827 100%);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.stat-item h3 span { color: var(--purple-light); }
.stat-item p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ===== BUYING GUIDE ===== */
.guide-section { background: var(--light-gray); }

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}

.guide-step {
  counter-increment: steps;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  border: 1px solid var(--border);
}

.guide-step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(124, 58, 237, 0.1);
  line-height: 1;
}

.guide-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.guide-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== CONTACT INFO ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.contact-info-card h4 { font-size: 0.875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.5rem; }
.contact-info-card p { font-size: 1.0625rem; font-weight: 600; color: var(--graphite); margin: 0; }
.contact-info-card a { color: var(--purple); font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.contact-info-card a:hover { text-decoration: underline; }

.contact-icon { font-size: 1.5rem; margin-bottom: 0.875rem; display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--graphite);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text { color: white; -webkit-text-fill-color: white; background: none; font-size: 1.375rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin: 1rem 0 1.5rem; }

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover { background: var(--purple); color: white; }

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover { color: white; padding-left: 3px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-item span:first-child { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item span:last-child, .footer-contact-item a { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.5; text-decoration: none; }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin: 0; }

.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ===== POLICY PAGES ===== */
.policy-content { max-width: 820px; }

.policy-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--graphite);
}

.policy-content h2:first-child { padding-top: 0; border-top: none; margin-top: 0; }

.policy-content h3 { font-size: 1.125rem; margin: 1.75rem 0 0.75rem; color: var(--graphite); }
.policy-content p { margin-bottom: 1rem; font-size: 0.9625rem; line-height: 1.75; }
.policy-content ul, .policy-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content li { margin-bottom: 0.5rem; font-size: 0.9625rem; line-height: 1.65; color: var(--text-secondary); }
.policy-content ul li { list-style: disc; }
.policy-content ol li { list-style: decimal; }

.policy-meta {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.policy-meta span { font-size: 0.8125rem; color: var(--text-muted); }
.policy-meta strong { color: var(--text-primary); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite);
  border-top: 3px solid var(--purple);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 0.875rem; color: rgba(255,255,255,0.8); margin: 0; flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--purple-light); }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
  z-index: 900;
  text-decoration: none;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--purple-dark); transform: translateY(-2px); color: white; }

/* ===== RELATED PRODUCTS ===== */
.related-section { background: var(--light-gray); }

/* ===== COMPARISON TOOL ===== */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--purple);
  padding: 1rem 1.5rem;
  z-index: 800;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.compare-bar.visible { transform: translateY(0); }

.compare-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.compare-items { display: flex; gap: 1rem; flex: 1; }

.compare-slot {
  width: 100px;
  height: 64px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
}

.compare-slot.filled {
  border-style: solid;
  border-color: var(--purple);
  background: rgba(124,58,237,0.04);
}

.compare-slot-name {
  font-size: 0.7rem;
  text-align: center;
  color: var(--purple);
  font-weight: 500;
  padding: 0.25rem;
}

.compare-slot .remove-compare {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  background: var(--error);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PAGE HERO TEXT (non-image pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--graphite) 0%, #111827 50%, #1e1b4b 100%);
  padding: 4rem 0 3.5rem;
  color: white;
}

.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.0625rem; max-width: 540px; }

/* ===== SITEMAP ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.sitemap-group h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--graphite); padding-bottom: 0.5rem; border-bottom: 2px solid var(--purple); display: inline-block; }
.sitemap-group ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sitemap-group a { font-size: 0.875rem; color: var(--text-secondary); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.sitemap-group a::before { content: '→'; color: var(--silver); font-size: 0.75rem; }
.sitemap-group a:hover { color: var(--purple); }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(30, 64, 175, 0.06) 100%);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}

/* ===== TAGS ===== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--light-gray);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.tag-purple { background: rgba(124,58,237,0.1); color: var(--purple); border-color: rgba(124,58,237,0.2); }
.tag-blue { background: rgba(30,64,175,0.08); color: var(--blue); border-color: rgba(30,64,175,0.15); }
.tag-green { background: rgba(16,185,129,0.1); color: var(--success); border-color: rgba(16,185,129,0.2); }

/* ===== DIVIDERS ===== */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ===== LOADING / SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .search-form { width: 200px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: 420px; }
  .hero-content { padding: 3rem 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cat-hero { height: 240px; }
  .blog-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .comparison-table th, .comparison-table td { padding: 0.625rem 0.75rem; font-size: 0.8125rem; }
  .search-form { width: 160px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .guide-steps { grid-template-columns: 1fr; }
  .page-hero { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* auto-fix structural */
.footer-col { }
.footer-col h5,.footer-col .footer-heading{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:14px;opacity:.65;}
.footer-col ul{padding:0;list-style:none}.footer-col li{margin-bottom:7px}
.footer-brand { }
.footer-brand .logo-text,.footer-brand .site-logo__name{color:#fff}
.cookie-banner,.kolacic-banner{position:fixed;bottom:0;left:0;right:0;background:#1a1a2e;color:#fff;padding:16px 24px;z-index:9999;display:none}