/* E-AmAre Promo Site — Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 30%, #8b5cf6 70%, #a78bfa 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Dark section gradient */
.dark-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

/* Screenshot browser frame */
.screenshot-frame {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-frame .browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshot-frame .browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.screenshot-frame .browser-dots span:nth-child(1) { background: #ef4444; }
.screenshot-frame .browser-dots span:nth-child(2) { background: #eab308; }
.screenshot-frame .browser-dots span:nth-child(3) { background: #22c55e; }

.screenshot-frame .browser-dots .address-bar {
  flex: 1;
  margin-left: 12px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.screenshot-placeholder {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2rem;
}

.placeholder-gradient-1 { background: linear-gradient(135deg, #312e81, #4f46e5, #6366f1); }
.placeholder-gradient-2 { background: linear-gradient(135deg, #4c1d95, #7c3aed, #8b5cf6); }
.placeholder-gradient-3 { background: linear-gradient(135deg, #1e3a5f, #3b82f6, #60a5fa); }
.placeholder-gradient-4 { background: linear-gradient(135deg, #064e3b, #059669, #34d399); }
.placeholder-gradient-5 { background: linear-gradient(135deg, #78350f, #d97706, #fbbf24); }
.placeholder-gradient-6 { background: linear-gradient(135deg, #831843, #db2777, #f472b6); }
.placeholder-gradient-7 { background: linear-gradient(135deg, #1e293b, #475569, #94a3b8); }
.placeholder-gradient-8 { background: linear-gradient(135deg, #3b0764, #9333ea, #c084fc); }

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* Levels of care flow */
.loc-flow {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 1rem 0;
}

.loc-card {
  flex: 0 0 auto;
  width: 180px;
  padding: 1.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
}

.loc-arrow {
  flex: 0 0 auto;
  color: #6366f1;
  font-size: 1.5rem;
  padding: 0 0.5rem;
}

/* Stat counter */
.stat-bar {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Feature icon box */
.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Compliance badges */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.08);
  color: #a5b4fc;
}

/* Testimonial card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(99, 102, 241, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Form styling */
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* CTA button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.97);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.5rem;
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: #a5b4fc;
}

/* Differentiator card */
.diff-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}

.diff-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}

/* Navbar transparency transition */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Success message */
.form-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  color: #4ade80;
  text-align: center;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .loc-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .loc-card {
    width: 100%;
  }

  .loc-arrow {
    transform: rotate(90deg);
    text-align: center;
    padding: 0.25rem 0;
  }

  .screenshot-placeholder {
    aspect-ratio: 4 / 3;
  }
}
