:root {
  --primary: #00bfa5; /* teal accent */
  --secondary: #e0e0e0; /* light gray text */
  --accent: #ffab40; /* orange accent */
  --dark: #121212; /* dark background */
  --card: #1e1e1e; /* card background */
  --shadow: 0 10px 24px rgba(0, 191, 165, 0.15);
}
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: linear-gradient(120deg, #121212 20%, #000000 100%);
  min-height: 100vh;
  margin: 0;
  color: var(--secondary);
  overflow-x: hidden;

  /* Flexbox layout to push footer down */
  display: flex;
  flex-direction: column;
}

/* Make section grow to fill space */
section {
  flex: 1;
}

.navbar {
  padding: 1rem 2rem;
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 99;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
}
.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.bar {
  width: 25px;
  height: 4px;
  background: var(--primary);
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    background: #121212;
    width: 200px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 65vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 0 1rem;
  background: linear-gradient(
      100deg,
      rgba(0, 191, 165, 0.22) 45%,
      rgba(255, 171, 64, 0.15)
    ),
    url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?fit=crop&w=1200&q=80")
      center/cover;
  animation: fade-in 1.6s both;
}
.hero-text {
  flex: 1 1 320px;
  max-width: 510px;
  padding: 1.5rem 2rem;
  animation: move-up 1s 0.1s both;
  border-radius: 20px;
  background: rgba(30, 30, 30, 0.82);
  box-shadow: var(--shadow);
  margin: 1rem;
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5em;
  letter-spacing: -1.5px;
}
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--secondary);
}
.hero-cta {
  margin-top: 2rem;
  font-size: 1.15rem;
  padding: 0.75em 2em;
  border: none;
  background: linear-gradient(95deg, var(--primary), var(--accent));
  color: #121212;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 191, 165, 0.55);
  transition: transform 0.15s;
  animation: bounce 0.85s 1.2s both;
}
.hero-cta:hover {
  transform: scale(1.06);
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes move-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  70% {
    transform: translateY(-8px);
  }
  100% {
    transform: none;
  }
}

/* Packages */
.packages-section {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: #121212;
}
.section-title {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}
.packages-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.package-card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 320px;
  padding: 2rem 1.8rem 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s;
  opacity: 0;
  transform: translateY(40px);
  animation: cardIn 0.65s cubic-bezier(0.6, -0.28, 0.73, 0.97) forwards;
  color: var(--secondary);
}
.package-card:hover {
  transform: translateY(-4px) scale(1.031);
}
.package-card:nth-child(1) {
  animation-delay: 0.1s;
}
.package-card:nth-child(2) {
  animation-delay: 0.25s;
}
.package-card:nth-child(3) {
  animation-delay: 0.4s;
}
.package-badge {
  background: linear-gradient(95deg, var(--primary), var(--accent));
  color: var(--dark);
  font-weight: 700;
  padding: 0.4em 1.2em;
  font-size: 0.89rem;
  border-radius: 28px;
  position: absolute;
  top: 16px;
  right: 16px;
  box-shadow: 0 4px 8px rgba(0, 191, 165, 0.3);
  letter-spacing: 1px;
}
.package-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.7rem;
  letter-spacing: -1px;
}
.package-price {
  font-size: 2.2rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 1.1rem 0 0.5rem 0;
}
.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1.2rem;
  text-align: left;
  font-size: 1.01rem;
  line-height: 1.7;
  color: var(--secondary);
}
.package-features li:before {
  content: "✔";
  color: var(--primary);
  margin-right: 0.4em;
  font-weight: 600;
}
.package-card.pro {
  border: 2.5px solid var(--primary);
}
.package-card.pro .package-badge {
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Contact */
.contact-section {
  background: linear-gradient(95deg, #121212, #000000 70%);
  padding: 3rem 1rem;
  text-align: center;
  animation: fade-in 1.2s both;
}
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 450px;
  margin: 2rem auto 0;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0.2px solid #333;
  background: #222222;
  border-radius: 10px;
  padding: 1em;
  font-size: 1rem;
  font-family: inherit;
  color: var(--secondary);
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}
.contact-form button {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  color: #121212;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.7em 2em;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 191, 165, 0.6);
  transition: transform 0.16s;
}
.contact-form button:hover {
  transform: scale(1.03);
}
.footer {
  background: var(--dark);
  color: #808080;
  text-align: center;
  padding: 1.1rem 0;
  font-size: 0.96rem;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
@media (max-width: 1000px) {
  .packages-list {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    min-height: unset;
  }
  .hero-text {
    padding: 1.3rem;
  }
  .packages-list {
    gap: 1.2rem;
  }
  .package-card {
    width: 97%;
    max-width: 340px;
  }
  .navbar {
    padding: 1rem 0.8rem;
  }
}

/* Animations */
@keyframes cardIn {
  to {
    opacity: 1;
    transform: none;
  }
}
