/* Main CSS for aipornart.love */
:root {
  --primary-color: #ff3366;
  --secondary-color: #9933ff;
  --dark-color: #1a1a2e;
  --light-color: #f5f5f7;
  --accent-color: #33ccff;
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark-color);
  color: var(--light-color);
  line-height: 1.6;
}

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

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

nav ul li a:hover:before {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%231a1a2e"/><path d="M0 25 Q 25 0, 50 25 T 100 25 T 150 25 T 200 25 T 250 25 T 300 25 T 350 25 T 400 25" stroke="%239933ff" stroke-width="3" fill="none" stroke-opacity="0.2" transform="translate(0, 80)"/><path d="M0 25 Q 25 0, 50 25 T 100 25 T 150 25 T 200 25 T 250 25 T 300 25 T 350 25 T 400 25" stroke="%23ff3366" stroke-width="3" fill="none" stroke-opacity="0.2" transform="translate(0, 40)"/></svg>') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 51, 102, 0.5);
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--light-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

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

.feature-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

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

.feature-icon {
  margin-bottom: 20px;
}

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

.feature-title {
  font-size: 1.5rem;
  color: var(--light-color);
  margin-bottom: 15px;
}

.feature-desc {
  color: rgba(245, 245, 247, 0.8);
}

/* About Section */
.about {
  padding: 100px 0;
  background: rgba(26, 26, 46, 0.8);
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--light-color);
}

.about-text p {
  margin-bottom: 20px;
  color: rgba(245, 245, 247, 0.8);
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-image svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Footer */
footer {
  background-color: rgba(20, 20, 35, 0.95);
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: rgba(245, 245, 247, 0.7);
  font-size: 0.9rem;
}

.footer-links {
  flex: 1;
  min-width: 150px;
  margin-bottom: 30px;
}

.footer-links h4 {
  color: var(--light-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(245, 245, 247, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 245, 247, 0.6);
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.8rem;
  }
  
  nav ul li {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .feature-box {
    padding: 20px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.4rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
}
