/* 
 * faceswapai.pw - Main Stylesheet
 * Modern, responsive design with unique orange/teal theme
 */

:root {
  /* Color Palette - completely different from previous sites */
  --primary: #ff6b35;
  --primary-dark: #e6461a;
  --primary-light: #ff8c61;
  --secondary: #1aa7ec;
  --secondary-dark: #0d8fd1;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
  background-color: var(--light);
  color: #333;
  line-height: 1.6;
}

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

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

ul {
  list-style-type: none;
}

section {
  padding: 80px 0;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--dark) 0%, #2c2c44 100%);
  color: white;
}

nav {
  padding: 20px 0;
  position: relative;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 700;
  font-size: 24px;
}

.logo-svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background: var(--primary);
  border-radius: 8px;
  position: relative;
}

.logo-svg:after {
  content: 'FS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  font-weight: 500;
  position: relative;
}

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

.nav-links a:hover:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 550px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
  color: white;
}

.cta-button.large {
  padding: 18px 36px;
  font-size: 18px;
}

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

.face-swap-graphic {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.face-swap-graphic:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, rgba(26,167,236,0.2) 100%);
  border-radius: 50%;
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
  color: var(--dark);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: -30px auto 50px;
  color: var(--gray);
}

/* Features Section */
.features {
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

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

/* How It Works Section */
.how-it-works {
  background: linear-gradient(135deg, var(--dark) 0%, #2c2c44 100%);
  color: white;
}

.how-it-works .section-title {
  color: white;
}

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

.step {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 30px 20px;
  position: relative;
}

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

.step h3 {
  margin-bottom: 15px;
  color: white;
}

.step p {
  opacity: 0.8;
}

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

/* Examples Section */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.example-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.example-image {
  height: 250px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  opacity: 0.8;
}

.example-card p {
  padding: 20px;
  text-align: center;
  font-style: italic;
  color: var(--gray);
}

/* FAQ Section */
.faq {
  background: #f8f9fa;
}

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

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 18px;
  margin: 0;
  color: var(--dark);
}

.icon-plus {
  position: relative;
  width: 20px;
  height: 20px;
}

.icon-plus:before,
.icon-plus:after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.icon-plus:before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.icon-plus:after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

.faq-item.active .icon-plus:after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

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

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

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

.cta-section .cta-button:hover {
  background: var(--light);
  color: var(--primary-dark);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-column ul li {
  margin-bottom: 10px;
}

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

.footer-column a:hover {
  color: var(--primary);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .steps {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--dark);
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
}
