/* ============================================
   TradesProHub — Global Stylesheet
   Color: Navy #1a2332 / White / Amber #d4a017
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #111822;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --amber: #d4a017;
  --amber-light: #e8b92f;
  --amber-dark: #b8890f;
  --amber-bg: #fdf8e8;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --blue: #2563eb;
  --blue-bg: #eff6ff;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --content-width: 800px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.375rem; }

/* ============================================
   ANIMATIONS & REUSABLE CLASSES
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-in-stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger > .fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in-stagger > .fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in-stagger > .fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in-stagger > .fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in-stagger > .fade-in:nth-child(6) { transition-delay: 0.40s; }

/* Reusable hover lift + shadow */
.card-hover {
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

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

/* Gradient section divider */
.gradient-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 30%, var(--amber) 70%, transparent 100%);
  border: none;
  margin: 3rem 0;
  opacity: 0.3;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .fade-in.is-visible { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- Utilities --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.content-container { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--amber);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.site-logo svg { flex-shrink: 0; }
.site-logo:hover { color: var(--amber); }
.logo-accent { color: var(--amber); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: calc(100% - 1.75rem);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.mobile-toggle:hover { background: rgba(255,255,255,0.1); }

.mobile-nav {
  display: none;
  background: var(--navy-light);
  padding: 0.75rem 1.5rem 1rem;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--amber); padding-left: 0.5rem; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light), var(--amber), var(--amber-dark));
}

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

.footer-brand p { font-size: 0.875rem; line-height: 1.6; margin-top: 0.75rem; max-width: 320px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover { color: var(--amber); padding-left: 0.25rem; }

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

.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e3a5f 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero with background image */
.hero--image {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background-size: cover;
  background-position: center;
}

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,35,50,0.88) 0%, rgba(36,48,68,0.82) 50%, rgba(30,58,95,0.85) 100%);
  pointer-events: none;
}

.hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Subtle dot pattern overlay (non-image hero) */
.hero:not(.hero--image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Gradient glow behind title (non-image hero) */
.hero:not(.hero--image)::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}

.trust-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(212, 160, 23, 0.3);
}

.trust-badge svg { color: var(--amber); flex-shrink: 0; }

/* hero-pattern class (explicit usage) */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* --- Category Cards --- */
.category-section { padding: 4rem 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-slow);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.03) 0%, rgba(212, 160, 23, 0.08) 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.category-card:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 24px -4px rgba(212, 160, 23, 0.15), 0 4px 8px -4px rgba(0,0,0,0.08);
  transform: translateY(-6px);
  color: inherit;
}

.category-card:hover::before { opacity: 1; }

.category-icon {
  width: 56px;
  height: 56px;
  background: var(--amber-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--amber);
  transition: all var(--transition-slow);
  position: relative;
  z-index: 1;
}

.category-card:hover .category-icon {
  background: var(--amber);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

.category-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.category-card p { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0; position: relative; z-index: 1; }

/* Category card with image */
.category-card--image {
  padding: 0;
  text-align: left;
}

.category-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.category-card--image .category-card-body {
  padding: 1.25rem 1.5rem;
}

.category-card--image h3 { font-size: 1.0625rem; }
.category-card--image p { font-size: 0.8125rem; }

@media (max-width: 768px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* --- Article Cards Grid --- */
.articles-section {
  padding: 4rem 0;
  background: var(--gray-50);
  position: relative;
}

/* Subtle background pattern for off-white sections */
.articles-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26, 35, 50, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.articles-section > * { position: relative; z-index: 1; }

.articles-section h2 { text-align: center; margin-bottom: 2rem; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: inherit;
  border-color: var(--gray-300);
}

.article-card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.625rem;
}

.badge-cost { background: var(--green-bg); color: var(--green); }
.badge-tools { background: var(--blue-bg); color: var(--blue); }
.badge-software { background: #f5f3ff; color: #7c3aed; }
.badge-careers { background: var(--amber-bg); color: var(--amber-dark); }

.article-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.article-card p { font-size: 0.8125rem; color: var(--gray-500); flex: 1; margin-bottom: 0.75rem; }
.article-card-meta { font-size: 0.75rem; color: var(--gray-400); margin-top: auto; }

/* Article card with thumbnail */
.article-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* --- Newsletter CTA --- */
.newsletter-section {
  padding: 4rem 0;
  text-align: center;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Pattern on newsletter box */
.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.newsletter-box > * { position: relative; z-index: 1; }

.newsletter-box h2 { color: var(--white); margin-bottom: 0.5rem; }
.newsletter-box p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.875rem;
  transition: border-color var(--transition), background var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.15);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

/* --- Button: Amber --- */
.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.btn-amber:hover {
  background: var(--amber-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}

.btn-amber:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.25);
}

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
}

/* ============================================
   ARTICLE PAGE LAYOUT
   ============================================ */

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-100);
}

.breadcrumbs a { color: var(--gray-500); text-decoration: none; transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--amber); }
.breadcrumbs span { margin: 0 0.375rem; }

/* --- Article Layout --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 2rem 0 4rem;
}

.article-content { min-width: 0; }

.article-sidebar { position: relative; }
.sidebar-sticky { position: sticky; top: 80px; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { order: 1; }
  .sidebar-sticky { position: static; }
}

/* --- Article Hero Banner --- */
.article-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--navy);
}

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

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,35,50,0.3) 0%, rgba(26,35,50,0.7) 100%);
}

@media (max-width: 768px) {
  .article-hero { height: 180px; }
}

/* --- Article Header --- */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-100);
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.article-meta span { display: flex; align-items: center; gap: 0.375rem; }

/* --- Quick Answer / Verdict Box --- */
.quick-answer {
  background: var(--green-bg);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.quick-answer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), #22c55e);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quick-answer h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.quick-answer .price-highlight {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.quick-answer p { font-size: 0.9375rem; color: var(--gray-700); margin-bottom: 0; }

.quick-verdict {
  background: var(--blue-bg);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.quick-verdict::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #3b82f6);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quick-verdict h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.quick-verdict p { font-size: 0.9375rem; color: var(--gray-700); margin-bottom: 0.5rem; }
.quick-verdict p:last-child { margin-bottom: 0; }

/* --- Quick Picks Box --- */
.quick-picks {
  background: var(--amber-bg);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.quick-picks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quick-picks h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
}

.quick-pick-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212,160,23,0.15);
  font-size: 0.9375rem;
}

.quick-pick-item:last-child { border-bottom: none; }
.quick-pick-label { font-weight: 600; color: var(--navy); }
.quick-pick-value { color: var(--gray-600); font-size: 0.875rem; }

/* --- Quick Stats Box (Careers) --- */
.quick-stats {
  background: var(--blue-bg);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.quick-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #3b82f6, #60a5fa);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quick-stats h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.6);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .stat-item { text-align: left; display: flex; justify-content: space-between; align-items: baseline; }
}

/* --- Content Sections --- */
.content-section {
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
}

.content-section h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
  position: relative;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.content-section h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }

.content-section ul { list-style: none; padding-left: 0; }
.content-section ul li {
  position: relative;
  padding-left: 1.375rem;
  margin-bottom: 0.625rem;
  line-height: 1.65;
}
.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
  position: relative;
}

.data-table thead tr th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.data-table thead tr th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

/* Amber accent line on header bottom */
.data-table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  transition: background var(--transition);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) { background: var(--gray-50); }

.data-table tbody tr:hover td {
  background: rgba(212, 160, 23, 0.04);
}

.data-table .price { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* --- Comparison Table (Software) --- */
.comparison-table th:first-child { width: 200px; }
.comparison-table .check { color: var(--green); font-weight: 700; }
.comparison-table .cross { color: var(--gray-300); }

/* --- Tool Review Card --- */
.tool-review {
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-slow);
  background: var(--white);
}

.tool-review:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--amber-light);
}

.tool-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tool-review h3 { margin-bottom: 0.25rem; }
.tool-review .tool-price { font-size: 1.125rem; font-weight: 700; color: var(--amber-dark); }
.tool-review .tool-rating { font-size: 0.875rem; color: var(--amber); }

.tool-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.pros h4 { color: var(--green); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.cons h4 { color: var(--red); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

.pros ul, .cons ul { padding-left: 0; margin-bottom: 0; }
.pros li::before { background: var(--green) !important; }
.cons li::before { background: var(--red) !important; }

.tool-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

@media (max-width: 480px) {
  .tool-pros-cons { grid-template-columns: 1fr; }
}

/* --- Software Review Card --- */
.software-review {
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-slow);
  background: var(--white);
}

.software-review:hover {
  box-shadow: var(--shadow-md);
}

.software-review h3 { margin-bottom: 0.25rem; }
.software-pricing { font-size: 0.9375rem; font-weight: 600; color: var(--amber-dark); margin-bottom: 1rem; }

/* --- CTA Box --- */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e3a5f 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--white);
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h3 { color: var(--white); margin-bottom: 0.5rem; }
.cta-box p { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }

.cta-box .btn-amber {
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
}

/* --- Sidebar Elements --- */
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition);
}

.sidebar-box:hover {
  box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--amber);
}

.sidebar-box ul { list-style: none; padding-left: 0; }
.sidebar-box li { margin-bottom: 0.5rem; }
.sidebar-box a {
  font-size: 0.875rem;
  color: var(--gray-700);
  text-decoration: none;
  display: block;
  padding: 0.375rem 0;
  transition: color var(--transition), padding-left var(--transition);
}
.sidebar-box a:hover { color: var(--amber); padding-left: 0.25rem; }

.sidebar-cta {
  background: var(--amber-bg);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition);
}

.sidebar-cta:hover {
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.12);
}

.sidebar-cta h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-cta p { font-size: 0.8125rem; color: var(--gray-600); margin-bottom: 1rem; }

.sidebar-newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 1.5rem;
}

.sidebar-newsletter h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-newsletter p { font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }

.sidebar-newsletter input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  transition: border-color var(--transition);
}

.sidebar-newsletter input:focus {
  outline: none;
  border-color: var(--amber);
}

.sidebar-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.sidebar-newsletter .btn-amber { width: 100%; justify-content: center; padding: 0.625rem; font-size: 0.8125rem; }

/* --- FAQ Section --- */
.faq-section {
  margin-bottom: 2.5rem;
}

.faq-section h2 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
  position: relative;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--gray-200);
}

.faq-item.open {
  border-color: var(--amber);
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 2.5rem 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.4;
  transition: color var(--transition), background var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-item.open .faq-question {
  background: var(--amber-bg);
  color: var(--amber-dark);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--amber);
  font-weight: 600;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.08);
}

.faq-item.open .faq-question::after {
  content: '\2212';
  transform: translateY(-50%);
  background: var(--amber);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0.25rem 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  margin-top: 0;
}

/* --- Related Articles --- */
.related-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: none;
  position: relative;
}

.related-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--gray-200), var(--amber));
  opacity: 0.4;
}

.related-section h2 { margin-bottom: 1.5rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-slow);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.related-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.related-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.related-card:hover::before {
  transform: scaleX(1);
}

.related-card h4 { font-size: 0.875rem; margin-bottom: 0.375rem; line-height: 1.4; }
.related-card p { font-size: 0.75rem; color: var(--amber-dark); margin-bottom: 0; font-weight: 500; }

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 160, 23, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.about-hero > * { position: relative; z-index: 1; }

.about-hero h1 { color: var(--white); margin-bottom: 0.75rem; text-shadow: 0 2px 16px rgba(0,0,0,0.2); }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; max-width: 700px; }

.about-content { padding: 3rem 0; }

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

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.about-content h2:first-child { margin-top: 0; }

.disclosure-box {
  background: var(--amber-bg);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.disclosure-box h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--amber-dark); }
.disclosure-box p { font-size: 0.875rem; color: var(--gray-700); }

/* --- Misc --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Print styles */
@media print {
  .site-header, .site-footer, .sidebar-sticky, .cta-box, .newsletter-section { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .fade-in { opacity: 1; transform: none; }
}
