:root {
  --accent: #5d9efa;
  --accent-hover: #89bcff;
  --text-main: #f5f6fa;
  --text-muted: #8da3ba;
  --panel-bg: rgba(30,36,48,0.45);
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Monda', 'Inter', sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  background: #0f131a;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar, html::-webkit-scrollbar {
  width: 0 !important;
  display: none !important;
}

#map-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#logo-fixed {
  position: fixed;
  top: 20px;
  left: 30px;
  z-index: 20;
}
#logo-fixed .logo {
  max-width: 100px;
  display: block;
}

#menu {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
}
#menu a {
  margin-left: 0;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease;
}
#menu a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}
#menu a:hover,
#menu a:focus-visible,
#menu a.active {
  color: var(--accent);
}

#menu a.blog-link {
  pointer-events: auto !important;
  z-index: 1111;
}

#overlay {
  position: relative;
  z-index: 1;
}

.section {
  padding: 20px 20px;
  max-width: 900px;
  margin: 200px auto;
  background: var(--panel-bg);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px) saturate(130%);
  border: 2.5px solid #4a8afc55;
  box-shadow: 0 0 36px #71a6fc1a;
}

#hero {
  text-align: center;
  margin-top: 140px;
}
#hero h1 {
  font-size: 3rem;
  color: var(--accent);
}
#hero p {
  font-size: 1.3rem;
  margin: 20px 0 40px;
}

.cta {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(20,40,80,0.55);
  border: 1px solid rgba(60,100,200,0.6);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px) saturate(140%);
  transition: background 0.2s, transform 0.2s;
}
.cta:hover {
  background: rgba(40,80,160,0.75);
  transform: translateY(-2px);
}

#benefits ul {
  list-style: none;
  padding: 0;
}
#benefits li {
  margin: 10px 0;
  color: var(--text-muted);
}
#benefits li::before {
  content: "✦";
  margin-right: 10px;
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

#lang-switch {
  position: relative;
  display: inline-block;
  margin-left: 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  user-select: none;
  z-index: 1400;
}
#current-lang {
  padding: 6px 12px;
  background: rgba(60,90,180,0.07);
  border-radius: 8px;
  transition: background 0.13s;
}
#current-lang:hover, #lang-switch:focus {
  background: rgba(60,90,180,0.15);
}
#lang-menu {
  position: absolute;
  right: 0;
  top: 32px;
  background: rgba(30,36,48,0.95);
  border-radius: 12px;
  box-shadow: 0 8px 32px #000a;
  min-width: 130px;
  z-index: 1500;
}
#lang-menu div {
  padding: 10px 18px;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.13s;
}
#lang-menu div:hover {
  background: var(--accent);
  color: #223044;
}

.magic-symbol .msym {
  will-change: transform, opacity;
  animation: magic-bounce-fade 3s ease-out forwards;
}

@keyframes magic-bounce-fade {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1.05);
  }
  35% {
    transform: translateY(-10px) scale(0.95);
  }
  50% {
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
}

.leaflet-interactive {
  transition: fill-opacity 1.25s cubic-bezier(.45,1.38,.71,.98), stroke 1.25s cubic-bezier(.45,1.38,.71,.98);
}

#scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  cursor: pointer;
  transition: opacity 0.5s;
}

#scroll-indicator span {
  display: block;
  width: 26px;
  height: 26px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
  animation: scroll-bounce 1.5s infinite;
  opacity: 0.8;
}

@keyframes scroll-bounce {
  0%   { transform: translateY(0) rotate(-45deg); opacity: 0.8; }
  50%  { transform: translateY(10px) rotate(-45deg); opacity: 1; }
  100% { transform: translateY(0) rotate(-45deg); opacity: 0.8; }
}

#main-footer {
  text-align: center;
  background: rgba(30,36,48,0.55);
  box-shadow: 0 0 32px #0a183355;
  border: none;
  max-width: 550px;
  margin: 80px auto 36px auto;
  padding: 54px 18px 44px 18px;
  margin-bottom: 200px;
  border: 2.5px solid #4a8afc55;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-cta {
  min-width: 220px;
  width: 100%;
  max-width: 340px;
  font-size: 1.25rem;
  padding: 20px 0;
  margin-bottom: 12px;
  border-radius: 18px;
}

.footer-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.56;
  max-width: 430px;
}

#corner-copyright {
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 99;
  font-size: 0.77rem;
  color: var(--text-muted);
  border-radius: 18px;
  padding: 10px 22px;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.01em;
}


.social-widget {
  position: fixed;
  left: 32px;
  bottom: 40px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.social-widget__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social-widget__link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-widget__link:hover {
  transform: translateY(-2px);
  color: rgba(255, 255, 255, 0.85);
}

.social-widget__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.social-widget__link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.social-section {
  display: none;
}

.social-section__title {
  font-size: 1.4rem;
  margin: 0 0 20px;
  text-align: center;
  color: var(--accent);
}

.social-section__links {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-section__link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-section__link:hover,
.social-section__link:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.social-section__link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.platform-overview,
.insight-showcase,
.global-impact {
  max-width: 1100px;
  margin: 120px auto;
  padding: 72px 28px;
}

.platform-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.platform-overview__eyebrow,
.insight-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 138, 252, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
}

.platform-overview__intro h2,
.insight-showcase__header h2,
.global-impact__content h2 {
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  margin: 20px 0 18px;
}

.platform-overview__intro p,
.global-impact__content p,
.insight-showcase__header p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.platform-overview__intro a {
  color: var(--accent);
  text-decoration: underline;
}

.platform-overview__highlights {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.platform-card {
  background: rgba(18, 28, 46, 0.72);
  border: 1.5px solid rgba(90, 140, 255, 0.2);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 18px 42px rgba(8, 12, 24, 0.55);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 180, 255, 0.38);
}

.platform-card h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--accent);
}

.platform-card p {
  margin: 0;
  color: rgba(226, 234, 255, 0.85);
  line-height: 1.65;
}

.insight-showcase__header {
  max-width: 760px;
  margin-bottom: 46px;
}

.insight-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.insight-card {
  position: relative;
  background: rgba(17, 25, 42, 0.7);
  border: 1.4px solid rgba(90, 140, 255, 0.18);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 16px 40px rgba(8, 12, 26, 0.52);
}

.insight-card__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(90, 140, 255, 0.18);
}

.insight-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0) 40%, rgba(10, 14, 26, 0.38) 100%);
  pointer-events: none;
}

.insight-card__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insight-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
  overflow: hidden;
}

.insight-card__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  background: linear-gradient(90deg, rgba(74, 138, 252, 0.2), rgba(249, 109, 222, 0.35));
  opacity: 0.6;
  pointer-events: none;
}

.insight-card h3 {
  font-size: 1.28rem;
  margin: 0 0 14px;
  color: #f5f8ff;
}

.insight-card p {
  margin: 0 0 18px;
  color: rgba(220, 230, 255, 0.82);
  line-height: 1.65;
}

.insight-card__link {
  position: relative;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.insight-card__link:hover,
.insight-card__link:focus-visible {
  color: #ff9adf;
  text-decoration: underline;
}

.global-impact {
  margin-top: 140px;
}

.global-impact__content {
  background: linear-gradient(120deg, rgba(74, 138, 252, 0.12), rgba(249, 109, 222, 0.08));
  border: 1.6px solid rgba(74, 138, 252, 0.28);
  border-radius: 28px;
  padding: 56px 48px;
  box-shadow: 0 30px 70px rgba(10, 18, 32, 0.55);
  text-align: left;
}

.global-impact__content .cta {
  margin-top: 16px;
  align-self: flex-start;
}

/* --- Pricing page layout --- */
body.pricing-page {
  background: radial-gradient(circle at 10% 10%, rgba(74, 138, 252, 0.18), transparent 45%),
              radial-gradient(circle at 90% 20%, rgba(249, 109, 222, 0.15), transparent 55%),
              #0f131a;
  min-height: 100vh;
}

body.error-page {
  background: radial-gradient(circle at 20% 20%, rgba(74, 138, 252, 0.18), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(249, 109, 222, 0.16), transparent 55%),
              #0f131a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-page__wrap {
  max-width: 520px;
  background: rgba(14, 22, 36, 0.82);
  border: 1.4px solid rgba(90, 140, 255, 0.25);
  border-radius: 26px;
  padding: 48px 40px;
  box-shadow: 0 30px 70px rgba(8, 12, 24, 0.6);
}

.error-page__logo {
  width: 120px;
  margin-bottom: 24px;
}

.error-page__wrap h1 {
  font-size: 2.2rem;
  margin: 0 0 18px;
}

.error-page__wrap p {
  margin: 0 0 28px;
  color: rgba(226, 234, 255, 0.82);
  line-height: 1.65;
}

.pricing-main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 140px auto 140px;
  padding: 0 28px 120px;
}

.pricing-hero {
  background: rgba(18, 26, 42, 0.82);
  border: 1.5px solid rgba(90, 140, 255, 0.25);
  border-radius: 26px;
  padding: 58px 54px;
  box-shadow: 0 36px 80px rgba(8, 12, 22, 0.55);
  text-align: left;
}

.pricing-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 138, 252, 0.14);
  padding: 6px 16px;
  border-radius: 999px;
}

.pricing-hero h1 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  margin: 22px 0 18px;
}

.pricing-hero p {
  margin: 0;
  color: rgba(226, 234, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.72;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 60px 0 0;
}

.pricing-card {
  position: relative;
  background: rgba(16, 24, 38, 0.78);
  border: 1.4px solid rgba(90, 140, 255, 0.22);
  border-radius: 24px;
  padding: 32px 30px 36px;
  box-shadow: 0 24px 60px rgba(8, 12, 28, 0.55);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card--accent {
  background: linear-gradient(135deg, rgba(74, 138, 252, 0.22), rgba(249, 109, 222, 0.18));
  border-color: rgba(74, 138, 252, 0.35);
}

.pricing-card h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #f5f8ff;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 2.2rem;
}

.pricing-card__price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(220, 230, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: rgba(220, 230, 255, 0.82);
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.58;
}

.pricing-card .cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 14px 26px;
}

.pricing-notes {
  margin-top: 72px;
  background: rgba(14, 20, 32, 0.82);
  border: 1.4px solid rgba(90, 140, 255, 0.2);
  border-radius: 24px;
  padding: 46px 44px;
  box-shadow: 0 28px 70px rgba(8, 12, 26, 0.52);
}

.pricing-notes h2 {
  margin: 0 0 28px;
  font-size: 1.8rem;
  color: var(--accent);
}

.pricing-notes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.pricing-notes__grid h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.pricing-notes__grid p {
  margin: 0;
  color: rgba(220, 230, 255, 0.8);
  line-height: 1.7;
}

/* --- Features page layout --- */
body.features-page {
  background: radial-gradient(circle at 20% 20%, rgba(90, 140, 255, 0.16), transparent 45%),
              radial-gradient(circle at 80% 10%, rgba(140, 90, 255, 0.12), transparent 50%),
              #0f131a;
  min-height: 100vh;
}

.features-main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 140px auto 120px auto;
  padding: 0 28px 120px;
}

.features-hero {
  background: rgba(18, 26, 40, 0.85);
  border: 1.5px solid rgba(90, 140, 255, 0.28);
  border-radius: 28px;
  padding: 60px 56px;
  box-shadow: 0 40px 80px rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
}

.features-hero .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.features-hero h1 {
  font-size: 2.9rem;
  line-height: 1.2;
  margin: 0 0 14px;
}

.features-hero__excerpt {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.features-hero__intro p {
  margin: 0 0 18px;
  font-size: 1.07rem;
  color: rgba(228, 236, 255, 0.86);
  line-height: 1.7;
}

.features-hero__intro hr {
  border: none;
  border-top: 1px solid rgba(120, 160, 255, 0.2);
  margin: 28px 0;
}

.features-hero__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.features-hero__cta p {
  margin: 0;
  color: var(--text-muted);
  max-width: 360px;
  font-size: 0.95rem;
}

.features-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 72px 0 0;
  padding-left: 84px;
}

.features-grid::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(74, 138, 252, 0.45), rgba(249, 109, 222, 0.15));
}

.feature-card {
  position: relative;
  background: rgba(15, 23, 38, 0.78);
  border: 1.4px solid rgba(90, 140, 255, 0.22);
  border-radius: 24px;
  padding: 32px 32px 32px 64px;
  box-shadow: 0 18px 48px rgba(9, 12, 20, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: attr(data-step);
  position: absolute;
  left: -64px;
  top: 32px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0f131a;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #6ad9ff 0%, #f96dde 100%);
  box-shadow: 0 0 18px rgba(114, 178, 255, 0.45);
}

.feature-card:not([data-step])::before,
.feature-card:not([data-step])::after {
  display: none;
}

.feature-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -38px;
  top: calc(32px + 52px);
  width: 2px;
  height: calc(100% - 52px + 32px);
  background: linear-gradient(180deg, rgba(106, 217, 255, 0.4), rgba(249, 109, 222, 0));
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 170, 255, 0.45);
  box-shadow: 0 28px 60px rgba(20, 30, 55, 0.6);
}

.feature-card h2 {
  font-size: 1.45rem;
  margin: 0 0 18px;
  color: var(--accent);
}

.feature-card__body p {
  margin: 0 0 16px;
  color: rgba(226, 234, 255, 0.9);
  line-height: 1.65;
}

.feature-card__body ul {
  padding-left: 18px;
  margin: 0;
  list-style: disc;
  color: rgba(226, 234, 255, 0.9);
}

.feature-card__body li {
  margin: 0 0 12px;
  line-height: 1.6;
}

.feature-card--upcoming {
  border: 1.5px solid transparent;
  border-image: linear-gradient(135deg, rgba(249, 109, 222, 0.65), rgba(1, 128, 255, 0.65)) 1;
}

.features-closing {
  margin-top: 80px;
  background: rgba(20, 28, 44, 0.85);
  border: 1.5px solid rgba(90, 140, 255, 0.28);
  border-radius: 26px;
  padding: 48px 42px;
  text-align: center;
  box-shadow: 0 28px 64px rgba(12, 18, 32, 0.55);
}

.features-closing p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: rgba(226, 234, 255, 0.88);
  line-height: 1.65;
}

.features-closing__cta {
  margin-top: 12px;
  padding: 16px 42px;
}
