/* 
 * AINudeGeneratorSG.love
 * Custom CSS for Singapore AI Nude Generator
 */

:root {
  --primary: #ED2939;      /* Singapore red */
  --secondary: #1a1a1a;    /* Dark gray/near black */
  --accent: #F5AF00;       /* Gold accent */
  --light: #FFFFFF;        /* White */
  --dark: #111111;
  --gray: #EFEFEF;
  --text: #333333;
  --gradient: linear-gradient(135deg, var(--primary) 0%, #FF6B6B 100%);
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.2);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a:hover {
  color: #FF6B6B;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
  z-index: 1;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  font-size: 2.5rem;
  z-index: 1;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: #666;
  font-size: 1.1rem;
}

.highlight {
  color: var(--primary);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(237, 41, 57, 0.35);
}

.btn-primary:hover {
  background: #d4182a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(237, 41, 57, 0.5);
  color: var(--light);
}

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

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

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

.btn-outline:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.1rem;
}

.btn-arrow::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 0.75rem;
  color: var(--primary);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  list-style: none;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.5rem 1.5rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  z-index: 10;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 8rem;
  background-color: var(--light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ED2939' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(237, 41, 57, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-tag svg {
  width: 16px;
  height: 16px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

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

/* Features Section */
.features {
  padding: 8rem 0;
  background-color: var(--gray);
  position: relative;
  overflow: hidden;
}

.features::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ED2939' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--primary);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(237, 41, 57, 0.1);
  border-radius: 12px;
  color: var(--primary);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.feature-card:hover .feature-title {
  color: var(--primary);
}

/* How It Works Section */
.how-it-works {
  padding: 8rem 0;
  background-color: var(--light);
  overflow: hidden;
  position: relative;
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 60px);
  background: rgba(237, 41, 57, 0.2);
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  margin-bottom: 5rem;
}

.step:last-child {
  margin-bottom: 0;
}

.step-content {
  padding: 0 3rem;
}

.step:nth-child(odd) .step-content {
  grid-column: 2;
}

.step:nth-child(even) .step-content {
  grid-column: 1;
  text-align: right;
}

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(237, 41, 57, 0.4);
}

.step-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.step-description {
  color: #555;
  margin-bottom: 1.5rem;
}

.step-image {
  position: relative;
}

/* Testimonials */
.testimonials {
  padding: 8rem 0;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.testimonial-quote {
  position: relative;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
}

.testimonial-quote::before {
  content: """;
  font-size: 4rem;
  color: rgba(237, 41, 57, 0.1);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
  font-family: Georgia, serif;
}

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

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--dark);
}

.author-title {
  color: #888;
  font-size: 0.9rem;
}

.rating {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 8rem 0;
  background: var(--light);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0.75rem 0;
}

.faq-question .icon {
  color: var(--primary);
  transition: var(--transition);
}

.faq-question.active .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding-top: 0.75rem;
  color: #666;
  display: none;
}

.faq-answer.show {
  display: block;
}

/* CTA Section */
.cta {
  padding: 8rem 0;
  background: var(--gradient);
  color: var(--light);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
  background: #f8f8f8;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo svg {
  width: 60px;
  height: 60px;
}

.footer-logo span {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 1rem;
}

.footer-about p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.footer-heading {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #999;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
}

.keywords {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container::before {
    display: none;
  }
  
  .step {
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
  }
  
  .step-number {
    position: static;
    transform: none;
    margin-bottom: 1.5rem;
  }
  
  .step-content {
    padding: 0;
    grid-column: 1 !important;
    text-align: left !important;
  }
  
  .step-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 9;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
}
