/* Homixa Custom CSS Styles — Vibrant Logo Orange & Graphite Palette */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-orange: #FF6600;
  --primary-orange-dark: #D94F00;
  --primary-orange-light: #FFF0E6;
  --accent-graphite: #6E717B;
  --accent-graphite-dark: #34363D;
  --light-bg: #F8F9FA;
  --light-bg-alt: #F1F2F4;
  --border-light: #E2E4E8;
  --text-main: #25272D;
  --text-muted: #6E717B;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body {
  color: var(--text-main);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

/* Glassmorphism & Header Styling */
.header-glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-scrolled {
  box-shadow: 0 4px 20px -2px rgba(37, 39, 45, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F2F4;
}
::-webkit-scrollbar-thumb {
  background: #C4C8D0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6600;
}

/* Modal Animations */
.modal-backdrop {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-backdrop.hidden-modal {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.modal-backdrop.hidden-modal .modal-content {
  transform: scale(0.95) translateY(10px);
  opacity: 0;
}

/* Accordion Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s ease;
}
.accordion-content.open {
  max-height: 500px;
}

/* Card Hover Effects */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(255, 102, 0, 0.1), 0 8px 10px -6px rgba(37, 39, 45, 0.04);
}

/* Pulse animation for CTA & Live indicators */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}
.pulse-badge {
  animation: pulse-subtle 2.5s infinite ease-in-out;
}

/* Orange Ripple Animation Effect */
@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.4), 0 0 0 0 rgba(255, 102, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(255, 102, 0, 0), 0 0 0 30px rgba(255, 102, 0, 0);
  }
}
.whatsapp-pulse {
  animation: ripple 2s infinite;
}

/* Timeline Custom Connector */
@media (min-width: 1024px) {
  .timeline-step::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #E2E4E8;
    z-index: 0;
  }
  .timeline-step:last-child::after {
    display: none;
  }
}

/* Accessibility Focus Ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #FF6600;
  outline-offset: 2px;
}
