/* =============================================
   SRI DASHBOARD PAGE
   ============================================= */
.sri-hero {
  background: var(--bg);
  padding: 140px 0 80px;
  text-align: center;
}
.sri-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--primary-deep);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.sri-hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* City Selector */
.sri-city-selector-section {
  background: var(--bg);
  padding: 0 0 40px;
}
.sri-city-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sri-city-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.sri-city-tab:hover {
  border-color: var(--hairline-dark);
  box-shadow: 0 4px 16px var(--shadow-neutral);
}
.sri-city-tab--active {
  background: var(--ink);
  border-color: var(--ink);
}
.sri-city-tab--active .sri-city-tab-name {
  color: var(--bone);
}
.sri-city-tab--active .sri-city-tab-score {
  background: var(--bronze);
  color: var(--bone);
}
.sri-city-tab-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.sri-city-tab-score {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bone);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.sri-city-coming-soon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  opacity: 0.6;
}
.sri-city-coming-soon .sri-city-tab-name {
  color: var(--ink-50);
  font-size: 13px;
  font-weight: 500;
}
.sri-city-tab-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-30);
}

/* Overall Score Gauge */
.sri-gauge-section {
  background: white;
  padding: 80px 0;
}
.sri-gauge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.sri-gauge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}
.sri-gauge-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent) 0deg,
    var(--accent) calc(var(--score) * 3.6deg),
    #e8ecf0 calc(var(--score) * 3.6deg),
    #e8ecf0 360deg
  );
  transition: background 1.5s var(--ease-out);
}
.sri-gauge-inner {
  position: absolute;
  inset: 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sri-gauge-value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.sri-gauge-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}
.sri-gauge-region {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-top: 16px;
}

/* Pillar Bar Charts */
.sri-pillars-section {
  background: var(--off-white);
  padding: 100px 0;
}
.sri-pillars-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  margin-bottom: 64px;
}

.sri-pillar {
  max-width: 800px;
  margin: 0 auto 36px;
  padding: 28px 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--shadow-neutral);
}
.sri-pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.sri-pillar-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.sri-pillar-weight {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.sri-pillar-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sri-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 12px;
}
.sri-bar-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.sri-bar-track {
  height: 12px;
  background: #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
}
.sri-bar-fill {
  height: 100%;
  border-radius: 6px;
  width: 0;
  transition: width 1.2s var(--ease-out);
}
.sri-bar-fill--dubai {
  background: var(--accent);
}
.sri-bar-fill--global {
  background: var(--highlight);
}
.sri-bar-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.sri-pillar-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* Weight Ring */
.sri-weight-section {
  background: white;
  padding: 100px 0;
}
.sri-weight-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}
.sri-weight-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  margin: 0 auto 32px;
  background: conic-gradient(
    #1A365D 0deg 90deg,
    #2B7A78 90deg 162deg,
    #3AAFA9 162deg 234deg,
    #D4A843 234deg 288deg,
    #E0BA5A 288deg 324deg,
    #8896AB 324deg 360deg
  );
  position: relative;
}
.sri-weight-ring-inner {
  position: absolute;
  inset: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.sri-weight-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.sri-weight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.sri-weight-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Methodology */
.sri-methodology {
  background: var(--off-white);
  padding: 100px 0;
}
.sri-methodology-inner {
  max-width: 700px;
  margin: 0 auto;
}
.sri-methodology-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 24px;
}
.sri-methodology-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* CTA */
.sri-cta {
  background: var(--primary-deep);
  padding: 80px 0;
  text-align: center;
}
.sri-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  color: white;
  font-weight: 700;
  margin-bottom: 24px;
}
.sri-cta-text {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* Tablets (968px and below) */
@media (max-width: 968px) {
  .sri-hero {
    padding: 120px 0 60px;
  }
  .sri-city-selector-section {
    padding: 0 0 32px;
  }
  .sri-city-selector {
    gap: 10px;
  }
  .sri-city-tab {
    padding: 12px 20px;
    gap: 10px;
  }
  .sri-gauge-section {
    padding: 60px 0;
  }
  .sri-gauge-grid {
    gap: 48px;
  }
  .sri-pillars-section,
  .sri-weight-section,
  .sri-methodology {
    padding: 80px 0;
  }
  .sri-pillars-title {
    margin-bottom: 48px;
  }
  .sri-pillar {
    padding: 24px;
  }
}

/* Tablets Portrait (768px and below) */
@media (max-width: 768px) {
  .sri-hero {
    padding: 110px 0 50px;
  }
  .sri-hero-sub {
    font-size: 16px;
    margin-bottom: 36px;
  }
  .sri-gauge-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sri-gauge {
    width: 200px;
    height: 200px;
  }
  .sri-gauge-value {
    font-size: 42px;
  }
  .sri-pillars-section,
  .sri-weight-section,
  .sri-methodology {
    padding: 60px 0;
  }
  .sri-pillars-title {
    margin-bottom: 36px;
  }
  .sri-pillar {
    margin-bottom: 24px;
    border-radius: 12px;
  }
  .sri-pillar-name {
    font-size: 15px;
  }
  .sri-bar-row {
    grid-template-columns: 90px 1fr 45px;
    gap: 10px;
  }
  .sri-bar-label {
    font-size: 12px;
  }
  .sri-bar-value {
    font-size: 13px;
  }
  .sri-weight-ring {
    width: 220px;
    height: 220px;
  }
  .sri-weight-legend {
    gap: 12px;
  }
  .sri-weight-item {
    font-size: 12px;
  }
  .sri-methodology-title {
    font-size: 24px;
  }
  .sri-methodology-text {
    font-size: 15px;
  }
  .sri-cta {
    padding: 60px 0;
  }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
  .sri-hero {
    padding: 100px 0 40px;
  }
  .sri-hero-title {
    font-size: clamp(28px, 7vw, 36px);
  }
  .sri-hero-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }
  .sri-city-selector-section {
    padding: 0 0 24px;
  }
  .sri-city-selector {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .sri-city-tab {
    padding: 10px 16px;
    gap: 8px;
    flex-shrink: 0;
  }
  .sri-city-tab-name {
    font-size: 13px;
  }
  .sri-city-tab-score {
    font-size: 11px;
    padding: 3px 8px;
  }
  .sri-city-coming-soon {
    padding: 10px 14px;
    gap: 6px;
    flex-shrink: 0;
  }
  .sri-city-coming-soon .sri-city-tab-name {
    font-size: 12px;
  }
  .sri-city-tab-badge {
    font-size: 8px;
  }
  .sri-gauge-section {
    padding: 48px 0;
  }
  .sri-gauge-grid {
    gap: 32px;
  }
  .sri-gauge {
    width: 180px;
    height: 180px;
  }
  .sri-gauge-value {
    font-size: 36px;
  }
  .sri-gauge-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .sri-gauge-region {
    font-size: 13px;
  }
  .sri-pillars-section,
  .sri-weight-section,
  .sri-methodology {
    padding: 48px 0;
  }
  .sri-pillars-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 28px;
  }
  .sri-pillar {
    padding: 20px;
    margin-bottom: 16px;
  }
  .sri-pillar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 12px;
  }
  .sri-pillar-name {
    font-size: 14px;
  }
  .sri-pillar-weight {
    font-size: 11px;
  }
  .sri-bar-row {
    grid-template-columns: 70px 1fr 40px;
    gap: 8px;
  }
  .sri-bar-label {
    font-size: 11px;
  }
  .sri-bar-track {
    height: 10px;
  }
  .sri-bar-value {
    font-size: 12px;
  }
  .sri-pillar-desc {
    font-size: 12px;
  }
  .sri-weight-title {
    font-size: clamp(20px, 4vw, 28px);
    margin-bottom: 32px;
  }
  .sri-weight-ring {
    width: 200px;
    height: 200px;
    margin-bottom: 24px;
  }
  .sri-weight-ring-inner {
    font-size: 15px;
    inset: 32px;
  }
  .sri-weight-legend {
    gap: 10px;
  }
  .sri-weight-item {
    font-size: 11px;
    gap: 6px;
  }
  .sri-weight-dot {
    width: 10px;
    height: 10px;
  }
  .sri-methodology-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .sri-methodology-text {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .sri-cta {
    padding: 48px 0;
  }
  .sri-cta-title {
    font-size: clamp(22px, 5vw, 28px);
  }
  .sri-cta-text {
    font-size: 14px;
  }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
  .sri-hero {
    padding: 90px 0 36px;
  }
  .sri-hero-title {
    font-size: clamp(24px, 7vw, 30px);
  }
  .sri-gauge {
    width: 160px;
    height: 160px;
  }
  .sri-gauge-value {
    font-size: 32px;
  }
  .sri-pillar {
    padding: 16px;
  }
  .sri-bar-row {
    grid-template-columns: 60px 1fr 36px;
  }
  .sri-bar-label {
    font-size: 10px;
  }
  .sri-weight-ring {
    width: 180px;
    height: 180px;
  }
}
