:root {
  --primary-color: #00ff41;
  --primary-dark: #00cc33;
  --primary-light: #33ff66;
  --accent-color: #00ff41;
  --bg-black: #000000;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --card-bg: rgba(0, 255, 65, 0.05);
  --card-hover: rgba(0, 255, 65, 0.15);
  --gradient-1: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
  --gradient-2: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.9);
  --glow: 0 0 20px rgba(0, 255, 65, 0.5);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-black);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.navbar {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(0, 255, 65, 0.2);
  padding: 1rem 0;
  box-shadow: 0 2px 30px rgba(0, 255, 65, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

.navbar-brand img {
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(10deg) scale(1.1);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}

.nav-link:hover {
  color: var(--accent-color) !important;
  background: rgba(0, 255, 65, 0.1);
}

.nav-link:hover::after {
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link:not(:hover)::after {
  left: 50%;
  transform: translateX(-50%);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  background: var(--gradient-2);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../assets/img/medival.png") center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-logo {
  margin-bottom: 2rem;
}

.logo-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.4), var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid rgba(0, 255, 65, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.logo-image:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 60px rgba(0, 255, 65, 0.6), var(--shadow-lg);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient-1);
  border: none;
  color: var(--bg-black);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-btn::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;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 255, 65, 0.5);
  filter: brightness(1.2);
}

.stats-section {
  padding: 6rem 2rem;
  background: var(--bg-dark);
  border-top: 2px solid rgba(0, 255, 65, 0.2);
  border-bottom: 2px solid rgba(0, 255, 65, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card-bg);
  border: 2px solid rgba(0, 255, 65, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  transition: left 0.5s;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.3), var(--glow);
  background: var(--card-hover);
}

.stat-icon {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features-section {
  padding: 6rem 2rem;
  background: var(--bg-black);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 2px solid rgba(0, 255, 65, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.3), var(--glow);
  background: var(--card-hover);
}


.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

.cta-section {
  padding: 6rem 2rem;
  background: var(--gradient-2);
  border-top: 2px solid rgba(0, 255, 65, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.cta-btn {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient-1);
  border: none;
  color: var(--bg-black);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-btn::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;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 255, 65, 0.5);
  filter: brightness(1.2);
}

.page-footer {
  background: #000000 !important;
  border: none !important;
  border-top: none !important;
  padding: 0.5rem 0 !important;
  margin-top: 4rem !important;
}

.footer-copyright {
  text-align: center !important;
  color: #888888 !important;
  font-size: 0.9rem !important;
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0.75rem 0 !important;
  border: none !important;
}

.footer-copyright p {
  color: #888888 !important;
  margin: 0 !important;
  padding: 0.5rem 0 !important;
  font-size: 0.9rem !important;
  background: transparent !important;
  background-color: transparent !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.4), var(--shadow-lg);
  }
  50% {
    box-shadow: 0 0 60px rgba(0, 255, 65, 0.6), var(--shadow-lg);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .stats-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}
