/* 
   undressaiVN.love - Main Stylesheet
   Custom design for Vietnamese audience with modern styling
*/

:root {
  --primary: #ff5e62;
  --primary-dark: #e63946;
  --secondary: #2a9d8f;
  --dark: #1d3557;
  --light: #f9f9f9;
  --light-gray: #e5e5e5;
  --text-color: #333333;
  --text-muted: #666666;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --gradient-start: #ff5e62;
  --gradient-end: #ff9966;
  --border-radius: 8px;
}

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

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

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

.wrapper {
  overflow: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border: none;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 94, 98, 0.3);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-cta {
  background: linear-gradient(135deg, #ff9966, #ff5e62);
  color: white;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border: none;
  box-shadow: 0 5px 20px rgba(255, 94, 98, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 94, 98, 0.5);
  color: white;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

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

.logo-svg, .logo-text {
  fill: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-circle {
  fill: var(--secondary);
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

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

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa, #e5e9f2);
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
  display: block;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

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

.hero-visual {
  flex: 1;
  margin-left: 2rem;
  max-width: 500px;
}

.hero-illustration {
  width: 100%;
  height: auto;
}

.gradient-start {
  stop-color: var(--gradient-start);
}

.gradient-end {
  stop-color: var(--gradient-end);
}

.hero-circle {
  fill: rgba(255, 255, 255, 0.2);
  stroke: white;
  stroke-width: 2;
}

.hero-path {
  fill: none;
  stroke: white;
  stroke-width: 3;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  margin-right: 1rem;
}

.feature-icon-bg {
  fill: rgba(255, 94, 98, 0.1);
}

.feature-icon-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-content {
  flex: 1;
}

/* How to Use Section */
.how-to-use {
  padding: 5rem 0;
  background-color: var(--light);
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease;
}

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

.step-number {
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.step-content {
  padding-top: 1.5rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
}

.toggle-icon {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--light);
}

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

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-rating {
  display: flex;
  margin-bottom: 1rem;
}

.star-icon {
  fill: #ffb400;
  margin-right: 5px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

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

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

.footer-branding {
  flex: 2;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-logo-text {
  fill: white;
  font-weight: 600;
  font-size: 1.5rem;
}

.footer-logo-circle {
  fill: var(--primary);
}

.footer-links {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 160px;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
  color: white;
}

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

.disclaimer {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    margin-left: 0;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 200;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 150;
    padding: 5rem 2rem 2rem;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
}
