/* Barrix Landing Site — Custom Styles */
/* Tailwind handles most styling; this file covers custom animations, gradients, and overrides */

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Hero Gradients ===== */
.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-gradient-prime {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.hero-gradient-academy {
  background: linear-gradient(135deg, #0f172a 0%, #064e3b 50%, #0f172a 100%);
}

.hero-gradient-node {
  background: linear-gradient(135deg, #0f172a 0%, #3b1f6e 50%, #0f172a 100%);
}

.hero-gradient-zonic {
  background: linear-gradient(135deg, #0f172a 0%, #7c2d12 50%, #0f172a 100%);
}

/* ===== Product Card Hover ===== */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Feature Card ===== */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Step Number Circle ===== */
.step-number {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Accent Borders ===== */
.border-accent-blue { border-color: #2563eb; }
.border-accent-emerald { border-color: #059669; }
.border-accent-purple { border-color: #7c3aed; }
.border-accent-orange { border-color: #ea580c; }

.text-accent-blue { color: #2563eb; }
.text-accent-emerald { color: #059669; }
.text-accent-purple { color: #7c3aed; }
.text-accent-orange { color: #ea580c; }

.bg-accent-blue { background-color: #2563eb; }
.bg-accent-emerald { background-color: #059669; }
.bg-accent-purple { background-color: #7c3aed; }
.bg-accent-orange { background-color: #ea580c; }

/* ===== Nav Dropdown ===== */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 600px;
}

/* ===== Glow Effects ===== */
.glow-blue { box-shadow: 0 0 30px rgba(37, 99, 235, 0.15); }
.glow-emerald { box-shadow: 0 0 30px rgba(5, 150, 105, 0.15); }
.glow-purple { box-shadow: 0 0 30px rgba(124, 58, 237, 0.15); }
.glow-orange { box-shadow: 0 0 30px rgba(234, 88, 12, 0.15); }

/* ===== Divider ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

/* ===== Form Inputs ===== */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-up-delay-1 {
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-up-delay-3 {
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}
