* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0f172a; --bg2: #1e293b; --card: rgba(30,41,59,0.8);
  --border: rgba(148,163,184,0.15); --text: #f1f5f9; --text2: #94a3b8;
  --accent: #3b82f6; --accent2: #8b5cf6; --green: #22c55e; --orange: #f97316;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); min-height: 100vh;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.header {
  border-bottom: 1px solid var(--border); background: rgba(15,23,42,0.9);
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px);
}
.header__inner {
  max-width: 1000px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.header__logo {
  font-size: 20px; font-weight: 800; text-decoration: none; color: var(--text);
  letter-spacing: -0.03em;
}
.header__logo span { color: var(--accent); }
.header__nav { display: flex; gap: 4px; }
.header__nav a {
  text-decoration: none; color: var(--text2); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.15s;
}
.header__nav a:hover { color: var(--text); background: rgba(148,163,184,0.08); }
.header__nav a.active { color: var(--text); background: rgba(59,130,246,0.12); }
.header__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.header__burger span {
  display: block; width: 22px; height: 2px; background: var(--text2);
  margin: 5px 0; border-radius: 2px;
}
.mobile-nav { display: none; }
.hero {
  text-align: center; padding: 80px 20px 60px;
  background: linear-gradient(180deg, rgba(59,130,246,0.05) 0%, transparent 100%);
}
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 16px; color: var(--text2); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.15s;
  font-family: inherit; cursor: pointer; border: none;
}
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }
.btn--outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.section { padding: 60px 0; }
.section__title { font-size: 26px; font-weight: 700; margin-bottom: 12px; text-align: center; }
.section__subtitle { color: var(--text2); margin-bottom: 36px; font-size: 15px; line-height: 1.6; text-align: center; }
.rating-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 10px; transition: transform 0.15s, border-color 0.15s;
}
.rating-card:hover { transform: translateX(4px); border-color: var(--accent); }
.rating-card__pos {
  font-size: 20px; font-weight: 800; min-width: 36px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.rating-card__pos--1 { color: #fbbf24; }
.rating-card__pos--2 { color: #94a3b8; }
.rating-card__pos--3 { color: #d97706; }
.rating-card__pos--other { color: var(--text2); }
.rating-card__info { flex: 1; min-width: 0; }
.rating-card__name { font-size: 16px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rating-card__badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 4px;
  padding: 1px 8px; margin-left: 8px; vertical-align: middle;
}
.rating-card__url { font-size: 13px; color: var(--accent); text-decoration: none; }
.rating-card__url:hover { text-decoration: underline; }
.rating-card__score {
  font-size: 22px; font-weight: 800; min-width: 56px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.rating-card__score--high { color: var(--green); }
.rating-card__score--mid { color: var(--orange); }
.rating-card__score--low { color: #ef4444; }
.content-page { max-width: 1000px; margin: 0 auto; padding: 40px 20px 80px; }
.content-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.content-page__lead { font-size: 16px; color: var(--text2); line-height: 1.7; margin-bottom: 40px; }
.content-section { margin-bottom: 40px; }
.content-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.content-section p { color: var(--text2); line-height: 1.8; margin-bottom: 12px; font-size: 15px; }
.content-section ul { list-style: none; padding: 0; }
.content-section ul li {
  padding: 10px 0 10px 28px; position: relative; color: var(--text2); font-size: 15px; line-height: 1.5;
}
.content-section ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.info-box {
  background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15);
  border-radius: 12px; padding: 20px; margin: 20px 0;
}
.info-box strong { color: var(--text); }
.info-box ul { margin-top: 10px; }
.breadcrumbs { padding: 20px 0; font-size: 13px; color: var(--text2); }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px;
}
.about-card__icon { font-size: 28px; margin-bottom: 10px; }
.about-card__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.about-card__desc { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* Experts grid */
.experts-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.expert-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; align-items: flex-start; }
.expert-card__icon { font-size: 28px; flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.expert-card__info { flex: 1; min-width: 0; }
.expert-card__name { font-size: 15px; font-weight: 600; }
.expert-card__role { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.expert-card__desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* Features grid (index page) */
.features-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.feature-card__icon { font-size: 32px; margin-bottom: 10px; }
.feature-card__title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature-card__desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* Stats row (index page) */
.stats-row { display: flex; justify-content: space-around; gap: 24px; padding: 32px 0; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item__number { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 4px; font-family: 'JetBrains Mono', monospace; letter-spacing: -0.03em; }
.stat-item__label { font-size: 13px; color: var(--text2); }

/* Process steps (methodology page) */
.process-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.process-step { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.process-step__num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.process-step__info { flex: 1; }
.process-step__title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.process-step__desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* FAQ (methodology page) */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.faq-item__q { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.faq-item__a { font-size: 14px; color: var(--text2); line-height: 1.6; }

.footer {
  border-top: 1px solid var(--border); padding: 24px 0; text-align: center; font-size: 13px; color: var(--text2);
}
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px;
}
.filter-bar__group { display: flex; flex-direction: column; gap: 4px; min-width: 140px; flex: 1; }
.filter-bar__label { font-size: 11px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.05em; }
.filter-bar__select {
  background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-size: 14px; font-family: inherit; cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%2394a3b8'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px;
}
.filter-bar__select:hover { border-color: var(--accent); }
.filter-bar__select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }
@media (max-width: 600px) {
  .header__nav { display: none; }
  .header__burger { display: block; }
  .mobile-nav {
    display: none; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--border);
    padding: 12px 20px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    text-decoration: none; color: var(--text2); padding: 12px 0; font-size: 15px; font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .hero h1 { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .rating-card { flex-wrap: wrap; gap: 10px; }
  .rating-card__score { min-width: auto; }
}