/* 
 * AINudeGeneratorMY.love
 * Custom CSS for Malaysian AI Nude Generator
 */

:root {
  --primary: #0048ba;       /* Malaysian blue */
  --secondary: #ff0000;     /* Malaysian red */
  --accent: #ffdf00;        /* Malaysian yellow (from crescent/star) */
  --light: #ffffff;
  --dark: #121212;
  --text: #333333;
  --gradient-start: #0048ba;
  --gradient-end: #ff0000;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --radius: 10px;
  --transition: all 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: #f8f8f8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

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

a:hover {
  color: var(--secondary);
}

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

ul {
  list-style: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--light);
  position: relative;
  overflow: hidden;
}

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

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

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

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

.arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

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

/* Background Decorations */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
}

.bg-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    var(--primary) 0,
    var(--primary) 10px,
    transparent 10px,
    transparent 20px,
    var(--secondary) 20px,
    var(--secondary) 30px,
    transparent 30px,
    transparent 40px
  );
  opacity: 0.03;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.logo svg {
  margin-right: 10px;
  height: 40px;
  width: 40px;
}

.logo span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
}

.nav-cta:hover {
  color: white;
  opacity: 0.9;
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 72, 186, 0.05) 0%, rgba(255, 0, 0, 0.05) 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

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

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #555;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(0, 72, 186, 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
}

.feature-tag svg {
  color: var(--primary);
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  height: 200px;
  width: 200px;
  opacity: 0.1;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 60px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.feature-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(odd) {
  border-top-color: var(--primary);
}

.feature-card:nth-child(even) {
  border-top-color: var(--secondary);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

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

.feature-card p {
  color: #666;
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  margin-right: 20px;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: linear-gradient(145deg, #f9f9f9, #fff);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.testimonial.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 15px;
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.author-name {
  font-weight: bold;
  color: var(--primary);
}

.author-city {
  font-size: 14px;
  color: #777;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: #f9f9f9;
}

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

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.faq-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary);
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h3::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: #666;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.pulse {
  animation: pulse 2s infinite;
  background-color: white;
  color: var(--primary);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Footer */
.footer {
  background-color: #111;
  color: #ccc;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  margin-right: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #fff;
}

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

.footer-logo span {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 40px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #aaa;
  transition: color 0.3s ease;
}

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

.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal a {
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
  color: #777;
}

.keywords {
  margin-top: 10px;
  font-size: 12px;
  color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-content {
    flex-direction: column-reverse;
  }
  
  .hero-text, .hero-visual {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  
  nav ul.active {
    transform: translateY(0);
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0 80px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .feature-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    max-width: 100%;
  }
}
