/* ===== Custom Styles for Persu Marketing Site ===== */

/* ---------- Base reset & scroll ---------- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #09090B;
  color: #F1F5F9;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Glassmorphism card ---------- */
.glass-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid #1E293B;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
  border-color: #0A7EA4;
  box-shadow: 0 0 24px rgba(10, 126, 164, 0.12);
  transform: translateY(-2px);
}

/* ---------- Glow CTA button ---------- */
.btn-glow {
  position: relative;
  background-color: #0A7EA4;
  color: #F1F5F9;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-glow:hover {
  background-color: #0EA5E9;
  box-shadow: 0 0 28px rgba(14, 165, 233, 0.45);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: transparent;
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(10, 126, 164, 0.25);
  }
  50% {
    box-shadow: 0 0 28px rgba(14, 165, 233, 0.4);
  }
}

/* ---------- Secondary / ghost button ---------- */
.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  color: #94A3B8;
  border: 1px solid #1E293B;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  color: #F1F5F9;
  border-color: #0A7EA4;
}

/* ---------- Scroll-triggered animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .fade-in-up:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in-up:nth-child(2) { transition-delay: 0.12s; }
.stagger > .fade-in-up:nth-child(3) { transition-delay: 0.24s; }
.stagger > .fade-in-up:nth-child(4) { transition-delay: 0.36s; }

/* ---------- How-it-works connecting line ---------- */
.steps-line {
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, #1E293B 0%, #0A7EA4 50%, #1E293B 100%);
  z-index: 0;
}

@media (max-width: 767px) {
  .steps-line {
    display: none;
  }
}

/* ---------- Step circle ---------- */
.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #111827;
  border: 2px solid #0A7EA4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #0EA5E9;
  position: relative;
  z-index: 1;
  margin: 0 auto 24px;
  box-shadow: 0 0 20px rgba(10, 126, 164, 0.15);
}

/* ---------- Gradient CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(10, 126, 164, 0.15) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-top: 1px solid rgba(10, 126, 164, 0.2);
  border-bottom: 1px solid rgba(10, 126, 164, 0.2);
}

/* ---------- Testimonial quote mark ---------- */
.quote-mark {
  font-size: 48px;
  line-height: 1;
  color: #0A7EA4;
  opacity: 0.5;
  font-family: Georgia, serif;
}

/* ---------- Nav backdrop blur ---------- */
.nav-blur {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

/* ---------- Feature icon glow ---------- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 126, 164, 0.1);
  border: 1px solid rgba(10, 126, 164, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #0EA5E9;
}

/* ---------- Selection colour ---------- */
::selection {
  background: rgba(10, 126, 164, 0.4);
  color: #F1F5F9;
}

/* ---------- Scrollbar styling ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090B;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
