/* ===== CSS Variables ===== */
:root {
  --navy-900: #0a1628;
  --navy-800: #0d2137;
  --navy-700: #142740;
  --navy-600: #1a3a5c;
  --navy-500: #2d5f8a;
  --navy-400: #4a8abf;
  --gold-500: #c9a84c;
  --gold-400: #d4b85c;
  --gold-300: #e0c96e;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6eb;
  --gray-300: #c8cfd8;
  --gray-500: #6b7b8d;
  --gray-700: #374151;
  --gray-900: #1a1a2e;
  --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Arial', sans-serif;
  --transition: 0.3s ease;
}

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

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

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

body[dir="rtl"] {
  font-family: var(--font-ar);
}

body[data-lang="en"], body[data-lang="de"] {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

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

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.98);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--navy-900);
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
}

.logo-text {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--gray-300);
  font-family: var(--font-en);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-en);
}

.lang-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.lang-btn.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
}

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

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
}

.hero-swiper {
  height: 100vh;
  min-height: 600px;
}

.hero-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 8px;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.hero-pagination {
  bottom: 100px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--gold-500);
  width: 48px;
}

/* Stats Bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-500);
  font-family: var(--font-en);
  line-height: 1;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 500;
  color: var(--gold-400);
  font-family: var(--font-en);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.section-en {
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 4px;
  font-family: var(--font-en);
  font-weight: 500;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-size: 18px;
  color: var(--gray-900);
  line-height: 1.9;
  margin-bottom: 20px;
  font-weight: 400;
}

.about-text p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  background: var(--gray-50);
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--gold-500);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Strategy ===== */
.strategy {
  background: var(--gray-50);
}

.strategy-intro {
  text-align: center;
  font-size: 16px;
  color: var(--gray-500);
  max-width: 700px;
  margin: -40px auto 60px;
  line-height: 1.8;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strategy-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.strategy-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.strategy-icon {
  width: 56px;
  height: 56px;
  color: var(--navy-600);
  margin-bottom: 24px;
}

.strategy-icon svg {
  width: 100%;
  height: 100%;
}

.strategy-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.strategy-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.strategy-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strategy-tags li {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: 20px;
  color: var(--navy-600);
  letter-spacing: 0.5px;
}

/* ===== Portfolio ===== */
.portfolio {
  background: var(--white);
}

.portfolio-intro {
  text-align: center;
  font-size: 16px;
  color: var(--gray-500);
  max-width: 600px;
  margin: -40px auto 60px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-card {
  display: flex;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: var(--navy-400);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06);
  transform: translateY(-2px);
}

.portfolio-logo {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

.portfolio-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 1px;
}

.portfolio-info {
  padding: 24px;
  flex: 1;
}

.portfolio-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--navy-600);
}

.portfolio-info p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.portfolio-metrics {
  display: flex;
  gap: 24px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-600);
  font-family: var(--font-en);
}

.metric span {
  font-size: 11px;
  color: var(--gray-500);
}

/* ===== News ===== */
.news {
  background: var(--gray-50);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.06);
}

.news-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.news-image {
  min-height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.news-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-en);
}

.news-body {
  padding: 28px;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--navy-600);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.news-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.news-card:not(.featured) .news-body h3 {
  font-size: 16px;
}

.news-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-link {
  font-size: 13px;
  color: var(--navy-600);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.news-link:hover {
  color: var(--gold-500);
}

/* ===== Contact ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-item h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 15px;
  color: var(--gray-900);
  line-height: 1.7;
}

.contact-item a {
  color: var(--navy-600);
}

.contact-item a:hover {
  color: var(--gold-500);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  padding: 14px 48px;
  background: var(--navy-700);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.submit-btn:hover {
  background: var(--navy-600);
  transform: translateY(-1px);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gold-500);
  letter-spacing: 4px;
}

.footer-links h4 {
  font-size: 13px;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-500);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer .logo-text {
  font-size: 16px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RTL Support ===== */
[dir="rtl"] .main-nav {
  direction: rtl;
}

[dir="rtl"] .header-inner {
  direction: rtl;
}

[dir="rtl"] .hero-title {
  letter-spacing: 0;
}

[dir="rtl"] .section-title {
  letter-spacing: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .strategy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .stat-number {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    flex-direction: column;
  }

  .portfolio-logo {
    width: 100%;
    height: 80px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lang-switcher {
    gap: 2px;
  }

  .lang-btn {
    padding: 3px 8px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-cta {
    padding: 12px 32px;
  }
}
