:root {
  --bg: #070b12;
  --bg-soft: #0c121d;
  --bg-card: #101826;
  --bg-card-hover: #15202f;
  --accent: #3b9eff;
  --accent-bright: #6cbcff;
  --accent-deep: #1e6fd9;
  --accent-glow: rgba(59, 158, 255, 0.4);
  --warm: #f5b942;
  --text: #eef2f8;
  --text-muted: #93a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 150px !important;
  max-width: 150px !important;
  min-width: 0;
  height: auto !important;
  max-height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-logo {
  width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  max-height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-bright); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 1.2rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px var(--accent-glow);
}

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-glow-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.22), transparent 65%);
}

.hero-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.1), transparent 65%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black 30%, transparent 75%);
}

.hero-inner { position: relative; }

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.22);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 1.6rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.3rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--warm);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.96rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px var(--accent-glow);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.hero-stats {
  display: flex;
  gap: 2.6rem;
  flex-wrap: wrap;
}

.hero-stats div { min-width: 110px; }

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1.1;
}

.hero-stats dd {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ===== Trust strip ===== */
.trust {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1.9rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Sections shared ===== */
section { scroll-margin-top: var(--nav-h); }

.section-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.section-head { max-width: 640px; margin-bottom: 3rem; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.04rem;
  max-width: 58ch;
}

/* ===== Services ===== */
.services { padding: 5.5rem 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.3rem;
}

.service-card {
  padding: 1.9rem 1.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.service-card:hover {
  border-color: rgba(59, 158, 255, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 14px;
  color: var(--accent-bright);
  margin-bottom: 1.2rem;
}

.service-icon-warm {
  background: rgba(245, 185, 66, 0.1);
  border-color: rgba(245, 185, 66, 0.22);
  color: var(--warm);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 1rem;
}

.service-card ul { list-style: none; }

.service-card li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Why us ===== */
.why {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(59,158,255,0.06), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.why-content { position: sticky; top: calc(var(--nav-h) + 2rem); }

.why-content .btn { margin-top: 1.6rem; }

.why-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.why-list li {
  display: flex;
  gap: 1.3rem;
  padding: 1.5rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.why-list li:hover {
  border-color: rgba(59, 158, 255, 0.28);
  transform: translateX(4px);
}

.why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  padding-top: 0.15rem;
}

.why-list h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.why-list p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== About ===== */
.about { padding: 5.5rem 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.about-lead {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-bottom: 1.2rem;
}

.about-card {
  padding: 1.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.data-list { display: grid; gap: 0.95rem; }

.data-list div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 0.6rem;
  font-size: 0.89rem;
}

.data-list dt { color: var(--text-muted); }
.data-list dd { font-weight: 500; }

.status-ok {
  color: #34d399;
  font-weight: 600;
}

.data-source {
  margin-top: 1.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== Contact ===== */
.contact { padding: 1rem 0 5.5rem; }

.contact-card {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 90% at 15% 0%, rgba(59,158,255,0.12), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  overflow: hidden;
}

.contact-head { max-width: 560px; margin-bottom: 2.4rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

a.contact-item:hover {
  border-color: rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.07);
  transform: translateY(-2px);
}

.contact-item svg { color: var(--accent-bright); flex-shrink: 0; }

.contact-item span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-item strong {
  font-size: 0.96rem;
  font-weight: 600;
  word-break: break-word;
}

.contact-primary {
  background: rgba(59, 158, 255, 0.1);
  border-color: rgba(59, 158, 255, 0.3);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3.2rem 0 1.6rem;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.2rem;
  margin-bottom: 2.4rem;
}

.footer-logo { margin-bottom: 0.9rem; }

.footer p, .footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 0.32rem;
}

.footer a { display: inline-block; transition: color 0.2s; }
.footer a:hover { color: var(--accent-bright); }

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.footer-legal {
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-legal p {
  font-size: 0.78rem;
  opacity: 0.65;
  margin: 0;
}

.footer-credit {
  margin-top: 0.4rem !important;
  opacity: 0.55;
}

.footer-credit strong {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-content { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }

  .brand-logo {
    width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    max-height: 34px;
  }

  .footer-brand-logo {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 58px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 11, 18, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1.5rem 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s, opacity 0.28s, visibility 0.28s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-of-type { border-bottom: none; }

  .nav-cta-mobile {
    display: inline-flex;
    justify-content: center;
    margin-top: 0.9rem;
    padding: 0.85rem;
    border-bottom: none !important;
  }

  .hero { padding-top: calc(var(--nav-h) + 2rem); }
  .hero-stats { gap: 1.6rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  .trust-grid { grid-template-columns: 1fr; gap: 1.1rem; }

  .services, .why, .about { padding: 3.8rem 0; }
  .contact { padding-bottom: 3.8rem; }

  .why-list li { padding: 1.2rem 1.25rem; }

  .data-list div { grid-template-columns: 1fr; gap: 0.1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 2rem); }
  .nav-inner { width: calc(100% - 2rem); }

  .brand-logo {
    width: 88px !important;
    max-width: 88px !important;
    height: auto !important;
    max-height: 32px;
  }
}
