/* 
 * Main Stylesheet for deepfake-aiporn.love
 * Featuring a modern blue/teal design with clean, minimalist aesthetics
 */

:root {
  --primary: #00BCD4;
  --primary-light: #B2EBF2;
  --primary-dark: #0097A7;
  --secondary: #2196F3;
  --secondary-light: #BBDEFB;
  --secondary-dark: #1976D2;
  --bg-light: #E1F5FE;
  --bg-dark: #01579B;
  --text: #263238;
  --text-light: #607D8B;
  --text-white: #FFFFFF;
  --shadow: 0 4px 12px rgba(0, 188, 212, 0.2);
  --radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

h1 {
  font-size: 1.7rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

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

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
}

.logo h1 {
  margin: 0;
}

.logo-svg {
  height: 42px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-menu li a {
  color: var(--text);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, #F5F5F5 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  background-color: var(--primary-light);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-shape:nth-child(1) {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  top: 60%;
  right: 10%;
  width: 200px;
  height: 200px;
  animation: float 6s ease-in-out infinite 1s;
}

.hero-shape:nth-child(3) {
  bottom: 10%;
  left: 15%;
  width: 150px;
  height: 150px;
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0% { transform: translateY(0) }
  50% { transform: translateY(-20px) }
  100% { transform: translateY(0) }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  padding: 4rem 0;
}

.hero h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-dark), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
  color: white;
}

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-svg {
  max-width: 100%;
  height: auto;
}

/* Features Section */
.features {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.2;
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 188, 212, 0.1);
}

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

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

.feature-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

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

.steps-container {
  position: relative;
  z-index: 1;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(50% - 2px);
  width: 4px;
  height: calc(100% - 120px);
  background: linear-gradient(to bottom, var(--primary-light), var(--secondary-light));
  z-index: -1;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

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

.step:nth-child(even) {
  direction: rtl;
}

.step:nth-child(even) .step-content {
  direction: ltr;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.step-icon svg {
  width: 50px;
  height: 50px;
}

.step-content span {
  background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

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

.step-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-svg {
  max-width: 100%;
  height: auto;
}

/* Gallery Section */
.gallery {
  background-color: #fff;
}

.gallery-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
  transition: var(--transition);
}

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

.gallery-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  padding: 20px;
  color: white;
  transition: var(--transition);
}

.gallery-overlay h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.testimonial-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

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

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
}

.testimonial-text {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.testimonial-text::before {
  content: '\"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-shape:nth-child(1) {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
}

.cta-shape:nth-child(2) {
  bottom: -100px;
  left: -50px;
  width: 300px;
  height: 300px;
}

.cta .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn-cta {
  display: inline-block;
  background: white;
  color: var(--primary-dark);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  color: var(--primary);
}

/* Footer */
footer {
  background-color: #263238;
  color: #B0BEC5;
  padding: 5rem 0 2rem;
}

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

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

.footer-logo span {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

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

.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

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

.footer-column a {
  color: #B0BEC5;
  transition: var(--transition);
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    padding: 3rem 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .step:nth-child(even) {
    direction: ltr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}
