:root {
  --bg-main: #f4f9ff;
  --bg-soft: #e8f1ff;
  --blue-900: #0f2c5c;
  --blue-700: #1e4b9a;
  --blue-500: #2c6fff;
  --gold-500: #c9a647;
  --text-main: #173052;
  --text-muted: #4e6487;
  --white: #ffffff;
  --border: #cfe0ff;
  --shadow: 0 12px 38px rgba(27, 71, 152, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 85% 5%, rgba(44, 111, 255, 0.09) 0, rgba(44, 111, 255, 0) 48%),
    var(--bg-main);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 20vh;
  background: rgba(44, 111, 255, 0.14);
}

.orb-2 {
  width: 260px;
  height: 260px;
  right: -80px;
  top: 55vh;
  background: rgba(201, 166, 71, 0.18);
}

.section-space {
  padding: 96px 0;
}

.site-header {
  background: rgba(244, 249, 255, 0.84);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 224, 255, 0.7);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--gold-500), #ecd58a);
  color: #263042;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-text {
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: 0.4px;
}

.brand-text small {
  display: block;
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.navbar-nav .nav-link {
  color: var(--text-main);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--blue-700);
  background-color: rgba(44, 111, 255, 0.09);
}

.nav-cta,
.btn-primary {
  --bs-btn-bg: var(--blue-500);
  --bs-btn-border-color: var(--blue-500);
  --bs-btn-hover-bg: #155df6;
  --bs-btn-hover-border-color: #155df6;
  --bs-btn-active-bg: #114fd5;
  --bs-btn-active-border-color: #114fd5;
  border-radius: 12px;
  font-weight: 700;
}

.btn-outline-primary {
  --bs-btn-color: var(--blue-700);
  --bs-btn-border-color: #8fb4ff;
  --bs-btn-hover-bg: var(--blue-700);
  --bs-btn-hover-border-color: var(--blue-700);
  --bs-btn-hover-color: #fff;
  border-radius: 12px;
  font-weight: 700;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #eaf2ff;
  border: 1px solid #bfd5ff;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #325281;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 999px;
  line-height: 1;
  padding: 7px 11px;
  min-width: 42px;
}

.lang-btn.active {
  background: var(--blue-500);
  color: #fff;
}

.lang-btn:focus-visible {
  outline: 2px solid #9ec0ff;
  outline-offset: 1px;
}

.lang-switcher-mobile {
  align-self: flex-start;
}

.mobile-menu-btn {
  border: 1px solid var(--border);
  border-radius: 10px;
}

.mobile-menu-btn .navbar-toggler-icon {
  filter: hue-rotate(8deg) saturate(0.8);
}

.mobile-offcanvas {
  width: min(86vw, 360px) !important;
  background: linear-gradient(180deg, #143a80 0%, #0f2c5c 100%);
  color: #fff;
}

.mobile-nav-link {
  display: block;
  color: #dbe7ff;
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid rgba(204, 220, 255, 0.16);
  font-weight: 600;
}

.mobile-nav-link:hover {
  color: #fff;
}

.hero-section {
  padding-top: 170px;
  padding-bottom: 105px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--blue-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.79rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1.08;
  color: var(--blue-900);
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--blue-500);
}

.hero-text {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 720px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--blue-900);
}

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

.metric-card {
  background: linear-gradient(170deg, #f9fbff 0%, #edf4ff 100%);
  border: 1px solid #ddeaff;
  border-radius: 14px;
  padding: 14px;
}

.metric-card strong {
  display: block;
  color: var(--blue-700);
  font-size: 1.2rem;
  line-height: 1.1;
}

.metric-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section-head {
  margin-bottom: 30px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--blue-700);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  color: var(--blue-900);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.content-card,
.service-card,
.product-card,
.step-card,
.license-card,
.contact-card,
.contact-form {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.content-card {
  padding: 26px;
}

.content-card h3 {
  color: var(--blue-900);
  margin-bottom: 14px;
}

.content-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  color: var(--gold-500);
  position: absolute;
  left: 0;
  top: 1px;
}

.service-card {
  padding: 24px;
  height: 100%;
}

.service-card i {
  font-size: 1.5rem;
  color: var(--blue-700);
}

.service-card h3 {
  margin: 14px 0 8px;
  color: var(--blue-900);
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
}

.product-card {
  padding: 24px;
  background: linear-gradient(175deg, #ffffff 0%, #f2f7ff 100%);
}

.product-card h3 {
  color: var(--blue-900);
  margin-bottom: 10px;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
}

.step-card {
  padding: 22px;
  height: 100%;
}

.step-card span {
  display: inline-block;
  font-weight: 800;
  color: var(--gold-500);
  margin-bottom: 10px;
}

.step-card h3 {
  color: var(--blue-900);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.step-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.license-card {
  padding: 22px;
  height: 100%;
}

.license-meta {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.82rem;
  background: rgba(44, 111, 255, 0.1);
  border-radius: 999px;
  padding: 5px 11px;
}

.license-card h3 {
  margin: 14px 0 10px;
  color: var(--blue-900);
  font-size: 1.02rem;
  line-height: 1.4;
}

.license-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 56px;
}

.license-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-card {
  padding: 28px;
  height: 100%;
}

.contact-card h2 {
  font-family: "Playfair Display", serif;
  color: var(--blue-900);
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  color: var(--text-main);
  display: flex;
  gap: 8px;
  align-items: start;
}

.contact-list i {
  color: var(--blue-700);
}

.contact-form {
  padding: 28px;
}

.contact-form h3 {
  color: var(--blue-900);
  margin-bottom: 18px;
}

.form-control {
  border-color: #c7d8fa;
  border-radius: 10px;
  padding: 0.66rem 0.82rem;
}

.form-control:focus {
  border-color: #8db2ff;
  box-shadow: 0 0 0 0.25rem rgba(44, 111, 255, 0.18);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #edf4ff;
  padding: 18px 0;
  color: #36527f;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .navbar-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .navbar-nav .nav-link,
html[dir="rtl"] .mobile-nav-link,
html[dir="rtl"] .form-control {
  text-align: right;
}

html[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 30px;
}

html[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .contact-list li {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

html[dir="rtl"] .eyebrow {
  flex-direction: row-reverse;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 72px 0;
  }

  .hero-section {
    padding-top: 138px;
    padding-bottom: 74px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .brand-text {
    font-size: 0.85rem;
  }

  .brand-text small {
    font-size: 0.56rem;
  }

  .hero-panel,
  .content-card,
  .service-card,
  .product-card,
  .step-card,
  .license-card,
  .contact-card,
  .contact-form {
    border-radius: 16px;
    padding: 18px;
  }

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