/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: #0b0e14;
  color: #e5e9f0;
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*::selection {
  background: #003d61;
  color: #ffffff;
}
*::-moz-selection {
  background: #cc0000;
  color: #ffffff;
}
*::-webkit-selection {
  background: #cc0000;
  color: #ffffff;
}

/* ===== ФОНОВІ СВІЧЕННЯ ===== */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: floatGlow 12s ease-in-out infinite;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  top: -100px;
  left: -150px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  animation-delay: 4s;
  opacity: 0.25;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7dd3fc 0%, transparent 70%);
  top: 45%;
  left: 40%;
  animation-delay: 8s;
  opacity: 0.15;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

/* Сітка поверх фону */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ===== НАВІГАЦІЯ ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(11, 14, 20, 0.92);
  box-shadow: 0 4px 30px rgba(56, 189, 248, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e5e9f0;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: text-shadow 0.3s;
  transition: filter 0.3s;
  
}

.nav-logo-img {
  width: 40px;
  margin-left: -45px;
  margin-top: -5px;
  position: absolute;
}


.nav-logo span {
  color: #38bdf8;
}

.nav-logo:hover {
  /* text-shadow: 0 0 18px rgba(56, 189, 248, 0.8); */
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.8));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
  box-shadow: 0 0 10px #38bdf8;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #7dd3fc;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Права частина навігації */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Перемикач мов */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}

.lang-btn:hover {
  color: #7dd3fc;
}

.lang-btn.active {
  background: #38bdf8;
  color: #0b0e14;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: #7dd3fc;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобільне меню */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1.5rem 1rem;
  background: rgba(11, 14, 20, 0.98);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(56, 189, 248, 0.06);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-link:hover {
  color: #7dd3fc;
  padding-left: 8px;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

section {
  padding: 5rem 1.5rem 4rem;
  position: relative;
}

/* ===== ЗАГОЛОВКИ ===== */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.3));
}

h2 {
  font-size: 2.2rem;
  color: #e5e9f0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.8rem;
  background: #38bdf8;
  border-radius: 4px;
  box-shadow: 0 0 14px #38bdf8;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* для мобільних, щоб враховувати адресний рядок */
  padding: 9rem 1.5rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7dd3fc;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.25);
  animation: badgePulse 3s ease-in-out infinite;
}


@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 22px rgba(56, 189, 248, 0.25); }
  50% { box-shadow: 0 0 32px rgba(56, 189, 248, 0.5); }
}

.subhead {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0.8rem auto 0;
}

.hero-version {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.8rem;
  letter-spacing: 0.3px;
}

/* ===== ОПИС ===== */

.about {
  min-height: 100vh;
  min-height: 100dvh; /* для мобільних, щоб враховувати адресний рядок */
}

.desc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.desc-text {
  flex: 1 1 320px;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.desc-text p {
  margin-bottom: 1.2rem;
}

.desc-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #7dd3fc;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.badge-soft {
  display: inline-block;
  background: rgba(56, 189, 248, 0.08);
  color: #7dd3fc;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.2);
  text-decoration: none;
}
/* .test231 {
  display: inline-block;
} */
/* ===== ФУНКЦІЇ ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #11161f;
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.2),
    0 8px 30px rgba(56, 189, 248, 0.18),
    0 0 60px rgba(56, 189, 248, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

/* Іконки */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #38bdf8;
  transition: transform 0.4s ease, color 0.3s;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.feature-card:hover .feature-icon {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
  transform: scale(1.08) rotate(-4deg);
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.15) rotate(6deg);
  color: #7dd3fc;
  filter: drop-shadow(0 0 12px #38bdf8);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  transition: color 0.25s;
}

.feature-card:hover h3 {
  color: #7dd3fc;
}

.feature-card p {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ===== ЦІНИ ===== */
.pricing-sub {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.price-card {
  background: #11161f;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.price-card:hover {
  border-color: #38bdf8;
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(56, 189, 248, 0.2),
    0 0 60px rgba(56, 189, 248, 0.12);
}

.price-card.popular {
  border-color: #38bdf8;
  background: #0f1822;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #38bdf8;
  color: #0b0e14;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.price-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e5e9f0;
  margin-bottom: 0.5rem;
}

.price-cost {
  font-size: 2.4rem;
  font-weight: 700;
  color: #7dd3fc;
  margin: 0.75rem 0 1.5rem;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
}

.price-cost-curr {
  font-size: 1.4rem;
  color: #64748b;
  font-weight: 400;
  text-shadow: none;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.price-features li {
  padding: 0.5rem 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-features li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.15);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.price-features li::after {
  content: '';
  position: absolute;
  /* відмітка всередині кружка через псевдо — складно, тому робимо через svg-подібний символ */
}

/* Спрощений чек */
.price-features li {
  position: relative;
  padding-left: 1.5rem;
  display: block;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.price-features li::after { content: none; }

/* Кнопки */
.btn {
  display: inline-block;
  background: transparent;
  border: 1.5px solid #38bdf8;
  color: #38bdf8;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #38bdf8, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn:hover {
  color: #0b0e14;
  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.7),
    0 0 40px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #38bdf8;
  color: #0b0e14;
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.9),
    0 0 60px rgba(56, 189, 248, 0.5);
}

.hero-btn {
  width: 200px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  background: transparent;
  border: 1.5px solid #38bdf8;
  color: #38bdf8;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #38bdf8, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.hero-btn:hover::before {
  opacity: 1;
}
.hero-btn:hover {
  color: #0b0e14;
  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.7),
    0 0 40px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

/* ===== ФУТЕР ===== */
footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e5e9f0;
}

.footer-brand span {
  color: #38bdf8;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer-links a:hover {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.footer-copy {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(56, 189, 248, 0.08);
  font-size: 0.75rem;
  color: #475569;
  text-align: center;
}

/* ===== АНІМАЦІЯ ПОЯВИ ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-container { padding: 0.9rem 1.2rem; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 75px; }
  section { padding: 3.5rem 1.2rem 3rem; }
  .hero { padding: 7rem 1.2rem 3.5rem; }
  h2 { font-size: 1.8rem; }
  h2::before { height: 1.4rem; }
  .desc-grid { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 1.5rem; }
  .lang-switcher { transform: scale(0.95); }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .feature-card { padding: 1.5rem 1.2rem; }
  .price-cost { font-size: 2rem; }
  .footer-links { flex-direction: column; gap: 0.8rem; }
  .glow-1, .glow-2 { width: 350px; height: 350px; }
}