
.hero {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  position: relative;
  margin: 64px auto 72px; /* add breathing room above nav and below section */

  padding-left: 20px;   
  padding-right: 10px;  
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1600px;
  height: 1600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
 background: conic-gradient(
    #afedfa,  
    #6ee7ff, 
    #ec4899,  
    #4cc5ff,  
    #a855f7 12%,
    #3b82f6,   
    #6ee7ff,   
    #baf4ff,   
    #6ee7ff    
  );

  filter: blur(220px);
  opacity: 0.17;
  animation: floatGlow 14s ease-in-out infinite;

  pointer-events: none;
  z-index: -1;
}

@keyframes floatGlow {
  0%   { transform: translate(-40%, -55%) scale(1); }
  40%  { transform: translate(-60%, -48%) scale(1.12); }
  70%  { transform: translate(-50%, -60%) scale(1.05); }
  100% { transform: translate(-40%, -55%) scale(1); }
}

    .headline {
font-size: clamp(2.8rem, 5.4vw, 4.6rem);
      line-height: 1.05;
      font-weight: 700;
      letter-spacing: -0.04em;
      margin-bottom: 14px;
    }

    .subhead {
      font-size: 1.5rem;
      line-height: 1.6;
      color: var(--text-sub);
      margin-bottom: 26px;
    }

    .buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 10px;
    }

    .btn {
      padding: 12px 26px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
        transform 0.12s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 132px;
    }

    .btn-primary {
      background: var(--primary);
      color: #ffffff;
      border-color: var(--primary);
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      border-color: var(--primary-hover);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: #ffffff;
      color: var(--outline);
      border-color: var(--outline);
    }

    .btn-outline:hover {
      background: #f0fbff;
      transform: translateY(-1px);
    }

    
    .hero-graphic {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden; /* keep imagery from bleeding outside the grid */
    }

    .hero-image {
      max-width: 100%;
      width: 100%;
      height: auto;
      display: block;        
      transform: translateY(-70px);
    }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 12px;
    margin: 40px auto 56px; /* maintain breathing room on tablet */
    gap: 16px;
  }
  .hero-graphic {
    justify-content: center;
  }
  .hero-image {
    max-width: 100%;
    width: 100%;
    transform: translateY(-10px);
  }
}



.top-nav {
  width: 100%;
  background: #ffffff;
  padding: 18px 32px;
  border-bottom: 1px solid #e5e7eb; 
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}


.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-icon {
    cursor: pointer;
}


.logo {
  height: 45px;
  width: auto;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;          
}

.brand-text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #111827;     
  letter-spacing: -0.5px;
}


.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-right a {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #4b5563; 
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-right a:hover {
  color: #111827; 
}

.search-icon {
  font-size: 16px;
  color: #4b5563;
  cursor: pointer;
  transition: color 0.18s ease;
}

.search-icon:hover {
  color: #111827;
}

/* ===== Mobile (phones) ===== */
@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 18px;
    padding: 0 6px; /* tuck text even closer to the left */
    margin: 36px auto 48px; /* keep space from nav and next section */
  }

  .hero::before {
    width: 1100px;
    height: 1100px;
    filter: blur(160px);
  }

  .hero-copy {
    order: 1;
    padding-left: 0;
  }

  .hero-graphic {
    order: 2;
  }

  .headline {
    font-size: clamp(2.1rem, 7vw, 2.7rem);
    line-height: 1.12;
  }

  .subhead {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-image {
    max-width: 88%;
    width: 88%;
    transform: translateY(0);
  }

  /* Keep nav fixed on mobile and offset content */
  .top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    border-radius: 0 0 12px 12px;
    padding: 12px 16px;
  }
  body {
    padding-top: 76px;
  }
}
