/* Main CSS file for faceswapai.party */
:root {
  --primary-color: #8B5CF6;
  --secondary-color: #EC4899;
  --accent-color: #D946EF;
  --text-color: #1F2937;
  --light-text: #4B5563;
  --background-color: #F3F4F6;
  --card-bg: #FFFFFF;
  --card-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.1), 0 4px 6px -2px rgba(139, 92, 246, 0.05);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
}

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

/* Header with angled design */
header {
  position: relative;
  background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
  padding: 0;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: 6rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

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

.logo svg {
  height: 100%;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.hero {
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  opacity: 0.9;
}

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

.btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(90deg, #F97316, #FB923C);
  color: white;
}

/* Main content sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  margin: -2rem auto 3rem;
  max-width: 600px;
  color: var(--light-text);
}

/* Features section with cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

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

/* How it works section */
.workflow {
  padding: 5rem 0;
  background-color: #F9FAFB;
}

.steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  min-width: 280px;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -10%;
  height: 2px;
  width: 20%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.step-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

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

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-text {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

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

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

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand p {
  color: #9CA3AF;
  margin-top: 1rem;
  max-width: 300px;
}

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

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

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

.footer-links a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
}
