/* Base Styles */
:root {
  --primary-color: #a003ee;
  --primary-light: #ecccfb;
  --primary-dark: #40015f;
  --secondary-color: #f8f0ff;
  --text-color: #333;
  --text-light: #666;
  --white: #fff;
  --gray-light: #f5f5f5;
  --gray: #ddd;
  --border-radius: 25px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--primary-light);
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.navbar-logo {
  flex: 0 0 auto;
}

.navbar-logo img {
  height: 80px;
  width: auto;
  display: block;
}

/* Menu */
.navbar-menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.navbar-links {
  display: flex;
  gap: 2rem;
}

.navbar-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

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

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Auth buttons */
.navbar-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

h2 {
  font-size: 2rem;
  color: var(--primary-dark);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block; /* Removes inline spacing issues */
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

button {
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  transition: var(--transition);
}

.btn {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: var(--gray-light);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  padding: 10px 0;
}

.btn-text:hover {
  color: var(--primary-dark);
}

section {
  padding: 80px 0;
}

/* Navigation */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

/* Hero Section */
.hero {
  background-color: var(--secondary-color);
  padding: 60px 0;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-image {
  position: relative;
  display: inline-block; /* Ensures the container wraps tightly around the image */
  border-radius: var(--border-radius);
  overflow: visible; /* Allows the shadow to extend beyond the container */
  box-shadow: var(--shadow); /* Apply shadow here */
}

.hero-image img {
  display: block; /* Removes any default inline spacing */
  width: 100%;
  height: auto;
  border-radius: var(
    --border-radius
  ); /* Matches the container's border-radius */
}

/* Features Section */
.features {
  background-color: var(--white);
}

.features .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-intro {
  flex: 1;
}

.subtitle {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  margin: 30px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-icon.purple {
  background-color: var(--primary-color);
}

.feature-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.feature-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Benefits Section */
.benefits {
  background-color: #fde5f2;
  text-align: center;
}

.benefits h2 {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #480026;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 0px;
}

.learn-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  color: #c10165;
}

.learn-more:hover {
  color: #480026;
}

/* Welcome Section */
.welcome {
  background-color: var(--white);
}

.welcome .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.welcome-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.welcome-content {
  flex: 1;
}

.welcome-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 20px;
}

.welcome-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Unlock Section */
.unlock {
  background-color: var(--secondary-color);
}

.unlock .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.unlock-content {
  flex: 1;
}

.unlock-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 10px;
}

.testimonials > p {
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: left;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.quote {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--gray);
  margin-right: 15px;
}

.author-name {
  font-weight: 600;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-light);
}

.verified {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* CTA Section */
.cta {
  background-color: var(--primary-dark);
  color: var(--white);
}

.cta .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-content {
  flex: 1;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.cta .btn-primary {
  background-color: var(--white);
  color: var(--primary-dark);
}

.cta .btn-primary:hover {
  background-color: var(--gray-light);
}

.cta .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-dark);
}

.cta-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* Footer */
footer {
  background-color: #40015f; /* Darker purple from the image */
  color: var(--white);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 40px;
  text-align: center; /* Ensures the image is centered */
}

.footer-logo img {
  height: 150px; /* Adjust the height as needed */
  width: auto; /* Maintain aspect ratio */
  display: block; /* Removes inline spacing issues */
  margin: 0 auto; /* Centers the image horizontally */
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-nav a {
  color: var(--white);
  font-weight: 500;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--white);
}

/* Responsive Styles for Footer */
@media (max-width: 768px) {
  .cta .container {
    flex-direction: column;
    padding: 30px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    justify-content: center;
  }
}
