/* ============================================
   HIRIFY - Global Styles
   Dark Neon Glassmorphism UI
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --black: #0B0B0B;
  --dark: #111111;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --blue: #2563EB;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --orange: #F97316;
  --orange-light: #fb923c;
  --orange-dark: #ea580c;
  --white: #ffffff;
  --gray: #9ca3af;
  --gray-2: #6b7280;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --neon-blue: 0 0 20px rgba(37, 99, 235, 0.6);
  --neon-orange: 0 0 20px rgba(249, 115, 22, 0.6);
  --neon-blue-strong: 0 0 40px rgba(37, 99, 235, 0.8);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  mix-blend-mode: normal;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.8);
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: all 0.15s ease;
  background: transparent;
}

.cursor.hover {
  transform: scale(2.5);
  background: var(--orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
}

.cursor-follower.hover {
  transform: scale(1.5);
  border-color: var(--orange);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-light);
}

/* Selection */
::selection {
  background: var(--blue);
  color: white;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.5));
  transition: 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.8));
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: white;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  box-shadow: var(--neon-blue);
  transition: var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--neon-blue-strong) !important;
  color: white !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 11, 11, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  font-family: 'Space Grotesk', sans-serif;
}

.nav-mobile a:hover {
  color: var(--white);
}

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
  background: none;
  border: none;
}

.nav-mobile-close:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: var(--neon-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-blue-strong);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--blue);
  box-shadow: var(--neon-blue);
  transform: translateY(-3px);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  box-shadow: var(--neon-orange);
}

.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.8);
}

/* Ripple Effect */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.section-title span {
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   GLASS CARDS
   ============================================ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: var(--neon-blue);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover {
  color: var(--blue-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-2);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--gray-2);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ============================================
   PAGE HERO (Reusable)
   ============================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.15), transparent);
  pointer-events: none;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-hero h1 span {
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
.bg-dots {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.bg-grid {
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.orb-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent);
}

.orb-orange {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.4), transparent);
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-light);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-orange {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange-light);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================
   AOS ANIMATION OVERRIDES
   ============================================ */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  .section { padding: 70px 0; }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 50px 0; }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--dark-3);
  border-radius: 3px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 3px;
  animation: loading 1.5s ease forwards;
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ============================================
   GLOW TEXT
   ============================================ */
.glow-blue {
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.glow-orange {
  text-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
}

/* Icon glow on hover */
.icon-glow {
  transition: var(--transition);
}

.icon-glow:hover {
  filter: drop-shadow(0 0 12px var(--blue));
  transform: scale(1.1);
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ============================================
   GRADIENT BACKGROUNDS
   ============================================ */
.bg-gradient-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
}

.bg-gradient-section {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 50%, var(--black) 100%);
}

/* ============================================
   TILT CARDS
   ============================================ */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.1s ease;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.3);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
