/* ========== ROOT & VARIABLES ========== */
:root {
  --primary-color: #b4ff39;
  --primary-dark: #9ae622;
  --secondary-color: #7c3aed;
  --accent-color: #b4ff39;
  --text-dark: #0a0a0a;
  --text-light: #666666;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #0a0a0a;
  --border-color: #2a2a2a;
  --neon-green: #b4ff39;
  --neon-purple: #9333ea;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-neon: 0 0 20px rgba(180, 255, 57, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #ffffff;
  background-color: #0a0a0a;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

*::selection {
  background-color: rgba(180, 255, 57, 0.3);
  color: #ffffff;
}

*::-moz-selection {
  background-color: rgba(180, 255, 57, 0.3);
  color: #ffffff;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(180, 255, 57, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ========== HEADER & NAVIGATION ========== */
.header-main {
  background: #0a0a0a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.5rem;
  background: transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  border-color: rgba(180, 255, 57, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.4em;
  height: 1.4em;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(180, 255, 57, 0.15);
  border-color: rgba(180, 255, 57, 0.6);
  outline: none;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23b4ff39' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.logo-image {
  height: 100px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  transition: var(--transition);
  transform: scale(2);
}

.logo:hover .logo-image {
  transform: scale(2.1);
}

.logo-text {
  color: var(--text-dark);
}

.logo-accent {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.btn-quote {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white !important;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600;
}

.btn-quote::after {
  display: none;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========== HERO SECTION ========== */
.hero-section {
  padding: 100px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.gradient-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(10px);
  opacity: 0.5;
}

.highlight-text {
  color: var(--neon-green);
  font-weight: 800;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px rgba(180, 255, 57, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--neon-green);
  color: var(--bg-dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(180, 255, 57, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(180, 255, 57, 0.6);
  color: var(--bg-dark);
}

.btn-outline-custom {
  border: 2px solid var(--neon-purple);
  color: var(--neon-purple);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  background: rgba(147, 51, 234, 0.05);
}

.btn-outline-custom:hover {
  background: var(--neon-purple);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

/* ========== HERO ILLUSTRATION ========== */
.hero-illustration {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  width: 200px;
  height: 200px;
  top: 50px;
  left: 50px;
  animation-delay: 0s;
}

.card-2 {
  width: 150px;
  height: 150px;
  top: 200px;
  right: 100px;
  animation-delay: 1s;
  opacity: 0.8;
}

.card-3 {
  width: 180px;
  height: 180px;
  bottom: 50px;
  left: 150px;
  animation-delay: 2s;
  opacity: 0.6;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.btn-light-custom {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.btn-light-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--primary-dark);
}

/* ========== STATS SECTION ========== */
.stats-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-number::after {
  content: '+';
  margin-left: 0.25rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer-main {
  background: var(--text-dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-main h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.btn-footer-quote {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-footer-quote:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* ========== ANIMATIONS ========== */
.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

.animate-slide-in {
  animation: slideIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .hero-illustration {
    display: none;
  }
}

@media (max-width: 768px) {
  .logo-image {
    transform: scale(2);
    height: 100px;
  }
  
  .logo:hover .logo-image {
    transform: scale(2.1);
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons a {
    text-align: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.65rem;
    line-height: 1.3;
  }
  
  .section-description {
    font-size: 14px;
  }
  
  .navbar-nav {
    background: rgba(10, 10, 10, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid rgba(180, 255, 57, 0.2);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 576px) {
  .logo-image {
    transform: scale(2);
    height: 100px;
  }
  
  .logo:hover .logo-image {
    transform: scale(2.1);
  }
  
  .hero-title {
    font-size: 1.65rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-buttons a {
    padding: 0.85rem 1.2rem;
    font-size: 13px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .hero-section {
    padding: 50px 0;
  }
}