
/* Hero */

.hero2{
      /* margin-bottom: 30px; */
      position:relative;
      padding: clamp(56px, 6vw, 92px) 0 34px;
      overflow:hidden;
      background:
        radial-gradient(1100px 520px at 20% 15%, rgba(254,88,98,.20), transparent 60%),
        radial-gradient(1100px 520px at 85% 20%, rgba(255,255,255,.10), transparent 62%),
        linear-gradient(180deg, rgba(23,35,66,.96), rgba(23,35,66,.86));
      color: var(--white);
      border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .hero2-bg{
      position:absolute; inset:0;
      pointer-events:none;
      opacity:1;
    }
    .hero2-orb{
      position:absolute;
      width: 520px; height: 520px;
      border-radius: 42px;
      filter: blur(0px);
      transform: rotate(16deg);
      opacity:.9;
    }
    .orb1{
      top:-260px; right:-230px;
      background: linear-gradient(135deg, rgba(254,88,98,.55), rgba(254,88,98,0));
    }
    .orb2{
      bottom:-300px; left:-260px;
      background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0));
      transform: rotate(-14deg);
      opacity:.7;
    }
    .hero2-gridlines{
       
      position:absolute; inset:-2px;
      background:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
      /* background-size: 60px 60px;
      mask-image: radial-gradient(circle at 35% 10%, rgba(0,0,0,1), rgba(0,0,0,0) 62%);
      opacity:.28; */
    }

    .hero2-wrap{ position:relative; z-index:1; }

    /* .hero2-grid{
      display:flex;
      grid-template-columns: 1.05fr .95fr;
      gap: clamp(18px, 4vw, 56px);
      align-items:center;
    } */
     .hero2-grid{
                display:grid;
                grid-template-columns: 1.05fr .95fr;
                gap: clamp(18px, 4vw, 56px);
                align-items:center;
                margin-bottom: 30px;
                margin-top:50px;
              }


    .hero2-kicker{
      display:inline-flex;
      gap:10px;
      align-items:center;
      font-weight:900;
      letter-spacing:.12em;
      text-transform:uppercase;
      font-size: 12px;
      color: rgba(255,255,255,.82);
    }

    .hero2-title{
      margin: 12px 0 12px;
      font-size: clamp(32px, 4.3vw, 56px);
      line-height: 1.05;
      letter-spacing: -.03em;
      color: var(--white);
    }
    .hero2-shimmer{
      background: linear-gradient(90deg, #ffffff, var(--coral), #ffffff);
      background-size: 220% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: hero2Shimmer 4.8s cubic-bezier(.2,.8,.2,1) infinite;
    }
    @keyframes hero2Shimmer{
      0%{ background-position: 0% 0; }
      50%{ background-position: 100% 0; }
      100%{ background-position: 0% 0; }
    }

    .hero2-sub{
      margin: 0 0 18px;
      color: rgba(255,255,255,.80);
      max-width: 62ch;
      font-size: clamp(15px, 1.6vw, 18px);
    }

    .hero2-actions{
      display:flex;
      gap: 12px;
      flex-wrap:wrap;
      align-items:center;
      margin-top: 10px;
    }
    .hero2-btn{
      transform: translateZ(0);
      position:relative;
      overflow:hidden;
    }
    .hero2-btn::after{
      content:"";
      position:absolute;
      inset:-2px;
      background: radial-gradient(180px 80px at 20% 0%, rgba(255,255,255,.28), transparent 60%);
      opacity:.0;
      transition: opacity .25s cubic-bezier(.2,.8,.2,1);
      pointer-events:none;
    }
    .hero2-btn:hover::after{ opacity:.9; }

    .hero2-badges{
      margin-top: 18px;
      display:flex;
      gap: 12px;
      flex-wrap:wrap;
    }
    .hero2-badge{
      display:flex; gap:10px; align-items:center;
      padding: 10px 12px;
      border-radius: 16px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      backdrop-filter: blur(10px);
    }
    .hero2-badge strong{ display:block; font-weight:1000; line-height:1.05; }
    .hero2-badge span{ display:block; font-size:12px; color: rgba(255,255,255,.78); font-weight:800; }
    .hero2-dot{
      width: 10px; height: 10px;
      border-radius: 999px;
      background: var(--coral);
      box-shadow: 0 0 0 6px rgba(254,88,98,.18);
      flex:0 0 auto;
    }

    /* Right illustration */
    .hero2-visual{
        width:100%;
        max-width:500px;
      position:relative;
      min-height: 420px;
      display:flex;
      align-items:center;
      justify-content:center;
      transform: translateZ(0);
     
    }
    .hero2-ring{
      position:absolute;
      width: 520px; height: 520px;
      border-radius: 999px;
      background: radial-gradient(circle at 50% 50%, rgba(254,88,98,.18), transparent 60%);
      filter: blur(0px);
      animation: ringPulse 5.2s cubic-bezier(.2,.8,.2,1) infinite;
      opacity:.9;
    }
    @keyframes ringPulse{
      0%,100%{ transform: scale(1); opacity:.8; }
      50%{ transform: scale(1.04); opacity:1; }
    }

    .hero2-laptop{
      width: min(520px, 100%);
      border-radius: 22px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      box-shadow: 0 26px 80px rgba(0,0,0,.25);
      backdrop-filter: blur(14px);
      overflow:hidden;
      position:relative;
      z-index:1;
      transform: translateY(0);
      animation: floatMain 4.6s cubic-bezier(.2,.8,.2,1) infinite;
    }
    @keyframes floatMain{
      0%,100%{ transform: translateY(0); }
      50%{ transform: translateY(-10px); }
    }

    .hero2-laptop-top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255,255,255,.10);
      background: rgba(0,0,0,.10);
    }
    .hero2-dots{ display:flex; gap:6px; }
    .hero2-dots span{
      width:10px; height:10px; border-radius:999px;
      background: rgba(255,255,255,.18);
    }
    .hero2-mini{
      font-weight:900;
      font-size: 12px;
      color: rgba(255,255,255,.82);
      letter-spacing:.02em;
    }

    .hero2-laptop-body{ padding: 14px; display:grid; gap: 12px; }
    .hero2-card{
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.08);
      box-shadow: 0 18px 46px rgba(0,0,0,.18);
      overflow:hidden;
    }
    .hero2-card-lg{ padding: 12px; }
    .hero2-card-sm{ padding: 12px; }

    .hero2-card-head{
      display:flex; align-items:center; justify-content:space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .hero2-muted{ color: rgba(255,255,255,.65); font-weight:800; font-size: 12px; }
    .hero2-chip{
      display:inline-flex; align-items:center; gap:8px;
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(254,88,98,.18);
      border: 1px solid rgba(254,88,98,.22);
      color: rgba(255,255,255,.92);
      font-weight:1000;
      font-size: 12px;
    }
    .hero2-chip.alt{
      background: rgba(255,255,255,.10);
      border-color: rgba(255,255,255,.14);
    }
    .hero2-chip.alt2{
      background: rgba(254,88,98,.14);
      border-color: rgba(254,88,98,.20);
    }

    .hero2-chart{
      width:100%;
      height:auto;
      display:block;
      border-radius: 14px;
      background: rgba(0,0,0,.08);
      padding: 10px;
      animation: chartDraw 1.2s ease-out both;
    }
    @keyframes chartDraw{
      from{ opacity:0; transform: translateY(8px); }
      to{ opacity:1; transform: translateY(0); }
    }
      .hero2-mini-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
    .hero2-metric strong{
      display:block;
      font-size: 22px;
      font-weight:1000;
      letter-spacing:-.02em;
    }
    .hero2-metric span{
      display:block;
      color: rgba(255,255,255,.72);
      font-weight:800;
      font-size: 12px;
      margin-top: 2px;
    }
    .hero2-bar{
      margin-top: 10px;
      height: 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.10);
      overflow:hidden;
      border: 1px solid rgba(255,255,255,.10);
    }
    .hero2-bar span{
      display:block;
      height:100%;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(254,88,98,.95), rgba(255,255,255,.22));
      animation: barFill 1.1s ease-out both;
    }
    @keyframes barFill{
      from{ transform: translateX(-100%); }
      to{ transform: translateX(0); }
    }

    /* Floating icons */
    .hero2-float{
      position:absolute;
      width: 52px; height: 52px;
      border-radius: 18px;
      display:flex; align-items:center; justify-content:center;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      backdrop-filter: blur(10px);
      box-shadow: 0 18px 54px rgba(0,0,0,.22);
      z-index:2;
    }
    .hero2-float i{ color: rgba(255,255,255,.92); font-size: 18px; }
    .f1{ top: 56px; left: 22px; animation: floaty 4.2s cubic-bezier(.2,.8,.2,1) infinite; }
    .f2{ top: 20px; right: 22px; animation: floaty 5.1s cubic-bezier(.2,.8,.2,1) infinite; }
    .f3{ bottom: -1px; left: 1px; animation: floaty 4.8s cubic-bezier(.2,.8,.2,1) infinite; }
    .f4{ bottom: 18px; right: 56px; animation: floaty 5.6s cubic-bezier(.2,.8,.2,1) infinite; }

    @keyframes floaty{
      0%,100%{ transform: translateY(0); }
      50%{ transform: translateY(-10px); }
    }

    /* Logos bar */
    /* .hero2-logos{
      margin-top: 22px;
      border-radius: 18px;
      /* background: rgba(255,255,255,.92); 
      color: rgba(23,35,66,.70);
      border: 1px solid rgba(255,255,255,.40);
      box-shadow: 0 18px 54px rgba(0,0,0,.22);
      overflow:hidden;
    }
    .hero2-logos-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 14px;
      padding: 6px 9px;
      flex-wrap:wrap;
      
    }
    .hero2-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}
    .hero2-logo i{ color: rgba(23,35,66,.65); } */

/* 
    .hero2 {
  position: relative;
  padding-bottom: 120px; /* important space for overlap 
}

.hero2-logos {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -45px; /* pushes it into next section 
  width: min(1100px, 92%);
  background: rgba(255,255,255,0.95);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.06);
  padding: 18px 25px;
  z-index: 20;
}

.hero2-logos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ================= FLOATING BRIDGE CARD ================= 

.hero2 {
  position: relative;
  padding-bottom: 140px; /* space for overlap 
}

.hero2-bridge {
  position: absolute;
  left: 50%;
  bottom: -55px; /* overlap amount 
  transform: translateX(-50%);
  width: min(1100px, 92%);
  z-index: 50;
}

/* Glow behind card 
.hero2-bridge::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 30px;
  background: radial-gradient(
    circle at center,
    rgba(254,88,98,.25),
    transparent 70%
  );
  filter: blur(40px);
  opacity: .9;
  z-index: -1;
}

/* Main card 
.hero2-bridge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;

  padding: 22px 40px;
  border-radius: 26px;

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 40px 90px rgba(0,0,0,.18);

  animation: floatBridge 5s ease-in-out infinite;
}

/* Floating effect 
@keyframes floatBridge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Logos 
.hero2-bridge-inner img {
  height: 42px;
  opacity: .75;
  transition: .3s ease;
  filter: grayscale(100%);
}

.hero2-bridge-inner img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-4px) scale(1.05);
}

/* Space for next section 
.aboutX {
  padding-top: 140px;
} */

    /* Responsive */
  
     @media (max-width: 768px){
  .hero2-grid{ grid-template-columns: 1fr; }
  .hero2-visual{ min-height: 360px; }
  .hero2-logos-inner{ justify-content:center; }
}
    @media (max-width: 768px){
      .hero2-actions .btn{ width: 100%; justify-content:center; }
      .hero2-mini-grid{ grid-template-columns: 1fr; }
      .hero2-visual{ min-height: 360px; }
      .hero2-float{ display:none; } /* cleaner on mobile */
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce){
      .hero2-shimmer, .hero2-laptop, .hero2-float, .hero2-ring{ animation:none !important; }
    }

/*------- mobile adjustments -------*/
@media (max-width: 768px) {

  .hero2-visual {
    width: 100%;
    min-height: auto;
    max-width: 100%;
  }



  .hero2-ring {
    width: 100%;
    height: 100%;
    max-width: 350px;
    max-height: 350px;
  }

  .hero2-laptop {
    width: 100%;
  }

  .hero2-orb {
    display: none;
  }

}

/* Graph Line Animation */

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* HERO MOBILE FIX */
@media (max-width: 768px) {

  .hero2 {
    overflow: hidden;
  }

  .hero2-grid {
    grid-template-columns: 1fr;
  }

  .hero2-visual {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .hero2-laptop {
    width: 100%;
  }

  .hero2-ring {
    width: 100%;
    height: 100%;
    max-width: 350px;
    max-height: 350px;
  }

  .hero2-orb {
    display: none;
  }
}

@media (max-width: 768px){
  .hero2-mini-grid{
    grid-template-columns: 1fr;
  }
}

.hero2-right {
  overflow: hidden;
}

@media (max-width:768px){

  .hero2-logos-inner{
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero2-logos-inner::-webkit-scrollbar{
    display:none;
  }

}
.hero2-logo:hover{
  background: rgba(254,88,98,.15);
  transform: translateY(-3px);
  transition: .3s ease;
} 

.hero2-chart svg {
  background: transparent !important;
}