/* Pixel Grid Background Canvas */
.pixel-grid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Retro CRT Canvas Effect - Optimized for Performance */
#hero-pixels-bg {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Futuristic Hero Section Styles */
.hero {
    position: relative;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated background grid - Removed */
.hero::before {
    display: none;
}

/* Glowing gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.05) 0%,
        transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1e40af;
    text-shadow: 0 0 30px rgba(30, 64, 175, 0.3);
    position: relative;
}

.hero h1 span {
    display: block;
    font-size: 2.5rem;
    margin-top: 0.5rem;
    color: #1e40af;
    text-shadow: 0 0 30px rgba(30, 64, 175, 0.3);
}

.hero .lead {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tech circuit lines */
.tech-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tech-circuit::before,
.tech-circuit::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    animation: circuitPulse 4s ease-in-out infinite;
}

.tech-circuit::before {
    top: 20%;
    left: 10%;
    width: 1px;
    height: 100px;
    transform: rotate(45deg);
}

.tech-circuit::after {
    bottom: 30%;
    right: 15%;
    width: 1px;
    height: 150px;
    transform: rotate(-45deg);
}

/* Cursor-style button */
.cursor-style-btn {
    background: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: none;
    letter-spacing: 0.3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Glowing effect from left to right */
.cursor-style-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 1;
}

.cursor-style-btn:hover::before {
    left: 100%;
}

.cursor-style-btn:hover {
    background: #000 !important;
    border-color: #fff !important;
    box-shadow: 0 0 0 1px #fff, 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.cursor-style-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 0 1px #fff, 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Logo styling */
.btn-logo {
    width: 20px;
    height: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
}

.cursor-style-btn:hover .btn-logo {
    transform: rotate(360deg);
}

/* Button text */
.btn-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

/* Modern Join Our Team Button */
.join-team-btn {
  background: #f8f9fa !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 0.5px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  backdrop-filter: none;
}
.join-team-btn::before,
.join-team-btn::after {
  display: none !important;
  content: none !important;
}
.join-team-btn:hover {
  background: #e9ecef !important;
  color: #000000 !important;
    border-color: #000000 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.join-team-btn:active {
  transform: translateY(0.5px) scale(0.99);
  box-shadow: none;
}
.join-team-btn i {
    font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    color: inherit;
}
.join-team-btn:hover i {
  transform: translateX(4px) scale(1.08);
    color: #000000;
}
.join-team-btn .btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    color: inherit;
}

/* Glowing orb effect */
.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    animation: orbFloat 8s ease-in-out infinite;
    z-index: 1;
}

.glow-orb:nth-child(1) {
    top: 20%;
    left: 10%;
}

.glow-orb:nth-child(2) {
    bottom: 20%;
    right: 10%;
}

/* Animations */
@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(100, 255, 218, 0.6);
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.1;
        height: 100px;
    }
    50% {
        opacity: 0.3;
        height: 150px;
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h1 span {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .cursor-style-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .join-team-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 12px;
        border-radius: 10px;
    }
    
    .btn-logo {
        width: 18px;
        height: 18px;
    }
    
    .join-team-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cursor-style-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .join-team-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
        gap: 10px;
        border-radius: 8px;
    }
    
    .btn-logo {
        width: 16px;
        height: 16px;
    }
    
    .join-team-btn i {
        font-size: 1rem;
    }
    #typewriter-text {
      font-size: 1.1rem !important;
    }
}

/* Render-style Hero Section (large, white grid, pure black bg, no glow) */
.custom-hero-section {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-boxes-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 3;
    position: relative;
}
.hero-title-box, .hero-subheading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000 !important;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
.hero-title-box {
    width: 480px;
    height: 240px;
}
.hero-title {
    color: #fff !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 24px !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    text-shadow: none !important;
}
.hero-title span {
    color: #4facfe !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    text-shadow: none !important;
}
.hero-title-box .hero-below-btn {
    display: block;
    margin: 40px auto 0 auto;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 2px 16px #4facfe33;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-title-box .hero-below-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #4facfe, #00f2fe, #4facfe);
    background-size: 300% 100%;
    animation: gradientBorder 3s linear infinite;
    border-radius: 14px;
    z-index: -2;
}
.hero-title-box .hero-below-btn::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #101014;
    border-radius: 11px;
    z-index: -1;
    transition: background 0.2s;
}
.hero-title-box .hero-below-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 32px #4facfe55;
}
.hero-title-box .hero-below-btn:hover::after {
    background: #18181c;
}
.hero-title-box .hero-below-btn:hover::before {
    animation: gradientBorder 1.5s linear infinite;
    filter: brightness(1.2);
}
@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.hero-subheading-box {
    width: 360px;
    height: 120px;
}
.hero-subheading {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 18px !important;
    text-shadow: none !important;
}
#hero-anim-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: block;
}
.hero-grid-bg {
    z-index: 2;
    pointer-events: none;
}
@media (max-width: 900px) {
    .hero-boxes-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        height: auto;
    }
    .hero-title-box {
        width: 90vw;
        max-width: 320px;
        height: 100px;
    }
    .hero-subheading-box {
        width: 80vw;
        max-width: 220px;
        height: 60px;
    }
    .hero-title-box .hero-below-btn {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
        margin: 24px auto 0 auto;
    }
    .hero-title, .hero-title span {
        font-size: 1.1rem !important;
    }
    .hero-subheading {
        font-size: 0.8rem !important;
    }
}
@media (max-width: 600px) {
    .hero-title-box {
        width: 98vw;
        max-width: 180px;
        height: 60px;
    }
    .hero-subheading-box {
        width: 96vw;
        max-width: 120px;
        height: 36px;
    }
    .hero-title-box .hero-below-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin: 16px auto 0 auto;
    }
    .hero-title, .hero-title span {
        font-size: 0.7rem !important;
    }
    .hero-subheading {
        font-size: 0.5rem !important;
    }
}

/* Grid-aligned hero section and boxes */
.hero-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 1.5px, transparent 1.5px 120px),
                repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 1.5px, transparent 1.5px 120px),
                #000;
    opacity: 1;
    z-index: 2;
    pointer-events: none;
    /* No animation for static grid */
}
.hero-main-box {
    position: relative;
    z-index: 2;
    background: rgba(24, 24, 28, 0.82);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.08);
    padding: 36px 28px 28px 28px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* No animation */
}
.hero-icon {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
    filter: none;
    /* No animation */
}
@media (max-width: 900px) {
    .hero-main-box {
        padding: 24px 8px 16px 8px;
        max-width: 98vw;
    }
}
@media (max-width: 600px) {
    .hero-main-box {
        padding: 12px 2vw 10px 2vw;
        max-width: 99vw;
    }
} 
#typewriter-text::after {
  content: '|';
  color: #fff;
  font-weight: 700;
  margin-left: 2px;
  animation: blink-cursor 0.8s steps(1) infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
} 