@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #080e19;
  --bg-soft: #0d1727;
  --panel: #111e31;
  --panel-light: #172840;
  --text: #f1f5fb;
  --muted: #9aabc1;
  --accent: #62b6ff;
  --accent-2: #8b9dff;
  --line: rgba(160,190,225,.14);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 44px)); margin: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,14,25,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 24px 'Manrope', sans-serif;
  letter-spacing: 2px;
}
.logo-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #08111e;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 19px;
  letter-spacing: 0;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.lang-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.lang-switch button {
  cursor: pointer;
  border: 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.lang-switch button.active {
  background: var(--panel-light);
  color: var(--accent);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 21px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 100px;
  background:
    radial-gradient(ellipse at 80% 25%, rgba(64,130,220,.19), transparent 38%),
    radial-gradient(ellipse at 10% 90%, rgba(83,91,190,.12), transparent 35%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -180px;
  top: 40px;
  border: 1px solid rgba(98,182,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(98,182,255,.025), 0 0 0 90px rgba(98,182,255,.02);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 23px;
  height: 1px;
  background: var(--accent);
}
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.2; }
h1 {
  max-width: 850px;
  margin: 25px 0;
  font-size: clamp(40px, 6.5vw, 70px);
  letter-spacing: -2.8px;
}
h1 span, .gradient-text {
  background: linear-gradient(100deg, #75c6ff, #a2aaff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #071321;
  background: linear-gradient(110deg, #72c6ff, #91a7ff);
  border-color: transparent;
}
.btn-secondary { background: rgba(255,255,255,.025); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); }

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading h2 { margin: 13px 0; font-size: clamp(29px, 4vw, 42px); letter-spacing: -1.3px; }
.section-heading p { color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(23,40,64,.82), rgba(13,23,39,.8));
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(98,182,255,.48); }
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(98,182,255,.22);
  border-radius: 12px;
  background: rgba(98,182,255,.08);
  color: var(--accent);
  font-size: 22px;
}
.card h3 { margin: 21px 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--accent); font-size: 13px; font-weight: 700; }

.page-hero {
  padding: 82px 0 65px;
  background: radial-gradient(ellipse at 85% 20%, rgba(64,130,220,.15), transparent 40%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 780px; font-size: clamp(38px, 5vw, 56px); }
.page-hero p { max-width: 690px; color: var(--muted); font-size: 17px; }

.feature-list { display: grid; gap: 14px; }
.feature {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17,30,49,.65);
}
.feature .card-icon { flex: 0 0 48px; }
.feature h3 { margin: 1px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.stat { padding: 24px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.025); }
.stat strong { display: block; font: 800 25px 'Manrope'; }
.stat span { color: var(--muted); font-size: 13px; }

.contact-panel {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(130deg, #142944, #101a2b);
}
.contact-panel p { color: var(--muted); }
.contact-item { padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border: 0; }
.contact-item small { display: block; color: var(--muted); }

.site-footer { padding: 48px 0 25px; background: #060b13; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 35px; padding-bottom: 35px; }
.footer-about { max-width: 390px; }
.footer-about p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-content: flex-start; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--line); color: #718197; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-links { gap: 17px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav-wrap { min-height: 70px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px 24px 25px;
    background: #0b1422;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .nav-links.open { display: flex; }
  .nav-actions { gap: 9px; }
  .hero { padding: 78px 0 75px; }
  .hero p { font-size: 16px; }
  .section { padding: 65px 0; }
  .cards, .stats { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  h1 { letter-spacing: -1.7px; }
}

/* Compatibility styles for inner pages */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,14,25,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lang-btn {
  cursor: pointer;
  border: 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--panel-light);
  color: var(--accent);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(23,40,64,.82), rgba(13,23,39,.8));
  transition: transform .25s, border-color .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(98,182,255,.48);
}

.service-card h3 { margin: 21px 0 10px; font-size: 19px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

.footer {
  padding: 48px 0 25px;
  background: #060b13;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  padding-bottom: 35px;
}

.footer-grid p { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .nav-container { min-height: 70px; }
  .nav-container .menu-toggle { display: block; }
  .nav-container .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px 24px 25px;
    background: #0b1422;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .nav-container .nav-links.open { display: flex; }
  .nav-container .nav-actions { gap: 9px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Why Netoria section */
.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
}
