html{
  scroll-behavior: smooth;
}

.hero * 
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

    .hero {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  padding: 80px 0;
    min-height: 87vh;
    background: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
  }
  
  .floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  }
  
  .code-block {
    position: absolute;
    background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.04),
      rgba(147, 197, 253, 0.02)
    );
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    font-family: "Courier New", monospace;
    font-size: clamp(8px, 0.6vw, 10px);
    color: rgba(59, 130, 246, 0.6);
    backdrop-filter: blur(5px);
    animation: codeFloat 25s ease-in-out infinite;
  }
  
  .code-block:nth-child(1) {
    top: 15%;
    left: 8%;
    width: 140px;
    height: 60px;
    animation-delay: 0s;
    transform: rotate(-5deg);
  }
  
  .code-block:nth-child(2) {
    top: 60%;
    right: 12%;
    width: 160px;
    height: 80px;
    animation-delay: -8s;
    transform: rotate(3deg);
  }
  
  .code-block:nth-child(3) {
    bottom: 25%;
    left: 15%;
    width: 120px;
    height: 70px;
    animation-delay: -15s;
    transform: rotate(-8deg);
  }
  
  .circuit-line {
    position: absolute;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(59, 130, 246, 0.3),
      rgba(59, 130, 246, 0.1),
      transparent
    );
    height: 2px;
  }
  
  .circuit-line:nth-child(4) {
    top: 25%;
    left: 0;
    width: 200px;
    animation: circuitPulse 4s ease-in-out infinite;
  }
  
  .circuit-line:nth-child(5) {
    top: 45%;
    right: 0;
    width: 180px;
    animation: circuitPulse 4s ease-in-out infinite;
    animation-delay: -2s;
  }
  
  .circuit-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(
      circle,
      rgba(59, 130, 246, 0.8),
      rgba(59, 130, 246, 0.2)
    );
    border-radius: 50%;
    animation: nodeGlow 3s ease-in-out infinite;
  }
  
  .circuit-node:nth-child(6) {
    top: 23%;
    left: 190px;
  }
  
  .circuit-node:nth-child(7) {
    top: 43%;
    right: 170px;
    animation-delay: -1.5s;
  }
  
  .binary-rain {
    position: absolute;
    font-family: "Courier New", monospace;
    font-size: 14px;
    color: rgba(59, 130, 246, 0.2);
    font-weight: bold;
    animation: binaryFall 15s linear infinite;
  }
  
  .binary-rain:nth-child(8) {
    top: -50px;
    left: 20%;
    animation-delay: 0s;
  }
  
  .binary-rain:nth-child(9) {
    top: -50px;
    left: 75%;
    animation-delay: -5s;
  }
  
  .binary-rain:nth-child(10) {
    top: -50px;
    right: 30%;
    animation-delay: -10s;
  }
  
  .hex-pattern {
    position: absolute;
    width: 40px;
    height: 35px;
    background: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.08);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: hexFloat 20s ease-in-out infinite;
  }
  
  .hex-pattern:nth-child(11) {
    top: 30%;
    left: 5%;
    animation-delay: 0s;
  }
  
  .hex-pattern:nth-child(12) {
    top: 55%;
    right: 8%;
    animation-delay: -7s;
  }
  
  .hex-pattern:nth-child(13) {
    bottom: 35%;
    left: 60%;
    animation-delay: -14s;
  }
  
  .data-stream {
    position: absolute;
    width: 3px;
    height: 100px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(59, 130, 246, 0.4),
      transparent
    );
    animation: streamFlow 6s ease-in-out infinite;
  }
  
  .data-stream:nth-child(14) {
    top: 10%;
    left: 30%;
    animation-delay: 0s;
  }
  
  .data-stream:nth-child(15) {
    top: 40%;
    right: 25%;
    animation-delay: -3s;
  }
  
  .heroes {
    max-width: 1280px;
    margin: 0 auto;
  }
  .hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
  }
  
  .hero-badge {
    display: inline-block;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: #3b82f6;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    font-weight: 500;
    /* margin-bottom: 2rem; */
    animation: slideUp 1s ease-out;
    backdrop-filter: blur(10px);
  }
  
  .hero-badge img {
    width: 18px;
    height: 18px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 4vw, 2rem);
    color: #0f172a;
    line-height: 1.1;
    animation: slideUp 1s ease-out 0.2s both;
  }
  
  .gradient-text {
    white-space: nowrap;
    background: linear-gradient(135deg, #3b82f6, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .hero-subtitle {
    padding: clamp(0.25rem, 0.8vw, 0.75rem) clamp(1rem, 6vw, 4rem);
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideUp 1s ease-out 0.4s both;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: clamp(3rem, 8vw, 5.625rem);
    animation: slideUp 1s ease-out 0.6s both;
  }
  
  .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
  }
  
  .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.6s ease;
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-secondary {
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
  }
  
  .btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
  }
  
  .collage {
    width: 100%;
    aspect-ratio: 1100/674;
    max-width: 1100;
    margin: auto;
    background: #1e40af;
    padding: clamp(6px, 1vw, 20px);
    border-radius: 3.5% / 5%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .grid {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    background-color: #000;
    border-radius: 3.5% / 5%;
    overflow: hidden;
  }
  
  .grid-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .grid-item:hover {
    transform: scale(1.02);
    z-index: 1;
  }
  

  .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  @keyframes slideUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes codeFloat {
    0%,
    100% {
      transform: translateY(0px) rotate(-5deg);
      opacity: 0.6;
    }
    50% {
      transform: translateY(-20px) rotate(-2deg);
      opacity: 0.9;
    }
  }
  
  @keyframes circuitPulse {
    0%,
    100% {
      opacity: 0.2;
      transform: scaleX(1);
    }
    50% {
      opacity: 0.8;
      transform: scaleX(1.1);
    }
  }
  
  @keyframes nodeGlow {
    0%,
    100% {
      transform: scale(1);
      opacity: 0.6;
    }
    50% {
      transform: scale(1.3);
      opacity: 1;
      box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    }
  }
  
  @keyframes binaryFall {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
    10% {
      opacity: 0.5;
    }
    90% {
      opacity: 0.2;
    }
    100% {
      transform: translateY(100vh);
      opacity: 0;
    }
  }
  
  @keyframes hexFloat {
    0%,
    100% {
      transform: translateY(0px) rotate(0deg);
    }
    33% {
      transform: translateY(-15px) rotate(120deg);
    }
    66% {
      transform: translateY(10px) rotate(240deg);
    }
  }
  
  @keyframes streamFlow {
    0%,
    100% {
      transform: translateY(0px);
      opacity: 0.3;
    }
    50% {
      transform: translateY(30px);
      opacity: 0.8;
    }
  }
  
  @media (max-width: 768px) {
    .floating-elements {
      display: none !important;
    }
    .hero-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .btn {
      width: 100%;
      max-width: 280px;
    }
  
    .hero-stats {
      gap: 2rem;
    }
    .sidekick {
      padding-left: 20px;
      padding-right: 20px;
    }
    
  }
  
  @media (min-width: 768px) {
    .sidekick {
      padding-left: 40px;
      padding-right: 40px;
    }
  }
  @media (min-width: 1024px) {
    .sidekick {
      padding-left: 80px;
      padding-right: 80px;
    }
  }