/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #0d1b3d;
  color: #fff;
  overflow-x: hidden;
}

/* ====== TOP BAR ====== */
.top-bar {
  background-color: #ffcc00;
  color: #111;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  animation: slideDown 0.8s ease-in-out;
}

/* ====== HEADER ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: rgba(10, 10, 40, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.logo .highlight {
  color: #ffd700;
}
.logo-img {
  width: 60px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
}
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ffd700;
}
.trial-btn {
  background: #ffd700;
  color: #111;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}
.trial-btn:hover {
  transform: scale(1.05);
  background: #ffde4d;
}

/* ====== HERO ====== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  background: linear-gradient(120deg, #182848, #4b6cb7);
}
.hero-text {
  flex: 1;
  padding-right: 40px;
  min-width: 280px;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeIn 1.2s ease-in-out;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: slideIn 1.2s ease-in-out;
}
.main-btn {
  background-color: #ffcc00;
  color: #111;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.main-btn:hover {
  transform: scale(1.1);
  background: #ffe066;
}

/* Button Pulse Animation */
.pulse {
  animation: pulse 2s infinite;
}

.hero-image img {
  width: 400px;
  border-radius: 10px;
  transition: transform 0.5s ease;
}
.hero-image img:hover {
  transform: scale(1.05);
}

/* ====== COMPONENTS ====== */
.components {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px 20px;
  background-color: #102050;
}
.component {
  background: #1a2b60;
  margin: 10px;
  padding: 25px;
  border-radius: 10px;
  flex: 1 1 200px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.component:hover {
  transform: translateY(-8px);
  background: #223b80;
}

/* ====== BUNDLES ====== */
.bundles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #0a1535;
  padding: 60px 20px;
}
.bundle {
  background: #14285c;
  margin: 15px;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.bundle:hover {
  transform: translateY(-10px);
  background: #1c3b80;
}
.bundle button {
  margin-top: 15px;
  background-color: #ffd700;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.bundle button:hover {
  transform: scale(1.05);
  background: #ffe066;
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  background-color: #08122b;
  padding: 20px;
  color: #aaa;
  font-size: 0.9rem;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    padding: 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text {
    padding: 0;
  }

  .hero-image img {
    width: 90%;
    margin-top: 20px;
  }

  .components,
  .bundles {
    flex-direction: column;
    align-items: center;
  }

  .bundle,
  .component {
    width: 90%;
    margin: 10px 0;
  }
}
