/* 
 * UndressAIpornVN.love - Vietnamese AI Nude Generator Website
 * Bảng màu lấy cảm hứng từ cờ Việt Nam (đỏ đậm #DA251D và vàng #FFFF00)
 */

:root {
  --primary: #DA251D;
  --primary-dark: #B01914;
  --secondary: #FFFF00;
  --secondary-dark: #D9D900;
  --text-light: #FFFFFF;
  --text-dark: #222222;
  --background: #FFFFFF;
  --background-light: #F9F9F9;
  --background-dark: #333333;
  --accent: #FFD700;
  --border: rgba(218, 37, 29, 0.2);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset và base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Noto Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75em;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(218, 37, 29, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  color: var(--text-light);
  box-shadow: 0 6px 12px rgba(218, 37, 29, 0.4);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 11px 23px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: rgba(218, 37, 29, 0.1);
  color: var(--primary-dark);
}

/* Header styles */
.site-header {
  background-color: var(--background);
  box-shadow: var(--shadow);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.logo svg {
  margin-right: 8px;
}

.logo span {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.main-nav ul {
  display: none;
  list-style: none;
}

@media (min-width: 768px) {
  .main-nav ul {
    display: flex;
  }

  .main-nav li {
    margin: 0 15px;
  }

  .main-nav a {
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
  }

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

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

/* Hero section */
.hero {
  padding: 60px 0;
  background-color: #FFFDF5;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23DA251D' stroke-width='0.5' opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23FFFF00' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
  opacity: 0.2;
}

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

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

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

/* Features section */
.features {
  padding: 80px 0;
  background-color: var(--background-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background-color: var(--background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.feature h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* How it works section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--background);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
  }
}

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

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  right: -15px;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  display: none;
}

@media (min-width: 768px) {
  .step:not(:last-child)::after {
    display: block;
  }
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* FAQ section */
.faq {
  padding: 80px 0;
  background-color: var(--background-light);
}

.accordion {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-item {
  background-color: var(--background);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-header {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
  content: "-";
}

.accordion-item:hover .accordion-header {
  background-color: rgba(218, 37, 29, 0.05);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* Keywords cloud */
.keywords {
  padding: 50px 0;
}

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

.keywords-cloud span {
  display: inline-block;
  margin: 5px;
  padding: 5px 10px;
  background-color: rgba(218, 37, 29, 0.05);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary);
  transition: background-color 0.3s ease;
}

.keywords-cloud span:hover {
  background-color: rgba(218, 37, 29, 0.1);
}

/* Footer */
.site-footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 50px 0 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

.footer-logo svg {
  margin-right: 10px;
}

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

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: var(--secondary);
}

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

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

.footer-column a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .btn-primary {
    display: block;
    width: 100%;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

/* Vietnamese cultural decorative elements */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, 
    var(--primary), var(--primary) 10px, 
    transparent 10px, transparent 20px);
  opacity: 0.2;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary);
}
