/* ==========================================================================
   OCTRON INNOVATION — HYBRID DESIGN SYSTEM
   Blending Embee Header & Navigation with Instinctools Software Product
   Development Visual Language:
   - Ethereal iridescent mesh waves (soft lilac, sky blue, rose & frosted white)
   - Embee Signature Red Accent (#a1192e / #e11d48) for Contact & CTAs
   - Instinctools '//' section markers & sleek process timelines
   - Frosted glassmorphic cards (backdrop-filter: blur)
   - Refined typography (Plus Jakarta Sans & Inter)
   ========================================================================== */

:root {
  --brand-red: #a1192e;
  --brand-red-hover: #861223;
  --brand-blue: #0078d4;
  --brand-blue-dark: #004e89;
  --brand-navy: #0B192C;
  --brand-navy-dark: #070F1E;
  --brand-border: #e2e8f0;
}

/* ==========================================================================
   BACKGROUNDS & IRIDESCENT MESH WAVES (Instinctools Signature Style)
   ========================================================================== */

/* Main Hero Luminous Mesh */
.instinct-hero-bg {
  background: 
    radial-gradient(circle at 90% 10%, rgba(224, 231, 255, 0.7) 0%, rgba(243, 232, 255, 0.5) 30%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(219, 234, 254, 0.7) 0%, rgba(254, 242, 242, 0.4) 35%, transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(224, 242, 254, 0.6) 0%, rgba(245, 243, 255, 0.5) 40%, transparent 70%),
    linear-gradient(160deg, #f8faff 0%, #ffffff 50%, #f4f8fe 100%);
}

/* Wave Mesh for Process & Capabilities Sections */
.instinct-mesh-bg {
  background: 
    radial-gradient(circle at 20% 15%, rgba(238, 242, 255, 0.8) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(243, 232, 255, 0.7) 0%, transparent 50%),
    radial-gradient(circle at 40% 90%, rgba(224, 242, 254, 0.6) 0%, transparent 45%),
    #ffffff;
}

/* Decorative Iridescent Wave Ribbon SVG Background */
.bg-wave-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(147, 197, 253, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Gradient Banner Callout (Instinctools Style) */
.instinct-banner-gradient {
  background: linear-gradient(135deg, #f0f7ff 0%, #fdf4f5 45%, #f5f3ff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -5px rgba(11, 25, 44, 0.05);
}

/* Glassmorphic Studio Card */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(147, 197, 253, 0.5);
}

/* ==========================================================================
   EMBEE HEADER & ACTION BUTTONS
   ========================================================================== */

.btn-embee-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-red);
  background: transparent;
  border: 1.5px solid var(--brand-red);
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.btn-embee-contact:hover {
  background-color: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(161, 25, 46, 0.25);
  transform: translateY(-1px);
}

.btn-embee-search {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  background-color: var(--brand-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(161, 25, 46, 0.25);
  transition: all 0.2s ease-in-out;
}

.btn-embee-search:hover {
  background-color: var(--brand-red-hover);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(161, 25, 46, 0.35);
}

/* ==========================================================================
   MEGA MENU & DROPDOWNS
   ========================================================================== */

.mega-menu-wrapper {
  position: relative;
}

.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 96vw;
  max-width: 1240px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.mega-menu-wrapper:hover .mega-menu-dropdown,
.mega-menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.mega-menu-tab-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  border-radius: 0.75rem;
  transition: all 0.18s ease;
  border-left: 3px solid transparent;
  background: transparent;
  cursor: pointer;
}

.mega-menu-tab-btn:hover {
  color: #0f172a;
  background-color: #f8fafc;
}

.mega-menu-tab-btn.active {
  color: #0078d4;
  background-color: #f0f7ff;
  border-left-color: #0078d4;
  font-weight: 700;
}

.mega-service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mega-service-item:hover {
  background-color: #f8fafc;
  transform: translateX(3px);
}

.mega-service-item .service-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: #1e293b;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mega-service-item:hover .service-icon {
  background-color: #e0f2fe;
  color: #0284c7;
}

.mega-service-item .service-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  transition: color 0.18s ease;
}

.mega-service-item:hover .service-title {
  color: #0078d4;
}

.mega-service-item .service-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

.simple-dropdown-wrapper {
  position: relative;
}

.simple-dropdown-card {
  position: absolute;
  top: 100%;
  left: 0;
  width: 17rem;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(226, 232, 240, 0.85);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 100;
}

.simple-dropdown-wrapper:hover .simple-dropdown-card,
.simple-dropdown-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(6px);
}

.simple-dropdown-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  border-radius: 0.65rem;
  transition: all 0.15s ease;
  text-decoration: none;
}

.simple-dropdown-card a:hover {
  background-color: #f1f5f9;
  color: #0078d4;
  padding-left: 1.15rem;
}

/* ==========================================================================
   INSTINCTOOLS PROCESS TIMELINE (Numbered Step Cards)
   ====================================================================== */

.process-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.glass-card:hover .process-step-num {
  color: #0078d4;
}

/* Instinctools Section Indicator */
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.section-marker::before {
  content: '//';
  font-weight: 900;
  color: var(--brand-red);
}

/* FAQ Accordion Styling */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
  transition: all 0.2s ease;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.faq-question:hover {
  color: #0078d4;
}

.faq-answer {
  display: none;
  padding-top: 0.75rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--brand-red);
}

/* Modal Search Overlay */
#embee-search-modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#embee-search-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   INSTINCTOOLS IRIDESCENT AESTHETICS & FLOATING SCULPTURES
   ========================================================================== */
.iridescent-blob {
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.35), rgba(96, 165, 250, 0.25) 45%, rgba(244, 114, 182, 0.2) 75%, transparent 100%);
  filter: blur(55px);
  animation: floatSlow 14s ease-in-out infinite alternate;
}

.iridescent-card-bg {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,247,255,0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.iridescent-banner {
  background: linear-gradient(115deg, #EEF2FF 0%, #F5F3FF 35%, #FDF2F8 70%, #EFF6FF 100%);
}

.pearlescent-orb {
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #E0E7FF 38%, #C4B5FD 70%, #93C5FD 100%);
  box-shadow: inset -6px -6px 16px rgba(107, 78, 255, 0.25), inset 6px 6px 16px rgba(255, 255, 255, 0.9), 0 12px 24px -6px rgba(107, 78, 255, 0.2);
}

.text-gradient-iridescent {
  background: linear-gradient(90deg, #14151A 0%, #4F46E5 55%, #9333EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes floatSlow {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.04); }
  100% { transform: translate(-15px, 15px) scale(0.98); }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.shadow-glass {
  box-shadow: 0 10px 40px -10px rgba(107, 78, 255, 0.12);
}
.shadow-card {
  box-shadow: 0 4px 24px -2px rgba(20, 21, 26, 0.04);
}
.shadow-card-hover {
  box-shadow: 0 16px 36px -4px rgba(107, 78, 255, 0.12);
}

