/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #7445FF;
  color: white;
  font-size: 16px;
}

/* Container for layout */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header Styles */
header {
  background: transparent;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 30px;
}

/* Nav Styles */
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.user-icon {
  height: 28px;
  margin-left: 10px;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  flex-wrap: nowrap;
  padding: 100px 0;
  min-height: 100vh;
  text-align: left;
  box-sizing: border-box;
}

.text-content {
  max-width: 800px;
  text-align: left;
  padding: 0 1rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5em 1.5em;
  font-size: clamp(0.55rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.8px;
  color: white;
  text-transform: uppercase;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: inline-block;
  transition: background 0.3s ease;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1.2;
  margin-bottom: 30px;
}

h1 span {
  font-weight: bold;
}

.cta-button {
  background-color: #ffcc00;
  color: black;
  padding: 16px 32px;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: bold;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.hero-illustration img {
  width: clamp(400px, 50vw, 900px);
  height: auto;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Section Titles */
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-top: 4rem;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 80px 0;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text {
  flex: 1 1 500px;
  max-width: 700px;
}

.about-text h2 {
  text-align: left;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: white;
  text-align: left;
}

/* Testimonials Section */
.testimonials-section {
  background: #7445FF;
  padding: 40px 0 60px;
  border-radius: 12px;
  margin-top: 2rem;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 2.5rem 1.5rem 2rem;
  max-width: 320px;
  min-height: 400px;
  color: white;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffcc00;
  margin-bottom: 1.2rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.testimonial-card span {
  font-weight: 700;
  font-size: 1rem;
  color: #ffcc00;
  display: block;
  margin-top: auto;
}

@media (min-width: 769px) {
  .close-menu {
    display: none !important;
  }
}

.roadmap-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.roadmap-section h2 {
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.roadmap-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.roadmap-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  width: 320px;
  height: 320px;
  padding: 1.5rem;
  color: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.3);
}

.roadmap-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 2;
}

.roadmap-card a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  z-index: 2;
}

.roadmap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Fullscreen Nav Menu */
  nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #2b1d64;
    position: fixed;
    top: 0;
    right: 0;       /* changed from left: 0 */
    width: 100vw;
    height: 100vh;
    padding: 60px 20px;
    z-index: 2000;
    text-align: center;

    /* Start off-screen to the right */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    /* Keep it visible for transition, but hidden by transform */
    pointer-events: none; /* disable interaction when closed */
    opacity: 0;           /* optional, for fade effect */
  }

  nav.open {
    transform: translateX(0);
    pointer-events: auto; /* enable interaction when open */
    opacity: 1;           /* optional */
  }

  nav.open .close-menu {
    display: block;
  }

  nav a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    text-decoration: none;
  }

  /* Hide user icon */
  .user-icon {
    display: none;
  }

  /* Close (X) icon for mobile menu */
  .close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 18px;
  }

  h1 {
    font-size: 32px;
  }

  .tag {
    font-size: 10px;
    padding: 6px 16px;
  }

  .hero {
    flex-direction: column;
    padding: 40px 0;
    text-align: center;
  }

  .text-content {
    text-align: center;
  }

  .hero-illustration img {
    max-width: 100%;
  }

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

  .about-text h2,
  .about-text p {
    text-align: center;
  }

  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .roadmap-title-bg {
    font-size: 3.5rem;
    top: 30px;
  }

  .roadmap-card {
    width: 90%;
    height: 300px;
  }
}
