:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0f14;
  --bg-card: #111820;
  --bg-card-hover: #151d28;
  --accent: #1d9bf0;
  --accent-dim: #1d9bf033;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f59e0b;
  --purple: #a855f7;
  --border: #1e293b;
  --radius: 10px;
  --radius-sm: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter','SF Pro Display',-apple-system,BlinkMacSystemFont,sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
/* Nav */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 14px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
nav .logo { color: var(--accent); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; }
nav .nav-links { display: flex; gap: 28px; list-style: none; }
nav .nav-links > li > a { color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
nav .nav-links > li > a:hover, nav .nav-links > li:hover > a { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff; border: none; padding: 8px 20px;
  border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { opacity: 0.85; }
/* Hover Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: rgba(10,15,20,0.98); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 0; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 8px 18px;
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all 0.15s; white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(29,155,240,0.1); color: var(--accent); padding-left: 24px; }
/* Language Switcher */
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 2px; background: var(--bg-card); border-radius: 20px; padding: 3px; border: 1px solid var(--border); }
.lang-btn {
  background: transparent; border: none; color: var(--text-muted);
  padding: 5px 12px; border-radius: 16px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:not(.active):hover { color: var(--accent); }
/* Hero */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 32px 80px; text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(29,155,240,0.08) 0%, transparent 70%);
}
.hero .confidential {
  display: inline-block; border: 1px solid var(--accent); color: var(--accent);
  padding: 6px 18px; border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; margin-bottom: 32px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(36px,6vw,64px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.15; max-width: 900px; margin: 0 auto 24px;
  background: linear-gradient(135deg,#e2e8f0 0%,#1d9bf0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .subtitle { font-size: 18px; color: var(--text-secondary); max-width: 650px; margin: 0 auto 48px; }
.hero .meta { display: flex; gap: 32px; justify-content: center; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.hero .meta span { display: flex; align-items: center; gap: 6px; }
/* Page wrapper for subpages */
.page-wrapper { padding-top: 80px; }
/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 32px; }
.section-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 40px; }
.section-header .num { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; }
.section-header h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; }
.section-header p { color: var(--text-secondary); margin-top: 8px; font-size: 15px; }
/* Cards */
.card-grid { display: grid; gap: 24px; }
.card-grid.col2 { grid-template-columns: repeat(auto-fit,minmax(500px,1fr)); }
.card-grid.col3 { grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color 0.3s;
}
.card:hover { border-color: var(--accent); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.card .metric-large { font-size: 48px; font-weight: 900; letter-spacing: -2px; margin: 12px 0 4px; }
.card .metric-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
/* Data Row */
.data-row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.data-item { flex: 1; min-width: 200px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.data-item .value { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.data-item .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
/* Tables */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); }
td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid rgba(30,41,59,0.5); }
tr:hover td { background: rgba(29,155,240,0.03); }
/* Tags */
.tag { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; margin-right: 6px; }
.tag.blue { background: var(--accent-dim); color: var(--accent); }
.tag.green { background: rgba(34,197,94,0.15); color: var(--green); }
.tag.orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.tag.purple { background: rgba(168,85,247,0.15); color: var(--purple); }
/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom,var(--accent),var(--purple),var(--green)); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -29px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-primary); border: 2px solid var(--accent); }
.timeline-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.timeline-item .phase-label { font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.timeline-item ul { color: var(--text-secondary); font-size: 14px; list-style: none; padding: 0; }
.timeline-item ul li { padding: 4px 0; }
.timeline-item ul li::before { content: '\2014 '; color: var(--accent); }
/* Image Container */
.img-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 32px 0; overflow: hidden; }
.img-container img { width: 100%; height: auto; display: block; }
.img-container .caption { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }
/* Footer */
footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 60px 32px; text-align: center; color: var(--text-muted); font-size: 13px;
}
/* Chart containers */
.chart-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 24px 0; }
.chart-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.chart-box canvas { max-height: 350px; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
/* Blueprint Section */
.bp-tabs { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.bp-tab {
  padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-secondary); user-select: none;
  font-family: inherit;
}
.bp-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.bp-tab:hover:not(.active) { border-color: var(--accent); color: var(--accent); }
.bp-panel { display: none; }
.bp-panel.active { display: block; animation: fadeIn 0.3s; }
.blueprint-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 16px 0; overflow: hidden; }
.blueprint-container img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* Step Numbers */
.step-num { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
/* Contact Items */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.contact-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; display: flex; align-items: center; gap: 16px; transition: border-color 0.3s; }
.contact-item:hover { border-color: var(--accent); }
.contact-icon { font-size: 28px; flex-shrink: 0; }
.contact-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
/* Hamburger Button */
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 6px; z-index: 300;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s; display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: rgba(10,15,20,0.98); backdrop-filter: blur(20px);
  border-left: 1px solid var(--border); z-index: 250;
  padding: 80px 24px 32px; overflow-y: auto;
  transition: right 0.3s ease; display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 14px 16px; border-radius: 8px; transition: all 0.2s;
}
.mobile-menu a:hover, .mobile-menu a:active {
  background: rgba(29,155,240,0.1); color: var(--accent);
}
.mobile-menu a.mobile-cta {
  background: var(--accent); color: #fff; text-align: center; margin-top: 8px;
  font-weight: 600;
}
.mobile-lang-switcher {
  display: flex; gap: 2px; background: var(--bg-card); border-radius: 20px;
  padding: 3px; border: 1px solid var(--border); margin-top: 16px; justify-content: center;
}
.mobile-lang-switcher .lang-btn { flex: 1; text-align: center; }

/* Mobile Overlay */
.mobile-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; transition: opacity 0.3s;
}
.mobile-overlay.show { display: block; opacity: 1; }

/* RTL Support */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] nav .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .dropdown-menu { left: auto; right: 0; }
html[dir="rtl"] .data-row { flex-direction: row-reverse; }
html[dir="rtl"] .hero .meta { flex-direction: row-reverse; }
html[dir="rtl"] ul { padding-right: 20px; padding-left: 0; }
html[dir="rtl"] .timeline { padding-left: 0; padding-right: 32px; }
html[dir="rtl"] .timeline::before { left: auto; right: 7px; }
html[dir="rtl"] .timeline-item::before { left: auto; right: -29px; }
html[dir="rtl"] .card-grid { direction: rtl; }
html[dir="rtl"] table { direction: rtl; }
html[dir="rtl"] th { text-align: right; }
html[dir="rtl"] td { text-align: right; }
html[dir="rtl"] .nav-right { flex-direction: row-reverse; }
html[dir="rtl"] .mobile-menu { right: auto; left: -100%; border-left: none; border-right: 1px solid var(--border); }
html[dir="rtl"] .mobile-menu.open { right: auto; left: 0; }
/* Responsive */
@media (max-width: 1024px) {
  nav .nav-links { display: none; }
  nav .lang-switcher { display: none; }
  nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav { padding: 14px 20px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .card-grid.col2, .card-grid.col3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 100px 20px 60px; }
  .data-row { flex-direction: column; }
  .section-header h2 { font-size: 24px; }
  .card { padding: 20px; }
  .card .metric-large { font-size: 36px; }
  .mobile-menu { width: 100%; }
}
@media print {
  body { background: #fff; color: #000; }
  nav { display: none; }
  .section { padding: 40px 20px; max-width: 100%; }
  .card { background: #fff; border: 1px solid #ddd; }
  .hero h1 { -webkit-text-fill-color: #000; color: #000; }
}
