/* 
 * nudifyerVN.site - Styles
 * Vietnam colors: 
 * - Red: #DA251D (from Vietnamese flag)
 * - Yellow: #FFFF00 (from Vietnamese flag)
 * - Additional colors for contrast and highlights
 */

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #DA251D, #FFFF00);
    margin: 20px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #DA251D;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #a71c15;
}

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

.wrapper {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn.primary {
    background-color: #DA251D;
    color: white;
    box-shadow: 0 5px 15px rgba(218, 37, 29, 0.3);
}

.btn.primary:hover {
    background-color: #b01e17;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 37, 29, 0.4);
}

.btn.outline {
    background-color: transparent;
    color: #DA251D;
    border: 2px solid #DA251D;
}

.btn.outline:hover {
    background-color: #DA251D;
    color: white;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

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

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

.nav-list li:not(:last-child) {
    margin-right: 25px;
}

.nav-list a {
    color: #333;
    position: relative;
    font-weight: 500;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #DA251D, #FFFF00);
    transition: width 0.3s ease;
}

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

.nav-btn {
    background-color: #DA251D;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(218, 37, 29, 0.2);
}

.nav-btn:hover {
    background-color: #b01e17;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 37, 29, 0.3);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    background: radial-gradient(ellipse at bottom, #f8f8f8, #fff);
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 30px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(90deg, #DA251D, #880000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

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

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

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

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

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

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

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

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 60px 0 40px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 30px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #DA251D, transparent);
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #DA251D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(218, 37, 29, 0.2);
}

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

.step p {
    font-size: 0.95rem;
    color: #666;
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Examples Section */
.examples {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.examples-showcase {
    margin: 50px 0;
    display: flex;
    justify-content: center;
}

.example-pair {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.example-item {
    position: relative;
    margin: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.example-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: white;
    color: #333;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.example-arrow {
    margin: 0 10px;
}

.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 30px;
}

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

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle:before,
.faq-toggle:after {
    content: '';
    position: absolute;
    background-color: #DA251D;
    transition: all 0.3s ease;
}

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

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

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #DA251D, #880000);
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta h2:after {
    background: #FFFF00;
}

.cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta .btn.primary {
    background-color: #FFFF00;
    color: #333;
}

.cta .btn.primary:hover {
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 70px 0 20px;
}

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

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

.footer-logo span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin: 15px 0;
}

.footer-logo p {
    color: #aaa;
    max-width: 300px;
}

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

.footer-column {
    margin-left: 50px;
    min-width: 150px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #DA251D;
    margin-top: 8px;
}

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

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

.footer-column a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #FFFF00;
    padding-left: 5px;
}

.footer-disclaimer {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 400px;
        margin-bottom: 50px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background-color: white;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        padding: 80px 20px 30px;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li {
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7px);
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .example-pair {
        flex-direction: column;
    }
    
    .example-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}
