/*
   Main stylesheet for aipornanimation.site
   Color scheme: Coral (#FF6B6B) and Slate Gray (#556270)
   Modern, responsive design with minimalist layout
*/

:root {
  --primary: #FF6B6B;      /* Coral */
  --secondary: #556270;    /* Slate Gray */
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #F5F5F5;
  --text: #333333;
  --text-light: #777777;
  --border-radius: 10px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

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

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

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

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

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

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

section {
  padding: 5rem 0;
}

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

h1 {
  font-size: 2.5rem;
  color: var(--light);
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--secondary);
  position: relative;
  padding-bottom: 1rem;
}

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

h3 {
  font-size: 1.5rem;
  color: var(--secondary);
}

p {
  margin-bottom: 1.5rem;
}

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

/* Header & Navigation */
header {
  background-color: var(--secondary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light);
}

.logo span {
  font-weight: 600;
  font-size: 1.2rem;
}

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

nav a {
  color: var(--light);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

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

nav a:hover {
  color: var(--light);
}

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

.cta-button {
  background-color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  color: var(--light);
  font-weight: 600;
}

.cta-button:hover {
  background-color: #ff5252;
  color: var(--light);
  transform: translateY(-2px);
}

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

.nav-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--light);
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary), #445566);
  color: var(--light);
  padding: 6rem 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-text p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.button.primary {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.button.primary:hover {
  background-color: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  color: var(--light);
}

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

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

.button.large {
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--gray);
  text-align: center;
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin: 0 auto 1.5rem;
}

/* Examples Section */
.examples {
  background-color: var(--gray);
}

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

.example-card {
  background-color: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

.example-info {
  padding: 1.5rem;
}

.example-tags {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.example-tags span {
  background-color: var(--primary);
  color: var(--light);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.examples-cta {
  text-align: center;
  margin-top: 3rem;
}

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

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

.step {
  display: flex;
  margin-bottom: 3rem;
  align-items: flex-start;
}

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

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

.step-content {
  padding-top: 0.5rem;
}

/* Generator Section */
.generator {
  background: linear-gradient(135deg, var(--secondary), #445566);
  color: var(--light);
  padding-bottom: 6rem;
}

.generator h2,
.generator .section-description {
  color: var(--light);
}

.generator h2::after {
  background-color: var(--primary);
}

.generator-demo {
  max-width: 800px;
  margin: 0 auto;
}

.generator-cta {
  text-align: center;
  margin-top: 3rem;
}

.generator-cta h3 {
  color: var(--light);
  margin-bottom: 1rem;
}

.generator-cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #bbb;
  padding: 4rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-logo span {
  color: var(--light);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.link-group h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 1rem;
}

.link-group a {
  color: #bbb;
  transition: all 0.3s ease;
}

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

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

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* Media Queries */
@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .nav-toggle {
    display: block;
  }
  
  #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  #mainNav.active {
    max-height: 300px;
  }
  
  #mainNav ul {
    flex-direction: column;
    gap: 0;
  }
  
  #mainNav li {
    width: 100%;
  }
  
  #mainNav a {
    display: block;
    padding: 1rem;
    text-align: center;
  }
  
  #mainNav a::after {
    display: none;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 4rem 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .example-grid {
    grid-template-columns: 1fr;
  }
  
  .button {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .button {
    margin-right: 0;
  }
}
