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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Header */
header {
  background: rgb(56, 50, 117);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 5%;
  background: rgba(56, 50, 117, 0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

.logo span {
  color: rgb(194, 123, 255);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: rgb(194, 123, 255);
}

.cta-button {
  background: rgb(194, 123, 255);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid rgb(194, 123, 255);
}

.cta-button:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(194, 123, 255, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    rgb(56, 50, 117) 0%,
    rgb(80, 70, 150) 100%
  );
  padding: 150px 5% 100px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(194, 123, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text h1 span {
  color: rgb(194, 123, 255);
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.primary-btn {
  background: rgb(194, 123, 255);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(194, 123, 255, 0.4);
}

.secondary-btn {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border: 2px solid white;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.secondary-btn:hover {
  background: white;
  color: rgb(56, 50, 117);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Features Section */
.features {
  padding: 100px 5%;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: rgb(56, 50, 117);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgb(194, 123, 255);
  box-shadow: 0 15px 40px rgba(194, 123, 255, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgb(194, 123, 255),
    rgb(56, 50, 117)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: rgb(56, 50, 117);
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgb(56, 50, 117), rgb(80, 70, 150));
  padding: 80px 5%;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background: rgb(56, 50, 117);
  color: white;
  padding: 3rem 5%;
  text-align: center;
}

footer p {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

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

/* Ripple animation for buttons */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

