/* 
   CreateAIFurry - Main Stylesheet
   Modern, responsive design optimized for SEO and performance
*/

:root {
  --primary: #7C4DFF;
  --primary-dark: #5C31E6;
  --secondary: #FF7043;
  --secondary-dark: #E65100;
  --text: #333333;
  --text-light: #666666;
  --background: #FFFFFF;
  --background-alt: #F7F9FC;
  --border: #EEEEEE;
  --success: #4CAF50;
  --error: #F44336;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--background);
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1.5rem;
}

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

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

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  color: var(--text);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

/* Main Content Styles */
main {
  margin-top: 70px;
}

/* Hero Section */
.hero {
  background-color: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: 500px;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.furry-art-sample {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: white !important;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background-color: var(--secondary);
}

.cta-button.secondary:hover {
  background-color: var(--secondary-dark);
}

.cta-button.large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

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

.features h2 {
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

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

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

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

/* How It Works Section */
.how-it-works {
  background-color: var(--background-alt);
  text-align: center;
}

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

.step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 2rem;
  background-color: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

/* Gallery Section */
.gallery {
  background-color: var(--background);
  text-align: center;
}

.gallery h2 {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Using shapes with colors instead of images */
.shape-1 { background: linear-gradient(135deg, #7C4DFF 0%, #FF7043 100%); }
.shape-2 { background: linear-gradient(135deg, #FF7043 0%, #FFD54F 100%); }
.shape-3 { background: linear-gradient(135deg, #4CAF50 0%, #1E88E5 100%); }
.shape-4 { background: linear-gradient(135deg, #1E88E5 0%, #7C4DFF 100%); }
.shape-5 { background: linear-gradient(135deg, #FFD54F 0%, #4CAF50 100%); }
.shape-6 { background: linear-gradient(135deg, #E91E63 0%, #7C4DFF 100%); }

.gallery-note {
  color: var(--text-light);
  font-style: italic;
}

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

.accordion {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-item {
  background-color: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.accordion-header {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.accordion-header:after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  transition: var(--transition);
}

.accordion-item.active .accordion-header:after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

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

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

.cta-section .cta-button {
  background-color: white;
  color: var(--primary) !important;
  margin-top: 1rem;
}

.cta-section .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 40px;
  height: 40px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-column h4 {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-nav-column ul {
  list-style: none;
}

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

.footer-nav-column ul li a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero h2 { font-size: 2.4rem; }
  section { padding: 4rem 0; }
  .hero .container { flex-direction: column; }
  .hero-content, .hero-image { flex: none; width: 100%; }
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: 0.8rem 2rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  html { font-size: 14px; }
  section { padding: 3rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step { width: 100%; max-width: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
