/* =================================================================
   NeevCore Technologies — Custom Stylesheet
   Companion to Tailwind CSS CDN
   ================================================================= */

/* ── Scroll Animation ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger children animations ──────────────────────────────── */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }

/* ── Hero overlay gradient ────────────────────────────────────── */
.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(13, 27, 36, 0.96) 0%,
    rgba(13, 27, 36, 0.82) 42%,
    rgba(13, 27, 36, 0.30) 72%,
    rgba(13, 27, 36, 0.10) 100%
  );
}

/* ── Feature card hover lift ──────────────────────────────────── */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(13, 27, 36, 0.12);
  border-color: #0f5d64;
}

/* ── Gradient text ────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #0f5d64 0%, #1c7ed6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section divider ──────────────────────────────────────────── */
.section-divider {
  background: linear-gradient(90deg, transparent, rgba(15, 93, 100, 0.18), transparent);
  height: 1px;
  border: none;
}

/* ── Breadcrumbs ──────────────────────────────────────────────── */
.breadcrumb li + li::before {
  content: '/';
  margin: 0 8px;
  color: #94a3b8;
}

/* ── Scroll offset for fixed header ───────────────────────────── */
:target {
  scroll-margin-top: 80px;
}

/* ── Form inputs ──────────────────────────────────────────────── */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0f5d64 !important;
  box-shadow: 0 0 0 3px rgba(15, 93, 100, 0.15) !important;
}

/* ── Blog prose content ───────────────────────────────────────── */
.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0d1b24;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.prose h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0d1b24;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.prose p {
  line-height: 1.85;
  margin-bottom: 1.25rem;
  color: #475569;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose ul li {
  margin-bottom: 0.5rem;
  color: #475569;
  line-height: 1.7;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose ol li {
  margin-bottom: 0.5rem;
  color: #475569;
  line-height: 1.7;
}
.prose blockquote {
  border-left: 4px solid #0f5d64;
  padding: 0.75rem 1.25rem;
  font-style: italic;
  color: #64748b;
  background: #eef4f7;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}
.prose strong { color: #0d1b24; }
.prose a { color: #0f5d64; text-decoration: underline; }
.prose a:hover { color: #1c7ed6; }

/* ── CTA button pulse ─────────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 200, 115, 0.45); }
  50%       { box-shadow: 0 0 0 10px rgba(247, 200, 115, 0); }
}
.btn-pulse {
  animation: pulse-glow 2.8s infinite;
}

/* ── Nav dropdown ─────────────────────────────────────────────── */
.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0s linear 0.15s, opacity 0.15s ease;
}
.nav-group:hover .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

/* ── Dashboard mockup bars ────────────────────────────────────── */
.progress-bar {
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Stats counter ────────────────────────────────────────────── */
.stat-value {
  transition: opacity 0.4s ease;
}

/* ── Testimonial card ─────────────────────────────────────────── */
.testimonial-card {
  transition: transform 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
}

/* ── Tag / badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Accessible focus ring ────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #f7c873;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Custom scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #eef4f7; }
::-webkit-scrollbar-thumb { background: #0f5d64; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #0d1b24; }

/* ── Print styles ─────────────────────────────────────────────── */
@media print {
  header, footer, .no-print { display: none !important; }
  main { padding-top: 0 !important; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .feature-card, .btn-pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
