/* ==========================================================================
   INTELLIXAPI BRAND SYSTEM - PERFECT ENTERPRISE HERO (NO OVERLAP / PREMIUM UI)
   ========================================================================== */

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

:root {
  --ix-navy: #142B68;
  --ix-blue: #4C84F4;
  --ix-green: #25D366;
  --ix-green-dark: #10B981;
  --ix-green-glow: rgba(37, 211, 102, 0.4);
  --ix-navy-glow: rgba(20, 43, 104, 0.15);
  --ix-blue-glow: rgba(76, 132, 244, 0.25);
  
  --ix-bg-white: #FFFFFF;
  --ix-bg-neutral: #F8FAFC;
  --ix-border-light: #E7EDF7;
  
  --ix-text-main: #142B68;
  --ix-text-slate: #475569;
  --ix-text-muted: #64748B;
  
  --ix-glass-bg: rgba(255, 255, 255, 0.94);
  --ix-glass-border: rgba(231, 237, 247, 0.9);
  --ix-card-shadow: 0 12px 30px -10px rgba(20, 43, 104, 0.08), 0 0 0 1px #E7EDF7;
  --ix-glow-shadow: 0 18px 45px -10px rgba(37, 211, 102, 0.35);
  
  --ix-font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --ix-font-body: 'Inter', -apple-system, sans-serif;
}

/* Base Hero Styling */
.ix-hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 50px 0 70px 0;
  overflow: hidden;
  background: radial-gradient(130% 100% at 50% 0%, #FFFFFF 0%, #F8FAFC 50%, #FFFFFF 100%);
  font-family: var(--ix-font-body);
  color: var(--ix-text-main);
}

/* Background Mesh & Grid */
.ix-hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(231, 237, 247, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(231, 237, 247, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 35%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

.ix-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.ix-glow-orb-1 {
  top: -120px;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(76, 132, 244, 0.18) 0%, rgba(20, 43, 104, 0.05) 100%);
}

.ix-glow-orb-2 {
  top: 15%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, rgba(76, 132, 244, 0.08) 100%);
}

.ix-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Two-Column Layout Grid */
.ix-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr;
  gap: 40px;
  align-items: center;
}

/* ==========================================================================
   LEFT COLUMN (CONTENT)
   ========================================================================== */
.ix-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Top Meta Badge */
.ix-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ix-border-light);
  box-shadow: 0 8px 24px rgba(20, 43, 104, 0.06), inset 0 1px 0 #FFFFFF;
  margin-bottom: 24px;
}

.ix-meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #0081FB 0%, #0064E0 100%);
  border-radius: 6px;
  color: #FFFFFF;
}

.ix-meta-dot-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--ix-green);
  border-radius: 50%;
}

.ix-meta-text {
  font-family: var(--ix-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ix-navy);
}

/* Main Headline */
.ix-hero-headline {
  font-family: var(--ix-font-heading);
  font-size: clamp(2.7rem, 4.6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ix-navy);
  margin-bottom: 20px;
}

.ix-gradient-text-green {
  background: linear-gradient(135deg, #25D366 0%, #10B981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.ix-gradient-text-green::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.8) 0%, rgba(16, 185, 129, 0.2) 100%);
}

/* Sub-Description */
.ix-hero-description {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ix-text-slate);
  max-width: 560px;
  margin-bottom: 28px;
  font-weight: 450;
}

/* Feature Chips */
.ix-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.ix-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ix-border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--ix-navy);
  box-shadow: 0 4px 12px rgba(20, 43, 104, 0.03);
}

.ix-chip-icon {
  width: 16px;
  height: 16px;
  color: var(--ix-green);
}

/* Offer Card */
.ix-offer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 540px;
  padding: 14px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.18);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.ix-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #25D366 0%, #10B981 100%);
}

.ix-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 100px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  font-family: var(--ix-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ix-offer-details {
  display: flex;
  flex-direction: column;
}

.ix-offer-title {
  font-family: var(--ix-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ix-navy);
  line-height: 1.2;
}

.ix-offer-subtext {
  font-size: 12.5px;
  color: var(--ix-text-slate);
  margin-top: 2px;
}

/* CTA Action Buttons (EXPLICIT DISPLAY & HIGH VISIBILITY) */
.ix-hero-ctas {
  display: flex !important;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 20;
}

.ix-btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: 100px;
  background: linear-gradient(135deg, #25D366 0%, #10B981 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--ix-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 14px 35px -8px rgba(37, 211, 102, 0.45);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ix-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px -8px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

.ix-btn-secondary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  background: #FFFFFF !important;
  border: 1.5px solid var(--ix-border-light) !important;
  color: var(--ix-navy) !important;
  font-family: var(--ix-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(20, 43, 104, 0.05);
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ix-btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--ix-blue) !important;
  color: var(--ix-blue) !important;
  box-shadow: 0 12px 28px -6px rgba(76, 132, 244, 0.25);
}

.ix-play-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(76, 132, 244, 0.1);
  color: var(--ix-blue);
}

/* Trust Section & Enterprise Logos */
.ix-trust-block {
  width: 100%;
  max-width: 560px;
}

.ix-trust-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ix-text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ix-logo-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ix-logo-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--ix-border-light);
  font-family: var(--ix-font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ix-navy);
}

.ix-logo-item-other {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
  color: #166534;
}

.ix-logo-item-other .ix-logo-icon {
  color: #25D366;
}

.ix-logo-icon {
  width: 16px;
  height: 16px;
  color: var(--ix-blue);
}

/* Stats Row */
.ix-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
  width: 100%;
}

.ix-stat-card {
  padding: 16px 14px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--ix-border-light);
  box-shadow: var(--ix-card-shadow);
  text-align: center;
}

.ix-stat-num {
  font-family: var(--ix-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--ix-navy);
  line-height: 1.1;
}

.ix-stat-label {
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ix-text-muted);
  margin-top: 4px;
}


/* ==========================================================================
   RIGHT COLUMN (PERFECT NON-OVERLAPPING WORKSPACE + ANIMATED AI CIRCLE HUB)
   ========================================================================== */
.ix-hero-right {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ix-workspace-3d {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 600px;
}

/* Neural High-Tech Canvas & Orbit Systems */
.ix-neural-svg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.ix-neural-path {
  fill: none;
  stroke: url(#grad-blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 6 6;
  opacity: 0.65;
  animation: ixNeuralFlow 15s linear infinite;
}

.ix-neural-path-green {
  stroke: url(#grad-green);
  stroke-width: 2.5;
  opacity: 0.75;
  animation: ixNeuralFlow 12s linear infinite reverse;
}

@keyframes ixNeuralFlow {
  to { stroke-dashoffset: -120; }
}

/* Concentric Orbit Circles */
.ix-neural-orbit {
  fill: none;
  stroke: rgba(76, 132, 244, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 8 8;
  transform-origin: 300px 300px;
  animation: ixOrbitRotate 32s linear infinite;
}

.ix-neural-orbit-reverse {
  stroke: rgba(37, 211, 102, 0.28);
  stroke-dasharray: 12 12;
  transform-origin: 300px 300px;
  animation: ixOrbitRotate 22s linear infinite reverse;
}

@keyframes ixOrbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Endpoint Node Glow Dots */
.ix-neural-node {
  fill: #FFFFFF;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.6));
}

/* CENTRAL INTELLIX AI LOGO BRAIN HUB (ANIMATION KEPT HERE ONLY!) */
.ix-central-ai-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, #F8FAFC 100%);
  border: 2px solid var(--ix-blue);
  box-shadow: 
    0 0 40px rgba(76, 132, 244, 0.3),
    0 0 70px rgba(37, 211, 102, 0.2),
    inset 0 0 15px #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  animation: ixPulseHub 3.5s ease-in-out infinite alternate;
}

.ix-hub-logo-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(20, 43, 104, 0.18));
}

.ix-hub-pulse-ring {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.5);
  animation: ixPingHub 2.5s ease-out infinite;
}

@keyframes ixPulseHub {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 65px rgba(37, 211, 102, 0.4); }
}

@keyframes ixPingHub {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* AI Neural Brain Badge attached directly above the central hub */
.ix-float-sparkle-top {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--ix-navy);
  color: #FFFFFF;
  font-family: var(--ix-font-heading);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(20, 43, 104, 0.25);
  z-index: 16;
  white-space: nowrap;
}


/* FLOATING CARDS - NON-OVERLAPPING CLEAR GRID POSITIONING */

/* 1. Live WhatsApp AI Chat Stream (Top-Left) */
.ix-float-card-chat {
  position: absolute;
  top: 15px;
  left: 0px;
  width: 250px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--ix-border-light);
  box-shadow: 0 14px 35px -10px rgba(20, 43, 104, 0.1);
  z-index: 10;
}

.ix-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ix-border-light);
  margin-bottom: 10px;
}

.ix-chat-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ix-font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--ix-navy);
}

.ix-chat-bubble {
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.ix-chat-incoming {
  background: #F8FAFC;
  border: 1px solid #E7EDF7;
  color: var(--ix-navy);
  border-bottom-left-radius: 4px;
}

.ix-chat-outgoing {
  background: linear-gradient(135deg, #25D366 0%, #10B981 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

/* 2. Automation Flow Node (Top-Right) */
.ix-float-card-workflow {
  position: absolute;
  top: 15px;
  right: 0px;
  width: 230px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(76, 132, 244, 0.35);
  box-shadow: 0 14px 35px -10px rgba(76, 132, 244, 0.15);
  z-index: 11;
}

.ix-wf-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ix-navy);
}

.ix-wf-badge {
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(76, 132, 244, 0.12);
  color: var(--ix-blue);
  font-size: 10.5px;
  font-weight: 700;
}

/* 3. Payment Received Card (Middle-Left) */
.ix-float-card-payment {
  position: absolute;
  top: 250px;
  left: -20px;
  width: 220px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 14px 35px -10px rgba(37, 211, 102, 0.22);
  z-index: 12;
}

.ix-payment-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ix-pay-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #25D366 0%, #10B981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.ix-pay-amount {
  font-family: var(--ix-font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ix-navy);
}

.ix-pay-status {
  font-size: 10.5px;
  font-weight: 600;
  color: #166534;
}

/* 4. CRM Contact Intelligence Card (Middle-Right) */
.ix-float-card-crm {
  position: absolute;
  top: 250px;
  right: -20px;
  width: 220px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--ix-border-light);
  box-shadow: 0 14px 35px -10px rgba(20, 43, 104, 0.1);
  z-index: 13;
}

.ix-crm-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ix-crm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ix-green);
}

.ix-crm-name {
  font-family: var(--ix-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--ix-navy);
}

.ix-crm-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 100px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 9.5px;
  font-weight: 700;
  margin-top: 2px;
}

/* 5. Real-Time Sales Stream Analytics Card (Center Bottom - POLISHED & BEAUTIFUL!) */
.ix-float-card-analytics {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  padding: 16px;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1.5px solid rgba(76, 132, 244, 0.35);
  box-shadow: 0 18px 45px -10px rgba(76, 132, 244, 0.22);
  z-index: 14;
  text-align: center;
}

.ix-analytics-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--ix-font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--ix-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ix-analytics-val-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ix-analytics-val {
  font-family: var(--ix-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--ix-navy);
  line-height: 1;
}

.ix-analytics-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  background: #F0FDF4;
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 11px;
  font-weight: 700;
  color: #166534;
}

/* Real-Time Sales Stream SVG Graph Line */
.ix-chart-svg {
  width: 100%;
  height: 36px;
  overflow: visible;
  margin-top: 4px;
}

.ix-chart-path {
  fill: none;
  stroke: var(--ix-green);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 3px 6px rgba(37, 211, 102, 0.35));
}

/* Responsive Media Queries */
@media (max-width: 1199px) {
  .ix-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ix-hero-left {
    align-items: center;
    text-align: center;
  }

  .ix-hero-description {
    max-width: 640px;
  }

  .ix-feature-chips {
    justify-content: center;
  }

  .ix-offer-card {
    margin-left: auto;
    margin-right: auto;
  }

  .ix-hero-ctas {
    justify-content: center;
  }

  .ix-logo-grid {
    justify-content: center;
  }

  .ix-hero-stats {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .ix-hero-right {
    height: 540px;
  }
}

@media (max-width: 767px) {
  .ix-hero-section {
    padding: 30px 0 50px 0;
  }

  .ix-hero-headline {
    font-size: 2.2rem;
  }

  .ix-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ix-float-card-chat {
    width: 200px;
    left: -10px;
  }

  .ix-float-card-workflow {
    width: 180px;
    right: -10px;
  }

  .ix-float-card-payment {
    width: 180px;
    left: -10px;
  }

  .ix-float-card-crm {
    width: 180px;
    right: -10px;
  }

  .ix-float-card-analytics {
    width: 250px;
    bottom: 5px;
  }

  .ix-float-sparkle-top {
    display: none;
  }
}
