/* 
  Vietnamese-themed CSS for nudefyVN.love
  Colors based on Vietnamese flag:
  - Red: #DA251D
  - Yellow: #FFFF00
  - Additional colors:
  - Dark: #333333
  - Light: #FFFFFF
  - Accent: #F8C54D (golden yellow)
*/

:root {
  --primary: #DA251D;
  --secondary: #FFFF00;
  --accent: #F8C54D;
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #F5F5F5;
  --dark-gray: #666666;
  --gradient: linear-gradient(135deg, var(--primary), #FF6347);
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

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

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

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

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-icon {
  margin-right: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

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

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

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

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

.cta-button {
  background: var(--primary);
  color: var(--light) !important;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  padding: 9rem 0 6rem;
  background: linear-gradient(135deg, rgba(218, 37, 29, 0.05) 0%, rgba(255, 255, 0, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

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

.primary-button {
  background: var(--primary);
  color: var(--light);
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.primary-button:hover {
  background: var(--accent);
  color: var(--light);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(218, 37, 29, 0.15);
}

.secondary-button {
  background: transparent;
  color: var(--primary);
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(218, 37, 29, 0.15);
}

.hero-image {
  position: relative;
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Vietnamese star visual element */
.star-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.star-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.9;
}

.star-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background-color: var(--secondary);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Section styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: var(--dark-gray);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features-section {
  background-color: var(--gray);
  position: relative;
}

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

.feature-card {
  background-color: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--dark-gray);
  line-height: 1.6;
}

/* How it Works Section */
.how-it-works-section {
  background-color: var(--light);
  position: relative;
}

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

.step-card {
  background-color: var(--gray);
  padding: 2rem;
  border-radius: 10px;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-card h3 {
  margin-top: 1rem;
  font-size: 1.4rem;
  color: var(--dark);
}

.step-card p {
  color: var(--dark-gray);
  margin-top: 1rem;
}

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

/* Testimonials Section */
.testimonials-section {
  background-color: var(--gray);
  position: relative;
}

.testimonial-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

.testimonial-author p {
  font-weight: 600;
}

.testimonial-rating {
  color: var(--accent);
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light);
  position: relative;
}

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

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-header h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--dark);
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.accordion-icon:before,
.accordion-icon:after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.accordion-icon:before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.accordion-icon:after {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.accordion-item.active .accordion-icon:before {
  transform: rotate(90deg);
  opacity: 0;
}

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

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--light);
}

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

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

.cta-section h2 {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .primary-button {
  background: var(--light);
  color: var(--primary);
  border-color: var(--light);
}

.cta-section .primary-button:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

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

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

.footer-branding {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-branding svg {
  margin-right: 1rem;
}

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

.footer-links li {
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .keywords {
  font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section {
    padding: 8rem 0 3rem;
  }
  
  .hero-image {
    height: 200px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    width: 100%;
    max-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .primary-button, .secondary-button {
    width: 100%;
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: 1.6rem;
  }
  
  .feature-card, .step-card, .testimonial-card {
    padding: 1.5rem;
  }
}
