:root {
  --primary: #3b82f6;
  --dark: #111827;
  --light: #f9fafb;
  --gray: #6b7280;
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  height: 2px;
  background: var(--primary);
  width: 0;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: 0.3s ease;
}

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

.btn {
  position: relative;
  background: transparent;
  color: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  z-index: -1;
  transition: width 0.4s ease;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  color: white;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-text {
  flex: 1 1 500px;
  padding-right: 40px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-img {
  flex: 1 1 400px;
}

.hero-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 40px 30px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col li i {
  margin-right: 10px;
  color: var(--primary);
}

.socials i {
  background: #1f2937;
  padding: 10px;
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: 0.3s;
}

.socials i:hover {
  background: var(--primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
}

.footer-col ul li {
  color: #adafb4;
}



/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 var(--radius) var(--radius);
  animation: dropdownFade 0.3s ease forwards;
  z-index: 1000;
}

.mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .btn {
  margin-top: 10px;
  width: 100%;
}

/* Animation */
@keyframes dropdownFade {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media(max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 60px 20px;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-grid {
    flex-direction: column;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }
}
