/* ===============================================
   RANKS PAGE - REDESIGNED
   =============================================== */

/* Note: Breadcrumb and hero-banner styles are handled by the main CSS */

/* ===== MAIN CONTENT SECTION ===== */
.ranks-section {
  padding: 40px 0 80px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  margin-bottom: 60px;
}

.intro-header {
  margin-bottom: 40px;
}

.intro-header h2 {
  font-family: "SangBleuMedium", serif;
  font-size: 32px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 24px;
}

.key-points {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.key-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-points li {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #6b6661;
  padding-left: 32px;
  margin-bottom: 16px;
  position: relative;
}

.key-points li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6b3305;
  font-weight: bold;
  font-size: 18px;
}

.key-points li:last-child {
  margin-bottom: 0;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-family: "SangBleuMedium", serif;
  font-size: 28px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 24px;
}

.content-section p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #6b6661;
  margin-bottom: 20px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* ===== QUOTE SECTION ===== */
.quote-card {
  background: linear-gradient(135deg, #6b3305 0%, #d4a574 100%);
  border-radius: 20px;
  padding: 48px;
  margin: 60px 0;
  text-align: center;
  box-shadow: 0 8px 30px rgba(107, 51, 5, 0.15);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 40px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.1);
  font-family: "SangBleuMedium", serif;
}

.quote-text {
  font-family: "SangBleuMedium", serif;
  font-size: 24px;
  font-style: italic;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.quote-author {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ===== METRICS GRID ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.metric-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #6b3305;
}

.metric-card h3 {
  font-family: "SangBleuMedium", serif;
  font-size: 20px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-card h3 .badge {
  background: #6b3305;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-card p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #6b6661;
  margin: 0;
}

/* ===== ALL RANKS GRID ===== */
.all-ranks-section {
  background: #f9f7f6;
  padding: 60px 0;
  margin: 0 -20px;
}

.all-ranks-header {
  text-align: center;
  margin-bottom: 48px;
}

.all-ranks-header h2 {
  font-family: "SangBleuMedium", serif;
  font-size: 36px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 16px;
}

.all-ranks-header p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #6b6661;
  max-width: 600px;
  margin: 0 auto;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rank-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.rank-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.rank-card.highlighted {
  background: linear-gradient(135deg, #fff 0%, #f9f7f6 100%);
  border: 2px solid #6b3305;
}

.rank-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rank-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6b3305 0%, #d4a574 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.rank-icon svg {
  width: 24px;
  height: 24px;
}

.rank-title {
  font-family: "SangBleuMedium", serif;
  font-size: 20px;
  font-weight: 500;
  color: #1f2225;
}

.rank-description {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #6b6661;
  margin-bottom: 20px;
  flex-grow: 1;
}

.rank-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b3305;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.rank-link:hover {
  gap: 12px;
  color: #4a2203;
}

.rank-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.rank-link:hover svg {
  transform: translateX(4px);
}

/* ===== MAKE SENSE SECTION ===== */
.make-sense-section {
  padding: 60px 0;
  background: #fff;
}

.make-sense-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.make-sense-left h2 {
  font-family: "SangBleuMedium", serif;
  font-size: 36px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 24px;
}

.make-sense-left p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #6b6661;
  margin-bottom: 32px;
}

.ranks-table {
  background: #f9f7f6;
  border-radius: 20px;
  padding: 32px;
}

.rank-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e0ddd9;
  align-items: center;
}

.rank-row:last-child {
  border-bottom: none;
}

.rank-label {
  font-family: "SangBleuMedium", serif;
  font-size: 16px;
  font-weight: 500;
  color: #1f2225;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6b6661;
}

.rank-indicators {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.indicator.good {
  color: #2d8a39;
}

.indicator.bad {
  color: #d32f2f;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.indicator.good .indicator-dot {
  background: #2d8a39;
}

.indicator.bad .indicator-dot {
  background: #d32f2f;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .make-sense-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .ranks-section {
    padding: 30px 0 60px;
  }
  
  .intro-header h2 {
    font-size: 28px;
  }
  
  .content-section h2 {
    font-size: 24px;
  }
  
  .quote-text {
    font-size: 20px;
  }
  
  .quote-card {
    padding: 32px 24px;
  }
  
  .ranks-grid {
    grid-template-columns: 1fr;
  }
  
  .rank-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .all-ranks-header h2 {
    font-size: 28px;
  }
  
  .make-sense-left h2 {
    font-size: 28px;
  }
}