/* Investments Updates - Premium Professional Theme */
/* World's #1 Investment & Financial Reviews Platform */

:root {
  --color-bg: #f0f2f5;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f8f9fb;
  --color-text: #111827;
  --color-text-secondary: #374151;
  --color-text-muted: #6b7280;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-accent-light: rgba(13,148,136,.08);
  --color-accent-glow: rgba(13,148,136,.25);
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-star: #f59e0b;
  --color-star-empty: #d1d5db;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 2px 8px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.1);
  --shadow-glow: 0 0 0 3px var(--color-accent-glow);
  --transition: .2s cubic-bezier(.4,0,.2,1);
  --transition-slow: .4s cubic-bezier(.4,0,.2,1);
  --header-height: 72px;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-bg: #0f1117;
  --color-bg-elevated: #1a1d27;
  --color-bg-card: #1e2130;
  --color-bg-subtle: #161822;
  --color-text: #f1f5f9;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-accent: #2dd4bf;
  --color-accent-hover: #5eead4;
  --color-accent-light: rgba(45,212,191,.1);
  --color-accent-glow: rgba(45,212,191,.2);
  --color-border: #2a2d3a;
  --color-border-light: #1e2130;
  --color-star-empty: #374151;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.2);
  --shadow: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.5);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background var(--transition-slow), color var(--transition-slow);
}
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-accent); color: #fff; }

/* Container */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,.92);
  transition: background var(--transition-slow);
}
[data-theme="dark"] .site-header { background: rgba(15,17,23,.92); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-height);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover { color: var(--color-accent); }
.logo-icon { color: var(--color-accent); font-size: 1.4rem; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-accent); background: var(--color-accent-light); }
.header-search {
  flex: 1;
  min-width: 180px;
  max-width: 300px;
  display: flex;
  background: var(--color-bg);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  margin-left: auto;
}
.header-search:focus-within { border-color: var(--color-accent); box-shadow: var(--shadow-glow); }
.header-search input {
  flex: 1;
  padding: 9px 18px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 13px;
  font-family: var(--font-sans);
}
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: var(--color-text-muted); }
.header-search button {
  padding: 9px 14px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.header-search button:hover { color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); }
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: none;
  border: 1px solid var(--color-border);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--color-text); border-radius: 1px; transition: all var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -4px); }

/* Main */
.main-content { flex: 1; padding: 0 0 80px; }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--color-accent-light) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
  animation: fadeInDown .6s ease;
}
.hero-badge i { font-size: 11px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  animation: fadeInUp .6s ease;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--color-accent), #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
  animation: fadeInUp .6s ease .1s backwards;
}
.hero-search {
  display: flex;
  max-width: 580px;
  margin: 0 auto 40px;
  background: var(--color-bg-elevated);
  padding: 6px;
  border-radius: 60px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  animation: fadeInUp .6s ease .2s backwards;
  transition: all var(--transition);
}
.hero-search:focus-within { border-color: var(--color-accent); box-shadow: var(--shadow-md), var(--shadow-glow); }
.hero-search input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 16px;
  font-family: var(--font-sans);
}
.hero-search input:focus { outline: none; }
.hero-search input::placeholder { color: var(--color-text-muted); }
.hero-search .btn { border-radius: 50px; padding: 14px 28px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  animation: fadeInUp .6s ease .3s backwards;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  line-height: 1.2;
}
.hero-stat-label { font-size: 13px; color: var(--color-text-muted); }

/* Trust Bar */
.trust-bar {
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.trust-item i { color: var(--color-accent); font-size: 14px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13,148,136,.3);
}
.btn-primary:hover { background: var(--color-accent-hover); color: #fff; box-shadow: 0 4px 16px rgba(13,148,136,.4); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--color-text-muted); padding: 8px 14px; }
.btn-ghost:hover { color: var(--color-accent); background: var(--color-accent-light); }

/* ===== STARS ===== */
.stars { display: inline-flex; gap: 1px; }
.stars-md .star { font-size: 14px; }
.stars-lg .star { font-size: 18px; }
.star-full { color: var(--color-star); }
.star-half { color: var(--color-star); opacity: .7; }
.star-empty { color: var(--color-star-empty); }

/* Section Headings */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h2 { margin: 0; }
section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* ===== FILTERS ===== */
.filters-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
  background: var(--color-bg-subtle);
}
.filters-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.filters-inner h2 { margin: 0; margin-right: auto; font-size: 1.25rem; }
.filter-form { display: flex; gap: 8px; }
.filter-form select {
  padding: 9px 14px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-text);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
}
.filter-form select:focus { outline: 2px solid var(--color-accent); outline-offset: -1px; }

/* ===== LISTING GRID ===== */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.listing-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.card-image {
  aspect-ratio: 2.2/1;
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.listing-card:hover .card-image img { transform: scale(1.05); }
.card-icon { font-size: 2.4rem; color: var(--color-text-muted); opacity: .4; }
.card-content { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-size: 11px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 700;
  margin-bottom: 6px;
}
.card-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.card-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-rating span { font-weight: 700; font-size: 14px; color: var(--color-text); }
.card-rating .review-count { font-weight: 400; font-size: 12px; color: var(--color-text-muted); }
.card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.card-location { font-size: 12px; color: var(--color-text-muted); margin-top: auto; }

/* Featured */
.featured-section { padding: 48px 0; }
.featured-grid .listing-card { border-color: var(--color-accent-light); }
.featured-grid .listing-card:hover { border-color: var(--color-accent); }

/* ===== CATEGORIES ===== */
.categories-section { padding: 48px 0 0; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.category-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 14px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: 14px;
}
.category-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.category-card p { font-size: 12px; color: var(--color-text-muted); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-count { font-size: 12px; color: var(--color-text-muted); font-weight: 500; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--transition);
}
.pagination-link:hover { border-color: var(--color-accent); background: var(--color-accent-light); }
.pagination-info { color: var(--color-text-muted); font-size: 14px; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 3.5rem; color: var(--color-text-muted); margin-bottom: 20px; display: block; opacity: .5; }
.empty-state h3 { margin-bottom: 8px; font-size: 1.2rem; }
.empty-state p { color: var(--color-text-muted); margin-bottom: 24px; }
.page-404 .empty-icon { color: var(--color-error); }
.page-404 h1 { font-size: 2rem; margin-bottom: 12px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: 13px; color: var(--color-text-muted); margin-bottom: 28px; padding-top: 32px; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

/* ===== LISTING DETAIL ===== */
.listing-page { padding-top: 0; }
.listing-warning {
  background: linear-gradient(135deg, #fef3e2, #fff7ed);
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
  color: #92400e;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.listing-warning i { color: #f59e0b; font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.listing-warning a { color: #dc2626; text-decoration: underline; font-weight: 600; }

.listing-header { margin-bottom: 40px; }
.listing-identity { display: flex; gap: 28px; align-items: flex-start; }
.listing-logo {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg-subtle);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-placeholder { font-size: 2.5rem; color: var(--color-text-muted); opacity: .4; }
.listing-info { flex: 1; }
.listing-info h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.listing-category {
  display: inline-block;
  font-size: 11px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: var(--color-accent-light);
  border-radius: 4px;
}
.listing-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 18px; }
.rating-badge { display: flex; align-items: center; gap: 10px; }
.rating-value {
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--color-accent), #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.review-count { color: var(--color-text-muted); font-size: 14px; }
.location { font-size: 14px; color: var(--color-text-muted); }

/* Rating Breakdown */
.rating-breakdown {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-xs);
}
.rating-summary { display: flex; gap: 32px; align-items: flex-start; }
.rating-big {
  text-align: center;
  flex-shrink: 0;
  min-width: 100px;
}
.rating-big-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.rating-big-label { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rating-bar-label { width: 44px; text-align: right; color: var(--color-text-muted); font-weight: 500; }
.rating-bar { flex: 1; height: 8px; background: var(--color-border); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--color-star); border-radius: 4px; transition: width .6s ease; }
.rating-bar-count { width: 30px; font-size: 12px; color: var(--color-text-muted); }

/* Listing Description */
.listing-description { margin-bottom: 40px; }
.listing-description h2 { font-size: 1.15rem; margin-bottom: 14px; }
.listing-description p { color: var(--color-text-secondary); margin-bottom: 14px; max-width: 720px; line-height: 1.7; }
.contact-details { margin-top: 16px; }
.contact-details p { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.contact-details i { color: var(--color-accent); width: 18px; text-align: center; }

/* ===== REVIEWS ===== */
.reviews-section { margin-top: 40px; }
.reviews-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.reviews-header h2 { margin: 0; }
.empty-reviews {
  text-align: center;
  padding: 48px;
  background: var(--color-bg-subtle);
  border-radius: var(--radius);
  border: 2px dashed var(--color-border);
}
.empty-reviews p { margin-bottom: 16px; color: var(--color-text-muted); }
.review-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition);
}
.review-card:hover { border-color: var(--color-accent-light); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.review-rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-rating h3 { font-size: .95rem; font-weight: 600; }
.review-meta { font-size: 13px; }
.review-author { display: flex; align-items: center; gap: 8px; }
.review-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.review-date { color: var(--color-text-muted); font-size: 12px; }
.review-content p { color: var(--color-text-secondary); margin-bottom: 8px; line-height: 1.65; font-size: 14px; }
.pros-cons { font-size: 13px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-border-light); }
.pros-cons p { margin-bottom: 6px; }
.pros-label { color: var(--color-success); font-weight: 600; }
.cons-label { color: var(--color-error); font-weight: 600; }

/* ===== WARNINGS TABLE ===== */
.warnings-table-wrap { overflow-x: auto; margin-top: 24px; }
.warnings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.warnings-table th, .warnings-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.warnings-table th { background: var(--color-bg-subtle); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--color-text-muted); }
.warnings-table tr:last-child td { border-bottom: none; }
.warnings-table tr:hover td { background: var(--color-accent-light); }
.warning-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.warning-badge.unauthorised { background: #fee2e2; color: #dc2626; }
.warning-badge.clone { background: #fef3c7; color: #d97706; }
.warning-badge.fraud { background: #fce7f3; color: #be185d; }

/* ===== ABOUT ===== */
.about-content { padding: 32px 0 60px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.about-block {
  background: var(--color-bg-card);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
}
.about-block:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.about-block h2 { font-size: 1.1rem; margin-bottom: 12px; color: var(--color-accent); }
.about-block p { color: var(--color-text-muted); line-height: 1.7; font-size: 14px; }

/* Page header */
.page-header { text-align: center; margin-bottom: 40px; padding-top: 40px; }
.page-header h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.page-header p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }

/* ===== FORMS ===== */
.submit-page .page-header { text-align: left; margin-bottom: 28px; }
.submit-listing-preview {
  background: var(--color-accent-light);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--color-accent);
}
.submit-listing-preview h3 { margin-bottom: 4px; }
.submit-form, .search-form { max-width: 560px; }
.submit-form .form-group, .submit-form .form-row { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; color: var(--color-text-secondary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 16px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--color-accent); box-shadow: var(--shadow-glow); }
.rating-input { display: flex; gap: 12px; flex-wrap: wrap; }
.rating-input label { display: flex; align-items: center; gap: 4px; cursor: pointer; font-weight: normal; font-size: 14px; }
.submit-form .btn { margin-top: 8px; }
.search-form { display: flex; gap: 10px; margin: 20px 0; }
.search-form input { flex: 1; padding: 11px 16px; background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-xs); color: var(--color-text); font-size: 15px; }
.submit-instructions p { margin-bottom: 12px; color: var(--color-text-muted); font-size: 14px; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 14px; font-weight: 500; }
.alert-success { background: rgba(16,185,129,.08); border: 1px solid var(--color-success); color: #047857; }
.alert-error { background: rgba(239,68,68,.08); border: 1px solid var(--color-error); color: #dc2626; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 0;
  margin-top: auto;
}
[data-theme="dark"] .site-footer { background: var(--color-bg-subtle); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-icon { color: var(--color-accent); font-size: 1.4rem; margin-right: 8px; }
.footer-brand .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--color-text); }
.footer-brand p { margin-top: 14px; color: var(--color-text-muted); font-size: 13px; max-width: 280px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.footer-links h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--color-text-muted); font-weight: 700; }
.footer-links a { display: block; margin-bottom: 10px; color: var(--color-text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--color-text-muted); font-size: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--color-text-muted); font-size: 12px; }
.footer-bottom-links a:hover { color: var(--color-accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in { animation: fadeInUp .5s ease backwards; }
.animate-in:nth-child(1) { animation-delay: 0s; }
.animate-in:nth-child(2) { animation-delay: .06s; }
.animate-in:nth-child(3) { animation-delay: .12s; }
.animate-in:nth-child(4) { animation-delay: .18s; }
.animate-in:nth-child(5) { animation-delay: .24s; }
.animate-in:nth-child(6) { animation-delay: .30s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav, .header-search { display: none; width: 100%; }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--color-bg-elevated);
    padding: 12px 0;
    gap: 0;
  }
  .main-nav.active a { padding: 12px 16px; border-radius: 0; }
  .header-search.active { display: flex; width: 100%; max-width: none; border-radius: var(--radius-xs); }
  .header-actions { margin-left: auto; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-search { flex-direction: column; border-radius: var(--radius); }
  .hero-search .btn { border-radius: var(--radius-xs); }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 1.3rem; }
  .trust-items { gap: 16px; }
  .listing-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .listing-identity { flex-direction: column; gap: 16px; }
  .listing-logo { width: 72px; height: 72px; }
  .listing-info h1 { font-size: 1.5rem; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .rating-summary { flex-direction: column; gap: 20px; }
  .rating-big { width: 100%; }
  .page-header h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 44px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { padding: 20px 12px; }
}
