/* 
   Main stylesheet for ai-nude.lifestyle
   Modern, pink/purple gradient design with clean layout
   Distinctly different from previous sites
*/

/* Base Styles & CSS Reset */
:root {
  --primary-color: #FF5B79;     /* Pink */
  --secondary-color: #8C52FF;   /* Purple */
  --dark-color: #292639;        /* Dark purple-gray */
  --light-color: #fff;          /* White */
  --text-color: #333;           /* Dark gray for text */
  --text-light: #666;           /* Light gray for secondary text */
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --box-shadow: 0 10px 30px rgba(140, 82, 255, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f8f8fc;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

h3 {
  font-size: 1.4rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

ul {
  list-style: none;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

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

/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.logo-svg {
  margin-right: 12px;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,91,121,0.05) 0%, rgba(140,82,255,0.05) 100%);
  z-index: -1;
}

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

.hero-content {
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.highlight {
  position: relative;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--gradient);
  color: var(--light-color);
  box-shadow: 0 5px 15px rgba(255, 91, 121, 0.4);
}

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

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 91, 121, 0.4);
}

.btn.secondary:hover {
  background: rgba(140, 82, 255, 0.1);
}

.btn.large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  background-color: var(--light-color);
}

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

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

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

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

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

.feature-card p {
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  background: linear-gradient(45deg, rgba(255,91,121,0.03) 0%, rgba(140,82,255,0.03) 100%);
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

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

.step-connector {
  display: none;
}

/* Try Now Section */
.try-now {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 5rem 0;
}

.try-now-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.try-now h2 {
  color: var(--light-color);
}

.try-now p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.check-icon {
  margin-right: 10px;
}

.benefit span {
  color: var(--light-color);
  font-weight: 500;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo span {
  margin-left: 10px;
  color: var(--light-color);
  font-weight: 600;
}

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

.footer-column h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

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

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

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .hero .container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  
  .hero-content {
    margin-right: 2rem;
    margin-bottom: 0;
  }
  
  .cta {
    justify-content: flex-start;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .step {
    width: 200px;
    margin: 0;
  }
  
  .step-connector {
    display: block;
    margin-top: 30px;
  }
  
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 2fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.hero-content, .feature-card, .step {
  animation: fadeIn 0.8s ease-out forwards;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.6s;
}

/* Accessibility */
:focus {
  outline: 3px solid rgba(255, 91, 121, 0.5);
  outline-offset: 3px;
}
