/*
   AINudeGeneratorSG.site
   Main Stylesheet - Singapore Site
*/

:root {
  --primary: #7B2CBF;
  --primary-light: #9D4EDD;
  --primary-dark: #5A189A;
  --secondary: #F3E7FF;
  --dark: #2B2D42;
  --light: #F9F7FD;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --shadow: 0 5px 20px rgba(123, 44, 191, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --container-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background-color: var(--secondary);
  z-index: -1;
  transform: rotate(-1deg);
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(123, 44, 191, 0.4);
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1rem;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5em;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo img {
  height: 40px;
  vertical-align: middle;
}

.navigation {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  align-items: center;
}

.nav-list li a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-list li a:hover::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 0.8rem 1.5rem;
  margin-left: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transition: var(--transition);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  content: '';
  top: -8px;
}

.hamburger::after {
  content: '';
  bottom: -8px;
}

/* Hero Section */
.hero {
  padding: 170px 0 100px;
  background: linear-gradient(to bottom right, var(--white), var(--secondary));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(157, 78, 221, 0.05) 0%, transparent 30%),
                    radial-gradient(circle at 70% 60%, rgba(157, 78, 221, 0.05) 0%, transparent 30%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

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

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

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

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

.visual-container {
  width: 100%;
  max-width: 500px;
}

.hero-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(123, 44, 191, 0.2));
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 4px solid transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--secondary), transparent);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-top-color: var(--primary);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  margin: 0 auto 25px;
  width: 80px;
  height: 80px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light);
  position: relative;
}

.how-it-works::before,
.how-it-works::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.03;
  z-index: 0;
}

.how-it-works::before {
  top: -150px;
  left: -150px;
}

.how-it-works::after {
  bottom: -150px;
  right: -150px;
}

.workflow {
  max-width: 800px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.workflow-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.workflow-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.workflow-content {
  flex: 1;
}

.workflow-connector {
  width: 2px;
  height: 40px;
  background-color: var(--primary);
  margin: 0 auto;
}

.workflow-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 90%, rgba(255,255,255,0.05) 0%, transparent 20%);
  pointer-events: none;
}

.testimonials .section-title,
.testimonials .section-description {
  color: var(--white);
}

.testimonials .section-title::after {
  background-color: var(--secondary);
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 30px;
  width: 100%;
  max-width: 350px;
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.author-info {
  flex: 1;
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--white);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-toggle::before {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-toggle::after {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.faq-answer {
  background-color: var(--light);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: var(--secondary);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px;
}

.faq-item.active .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin-bottom: 15px;
  color: var(--white);
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-branding {
  flex: 1;
  max-width: 300px;
}

.footer-icon {
  margin-bottom: 20px;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-branding p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

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

.footer-links-column h4 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.footer-links-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-column li {
  margin-bottom: 10px;
}

.footer-links-column a {
  color: var(--light-gray);
  transition: var(--transition);
}

.footer-links-column a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--light-gray);
}

.singapore-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .mobile-menu-toggle.active .hamburger {
    background-color: transparent;
  }
  
  .mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .nav-cta {
    margin-top: 20px;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
    margin-left: 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-branding {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-links {
    width: 100%;
    gap: 20px;
    justify-content: space-between;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
  }
  
  .btn-large {
    padding: 1rem 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .workflow-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .workflow-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
