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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: #111827;
}

/* Navigation Bar */
.navbar {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-container {
  width: 100%;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-logo-img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
}

.navbar-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.navbar-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-link:hover {
  color: #9333ea;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-outline {
  background-color: white;
  color: #9333ea;
  border: 2px solid #9333ea;
}

.btn-outline:hover {
  background-color: #f3e8ff;
}

.btn-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.mobile-menu-toggle {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mobile-menu-toggle:hover {
  background-color: #f3f4f6;
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #374151;
}

/* Mobile Menu */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 40;
}

.mobile-menu-backdrop.active {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-menu-link:hover {
  color: #9333ea;
  background-color: #f9fafb;
}

/* Hero Section */
.hero-section {
  padding: 4rem 1rem;
  background-color: #FDF2F8;
  text-align: center;
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.hero-gradient-text {
  background: linear-gradient(to right, #9333ea, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.375;
}

.hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  line-height: 1.75;
}

/* Browse Styles Section */
.browse-section {
  padding: 3.5rem 1rem;
  background: linear-gradient(to bottom right, #fce7f3, #e9d5ff);
}

.browse-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}


.browse-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  text-align: center;
}

.browse-description {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2.3rem;
  text-align: left;
}

.section-description {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary-large {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
}

.btn-primary-large:hover {
  opacity: 0.9;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: white;
  color: #9333ea;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* Features Section */
.features-section {
  padding: 2.5rem 0 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.features-container {
  max-width: 85%;
  margin: 1rem auto 0;
}

.role-container {
  max-width: 85%;
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.section-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}


.role-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
}

.role-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 4rem;
  height: 2px;
  background: linear-gradient(to right, #9333ea, #db2777);
}

.title-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #f59e0b, #ef4444);
  border-radius: 0.75rem;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.title-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2.3rem;
  text-align: left;
  margin-bottom: 0;
}

.role-content {
  flex: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.features-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card-purple {
  background: linear-gradient(to bottom right, #f3e8ff, #e9d5ff);
}

.feature-card-orange {
  background: linear-gradient(to bottom right, #ffedd5, #fed7aa);
}

.feature-card-green {
  background: linear-gradient(to bottom right, #dcfce7, #bbf7d0);
}

.feature-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: white;
  margin-bottom: 1.8rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.icon-purple {
  background: linear-gradient(to bottom right, #c084fc, #a855f7);
}

.icon-orange {
  background: linear-gradient(to bottom right, #fbbf24, #f97316);
}

.icon-green {
  background: linear-gradient(to bottom right, #4ade80, #22c55e);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: #4b5563;
  line-height: 1.75;
}

/* Steps List Layout */
.steps-list {
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 66rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-center;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(to bottom right, #9333ea, #db2777);
  border-radius: 50%;
}

.step-content {
  flex: 1;
  padding-top: 0.25rem;
  max-width: 60rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.step-description {
  color: #4b5563;
  line-height: 1.75;
}

/* CTA Section */
.cta-section {
  margin-top: 5rem;
  padding: 4rem 1rem;
  background: linear-gradient(to bottom right, #9333ea, #db2777);
}

.cta-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #e9d5ff;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 1.25rem 0;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

/* Utility Classes */
.hidden {
  display: none;
}

.icon {
  width: 2rem;
  height: 2rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .navbar-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .navbar-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .navbar-menu {
    gap: 2.5rem;
  }

  .hero-section {
    padding: 5rem 1rem;
  }

  .browse-section {
    padding: 4rem 1rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ Styles */
.faq-container {
  margin: 0 auto;
}

.faq-section {
  margin-bottom: 3rem;
}

.faq-section:last-child {
  margin-bottom: 0;
}

.faq-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
}

.faq-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 4rem;
  height: 2px;
  background: linear-gradient(to right, #9333ea, #db2777);
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #9333ea;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f9fafb;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #4b5563;
  line-height: 1.75;
}

/* Responsive Design for FAQ */
@media (min-width: 768px) {
  .faq-question {
    font-size: 1.25rem;
    padding: 1.75rem 2rem;
  }

  .faq-answer p {
    padding: 0 2rem 1.75rem;
  }
}

/* Responsive Design for Role Layout */
@media (max-width: 767px) {
  .role-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin: 0 1rem;
  }

  .section-title-container {
    margin-bottom: 1.5rem;
  }

  .title-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .title-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .section-title {
    text-align: center;
    margin-bottom: 0;
  }


  .steps-list {
    margin-left: 0;
    max-width: 100%;
  }
}

/* Recent Generated Images Section */
.recent-images-section {
  padding: 3.5rem 1rem;
  background: linear-gradient(to bottom right, #f3e8ff, #fce7f3);
}

.recent-images-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.recent-images-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.recent-images-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.recent-images-description {
  font-size: 1.125rem;
  color: #4b5563;
}

.recent-images-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.image-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.image-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.image-card:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 50%, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.image-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
}

.image-style-name {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-images-cta {
  display: flex;
  justify-content: center;
}

.hidden-mobile {
  display: none;
}

/* Responsive Design for Recent Images */
@media (min-width: 768px) {
  .recent-images-title {
    font-size: 1.875rem;
  }

  .recent-images-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .hidden-mobile {
    display: block;
  }
}

@media (min-width: 1024px) {
  .recent-images-section {
    padding: 4rem 1.5rem;
  }
}