:root {
  --bg: #070b16;
  --bg-2: #0b1220;
  --surface: rgba(15, 24, 42, 0.78);
  --surface-strong: rgba(18, 29, 52, 0.92);
  --line: rgba(139, 233, 253, 0.22);
  --line-strong: rgba(0, 229, 255, 0.46);
  --text: #edf6ff;
  --muted: #a8b6ca;
  --cyan: #00e5ff;
  --violet: #9f5cff;
  --blue: #2f80ff;
  --green: #5cf2a8;
  --gold: #ffc857;
  --danger: #ff5c8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --glow: 0 0 18px rgba(0, 229, 255, 0.44), 0 0 36px rgba(159, 92, 255, 0.18);
  --radius: 8px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.07) 0%, transparent 24%),
    linear-gradient(235deg, rgba(159, 92, 255, 0.08) 0%, transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 56px),
    var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-navbar {
  min-height: var(--nav-height);
  padding: 0.85rem 0;
  background: rgba(7, 11, 22, 0.82);
  border-bottom: 1px solid rgba(139, 233, 253, 0.14);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-navbar.nav-scrolled {
  background: rgba(7, 11, 22, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

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

.brand-mark,
.footer-brand i {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: var(--radius);
  box-shadow: var(--glow);
}

.navbar-brand:hover,
.navbar-brand:focus,
.footer-brand:hover,
.footer-brand:focus {
  color: var(--text);
}

.navbar-toggler {
  border-color: rgba(0, 229, 255, 0.36);
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(0, 229, 255, 0.28);
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(1.8);
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-weight: 700;
  padding-inline: 0.85rem !important;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: var(--glow);
}

.dropdown-menu {
  padding: 0.5rem;
  background: rgba(10, 16, 30, 0.96);
  border: 1px solid rgba(139, 233, 253, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dropdown-item {
  color: var(--muted);
  border-radius: 6px;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  color: var(--text);
  background: rgba(0, 229, 255, 0.12);
}

.hero-section {
  position: relative;
  display: flex;
  min-height: 88vh;
  padding: calc(var(--nav-height) + 6rem) 0 5rem;
  align-items: center;
  overflow: hidden;
}

.hero-home {
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 22, 0.94), rgba(7, 11, 22, 0.75) 46%, rgba(7, 11, 22, 0.38)),
    linear-gradient(180deg, rgba(7, 11, 22, 0.1), var(--bg));
}

.hero-section h1,
.page-hero h1 {
  max-width: 920px;
  margin-bottom: 1.15rem;
  color: #ffffff;
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.18);
}

.hero-lead,
.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  background:
    linear-gradient(120deg, rgba(0, 229, 255, 0.13), transparent 34%),
    linear-gradient(240deg, rgba(159, 92, 255, 0.16), transparent 32%),
    var(--bg-2);
  border-bottom: 1px solid rgba(139, 233, 253, 0.14);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  box-shadow: var(--glow);
}

.legal-hero {
  padding-bottom: 3.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 30px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: var(--glow);
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-split {
  background: linear-gradient(180deg, rgba(10, 18, 33, 0.58), rgba(7, 11, 22, 0.42));
  border-block: 1px solid rgba(139, 233, 253, 0.1);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-title {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.glass-card,
.blog-card,
.cta-panel,
.legal-content,
.signal-card {
  background: linear-gradient(180deg, var(--surface), rgba(8, 13, 25, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glass-card,
.signal-card {
  padding: 1.5rem;
}

.feature-card,
.advantage-card,
.blog-card,
.process-step,
.image-frame {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.advantage-card:hover,
.blog-card:hover,
.process-step:hover,
.image-frame:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}

.icon-chip {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1.25rem;
  place-items: center;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: var(--radius);
  font-size: 1.35rem;
}

.feature-card h2,
.advantage-card h2 {
  margin-bottom: 0.7rem;
  color: #ffffff;
  font-size: 1.2rem;
}

.feature-card p,
.advantage-card p,
.site-footer p,
.site-footer li {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-neon {
  color: #03121a;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--glow);
}

.btn-neon:hover,
.btn-neon:focus {
  color: #03121a;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.62), 0 0 44px rgba(92, 242, 168, 0.18);
}

.btn-outline-neon {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.38);
}

.btn-outline-neon:hover,
.btn-outline-neon:focus {
  color: var(--text);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.btn-card {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  background: rgba(47, 128, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.26);
}

.btn-card:hover,
.btn-card:focus {
  color: #ffffff;
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.14);
}

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

.text-link:hover,
.text-link:focus {
  color: var(--green);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.stats-row div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 233, 253, 0.14);
  border-radius: var(--radius);
}

.stats-row strong {
  display: block;
  color: var(--cyan);
  font-size: 1.65rem;
  line-height: 1;
}

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

.image-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 11, 22, 0.22));
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

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

.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  color: #051018;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  border-radius: var(--radius);
  font-weight: 900;
}

.process-step h3 {
  color: #ffffff;
  font-size: 1.1rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

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

.blog-card h2,
.blog-card h3 {
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.28;
}

.blog-card p {
  color: var(--muted);
}

.meta-line,
.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.meta-line span,
.rating-line span {
  margin-left: 0.35rem;
  color: var(--muted);
  font-weight: 700;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    linear-gradient(120deg, rgba(0, 229, 255, 0.14), transparent 36%),
    linear-gradient(245deg, rgba(92, 242, 168, 0.12), transparent 30%),
    var(--surface-strong);
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.cta-panel p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
}

.signal-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--text);
  font-weight: 800;
}

.signal-card i {
  display: inline-grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #03121a;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: var(--radius);
  box-shadow: var(--glow);
}

.check-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
}

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

.contact-form,
.contact-info-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

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

.form-control,
.form-select {
  min-height: 48px;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 233, 253, 0.22);
  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.18rem rgba(0, 229, 255, 0.18);
}

.form-select option {
  color: #111827;
}

textarea.form-control {
  min-height: 180px;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: #042015;
  background: linear-gradient(135deg, rgba(92, 242, 168, 0.96), rgba(0, 229, 255, 0.9));
  border-radius: var(--radius);
  font-weight: 800;
}

.form-message.show {
  display: block;
}

.contact-info-card h2 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-info-card p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
}

.contact-list a,
.contact-list span {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
}

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

.contact-list a:hover,
.contact-list a:focus {
  color: var(--text);
}

.mini-panel {
  padding: 1rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius);
}

.mini-panel strong,
.mini-panel span {
  display: block;
}

.mini-panel span {
  margin-top: 0.35rem;
  color: var(--muted);
}

.legal-content {
  max-width: 920px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-content h2 {
  margin: 2rem 0 0.65rem;
  color: #ffffff;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: rgba(5, 9, 18, 0.94);
  border-top: 1px solid rgba(139, 233, 253, 0.14);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

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

.footer-brand {
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(139, 233, 253, 0.12);
  text-align: center;
}

.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: 1199.98px) {
  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    background: rgba(7, 11, 22, 0.96);
  }

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

  .nav-link {
    padding: 0.75rem 0 !important;
  }

  .nav-link.active::after {
    left: 0;
    right: auto;
    bottom: 0.45rem;
    width: 44px;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 4rem);
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767.98px) {
  :root {
    --nav-height: 70px;
  }

  .hero-section {
    padding-bottom: 4rem;
  }

  .hero-section h1,
  .page-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + 3.5rem);
  }

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

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

  .image-frame img {
    min-height: 300px;
  }

  .blog-card img {
    height: 210px;
  }
}

@media (max-width: 575.98px) {
  .hero-actions,
  .btn {
    width: 100%;
  }

  .signal-card {
    align-items: flex-start;
  }
}

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

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

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