/* 
 * styles.css for pornaichat.love 
 * Featuring a unique blue-purple gradient theme with chat interface elements
 */

:root {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --dark: #0a1128;
  --light: #ffffff;
  --text: #333333;
  --text-light: #f8f9fa;
  --gray: #f0f2f5;
  --card-bg: rgba(255, 255, 255, 0.05);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --glow: 0 0 15px rgba(106, 17, 203, 0.5);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(106, 17, 203, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(37, 117, 252, 0.1) 0%, transparent 30%);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

ul {
  list-style: none;
}

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

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

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

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

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light);
}

h1 span {
  color: var(--secondary);
  font-weight: 300;
}

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

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.menu li a {
  color: var(--light);
  font-weight: 500;
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.menu li a:hover {
  opacity: 1;
  color: var(--secondary);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--light);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-large {
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--light);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

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

.menu-toggle span:nth-child(2) {
  bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  bottom: 9px;
  transform: rotate(-45deg);
}

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

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
}

.hero::before {
  background: rgba(106, 17, 203, 0.2);
  top: -100px;
  left: -100px;
}

.hero::after {
  background: rgba(37, 117, 252, 0.2);
  bottom: -100px;
  right: -100px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero h2 span {
  display: block;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--light);
}

/* Features Section */
.features {
  background-color: rgba(10, 17, 40, 0.9);
}

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

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

.feature:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 117, 252, 0.3);
  box-shadow: var(--glow);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.feature h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--light);
}

.feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Models Section */
.models {
  background-color: rgba(10, 17, 40, 0.7);
}

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

.model-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 117, 252, 0.3);
  box-shadow: var(--glow);
}

.model-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.model-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-card h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  color: var(--light);
}

.model-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.model-card .btn-outline {
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* Examples Section */
.examples {
  background-color: rgba(10, 17, 40, 0.9);
}

.chat-demo {
  max-width: 600px;
  margin: 0 auto 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.chat-message {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
}

.chat-message:last-child {
  margin-bottom: 0;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.message-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  max-width: 80%;
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-message.user .message-content {
  background: var(--gradient);
  border-radius: var(--radius) 0 var(--radius) var(--radius);
  color: white;
}

.examples-cta {
  text-align: center;
}

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

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.cta h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.cta .btn-primary:hover {
  background: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #06081a;
  padding: 4rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

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

.footer-brand {
  color: var(--light);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
}

.footer-brand span {
  color: var(--secondary);
  font-weight: 300;
}

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

.footer-column h4 {
  color: var(--light);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-column ul li a {
  opacity: 0.7;
  transition: var(--transition);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.8rem;
  }
  
  section h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu {
    position: absolute;
    flex-direction: column;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
    z-index: -1;
  }
  
  .menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature {
    padding: 1.5rem;
  }
  
  .models-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .chat-message .message-content {
    max-width: 100%;
  }
}
