/* ============================================================
   ARID RANKING - Professional Academic Ranking Website
   Inspired by QS, Times Higher Education, Shanghai Rankings
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0A3161;
  --primary-light: #1a4f8a;
  --primary-dark: #051e3e;
  --accent: #C8952A;
  --accent-light: #e8b04a;
  --accent-dark: #a5761f;
  --green: #1a7a4a;
  --green-light: #22a060;
  --white: #ffffff;
  --light: #f4f7fb;
  --light-2: #e8edf5;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --text-light: #8a9ab0;
  --border: #dde5f0;
  --shadow: 0 4px 24px rgba(10, 49, 97, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 49, 97, 0.15);
  --shadow-xl: 0 24px 80px rgba(10, 49, 97, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== LANGUAGE BAR ===== */
.lang-bar {
  background: var(--primary-dark);
  padding: 8px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lang-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-sm {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.lang-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-family: var(--font-ar);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.lang-sep { color: rgba(255,255,255,0.2); font-size: 0.7rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 40px;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(10, 49, 97, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== C-INDEX LOGO ===== */
.logo-cindex {
  display: flex;
  align-items: baseline;
  gap: 1px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 14px rgba(10, 49, 97, 0.28);
  flex-shrink: 0;
  line-height: 1;
}

.logo-cindex.sm {
  border-radius: 8px;
  padding: 6px 10px;
}

.lci-c {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.lci-dash {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  line-height: 1;
}

.lci-index {
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.01em;
}

.logo-cindex.sm .lci-c   { font-size: 1.1rem; }
.logo-cindex.sm .lci-dash { font-size: 0.9rem; }
.logo-cindex.sm .lci-index { font-size: 0.7rem; }

/* Keep old logo-icon for footer only */
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  box-shadow: 0 4px 12px rgba(10, 49, 97, 0.3);
  flex-shrink: 0;
}

.logo-icon.sm { width: 36px; height: 36px; border-radius: 8px; }

.logo-a {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-ar);
  line-height: 1;
}

.logo-r {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-en);
  line-height: 1;
}

.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 1rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.logo-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--primary); background: var(--light); }

.nav-links .nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
}

.nav-links .nav-cta:hover {
  background: var(--accent);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 110px;
  right: 0;
  left: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 998;
  padding: 16px 0;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

body.lang-en .mobile-menu { top: 110px; }

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul { padding: 0 24px; }
.mobile-menu li a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.mobile-menu li a:hover { background: var(--light); color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 149, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(10, 49, 97, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cindex-section .section-title,
.section-header.light .section-title {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-sub.light { color: rgba(255,255,255,0.75); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0e4d8a 100%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 149, 42, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(26, 122, 74, 0.08) 0%, transparent 50%);
}

.hero-grid {
  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: 60px 60px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(200, 149, 42, 0.15);
  border: 1px solid rgba(200, 149, 42, 0.4);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 149, 42, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(200, 149, 42, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  display: block;
}

.hero-title-main { display: block; color: var(--white); }

.hero-title-accent {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.icon-ltr-flip { transition: transform 0.3s; }
.lang-ar .icon-ltr-flip { transform: scaleX(-1); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-light);
  font-family: var(--font-en);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ===== PARTICLES ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 49, 97, 0.2);
}

.about-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-card-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: var(--white);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  background: rgba(200, 149, 42, 0.2);
  border: 2px solid rgba(200, 149, 42, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon i { font-size: 1.6rem; color: var(--accent-light); }

.highlight-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-light);
}

.highlight-text p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ===== C-INDEX SECTION ===== */
.cindex-section {
  position: relative;
  overflow: hidden;
}

.cindex-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, #0e5a9a 100%);
}

.cindex-section .container { position: relative; z-index: 2; }

.index-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 20px 0;
  padding: 12px 32px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(200, 149, 42, 0.5);
  border-radius: var(--radius-xl);
}

.index-badge-hero.green { border-color: rgba(26, 122, 74, 0.6); background: rgba(26, 122, 74, 0.08); }

.index-letter {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-en);
  line-height: 1;
}

.index-badge-hero.green .index-letter {
  font-size: 1.8rem;
  color: #4dc984;
}

.index-dash {
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-en);
  line-height: 1;
}

.index-word {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-en);
  line-height: 1;
}

.index-badge-hero.green .index-word { font-size: 1.8rem; }

.cindex-intro {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.cindex-intro p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.variables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.var-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.var-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200, 149, 42, 0.4);
  transform: translateY(-4px);
}

.var-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 149, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.var-icon i { font-size: 1.2rem; color: var(--accent-light); }

.var-card span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.4;
}

.more-card {
  border-style: dashed;
  border-color: rgba(255,255,255,0.2);
}

.more-icon { background: rgba(255,255,255,0.05); }
.more-icon i { color: rgba(255,255,255,0.4); }
.more-card span { color: rgba(255,255,255,0.4); }

/* Formula */
.cindex-formula { display: flex; justify-content: center; }

.formula-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200, 149, 42, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.formula-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.formula-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.formula-c {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-en);
}

.formula-eq {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-en);
}

.fv {
  font-size: 1.4rem;
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 600;
}

.fv sub {
  font-size: 0.75rem;
  color: var(--accent-light);
}

.fop {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-en);
}

.fdots {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}

.formula-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-en);
}

/* ===== QUARTERLY CYCLE ===== */
.quarterly-cycle {
  margin-top: 40px;
  text-align: center;
}

.qc-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.qc-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.qc-quarter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qc-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--white);
  position: relative;
  transition: var(--transition);
}

.qc-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0.4;
}

.qc-dot.q1 { background: rgba(200,149,42,0.25); border: 2px solid rgba(200,149,42,0.6); }
.qc-dot.q1::after { border-color: #C8952A; }
.qc-dot.q2 { background: rgba(200,149,42,0.35); border: 2px solid rgba(200,149,42,0.7); }
.qc-dot.q2::after { border-color: #C8952A; }
.qc-dot.q3 { background: rgba(200,149,42,0.45); border: 2px solid rgba(200,149,42,0.8); }
.qc-dot.q3::after { border-color: #C8952A; }
.qc-dot.q4 { background: rgba(200,149,42,0.6); border: 2px solid var(--accent); }
.qc-dot.q4::after { border-color: var(--accent-light); }

.qc-dot:hover { transform: scale(1.1); }

.qc-qname {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.qc-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 1rem;
  margin-bottom: 24px;
}

body.lang-en .qc-arrow i,
body.lang-en .qc-result-arrow i {
  transform: scaleX(-1);
  display: inline-block;
}

.qc-result-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.qc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(200,149,42,0.12);
  border: 2px solid rgba(200,149,42,0.4);
  border-radius: var(--radius);
  padding: 14px 20px;
}

.qc-result-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qc-result-icon i { color: var(--white); font-size: 1rem; }

.qc-result-text {
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .qc-track { gap: 8px; }
  .qc-dot { width: 50px; height: 50px; font-size: 0.75rem; }
  .qc-result-text { white-space: normal; text-align: center; }
}

/* ===== ARID SCORE SECTION ===== */
.score-section { background: var(--white); overflow: hidden; }

.score-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Score Visual */
.score-visual { display: flex; justify-content: center; align-items: center; }

.score-circle-wrap {
  position: relative;
  width: 360px;
  height: 360px;
}

.score-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(10, 49, 97, 0.08);
}

.ring-2 {
  width: 75%;
  height: 75%;
  border-color: rgba(10, 49, 97, 0.12);
  animation: spin-slow 20s linear infinite;
}

.ring-3 {
  width: 50%;
  height: 50%;
  border-color: rgba(26, 122, 74, 0.2);
  animation: spin-slow 15s linear infinite reverse;
}

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.score-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(10, 49, 97, 0.3);
}

.score-center-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-en);
}

.score-center-num {
  font-size: 2.8rem;
  color: var(--accent-light);
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-en);
}

.score-center-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.score-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
}

.orbit-dot {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.orbit-dot i { font-size: 1rem; color: var(--primary); }

.orbit-1 { animation: orbit 8s linear infinite; transform-origin: -10px 0; }
.orbit-2 { animation: orbit 12s linear infinite reverse; transform-origin: -30px 0; }
.orbit-3 { animation: orbit 10s linear infinite; transform-origin: 20px 0; }
.orbit-4 { animation: orbit 14s linear infinite reverse; transform-origin: -20px 0; }

@keyframes orbit {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

/* Score Info */
.score-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: var(--transition);
}

.score-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(-4px);
}

body.lang-en .score-feature:hover { transform: translateX(4px); }

.sf-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sf-icon i { font-size: 1.2rem; color: var(--white); }

.sf-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.sf-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== METHODOLOGY SECTION ===== */
.method-section { background: var(--light); }

.method-steps {
  max-width: 800px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
}

.method-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.method-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateX(-4px);
}

body.lang-en .method-step:hover { transform: translateX(4px); }

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-en);
  line-height: 1;
  min-width: 56px;
  opacity: 0.15;
  transition: var(--transition);
}

.method-step:hover .step-num { opacity: 1; color: var(--accent); }

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--border), var(--border));
  margin: 0 auto;
  margin-right: auto;
  position: relative;
}

body.lang-ar .step-connector { margin-right: 55px; }
body.lang-en .step-connector { margin-left: 55px; }

/* Compare */
.compare-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.compare-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 28px 40px;
  text-align: center;
}

.compare-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}

.compare-col { padding: 36px 40px; }

.compare-global { background: var(--light-2); }
.compare-arid { background: rgba(10, 49, 97, 0.03); }

.compare-col-header {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.compare-global .compare-col-header { color: var(--text-muted); }
.compare-arid .compare-col-header { color: var(--primary); }

.compare-col ul { display: flex; flex-direction: column; gap: 12px; }

.compare-col li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-right: 16px;
  position: relative;
}

body.lang-ar .compare-global li::before {
  content: '✗';
  color: #e53e3e;
  position: absolute;
  right: 0;
}

body.lang-ar .compare-arid li::before {
  content: '✓';
  color: var(--green);
  position: absolute;
  right: 0;
}

body.lang-en .compare-col li { padding-left: 16px; padding-right: 0; }

body.lang-en .compare-global li::before {
  content: '✗';
  color: #e53e3e;
  position: absolute;
  left: 0;
}

body.lang-en .compare-arid li::before {
  content: '✓';
  color: var(--green);
  position: absolute;
  left: 0;
}

.compare-arid li { color: var(--text); }

.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent);
  background: var(--white);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-family: var(--font-en);
  min-width: 60px;
}

/* ===== REPORT SECTION ===== */
.report-section {
  position: relative;
  overflow: hidden;
}

.report-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #051e3e 0%, #0a3161 40%, #0e4d8a 100%);
}

.report-section .container { position: relative; z-index: 2; }

.report-content {
  text-align: center;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
}

.report-icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}

.report-icon-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(200, 149, 42, 0.3);
  border-radius: 50%;
  animation: spin-slow 8s linear infinite;
}

.report-icon i {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  color: var(--accent);
  line-height: 96px;
}

.report-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(200, 149, 42, 0.2);
  border: 1px solid rgba(200, 149, 42, 0.4);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.report-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}

.report-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 48px;
}

/* Countdown */
.countdown-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 48px;
}

.countdown-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.cdown-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-light);
  font-family: var(--font-en);
  line-height: 1;
}

.cdown-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 500;
}

.cdown-sep {
  font-size: 2.5rem;
  color: rgba(200, 149, 42, 0.4);
  font-family: var(--font-en);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}

.report-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.report-date i { color: var(--accent-light); }

/* Subscribe */
.subscribe-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.subscribe-form h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.subscribe-input-wrap {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 8px;
}

.subscribe-input-wrap input {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.subscribe-input-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.subscribe-input-wrap input:focus { border-color: var(--accent); background: rgba(255,255,255,0.12); }

.subscribe-input-wrap button {
  padding: 12px 24px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
}

.subscribe-input-wrap button:hover { background: var(--accent-dark); transform: translateY(-2px); }

.subscribe-placeholder-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}

.subscribe-msg {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 20px;
  font-weight: 500;
}

.subscribe-msg.success { color: #4dc984; }
.subscribe-msg.error { color: #fc8181; }

/* ===== PLATFORM SECTION ===== */
.platform-section { background: var(--white); }

.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.platform-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}

.pf-item i { color: var(--green); font-size: 1rem; flex-shrink: 0; }

/* Platform Card 3D */
.platform-visual { display: flex; justify-content: center; }

.platform-card-3d {
  width: 320px;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: var(--transition);
}

body.lang-en .platform-card-3d { transform: perspective(1000px) rotateY(8deg) rotateX(4deg); }

.platform-card-3d:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(10, 49, 97, 0.2);
}

.pc3d-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pc3d-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pc3d-dot.red { background: #fc8181; }
.pc3d-dot.yellow { background: #fbd38d; }
.pc3d-dot.green { background: #68d391; }

.pc3d-header span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-en);
  margin-right: auto;
}

body.lang-ar .pc3d-header span { margin-right: 0; margin-left: auto; }

.pc3d-body { padding: 40px 32px; text-align: center; }

.pc3d-logo {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-ar);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pc3d-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.pc3d-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.pc3d-stat { text-align: center; }

.pc3d-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-light);
  font-family: var(--font-en);
  line-height: 1;
}

.pc3d-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--primary-dark); color: var(--white); }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-en);
  margin-top: 2px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links-col a:hover { color: var(--white); padding-right: 4px; }
body.lang-en .footer-links-col a:hover { padding-right: 0; padding-left: 4px; }

.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .variables-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .score-layout { grid-template-columns: 1fr; gap: 48px; }
  .score-visual { order: -1; }
  .platform-layout { grid-template-columns: 1fr; gap: 48px; }
  .platform-visual { order: -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .variables-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { display: none; }
  .hero-stats { flex-direction: column; padding: 24px; gap: 20px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }
  .score-circle-wrap { width: 280px; height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .subscribe-input-wrap { flex-direction: column; }
  .platform-card-3d { width: 280px; transform: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .variables-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { gap: 4px; }
  .cdown-item { min-width: 60px; }
  .cdown-num { font-size: 2rem; }
  .formula-content { gap: 6px; }
  .formula-c { font-size: 1.4rem; }
  .about-highlight { flex-direction: column; text-align: center; }
}

/* ===== ANIMATIONS ===== */
[data-aos] { transition-property: transform, opacity; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
