/* ==== RESET & BASE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  overflow-x: hidden;
  padding-top: 120px; /* відступ під fixed header */
  min-height: 100vh;
}

body.menu-open { overflow: hidden; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== ГРАДІЄНТНА ЛІНІЯ МІЖ HEADER ТА HERO ==== */
.header-divider {
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00);
  margin-top: 0;
  border-radius: 2px;
  opacity: 0.7;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.35);
}

/* ==== SECTION DIVIDERS (м’які хвилі між секціями) ==== */
.section-divider {
  height: 80px;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}
.section-divider::before {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 200%; height: 100%;
  background: #111;
  border-radius: 0 0 50% 50%;
  transform: translateY(-50%);
}
.section-divider.reverse::before {
  border-radius: 50% 50% 0 0;
  transform: translateY(50%);
  top: auto; bottom: 0;
}

/* ==== HEADER ==== */
.header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 15px 30px;
  margin-top: 20px;
  border-radius: 50px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.header .left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header .logo img {
  height: 42px;
  border-radius: 10px;
}

/* Desktop Menu */
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease, gap 0.3s ease;
}
.menu a {
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
}
.menu a:hover {
  transform: scale(1.07);
  color: #FFD700;
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #111;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.08), transparent);
  transition: left 0.5s;
}
.cta-btn:hover::before { left: 100%; }
.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
}
.cta-large { padding: 18px 36px; font-size: 1.1rem; border-radius: 30px; }

/* Pulse animation */
.pulse { animation: pulseEffect 3s infinite; }
@keyframes pulseEffect {
  0%   { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35); }
  15%  { transform: scale(1.05); box-shadow: 0 12px 30px rgba(255, 215, 0, 0.45); }
  30%  { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35); }
  100% { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35); }
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  width: 28px; height: 22px;
  position: relative;
  background: none; border: none;
  z-index: 1100;
}
.hamburger span {
  position: absolute; left: 0;
  width: 100%; height: 3px;
  background: #e2e8f0;
  border-radius: 3px;
  transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

/* Mobile Header */
@media (max-width: 768px) {
  body { padding-top: 0px; }
  .header {
    padding: 10px 20px;
    border-radius: 20px;
    margin-top: 5px;
  }
  .menu {
    position: absolute;
    top: 70px; left: 50%;
    transform: translateX(-50%);
    width: 90%;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,215,0,0.25);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-radius: 25px;
    overflow: hidden;
    max-height: 0; opacity: 0;
    padding: 0; gap: 0;
  }
  .menu.show { max-height: 400px; opacity: 1; padding: 20px; gap: 20px; }
  .menu a { color: white; font-weight: 600; }
  .menu a:hover { color: #FFD700; transform: scale(1.05); }
  .hamburger { display: block; }

  .header .left { position: static; order: 1; }
  .header .logo { position: static; transform: none; order: 2; }
  .cta-btn { font-size: 0.85rem; padding: 8px 16px; order: 3; }

  .header-divider { margin-top: 90px; }
}

/* ==== HERO SECTION ==== */
.hero {
  background: transparent;
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-size: 3.5rem; font-weight: 800; color: #fff;
  margin-bottom: 1.5rem; line-height: 1.2; animation: fadeInUp 1s ease-out;
}
.hero-subtitle {
  font-size: 1.25rem; color: #cbd5e1; margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-highlight {
  font-size: 1.1rem; color: #FFD700; margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* ==== ANIMATIONS ==== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==== SECTIONS ==== */
section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
section.animate { opacity: 1; transform: translateY(0); }

.section-title {
  text-align: center;
  font-size: 2.5rem; font-weight: 700;
  color: #fff; margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 2px;
}

/* ==== SERVICES ==== */
.services {
  background: #222;
  position: relative;
}
.services::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #111; border-radius: 0 0 50% 50%;
}
.services .section-title { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.08), transparent);
  transition: left 0.6s;
}
.service-card:hover::before { left: 100%; }
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}
.service-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: #111; font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h3 { font-size: 1.3rem; font-weight: 700; color: #111; margin-bottom: 0.8rem; }
.service-card p { color: #475569; font-size: 1rem; }

/* ==== RESULTS ==== */
.results {
  position: relative;
  background: #111;
  color: #fff;
}
.results::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #222; border-radius: 50% 50% 0 0;
}
.results-intro {
  text-align: center;
  font-size: 1.2rem; color: #cbd5e1;
  margin-bottom: 3rem; max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.results-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.results-images { display: grid; gap: 1.5rem; }
.result-image img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.result-image img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.results-stats { display: flex; flex-direction: column; gap: 2.5rem; }

.stat-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.stat-item:hover { transform: translateX(10px); box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15); }

.stat-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #111; font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}
.stat-content h3 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.25rem; }
.highlight { color: #FFD700; }
.stat-content p { color: #cbd5e1; }

/* ==== ADVANTAGES ==== */
.advantages {
  background: #222;
  position: relative;
}
.advantages::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #111; border-radius: 0 0 50% 50%;
}
.advantages .section-title { color: #fff; }

.advantages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.advantage-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: relative; overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.07), transparent);
  transition: left 0.6s;
}
.advantage-card:hover::before { left: 100%; }
.advantage-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.18);
}
.advantage-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #111; font-size: 1.8rem; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.advantage-card:hover .advantage-icon { transform: translateY(-5px) scale(1.1) rotate(5deg); }
.advantage-card h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.advantage-card p { color: #cbd5e1; line-height: 1.6; }

/* ==== TECHNOLOGIES ==== */
.technologies {
  position: relative; background: #111;
}
.technologies::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #222; border-radius: 50% 50% 0 0;
}
.technologies .section-title { color: #fff; }

.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.tech-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 20px; text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: relative; overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.07), transparent);
  transition: left 0.6s;
}
.tech-card:hover::before { left: 100%; }
.tech-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.45); }
.tech-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: #111; font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.tech-card:hover .tech-icon { transform: scale(1.1) rotate(-5deg); }
.tech-card h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.tech-card p { color: #cbd5e1; }

/* ==== WHY US ==== */
.why-us {
  background: #222; position: relative;
}
.why-us::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #111; border-radius: 0 0 50% 50%;
}
.why-us .section-title { color: #fff; }

.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.why-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 20px; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.07), transparent);
  transition: left 0.6s;
}
.why-card:hover::before { left: 100%; }
.why-card:hover { transform: translateY(-8px) scale(1.02); }
.why-icon {
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #111; font-size: 1.8rem; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-card:hover .why-icon { transform: translateY(-5px) scale(1.1) rotate(-5deg); }
.why-card h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.why-card p { color: #cbd5e1; line-height: 1.6; }

/* ==== CASES ==== */
.cases {
  position: relative; background: #111;
}
.cases::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #222; border-radius: 50% 50% 0 0;
}
.cases .section-title { color: #fff; }

.cases-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}
.case-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: relative;
}
.case-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.07), transparent);
  transition: left 0.6s; z-index: 1;
}
.case-card:hover::before { left: 100%; }
.case-card:hover { transform: translateY(-8px) scale(1.02); }

.case-image img {
  width: 100%; height: 220px; object-fit: cover;
  transition: all 0.4s ease;
}
.case-card:hover .case-image img { transform: scale(1.05); }

.case-content { padding: 2.5rem 2rem; position: relative; z-index: 2; }
.case-content h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }

.case-stats { margin-bottom: 1.5rem; }
.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.8rem; padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.stat-row:hover {
  background: rgba(255, 215, 0, 0.06);
  border-radius: 8px; padding: 0.8rem 1rem;
}
.stat-row:last-child { border-bottom: none; }

.before { color: #94a3b8; font-weight: 500; }
.after  { color: #FFD700; font-weight: 800; font-size: 1.1rem; }
.arrow  { color: #cbd5e1; font-weight: 600; }

.result-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #111;
  padding: 0.6rem 1.2rem;
  border-radius: 25px; font-weight: 800; font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}
.case-result p { color: #cbd5e1; line-height: 1.6; }

/* ==== PRICING ==== */
.pricing {
  background: #222; position: relative;
}
.pricing::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #111; border-radius: 0 0 50% 50%;
}
.pricing .section-title { color: #fff; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  border-radius: 25px; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.07), transparent);
  transition: left 0.6s;
}
.pricing-card:hover::before { left: 100%; }
.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.2);
}
.featured {
  border: 2px solid #FFD700;
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}
.featured:hover { transform: translateY(-10px) scale(1.07); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #111; padding: 0.6rem 1.5rem; border-radius: 25px;
  font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}
.plan-header { margin-bottom: 2.5rem; }
.plan-header h3 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.price { font-size: 2.8rem; font-weight: 900; color: #FFD700; }
.price span { font-size: 1rem; color: #cbd5e1; font-weight: 400; }
.plan-features { list-style: none; margin-bottom: 2.5rem; }
.plan-features li {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem; color: #cbd5e1; padding: 0.5rem 0; transition: all 0.3s ease;
}
.plan-features li:hover { color: #fff; transform: translateX(5px); }
.plan-features i { color: #22c55e; font-size: 1.1rem; }
.plan-btn { width: 100%; margin-top: 1rem; padding: 1rem 2rem; border-radius: 25px; }

/* ==== TESTIMONIALS ==== */
.testimonials {
  position: relative; background: #111;
}
.testimonials::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #222; border-radius: 50% 50% 0 0;
}
.testimonials .section-title { color: #fff; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 20px; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.06), transparent);
  transition: left 0.6s;
}
.testimonial-card:hover::before { left: 100%; }
.testimonial-card:hover { transform: translateY(-8px) scale(1.02); }
.stars { color: #FFD700; font-size: 1.3rem; margin-bottom: 1.5rem; }
.testimonial-card p { font-style: italic; color: #cbd5e1; margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.6; }
.author strong { color: #fff; font-weight: 700; font-size: 1.1rem; }
.author span { color: #94a3b8; font-size: 0.9rem; display: block; margin-top: 0.25rem; }

/* ==== FAQ ==== */
.faq {
  background: #222; position: relative;
}
.faq::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #111; border-radius: 0 0 50% 50%;
}
.faq .section-title { color: #fff; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px; margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 215, 0, 0.15);
  overflow: hidden; transition: all 0.3s ease;
}
.faq-item:hover { box-shadow: 0 8px 30px rgba(255, 215, 0, 0.12); }
.faq-question {
  padding: 2rem 2.5rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.3s ease;
}
.faq-question:hover { background: rgba(255, 215, 0, 0.06); }
.faq-question h3 { font-size: 1.2rem; font-weight: 700; color: #fff; }
.faq-question i {
  color: #cbd5e1; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-size: 1.1rem;
}
.faq-item.active .faq-question i { transform: rotate(180deg); color: #FFD700; }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer { max-height: 200px; padding: 0 2.5rem 2rem; }
.faq-answer p { color: #cbd5e1; line-height: 1.6; font-size: 1rem; }

/* ==== CTA SECTION ==== */
.cta-section {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
  color: #111; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: #222; border-radius: 50% 50% 0 0;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(17, 17, 17, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(17, 17, 17, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: 2.8rem; font-weight: 800; margin-bottom: 1.5rem; color: #111;
  animation: fadeInUp 1s ease-out;
}
.cta-content p {
  font-size: 1.3rem; margin-bottom: 3rem; color: #1f2937;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-form { max-width: 500px; margin: 0 auto; animation: fadeInUp 1s ease-out 0.4s both; }
.form-group { display: flex; gap: 1rem; margin-bottom: 2rem; }
.cta-form input {
  flex: 1; padding: 1.2rem 1.5rem; border: none; border-radius: 25px; font-size: 1rem;
  background: rgba(17, 17, 17, 0.15);
  color: #111;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(17, 17, 17, 0.25);
  transition: all 0.3s ease;
}
.cta-form input::placeholder { color: rgba(17,17,17,0.6); }
.cta-form input:focus {
  outline: none; background: rgba(17, 17, 17, 0.25);
  border-color: rgba(17, 17, 17, 0.4); transform: translateY(-2px);
}
.cta-form-btn {
  width: 100%; padding: 1.2rem 2rem; font-size: 1.2rem;
  background: rgba(17, 17, 17, 0.25);
  backdrop-filter: blur(15px);
  border: 2px solid #111; color: #111; font-weight: 800;
  border-radius: 25px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-form-btn:hover {
  background: #111; color: #FFD700;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* ==== FOOTER ==== */
footer {
  background: #111; color: #cbd5e1; text-align: center;
  padding: 3rem 0; position: relative;
}
footer::before {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0; height: 80px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 50% 50% 0 0;
}
footer p { font-size: 1rem; position: relative; z-index: 1; }

/* Додаткові стилі для твого кастомного футера */
.site-footer {
  background: #111; color: #fff; padding: 40px 20px; text-align: center;
}
.footer-main {
  display: flex; justify-content: space-around; text-align: left; flex-wrap: wrap; margin-bottom: 20px;
}
.footer-block { flex: 1; min-width: 220px; margin: 15px; }
.footer-logo { max-width: 150px; margin-bottom: 15px; }

.footer-nav-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-pill-btn {
  background: transparent; border: 1px solid #FFD700;
  padding: 8px 16px; border-radius: 50px; color: #fff;
  text-decoration: none; transition: all 0.2s ease; font-size: 0.95rem;
}
.footer-pill-btn:hover { background: #FFD700; color: #111; transform: scale(1.05); }

.footer-cta { margin-bottom: 30px; }
.footer-copyright {
  font-size: 14px; border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px; margin-top: 20px; color: #94a3b8;
}
.footer-copyright a {
  color: #FFD700; text-decoration: none; margin-left: 5px;
}
.footer-copyright a:hover { text-decoration: underline; }

/* Telegram button */
.telegram-btn {
  margin: 25px 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background-color: #111; color: #FFD700;
  font-size: 18px; font-weight: 600; padding: 12px 28px;
  border: 2px solid #FFD700; border-radius: 30px;
  cursor: pointer; text-decoration: none; transition: all 0.3s ease;
  white-space: nowrap; width: auto;
}
.telegram-btn:hover {
  background-color: #FFD700; color: #111;
  transform: scale(1.05);
  box-shadow: 0px 4px 12px rgba(255, 215, 0, 0.35);
}
.telegram-icon { width: 18px; height: 18px; }

/* ==== ICON COLORS (залишаємо різні відтінки у темі) ==== */
/* Можна зберегти різні акцентні градієнти, але в межах «золотої» теми */
.advantage-card:nth-child(1) .advantage-icon,
.why-card:nth-child(1) .why-icon { background: linear-gradient(135deg, #FFD700, #FFA500); color:#111; }
.advantage-card:nth-child(2) .advantage-icon,
.why-card:nth-child(2) .why-icon { background: linear-gradient(135deg, #FFC857, #FFB347); color:#111; }
.advantage-card:nth-child(3) .advantage-icon,
.why-card:nth-child(3) .why-icon { background: linear-gradient(135deg, #FFB000, #FF8C00); color:#111; }
.advantage-card:nth-child(4) .advantage-icon,
.why-card:nth-child(4) .why-icon { background: linear-gradient(135deg, #FFD36E, #FFB703); color:#111; }
.advantage-card:nth-child(5) .advantage-icon,
.why-card:nth-child(5) .why-icon { background: linear-gradient(135deg, #FFE082, #FFC107); color:#111; }
.advantage-card:nth-child(6) .advantage-icon,
.why-card:nth-child(6) .why-icon { background: linear-gradient(135deg, #E8C547, #D4AF37); color:#111; }

/* ==== MOBILE RESPONSIVE DESIGN ==== */
@media (max-width: 768px) {
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 2.5rem; line-height: 1.1; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
  .cta-content h2 { font-size: 2.2rem; }
  .results-content { grid-template-columns: 1fr; gap: 3rem; }
  .form-group { flex-direction: column; gap: 1rem; }

  .services-grid,
  .advantages-grid,
  .cases-grid,
  .pricing-grid,
  .testimonials-grid,
  .why-grid,
  .tech-grid {
    grid-template-columns: 1fr; gap: 1.5rem;
  }

  .case-card, .pricing-card, .service-card, .advantage-card,
  .why-card, .tech-card, .testimonial-card { margin: 0 10px; }

  section { padding: 60px 0; }
  .container { padding: 0 15px; }

  /* Mobile hover tweaks */
  .service-card:hover,
  .advantage-card:hover,
  .why-card:hover,
  .tech-card:hover,
  .testimonial-card:hover,
  .case-card:hover,
  .pricing-card:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

@media (max-width: 480px) {
  body { padding-top: 0px; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .cta-content h2 { font-size: 1.8rem; }
  .hero { padding: 100px 0 60px; }
  section { padding: 50px 0; }
  .service-card, .advantage-card, .why-card, .tech-card, .testimonial-card, .case-card { padding: 2rem 1.5rem; }
  .pricing-card { padding: 2.5rem 2rem; }
  .faq-question { padding: 1.5rem 2rem; }
  .faq-item.active .faq-answer { padding: 0 2rem 1.5rem; }
  .case-content { padding: 2rem 1.5rem; }
  .header-divider { margin-top: 80px; }
}

/* ==== SMOOTH MOBILE SCROLLING ==== */
@media (max-width: 768px) {
  html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  * { -webkit-tap-highlight-color: transparent; }
}

/* ==== DESKTOP ENHANCEMENTS ==== */
@media (min-width: 1200px) {
  .container { max-width: 1400px; }
  .hero h1 { font-size: 4rem; }
  .section-title { font-size: 3rem; }


/* === CUSTOM UPDATES === */

/* Світлий фон для SERVICES, ADVANTAGES, CASES */
.services, 
.advantages, 
.cases {
  background: #f8f9fa !important;
  color: #111;
}
.services .section-title,
.advantages .section-title,
.cases .section-title {
  color: #111 !important;
}

/* Пульсація для кнопки Отримати консультацію */
.cta-btn.pulse {
  animation: pulseEffect 2s infinite;
}
@keyframes pulseEffect {
  0%   { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
  50%  { transform: scale(1.08); box-shadow: 0 0 30px rgba(255, 215, 0, 0.9); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
}

/* Робимо білий текст на input та кнопках */
.cta-form input,
.cta-form-btn {
  color: #fff !important;
}
.cta-form input::placeholder {
  color: rgba(255,255,255,0.8) !important;
}

/* Колір тексту в блоці Переваги GL-Call */
.advantages .advantage-card h3 {
  color: #111 !important;
}
.advantages .advantage-card p {
  color: #475569 !important;
}

}

/* 📱 Telegram button responsive */
@media (max-width: 600px) {
  .telegram-btn { width: 100%; max-width: 280px; font-size: 16px; padding: 10px 16px; }
  .telegram-btn .telegram-icon { width: 24px; height: 24px; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .telegram-btn { width: 300px; font-size: 17px; padding: 11px 18px; }
  .telegram-btn .telegram-icon { width: 26px; height: 26px; }
}
@media (min-width: 1025px) {
  .telegram-btn { width: 360px; font-size: 19px; padding: 14px 22px; }
  .telegram-btn .telegram-icon { width: 30px; height: 30px; }
}

/* Секція Кейси */
.cases {
  background-color: #f8f9fa;  /* Світлий фон секції */
  padding: 60px 0;
}

/* Картки Кейси */
.cases .case-card {
  background-color: #2c2c2c; /* Коричневий фон картки */
  color: #ffffff; /* Білий текст */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease-in-out;
}

/* Текст в картках */
.cases .case-card h3,
.cases .case-card p,
.cases .case-card span {
  color: #ffffff; /* Білий текст */
}

/* Жовті акценти залишимо */
.cases .case-card .highlight {
  color: #ffeb3b; /* яскраво-жоврий для % і сум */
}

/* Hover ефект */
.cases .case-card:hover {
  transform: translateY(-5px);
}
/* Золотистий колір тільки для результатів справа */
.cases .case-card .case-stats .stat-row .after {
  color: #FFD700 !important; /* золотий */
  font-weight: 700;
}
/* === ВИДАЛЯЄМО ВСІ ХВИЛЯСТІ ::before === */
.services::before,
.results::before,
.advantages::before,
.technologies::before,
.why-us::before,
.cases::before,
.pricing::before,
.testimonials::before,
.faq::before,
.cta-section::before,
footer::before {
  display: none !important;
}
/* === ВЕЛИКІ ЗАКРУГЛЕННЯ ДЛЯ ВСІХ СЕКЦІЙ === */
section,
.hero,
.services,
.results,
.advantages,
.technologies,
.why-us,
.cases,
.pricing,
.testimonials,
.faq,
.cta-section,
footer {
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  overflow: hidden; /* щоб контент не виходив за межі */
}
/* ==== DESKTOP ENHANCEMENTS ==== */
@media (min-width: 1200px) {
  .container { max-width: 1400px; }
  .hero h1 { font-size: 4rem; }
  .section-title { font-size: 3rem; }
} /* ✅ закриваємо дужку */

/* === CUSTOM UPDATES === */

/* Світлий фон для SERVICES, ADVANTAGES, CASES */
.services, 
.advantages, 
.cases {
  background: #f8f9fa !important;
  color: #111;
}
.services .section-title,
.advantages .section-title,
.cases .section-title {
  color: #111 !important;
}

/* Пульсація для кнопки Отримати консультацію */
.cta-btn.pulse {
  animation: pulseEffect 2s infinite;
}
@keyframes pulseEffect {
  0%   { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
  50%  { transform: scale(1.08); box-shadow: 0 0 30px rgba(255, 215, 0, 0.9); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
}

/* Робимо білий текст на input та кнопках */
.cta-form input,
.cta-form-btn {
  color: #fff !important;
}
.cta-form input::placeholder {
  color: rgba(255,255,255,0.8) !important;
}

/* Колір тексту в блоці Переваги GL-Call */
.advantages .advantage-card h3 {
  color: #111 !important;
}
.advantages .advantage-card p {
  color: #475569 !important;
}

/* Секція Кейси */
.cases {
  background-color: #f8f9fa !important; /* Світлий фон секції */
  padding: 60px 0;
}

/* Картки Кейси */
.cases .case-card {
  background-color: #2c2c2c; /* Темно-коричневий фон картки */
  color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease-in-out;
}
.cases .case-card h3,
.cases .case-card p,
.cases .case-card span {
  color: #ffffff;
}
.cases .case-card .highlight {
  color: #ffeb3b; /* яскраво-жовтий */
}
.cases .case-card:hover {
  transform: translateY(-5px);
}
.cases .case-card .case-stats .stat-row .after {
  color: #FFD700 !important;
  font-weight: 700;
}

/* === ВИДАЛЯЄМО ВСІ ХВИЛЯСТІ ::before === */
.services::before,
.results::before,
.advantages::before,
.technologies::before,
.why-us::before,
.cases::before,
.pricing::before,
.testimonials::before,
.faq::before,
.cta-section::before,
footer::before {
  display: none !important;
}

/* === ВЕЛИКІ ЗАКРУГЛЕННЯ ДЛЯ ВСІХ СЕКЦІЙ === */
section,
.hero,
.services,
.results,
.advantages,
.technologies,
.why-us,
.cases,
.pricing,
.testimonials,
.faq,
.cta-section,
footer {
  border-radius: 60px;
  overflow: hidden;
}
/* === ШВИДШЕ ПОЯВА ДЛЯ ВСІХ СЕКЦІЙ КРІМ HERO === */
.services,
.results,
.advantages,
.technologies,
.why-us,
.cases,
.pricing,
.testimonials,
.faq,
.cta-section,
footer {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* === Виправлення для CTA кнопки (мобільна версія) === */
@media (max-width: 768px) {
  .cta-btn.cta-large.cta-with-gift {
    padding: 12px 20px;
    font-size: 0.9rem;
    display: block;          /* ❗ заміна flex на block */
    text-align: center;
    white-space: normal;
  }

  .cta-btn .cta-text {
    display: block;          /* ❗ заміна flex на block */
  }

  .cta-btn .cta-main {
    display: block;          /* головний заголовок */
    font-size: 1rem;
    font-weight: 700;
  }

  .cta-btn .cta-sub {
    display: block;          /* завжди другий рядок */
    margin-top: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
  }

  .cta-btn .gift {
    display: block;
    margin: 5px auto 0;      /* іконка подарунку падає під текст */
  }
}

.messengers { font-weight: 700; }
.messengers .viber    { color: #7360F2; }
.messengers .telegram { color: #229ED9; }
.messengers .whatsapp { color: #25D366; }
.messengers .sep { color: currentColor; opacity: 0.6; padding: 0 6px; }