/* 
   Porn AI Chatbot - Main Stylesheet
   Modern, chat-focused design with gradient accents
*/

:root {
  /* Color Scheme - Pink/Purple gradient theme */
  --primary: #FF4D79;
  --primary-light: #FF6B92;
  --primary-dark: #E63F69;
  --secondary: #9B4DFF;
  --secondary-light: #B06AFF;
  --secondary-dark: #8530FF;
  --background: #0E0E12;
  --card-bg: #1A1A22;
  --text: #FFFFFF;
  --text-light: #B4B4C7;
  --text-dark: #7A7A8C;
  --border-radius: 16px;
  --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

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

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

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

h1 {
  font-size: 3rem;
}

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

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Header Styles */
header {
  background-color: rgba(10, 10, 15, 0.95);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

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

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

.logo span {
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

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

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

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at 70% 30%, #25152E, transparent 70%),
              radial-gradient(circle at 30% 70%, #2E1524, transparent 70%),
              var(--background);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.accent {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 540px;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 77, 121, 0.5);
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 77, 121, 0.7);
  color: white;
}

.hero-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.chat-bubble {
  padding: 1rem;
  border-radius: 18px;
  max-width: 80%;
}

.chat-bubble.user {
  background-color: #2E3044;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  background: linear-gradient(to bottom right, var(--primary-dark), var(--secondary-dark));
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 5px;
  padding: 10px;
  align-self: flex-start;
}

.chat-typing span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: typing 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(1) {
  animation-delay: 0s;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 77, 121, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 77, 121, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

/* Experience Section */
.experience {
  padding: 5rem 0;
  background-color: #0A0A10;
}

.chat-demo {
  max-width: 400px;
  margin: 3rem auto;
}

.chat-window {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.chat-header {
  background: linear-gradient(to right, var(--primary-dark), var(--secondary-dark));
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(to right, #FFD1DC, #D6A4FF);
}

.chat-name {
  font-weight: 600;
}

.chat-options {
  display: flex;
  gap: 3px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.7;
}

.chat-messages {
  height: 250px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
}

.chat-input input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 50px;
  outline: none;
}

.chat-input input::placeholder {
  color: var(--text-dark);
}

.send-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
}

.send-button svg {
  width: 24px;
  height: 24px;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-arrow {
  width: 30px;
  height: 30px;
}

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

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

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: var(--transition);
}

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

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

.faq-toggle {
  font-size: 1.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  background: linear-gradient(to right, rgba(255, 77, 121, 0.1), rgba(155, 77, 255, 0.1));
}

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

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(255, 77, 121, 0.2), transparent 70%),
              radial-gradient(circle at center, rgba(155, 77, 255, 0.2), transparent 70%),
              var(--background);
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: #080810;
  padding: 4rem 0 1rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-title {
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-logo p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-col h4 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

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

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  margin-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dark);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    background-color: var(--card-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 5;
  }
  
  .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);
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 2rem;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}
