/* 
 * deepfakeaiporn.love
 * Main stylesheet
 * Purple/Indigo theme
 */

:root {
  --primary: #9333EA;      /* Purple-600 */
  --primary-dark: #7E22CE; /* Purple-700 */
  --secondary: #4F46E5;    /* Indigo-600 */
  --accent: #EC4899;       /* Pink-500 */
  --dark: #1E1B4B;         /* Indigo-950 */
  --light: #F5F3FF;        /* Purple-50 */
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--light);
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 700;
  color: var(--dark);
}

h1 {
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 span {
  font-weight: 400;
  opacity: 0.8;
}

h2 {
  font-size: 2rem;
}

h2 span {
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo-icon {
  margin-right: 0.75rem;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

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

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: var(--gray-600);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: radial-gradient(circle at 70% 30%, var(--light) 0%, rgba(245, 243, 255, 0.8) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 10 L90 50 L50 90 L10 50 Z" stroke="%239333EA" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
  text-align: center;
}

.hero h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.cta-button:hover {
  color: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 1rem;
}

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

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

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

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

.feature-icon {
  margin-bottom: 1.5rem;
}

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

/* Gallery Section */
.gallery {
  padding: 5rem 0;
  background-color: var(--gray-100);
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--gray-300);
  transition: all 0.3s ease;
}

.gallery-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.gallery-item:hover .gallery-content {
  opacity: 1;
}

.gallery-item h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.gallery-item p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--primary-dark) 0%, var(--secondary) 100%);
  color: white;
}

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

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

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

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

.step-icon {
  background-color: rgba(255, 255, 255, 0.2);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step h3 {
  color: white;
  margin-bottom: 1rem;
}

.step p {
  color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.faq-item p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--gradient);
  color: white;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-btn-white {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.cta-btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-logo .logo-icon {
  margin-right: 0.75rem;
}

footer p {
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 100;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}
