:root {
  --bg: #070d1a;
  --bg-elevated: #0d1527;
  --panel: rgba(17, 25, 40, 0.9);
  --panel-strong: #111b2d;
  --border: rgba(148, 163, 184, 0.18);
  --primary: #7c9cff;
  --primary-2: #6ee7d8;
  --text: #edf3ff;
  --muted: #b8c4dc;
  --shadow: 0 25px 50px rgba(3, 7, 18, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, rgba(124, 156, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #070d1a 0%, #0b1324 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  background: rgba(8, 13, 24, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  position: relative;
  z-index: 20;
}

.navbar-brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: none;
}

.brand-word {
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.brand-plain {
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.nav-link {
  color: rgba(237, 243, 255, 0.8) !important;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--text) !important;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  background: rgba(148, 163, 184, 0.04);
}

.lang-switcher a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: rgba(124, 156, 255, 0.12);
  color: var(--text);
}

.hero-section {
  position: relative;
  padding: 5.5rem 0 2rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cfe0ff;
  background: rgba(124, 156, 255, 0.13);
  border: 1px solid rgba(124, 156, 255, 0.24);
}

.hero-section h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 720px;
  font-weight: 900;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 1.25rem;
}

.hero-actions {
  margin-top: 2rem;
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border: 0;
  box-shadow: 0 15px 30px rgba(124, 156, 255, 0.28);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-metrics {
  max-width: 540px;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.9), rgba(9, 14, 24, 0.9));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.amber { background: #ffbd2e; }
.dot.green { background: #28c840; }

.panel-body {
  padding: 1.4rem;
}

.mini-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 1.1rem;
  background: rgba(124, 156, 255, 0.08);
  border: 1px solid rgba(124, 156, 255, 0.2);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.mini-stat span {
  color: var(--muted);
}

.mini-stat strong {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  height: 160px;
  gap: 0.7rem;
  padding: 1rem 0.3rem 0.5rem;
}

.chart-bars span {
  display: block;
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  box-shadow: 0 10px 20px rgba(110, 231, 216, 0.18);
}

.mini-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.mini-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.mini-list label {
  color: var(--muted);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 15%, rgba(124, 156, 255, 0.25), transparent 20%);
  pointer-events: none;
}

.clients-strip {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.4rem 0;
}

.clients-strip p {
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-align: center;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.client-logos span {
  min-width: 120px;
  text-align: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  color: rgba(237, 243, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.section {
  padding: 6rem 0;
}

.dark-panel {
  background: rgba(11, 17, 31, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 0.75rem;
}

.section-heading.narrow {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary-2);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 0;
}

.service-card,
.feature-box,
.step-card,
.project-card,
.contact-form,
.cta-panel {
  border: 1px solid var(--border);
  background: rgba(17, 25, 40, 0.88);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.service-card {
  height: 100%;
  padding: 1.65rem 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.feature-box:hover,
.step-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 156, 255, 0.36);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.15), rgba(110, 231, 216, 0.15));
  border: 1px solid rgba(124, 156, 255, 0.2);
  font-size: 1.5rem;
  color: var(--primary-2);
  margin-bottom: 1rem;
}

.service-card h3,
.feature-box h3,
.step-card h3,
.project-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.service-card p,
.feature-box p,
.step-card p,
.project-card p,
.contact-section p,
.small-text {
  color: var(--muted);
  margin: 0;
}

.feature-box {
  height: 100%;
  padding: 1.5rem 1.2rem;
}

.feature-box i {
  font-size: 1.75rem;
  color: var(--primary-2);
  margin-bottom: 1rem;
}

.step-card {
  height: 100%;
  padding: 1.5rem 1.2rem;
}

.step-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(124, 156, 255, 0.12);
  color: var(--primary-2);
  font-weight: 800;
  margin-bottom: 1rem;
}

.project-card {
  height: 100%;
  padding: 1.5rem 1.2rem;
}

.project-tag {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 216, 0.22);
  background: rgba(110, 231, 216, 0.08);
  color: var(--primary-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-panel {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.1), rgba(110, 231, 216, 0.06));
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.contact-section {
  background: rgba(9, 13, 22, 0.78);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  color: var(--text);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
}

.contact-list i {
  color: var(--primary-2);
  font-size: 1.1rem;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.dark-select {
  color: rgba(237, 243, 255, 0.7) !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
}

.dark-select:focus,
.dark-select:active,
.dark-select:focus-visible {
  color: #111827 !important;
  background-color: #f3f4f6 !important;
}

.dark-select option {
  color: #111827;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(124, 156, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 156, 255, 0.12);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 26, 0.9);
  padding: 1.5rem 0;
}

.site-footer p,
.footer-links a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 3.5rem;
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar-nav {
    margin-bottom: 1rem !important;
  }

  .hero-metrics {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-section h1 {
    max-width: 100%;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-panel .btn-lg {
    width: 100%;
  }
}
