/* Hero 3D Animated Section - lightweight and performant */

.hero3d {
    position: relative;
    /* Fallback for older browsers */
    min-height: 100vh;
    /* Use dynamic viewport height to avoid white gaps on first paint and with browser UI */
    min-height: 100svh;
    /* Ensure a sensible minimum height on very small screens */
    min-height: max(600px, 100svh);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 100px; /* space for fixed navbar */
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1f44 0%, #081a39 40%, #061326 100%);
  }
  
  .hero3d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .hero3d-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1000px 600px at 20% 20%, rgba(255,255,255,0.06), transparent 60%),
                radial-gradient(900px 600px at 80% 70%, rgba(253,130,10,0.12), transparent 60%),
                linear-gradient(180deg, rgba(0, 9, 28, 0.10) 0%, rgba(0, 9, 28, 0.65) 60%, rgba(0, 9, 28, 0.90) 100%);
    z-index: 1;
  }
  
  .hero3d-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    color: #fff;
  }
  
  .hero3d h1 {
    font-size: 56px;
    line-height: 1.15;
    margin: 0 0 16px 0;
  }
  
  .hero-gradient {
    background: linear-gradient(90deg, #ffffff 0%, #ffd4b1 25%, #fd820a 50%, #ffd4b1 75%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
  }
  
  .hero3d p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 32px 0;
  }
  
  .hero3d .cta-group {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .parallax-tilt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
  }
  
  .parallax-tilt img {
    height: 48px;
    width: 48px;
  }
  
  .parallax-tilt span {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
  }
  
  @media (max-width: 992px) {
    .hero3d h1 { font-size: 44px; }
  }
  
  @media (max-width: 768px) {
    .hero3d { padding: 120px 16px 80px; }
    .hero3d h1 { font-size: 36px; }
    .parallax-tilt { display: none; }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .hero3d-canvas { display: none; }
  }
  
  
  