/* Hero Section Container */
.hero-grid-section {
  position: relative;
  overflow: hidden;
  background: #050505;
  min-height: 550px;
}

/* Animated Gradient Background - sehr subtil */
.animated-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(118, 9, 145, 0.08) 0%, 
    rgba(164, 50, 192, 0.05) 25%,
    rgba(118, 9, 145, 0.03) 50%,
    rgba(164, 50, 192, 0.05) 75%,
    rgba(118, 9, 145, 0.08) 100%
  );
  background-size: 400% 400%;
  animation: gradient-flow 15s ease infinite;
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Particles */
.animated-grid::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(164, 50, 192, 0.7), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(118, 9, 145, 0.7), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(164, 50, 192, 0.5), transparent),
    radial-gradient(2px 2px at 80% 10%, rgba(118, 9, 145, 0.6), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(164, 50, 192, 0.4), transparent),
    radial-gradient(2px 2px at 30% 80%, rgba(118, 9, 145, 0.5), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(164, 50, 192, 0.6), transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: particles-float 20s ease-in-out infinite;
}

@keyframes particles-float {
  0%, 100% { 
    background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%, 40% 60%, 60% 40%;
    opacity: 1;
  }
  50% { 
    background-position: 100% 100%, 0% 0%, 30% 70%, 20% 80%, 80% 20%, 60% 40%, 40% 60%;
    opacity: 0.8;
  }
}

/* Additional Particle Layer */
.animated-grid::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25% 45%, rgba(164, 50, 192, 0.3), transparent),
    radial-gradient(1px 1px at 75% 25%, rgba(118, 9, 145, 0.4), transparent),
    radial-gradient(2px 2px at 45% 75%, rgba(164, 50, 192, 0.5), transparent),
    radial-gradient(1px 1px at 85% 65%, rgba(118, 9, 145, 0.3), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(164, 50, 192, 0.4), transparent);
  background-size: 200% 200%;
  animation: particles-float-2 25s ease-in-out infinite;
}

@keyframes particles-float-2 {
  0%, 100% { 
    background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%;
  }
  50% { 
    background-position: 100% 0%, 0% 100%, 30% 70%, 20% 80%, 80% 20%;
  }
}

/* Central Glow Effect - subtiler */
.hero-grid-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, 
    rgba(118, 9, 145, 0.25) 0%, 
    rgba(164, 50, 192, 0.15) 30%,
    transparent 65%
  );
  filter: blur(70px);
  animation: pulse-glow 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.8;
  }
}

/* Orbiting Light Effect */
.hero-grid-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: #a432c0;
  border-radius: 50%;
  box-shadow: 
    0 0 15px rgba(164, 50, 192, 0.8),
    0 0 30px rgba(164, 50, 192, 0.5),
    0 0 45px rgba(164, 50, 192, 0.3);
  animation: orbit 10s linear infinite;
  z-index: 2;
}

@keyframes orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(250px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(250px) rotate(-360deg);
  }
}

/* Floating Lines Effect */
.hero-grid-section .floating-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-grid-section .floating-lines span {
  position: absolute;
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(transparent, rgba(164, 50, 192, 0.4), transparent);
  animation: float-line 15s linear infinite;
  opacity: 0.7;
}

.hero-grid-section .floating-lines span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.hero-grid-section .floating-lines span:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
  animation-duration: 15s;
}

.hero-grid-section .floating-lines span:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.hero-grid-section .floating-lines span:nth-child(4) {
  left: 55%;
  animation-delay: 1s;
  animation-duration: 13s;
}

.hero-grid-section .floating-lines span:nth-child(5) {
  left: 70%;
  animation-delay: 3s;
  animation-duration: 11s;
}

.hero-grid-section .floating-lines span:nth-child(6) {
  left: 85%;
  animation-delay: 5s;
  animation-duration: 14s;
}

@keyframes float-line {
  0% {
    top: -100px;
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-grid-section::before {
    width: 350px;
    height: 350px;
  }

  @keyframes orbit {
    0% {
      transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg) translateX(150px) rotate(-360deg);
    }
  }
}

/* ── Two-column hero layout ── */
.hero-content-row {
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Review badge */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
.review-badge .stars {
  color: #a432c0;
  letter-spacing: 2px;
  font-size: 1rem;
}

/* Feature switcher */
.feature-switcher span {
  display: none;
}
.feature-switcher span.active {
  display: inline-block;
  animation: switcherIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes switcherIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Orbital widget ── */
.orbital-container {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
}

/* Remove old static connector ring */
.orbital-container::before { display: none; }

/* ── Orbit rings (decorative, pulsing) ── */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.orbit-ring-1 {
  width: 290px; height: 290px;
  border: 1px solid rgba(164, 50, 192, 0.22);
  animation: ring-pulse 4s ease-in-out infinite;
}
.orbit-ring-2 {
  width: 330px; height: 330px;
  border: 1px dashed rgba(164, 50, 192, 0.14);
  animation: ring-pulse 4s ease-in-out 1.3s infinite;
}
.orbit-ring-3 {
  width: 360px; height: 360px;
  border: 1px solid rgba(164, 50, 192, 0.08);
  animation: ring-pulse 4s ease-in-out 2.6s infinite;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

/* ── Planet center ── */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 185px; height: 185px;
  border-radius: 50%;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  overflow: visible;
  animation: planet-pulse 3.5s ease-in-out infinite;
}
.orbit-center img {
  width: 180px; height: 180px;
  object-fit: contain;
}
@keyframes planet-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(164,50,192,0.28)) drop-shadow(0 0 28px rgba(118,9,145,0.14)); }
  50%       { filter: drop-shadow(0 0 22px rgba(164,50,192,0.55)) drop-shadow(0 0 48px rgba(118,9,145,0.28)); }
}

/* Individual bubble cards – static positions, gentle float */
.orbit-bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(8, 8, 8, 0.92);
  border: 1px solid rgba(164, 50, 192, 0.32);
  border-radius: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.55), 0 0 12px rgba(164,50,192,0.12);
  text-align: center;
  min-width: 95px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10;
  animation: bubble-float 5s ease-in-out infinite;
}
.orbit-bubble i { font-size: 16px; color: #a432c0; }
.orbit-bubble strong { font-size: 11.5px; font-weight: 600; color: #fff; }

/* Staggered float so bubbles move independently */
.orbit-bubble:nth-child(5) { animation-delay: 0s; }
.orbit-bubble:nth-child(6) { animation-delay: 0.9s; }
.orbit-bubble:nth-child(7) { animation-delay: 1.7s; }
.orbit-bubble:nth-child(8) { animation-delay: 2.5s; }
.orbit-bubble:nth-child(9) { animation-delay: 3.3s; }
.orbit-bubble:nth-child(10) { animation-delay: 4.1s; }

@keyframes bubble-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

/* Mobile: hide orbital */
@media (max-width: 991px) {
  .orbital-container { display: none; }
}

/* ── Service cards ── */
.service-card {
  border: none;
  border-radius: 8px;
  padding: 18px 18px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 4px 18px rgba(0,0,0,0.28);
}
/* Per-card gradient directions matching original */
.service-card-1 { background: linear-gradient(125deg, #760991, #fb6341); }
.service-card-2 { background: linear-gradient(-2deg, #760991, #fb6341); }
.service-card-3 { background: linear-gradient(-135deg, #760991, #fb6341); }
/* Diagonal liquid glass streak */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.03) 38%, transparent 52%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(118,9,145,0.3);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.service-card-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
  transition: background 0.25s;
}
.service-card:hover .service-card-icon {
  background: rgba(255,255,255,0.28);
}
.service-card-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.2);
  padding: 2px 8px; border-radius: 4px;
}
.service-card-title {
  font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.service-card-desc {
  font-size: 1rem; color: rgba(255,255,255,0.88);
  line-height: 1.55; flex-grow: 1; margin-bottom: 14px;
}
.service-card-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
  border-radius: 6px;
  color: #fff;
  text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.service-card-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.service-card-btn i { transition: transform 0.2s ease; font-size: 0.78rem; }
.service-card-btn:hover i { transform: translateX(4px); }

/* ── Polished navbar buttons ── */
.btn-nav-paid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #6b0882 0%, #8c10ae 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
  box-shadow: 0 2px 12px rgba(118, 9, 145, 0.35);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-nav-paid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-nav-paid:hover {
  background: linear-gradient(135deg, #7d0a9c 0%, #9e12c6 100%);
  box-shadow: 0 4px 18px rgba(140, 16, 174, 0.5);
  transform: translateY(-1px);
}
.btn-nav-paid:active { transform: translateY(0); }

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn-nav-login:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.38);
  color: #fff !important;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #6b0882 0%, #8c10ae 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
  box-shadow: 0 4px 18px rgba(118, 9, 145, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #7d0a9c 0%, #9e12c6 100%);
  box-shadow: 0 6px 24px rgba(140, 16, 174, 0.5);
  transform: translateY(-2px);
  color: #fff;
}
.btn-hero-primary:active {
  transform: translateY(0px);
  box-shadow: 0 3px 10px rgba(118, 9, 145, 0.35);
}
.btn-hero-primary .btn-arrow {
  transition: transform 0.2s ease;
}
.btn-hero-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.18s ease, box-shadow 0.25s ease;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.btn-hero-outline:active {
  transform: translateY(0px);
}

/* ── Promo top bar responsive ── */
@media (max-width: 400px) {
  .promo-top-bar .container {
    font-size: 0.82rem;
  }
}

/* ── Service cards on very small screens ── */
@media (max-width: 400px) {
  .service-card {
    padding: 14px 14px 12px;
  }
  .service-card-title {
    font-size: 1.1rem;
  }
  .service-card-desc {
    font-size: 0.92rem;
  }
}