/* Main Styles for Toy Image AI */

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #d946ef;
  --background-color: #ffffff;
  --text-color: #1f2937;
  --light-text-color: #6b7280;
  --border-color: #e5e7eb;
  --card-background: #f9fafb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--background-color);
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

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

section {
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

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

.btn-secondary:hover {
  background-color: var(--card-background);
  color: var(--secondary-color);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-cn-pay {
  background-color: #fa8c16;
  color: white;
  border: none;
}

.btn-cn-pay:hover {
  background-color: #fa751a;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
}

.navbar .logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
}

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

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

.language-select {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, #f9f7ff, #ffffff);
}

.trending-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #fff0f6;
  color: #ff0066;
  border-radius: var(--radius-lg);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero h1 {
  max-width: 800px;
}

.hero p {
  max-width: 600px;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.promo-banner {
  background-color: #fffbeb;
  color: #d97706;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-weight: 500;
}

.testimonials-preview {
  color: var(--light-text-color);
  font-style: italic;
}

/* Tech Stack Section */
.tech-stack {
  text-align: center;
  background-color: var(--card-background);
  padding: 3rem 1rem;
}

.tech-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.tech-logos span {
  font-weight: 600;
  color: var(--light-text-color);
}

.hero-placeholder {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--light-text-color);
}

/* About Section */
.about {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.features-list {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.features-list li {
  padding: 1.5rem;
  background-color: var(--card-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Benefits Section */
.benefits {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #f3f4f6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.benefit-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* How To Use Section */
.how-to-use {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  text-align: center;
  padding: 1rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* Key Features Section */
.key-features {
  text-align: center;
  padding: 4rem 1rem;
  background-color: var(--card-background);
}

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

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Gallery Section */
.gallery {
  text-align: center;
  padding: 4rem 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--card-background);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item h3, .gallery-item p {
  padding: 0 1.5rem;
}

.gallery-item h3 {
  margin-top: 1.5rem;
}

.gallery-item p {
  color: var(--light-text-color);
  padding-bottom: 1.5rem;
}

/* Stats Section */
.stats {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #f3f4f6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.stat-card {
  background-color: white;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.stat-label {
  color: var(--light-text-color);
  font-size: 0.875rem;
}

.stat-description {
  color: var(--text-color);
  font-weight: 500;
}

/* Pricing Section */
.pricing {
  text-align: center;
  padding: 4rem 1rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.pricing-card {
  background-color: var(--card-background);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.pricing-card.featured {
  background-color: #f5f3ff;
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card h3 {
  font-size: 1.75rem;
}

.features h4 {
  margin: 2rem 0 1rem;
  color: var(--light-text-color);
  font-size: 1rem;
}

.features ul {
  list-style-type: none;
  padding: 0;
}

.features li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.cn-payment {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Testimonials Section */
.testimonials {
  text-align: center;
  padding: 4rem 1rem;
  background-color: var(--card-background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.user-info {
  margin-bottom: 1.5rem;
}

.user-role {
  color: var(--light-text-color);
}

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

/* FAQ Section */
.faq {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.faq-list {
  text-align: left;
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(to right, #8b5cf6, #6366f1);
  color: white;
}

.cta h2, .cta p {
  color: white;
}

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

.cta .btn-primary:hover {
  background-color: #f3f4f6;
  border-color: #f3f4f6;
}

.cta .btn-outline {
  border-color: white;
  color: white;
}

.cta .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #1f2937;
  color: white;
  padding: 4rem 1rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: #9ca3af;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-column a {
  color: #9ca3af;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #9ca3af;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: #9ca3af;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .pricing-card.featured {
    transform: none;
  }
} 