/* Styles for aipornmovie.pw */
:root {
  --primary: #E53E3E;
  --primary-dark: #C53030;
  --primary-light: #FC8181;
  --secondary: #2D3748;
  --secondary-dark: #1A202C;
  --secondary-light: #4A5568;
  --gray-dark: #2D3748;
  --gray: #718096;
  --gray-light: #A0AEC0;
  --gray-lighter: #E2E8F0;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  --shadow-lg: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  --border-radius: 4px;
}

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

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

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--secondary-dark);
  overflow-x: hidden;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--white);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  width: 100%;
}

.col-md-6 {
  width: 100%;
}

.col-md-4 {
  width: 100%;
}

.col-md-3 {
  width: 100%;
}

section {
  padding: 80px 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.text-primary {
  color: var(--primary);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-bottom: 1rem;
}

.mt-4 {
  margin-bottom: 2rem;
}

.bg-secondary {
  background-color: var(--secondary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(26, 32, 44, 0.95);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

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

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

.logo img, .logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

.nav {
  display: flex;
}

.nav-item {
  margin-left: 30px;
  list-style: none;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

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

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--secondary-dark);
  padding-top: 80px;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E53E3E' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--shadow);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

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

.feature {
  margin-bottom: 40px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.75rem;
  box-shadow: var(--shadow);
}

.feature-title {
  margin-bottom: 15px;
}

/* Card */
.card {
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img {
  height: 200px;
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-text {
  color: var(--gray-light);
}

.card-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Stats */
.stats {
  padding: 60px 0;
  background-color: var(--primary);
}

.stat {
  text-align: center;
  padding: 20px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials */
.testimonial {
  padding: 30px;
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  position: relative;
}

.testimonial:after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
}

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

.testimonial-title {
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* FAQ */
.faq {
  background-color: var(--secondary);
}

.accordion {
  margin-bottom: 30px;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  background-color: var(--secondary-light);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title {
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
}

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  background-color: var(--secondary);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

/* Footer */
.footer {
  background-color: var(--secondary-dark);
  padding: 80px 0 30px;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img, .footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

.footer-text {
  margin-bottom: 20px;
  color: var(--gray-light);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

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

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: var(--gray-light);
  transition: all 0.3s ease;
}

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

.footer-brand-image {
  display: block;
  width: 300px;
  height: 200px;
  margin: 0 auto;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--gray);
}

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

.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Media Queries */
@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
  
  .col-md-4 {
    width: 33.333333%;
  }
  
  .col-md-3 {
    width: 25%;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-dark);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    margin: 0 0 15px;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

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