/*
 * Kling AI Porn - Main Stylesheet
 * Color Scheme: Purple (#4A2480) and Blue (#1E88E5) with Light Accents
 */

:root {
  /* Primary Colors */
  --primary: #4A2480;
  --secondary: #1E88E5;
  --accent: #64FFDA;
  
  /* Neutral Colors */
  --dark: #21213D;
  --medium: #565682;
  --light: #F9F8FE;
  --white: #ffffff;
  
  /* Utility Variables */
  --header-height: 80px;
  --container-width: 1200px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--secondary);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(30, 136, 229, 0.25);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(30, 136, 229, 0.35);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-accent {
  background: var(--accent);
  color: var(--primary) !important;
  box-shadow: 0 4px 8px rgba(100, 255, 218, 0.25);
}

.btn-accent:hover {
  box-shadow: 0 6px 12px rgba(100, 255, 218, 0.35);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

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

.nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--dark);
  font-weight: 600;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
  background: linear-gradient(135deg, rgba(74, 36, 128, 0.03), rgba(30, 136, 229, 0.03));
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image {
  text-align: center;
}

.hero-shape {
  position: absolute;
  bottom: -5%;
  left: 0;
  width: 100%;
  height: 5rem;
  background: var(--light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

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

.section-title {
  margin-bottom: 0.5rem;
}

.features-container {
  max-width: 1100px;
}

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

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

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: var(--white);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

/* AI Apps Section */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.app-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.app-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-header h3 {
  color: var(--white);
  margin: 0;
}

.app-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.app-body ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

.app-body li {
  margin-bottom: 0.5rem;
}

.app-footer {
  padding: 1.5rem;
  background: rgba(249, 248, 254, 0.5);
  text-align: center;
}

/* How It Works */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.step-image {
  margin-bottom: 1.5rem;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

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

.cta-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

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

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

.footer-logo h3 {
  color: var(--white);
  margin: 0;
}

.footer-text {
  opacity: 0.8;
  font-size: 0.95rem;
}

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

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

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

.footer-links a {
  color: var(--light);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 70%;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
