/* Roobo Pro - Neon Horizon Design System */
:root {
  --primary: #00d4ff;
  --primary-glow: rgba(0, 212, 255, 0.4);
  --secondary: #7c3aed;
  --secondary-glow: rgba(124, 58, 237, 0.4);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.3);
  --neon-green: #22d3ee;
  --dark-bg: #06080d;
  --dark-surface: #0c1017;
  --card-bg: rgba(12, 16, 23, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #f0f4f8;
  --text-muted: #7a8ba7;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.7;
}

/* --- Animated Background --- */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  animation: bg-shift 25s ease-in-out infinite alternate;
}

@keyframes bg-shift {
  0% {
    filter: blur(80px);
    transform: scale(1) translate(0, 0);
  }

  50% {
    filter: blur(90px);
    transform: scale(1.05) translate(15px, -15px);
  }

  100% {
    filter: blur(80px);
    transform: scale(1) translate(-10px, 10px);
  }
}

/* --- Navigation --- */
.navbar {
  background: rgba(6, 8, 13, 0.6) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: all 0.4s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.95) !important;
  padding: 0.7rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  -webkit-text-fill-color: unset;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--primary-glow);
  transition: transform 0.4s ease;
}

.logo-icon:hover {
  transform: rotate(90deg);
}

.logo-icon::after {
  content: 'R';
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0 0.8rem;
  transition: color 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.35s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* --- Premium Buttons --- */
.btn-premium {
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.25);
}

.btn-primary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 212, 255, 0.4);
  color: white;
}

.btn-outline-premium {
  border: 1.5px solid rgba(0, 212, 255, 0.3);
  color: var(--primary);
  background: transparent;
}

.btn-outline-premium:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: var(--primary);
}

/* --- Floating Elements --- */
.hero-visual {
  position: relative;
}

.floating-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.floating-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 20px var(--primary-glow);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* --- Services Section --- */
.services-section {
  padding: 120px 0;
  position: relative;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  position: relative;
  padding-left: 32px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 3.5rem;
  line-height: 1.15;
}

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(12, 16, 23, 0.95);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 72px;
  height: 72px;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.8rem;
  transition: all 0.35s ease;
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: scale(1.08);
  box-shadow: 0 8px 24px var(--primary-glow);
}

/* --- About / Impact Section --- */
.about-section {
  padding: 120px 0;
  position: relative;
}

.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.about-section .text-primary {
  color: var(--primary) !important;
}

.about-section li {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-section li i {
  color: var(--primary) !important;
  font-size: 1.1rem;
}

.stat-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.06);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* --- Footer --- */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 6, 10, 0.9);
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--primary);
}

.footer-email {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--neon-green);
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* --- Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .glass-panel {
    padding: 2.5rem;
  }

  .services-section,
  .about-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem !important;
  }

  .glass-panel {
    padding: 2rem;
    border-radius: var(--radius-lg);
  }

  .stat-item {
    margin-bottom: 1rem;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }
}