:root {
  --bg: #05070d;
  --bg-2: #080d18;
  --surface: rgba(13, 18, 34, 0.78);
  --surface-strong: rgba(16, 22, 42, 0.94);
  --text: #f5f8ff;
  --muted: #aab5cc;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #16e8ff;
  --violet: #8c5cff;
  --lime: #9cff72;
  --amber: #ffc857;
  --danger: #ff5c9a;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --nav-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(22, 232, 255, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(140, 92, 255, 0.10), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.32;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: var(--cyan);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 0.7rem 1rem;
  color: #031017;
  background: var(--cyan);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.main-nav {
  min-height: var(--nav-height);
  background: rgba(5, 7, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav.is-scrolled {
  background: rgba(5, 7, 13, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: var(--radius);
  box-shadow: 0 0 22px rgba(22, 232, 255, 0.45);
}

.navbar .nav-link {
  color: rgba(245, 248, 255, 0.78);
  font-weight: 650;
  border-radius: var(--radius);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(22, 232, 255, 0.52);
}

.dropdown-menu {
  border: 1px solid var(--line);
  background: rgba(9, 13, 26, 0.98);
  box-shadow: var(--shadow);
}

.dropdown-item {
  color: rgba(245, 248, 255, 0.78);
}

.dropdown-item:hover,
.dropdown-item.active {
  color: #031017;
  background: var(--cyan);
}

.hero-section,
.inner-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background-image:
    linear-gradient(90deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.76) 48%, rgba(5, 7, 13, 0.52) 100%),
    url("../img/hero.jpg");
  background-position: center;
  background-size: cover;
}

.home-hero::after,
.inner-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 160px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 18px rgba(22, 232, 255, 0.72);
}

.hero-title,
.page-title {
  max-width: 850px;
  margin: 0 0 1.3rem;
  font-size: 4rem;
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 0 28px rgba(140, 92, 255, 0.24);
}

.page-title {
  font-size: 3.4rem;
}

.hero-copy,
.page-copy {
  max-width: 700px;
  margin-bottom: 2rem;
  color: #d6def2;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn-neon {
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border: 0;
  box-shadow: 0 0 24px rgba(22, 232, 255, 0.34);
}

.btn-neon:hover,
.btn-neon:focus {
  color: #031017;
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(22, 232, 255, 0.54);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--cyan);
  border-color: rgba(22, 232, 255, 0.72);
  transform: translateY(-2px);
}

.glass-panel,
.feature-card,
.advantage-card,
.blog-card,
.contact-card,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-console {
  padding: 1.2rem;
}

.console-top {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.console-top span {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(22, 232, 255, 0.7);
}

.console-top span:nth-child(2) {
  background: var(--violet);
}

.console-top span:nth-child(3) {
  background: var(--amber);
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.console-grid div {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.console-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 1.08rem;
}

.console-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-pad {
  padding: 6rem 0;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2,
.section-title,
.cta-panel h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  line-height: 1.14;
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  font-size: 1.08rem;
}

.feature-card,
.advantage-card {
  height: 100%;
  padding: 1.35rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.advantage-card:hover,
.blog-card:hover,
.contact-card:hover {
  border-color: rgba(22, 232, 255, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(22, 232, 255, 0.12);
}

.feature-card i,
.advantage-card i,
.contact-card > i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--cyan);
  background: rgba(22, 232, 255, 0.09);
  border: 1px solid rgba(22, 232, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: inset 0 0 18px rgba(22, 232, 255, 0.08);
}

.feature-card h3,
.advantage-card h2,
.blog-card h3,
.blog-card h2,
.contact-card h2 {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.28;
  font-weight: 850;
}

.advantage-card h2,
.blog-card h2 {
  font-size: 1.35rem;
}

.feature-card p,
.advantage-card p,
.blog-card p {
  margin-bottom: 0;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.text-soft {
  color: var(--muted);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.mini-stats div {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.mini-stats strong {
  display: block;
  color: var(--lime);
  font-size: 1.8rem;
  line-height: 1;
}

.mini-stats span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  position: relative;
  min-height: 235px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
}

.process-step::after {
  position: absolute;
  top: 2.1rem;
  right: -1rem;
  width: 1rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.process-step:last-child::after {
  display: none;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  font-weight: 850;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.blog-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-large .blog-card-body {
  padding: 1.45rem;
}

.meta-line,
.rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-line i,
.rating-line i {
  color: var(--amber);
}

.rating-line {
  justify-content: flex-start;
}

.rating-line span {
  margin-left: auto;
  color: var(--cyan);
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  gap: 0.7rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(22, 232, 255, 0.14), rgba(140, 92, 255, 0.14)),
    var(--surface-strong);
}

.cta-panel p {
  margin-bottom: 0;
}

.inner-hero {
  padding: 10rem 0 5rem;
  background-image:
    linear-gradient(90deg, rgba(5, 7, 13, 0.92), rgba(5, 7, 13, 0.72)),
    url("../img/team.jpg");
  background-position: center;
  background-size: cover;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.check-list p {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
}

.check-list i {
  margin-top: 0.25rem;
  color: var(--lime);
}

.contact-form {
  padding: 1.5rem;
}

.form-label {
  color: var(--text);
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 48px;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-control:focus,
.form-select:focus {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 0 0.2rem rgba(22, 232, 255, 0.15);
}

.form-select option {
  color: #0b1020;
}

.form-success {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: #04130b;
  background: var(--lime);
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card > i {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.map-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  color: var(--text);
  background: rgba(5, 7, 13, 0.8);
  border: 1px solid rgba(22, 232, 255, 0.32);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.map-overlay strong,
.map-overlay span {
  display: block;
}

.map-overlay span {
  color: var(--muted);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.28rem;
  font-weight: 850;
}

.legal-content h2:first-of-type {
  margin-top: 1rem;
}

.legal-content p {
  margin-bottom: 0;
}

.effective-date {
  color: var(--cyan);
  font-weight: 800;
}

.site-footer {
  padding: 4.5rem 0 2rem;
  background: #03050a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.site-footer p {
  max-width: 390px;
  margin-top: 1rem;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom span {
  margin-bottom: 0;
}

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

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

@media (max-width: 1199.98px) {
  .process-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 991.98px) {
  :root {
    --nav-height: 72px;
  }

  .navbar-collapse {
    padding: 1rem 0 0.4rem;
  }

  .home-hero {
    min-height: auto;
    padding: 8rem 0 4.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .page-title {
    font-size: 2.65rem;
  }

  .section-heading h2,
  .section-title,
  .cta-panel h2 {
    font-size: 2.05rem;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .page-title {
    font-size: 2.1rem;
  }

  .hero-copy,
  .page-copy {
    font-size: 1rem;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .inner-hero {
    padding: 8.5rem 0 4rem;
  }

  .console-grid,
  .mini-stats,
  .process-track {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .btn,
  .cta-panel .btn {
    width: 100%;
  }

  .process-step {
    min-height: auto;
  }

  .legal-content,
  .contact-form,
  .cta-panel {
    padding: 1.2rem;
  }
}

@media (max-width: 420px) {
  .navbar-brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-title {
    font-size: 2.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
