/* 
 * DeepNude Generator Website Styles
 * A unique red (#ff4757) and green (#2ed573) color scheme
 * Fully responsive design with mobile-first approach
 */

/* ===== BASE STYLES ===== */
:root {
  --primary: #ff4757;
  --primary-dark: #e03e48;
  --secondary: #2ed573;
  --secondary-dark: #26b362;
  --dark: #2f3542;
  --gray-dark: #57606f;
  --gray: #747d8c;
  --gray-light: #a4b0be;
  --light: #f1f2f6;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 5px 20px rgba(0,0,0,0.1);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.8em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-intro {
  text-align: center;
  color: var(--gray);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.secondary {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-light);
}

.secondary:hover {
  background: var(--light);
  color: var(--dark);
  border-color: var(--dark);
}

.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: var(--light);
  color: var(--primary);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

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

.logo {
  margin-right: 0.8rem;
}

.site-title {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.main-nav ul {
  display: none;
  list-style: none;
}

.main-nav li {
  display: inline-block;
  margin-left: 2rem;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--primary-dark);
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.mobile-toggle span:nth-child(1) {
  top: 0;
}

.mobile-toggle span:nth-child(2) {
  top: 10px;
}

.mobile-toggle span:nth-child(3) {
  top: 20px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.mobile-menu a {
  color: var(--dark);
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

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

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background-color: var(--light);
}

.hero .container {
  display: flex;
  flex-direction: column;
}

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

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-image {
  margin-top: 3rem;
  align-self: center;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.about-text {
  max-width: 600px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.stat-box {
  background-color: var(--light);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  min-width: 160px;
  box-shadow: var(--shadow);
  flex: 1 0 auto;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--gray-dark);
  font-weight: 500;
}

/* ===== FEATURES SECTION ===== */
.features {
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

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

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

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  background-color: var(--white);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 3rem 0;
}

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

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

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

.cta-box {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
}

.cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

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

.cta-box .button:hover {
  background: var(--light);
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--light);
}

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

.faq-item {
  background-color: var(--white);
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

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

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-icon:before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.faq-icon:after {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-item.active .faq-icon:before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.final-cta .button:hover {
  background: var(--light);
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  margin-right: 1rem;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.footer-brand-tagline {
  color: var(--gray-light);
  margin-bottom: 0;
}

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

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.copyright {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    margin-top: 0;
    max-width: 480px;
  }
  
  .about-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-stats {
    flex: 1;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
  }
  
  .step-icon {
    margin-bottom: 0;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-brand-text {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .main-nav ul {
    display: flex;
    align-items: center;
  }
  
  .mobile-toggle {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .steps-container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .step {
    flex: 1;
    flex-direction: column;
    text-align: center;
  }
  
  .step-icon {
    margin-bottom: 1.5rem;
  }
}
