/* ─── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #06080f;
  --surface: #0d1220;
  --surface2: #131929;
  --border: rgba(255, 255, 255, 0.07);

  --accent1: #6c63ff; /* violet */
  --accent2: #ff6b6b; /* coral-red */
  --accent3: #ffd166; /* gold */
  --accent-g1: #6c63ff;
  --accent-g2: #ff6b6b;

  --text: #f0f2ff;
  --muted: #8893b0;

  --radius: 14px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(108, 99, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
address {
  font-style: normal;
}
img,
svg {
  display: block;
}

/* ─── UTILITIES ─────────────────────────────────────────── */
.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.gradient-text {
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 36px rgba(108, 99, 255, 0.5);
}

.btn--outline {
  border-color: var(--accent1);
  color: var(--accent1);
}
.btn--outline:hover {
  background: var(--accent1);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 0;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}
.nav.scrolled {
  background: rgba(6, 8, 15, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  padding: 12px 0;
}

.nav__inner {
  width: min(1140px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav__logo span {
  color: var(--accent1);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    var(--accent1),
    var(--accent2)
  ) !important;
  color: #fff !important;
  font-weight: 700 !important;
  transition:
    box-shadow var(--transition),
    transform var(--transition) !important;
}
.nav__cta:hover {
  box-shadow: 0 6px 24px rgba(108, 99, 255, 0.45);
  transform: translateY(-2px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Animated background shapes */
.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float 12s ease-in-out infinite;
}
.shape--1 {
  width: 600px;
  height: 600px;
  background: var(--accent1);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}
.shape--2 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  top: 100px;
  right: -100px;
  animation-delay: -4s;
}
.shape--3 {
  width: 400px;
  height: 400px;
  background: var(--accent3);
  bottom: -100px;
  left: 30%;
  animation-delay: -8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.05);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent1);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__scroll-hint span {
  display: block;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent1), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    opacity: 0;
    transform: scaleY(0.2);
    transform-origin: bottom;
  }
}

/* reveal stagger in hero */
.hero__content .reveal:nth-child(1) {
  transition-delay: 0.1s;
}
.hero__content .reveal:nth-child(2) {
  transition-delay: 0.25s;
}
.hero__content .reveal:nth-child(3) {
  transition-delay: 0.4s;
}
.hero__content .reveal:nth-child(4) {
  transition-delay: 0.55s;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services {
  background: var(--surface);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(108, 99, 255, 0.3);
}
.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.2),
    rgba(255, 107, 107, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent1);
  transition: background var(--transition);
}
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #fff;
}
.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__blob {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.12),
    rgba(255, 107, 107, 0.08)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
.about__blob::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.15),
    transparent 70%
  );
  bottom: -80px;
  right: -80px;
  border-radius: 50%;
}

.blob-stat {
  display: flex;
  flex-direction: column;
}
.blob-stat__num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blob-stat__plus {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.blob-stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.about__text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1rem;
}
.about__text .btn {
  margin-top: 10px;
}

/* ─── WHY US ─────────────────────────────────────────────── */
.why-us {
  background: var(--surface);
}

.why-us__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.why-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.why-card:hover {
  transform: translateX(6px);
  border-color: rgba(108, 99, 255, 0.35);
}

.why-card__dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
}
.why-card p {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact {
  background: var(--bg);
}

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

.contact__info .section-title {
  margin-bottom: 16px;
}

.contact__info p {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact__info address {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 18px;
  line-height: 1.9;
  font-size: 0.95rem;
}
.contact__info address strong {
  color: var(--accent1);
}

.reg-number {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px !important;
}
.reg-number strong {
  color: var(--text);
}

/* Map */
.contact__map {
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
#map {
  width: 100%;
  height: 100%;
}

/* Leaflet dark overlay tint */
.leaflet-tile {
  filter: brightness(0.85) saturate(0.8) hue-rotate(200deg);
}
.leaflet-container {
  background: var(--surface);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__logo {
  font-size: 1.1rem;
  font-weight: 800;
}
.footer__logo span {
  color: var(--accent1);
}
.footer__copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─── MOBILE NAV OPEN ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 36px 36px;
    gap: 28px;
    transition: right var(--transition);
    z-index: 800;
  }
  .nav__links.open {
    right: 0;
  }
  .nav__links a {
    font-size: 1.05rem;
    color: var(--text);
  }
  .nav__burger {
    display: flex;
    z-index: 1000;
  }
  .nav__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__map {
    height: 320px;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── PARTICLE CANVAS ────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
