/* Main styles for pornaichatbot.love */
:root {
  --primary-color: #6A11CB;
  --secondary-color: #2575FC;
  --dark-color: #1A1A2E;
  --light-color: #ffffff;
  --gray-color: #f1f1f1;
  --text-color: #333333;
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Header Styles */
.header {
  background-color: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo-text {
  color: var(--light-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo svg {
  height: 32px;
  width: 32px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-item {
  color: var(--light-color);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-item:hover {
  color: var(--secondary-color);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-line {
  width: 30px;
  height: 2px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: var(--light-color);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40%;
  height: 70%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 35%;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

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

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

.chat-illustration {
  width: 100%;
  max-width: 500px;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-top: 4px solid var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--gray-color);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--gradient);
  color: var(--light-color);
  text-align: center;
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-text {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

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

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-link:hover {
  color: var(--secondary-color);
  opacity: 1;
}

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

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

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

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive styles */
@media screen and (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

@media screen and (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .feature-card {
    text-align: center;
  }

  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .step-number {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }
}
