/*
* aipornimagemaker.love - Main Stylesheet
* Modern, responsive design with blue-green color scheme
*/

:root {
  --primary-color: #3f51b5;
  --secondary-color: #4caf50;
  --accent-color: #7c4dff;
  --text-dark: #212121;
  --text-light: #ffffff;
  --text-gray: #757575;
  --bg-light: #ffffff;
  --bg-gray: #f5f5f5;
  --bg-dark: #212121;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --radius: 10px;
  --radius-lg: 20px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  font-weight: 600;
}

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

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

ul {
  list-style: none;
}

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

/* Header Styles */
header {
  background-color: var(--bg-light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
}

h1 {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  background-color: #f9faff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--secondary-color);
  opacity: 0.05;
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

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

.hero-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-content h2 span {
  color: var(--secondary-color);
  display: block;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  max-width: 450px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.primary {
  background: var(--gradient);
  color: var(--text-light);
  box-shadow: var(--shadow);
}

.primary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Features Section */
.features {
  padding: 120px 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  position: relative;
}

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

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

.feature-box {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient);
  opacity: 0.03;
  transition: var(--transition);
  z-index: -1;
}

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

.feature-box:hover::before {
  height: 100%;
}

.icon-container {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-box p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 120px 0;
  background-color: #f9faff;
  position: relative;
  overflow: hidden;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.step p {
  color: var(--text-gray);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

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

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.cta .btn {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-gray);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--gradient);
  left: 0;
  bottom: -10px;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    padding: 60px 0 100px;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 50px;
    max-width: 100%;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    margin: 0 auto 30px;
  }
  
  .hero-visual {
    max-width: 400px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid, .steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-links h4 {
    text-align: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links ul {
    text-align: center;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}
