/* 
* AIpornGeneratorVN.love Styles
* Vietnamese-themed color scheme and unique design
*/

:root {
    --primary: #DA251D; /* Vietnamese flag red */
    --secondary: #FFFF00; /* Vietnamese flag yellow */
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --accent: #FF8C00; /* Warm accent color */
    --text: #333333;
    --background: #F9F9F9;
    --shadow: 0 4px 15px rgba(218, 37, 29, 0.15);
}

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

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

p {
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary), #FF5252);
    color: var(--light);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

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

/* Header */
header {
    background-color: var(--light);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    white-space: nowrap;
}

.vn-text {
    color: var(--primary);
    font-weight: 900;
}

.love-text {
    color: var(--accent);
    font-weight: 300;
}

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

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

nav ul li a {
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFFFFF, #F5F5F5);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.tag {
    background-color: rgba(218, 37, 29, 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cta {
    margin-top: 2rem;
}

.sub-text {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.device {
    width: 80%;
    max-width: 350px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

.section-heading {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    color: var(--dark);
}

.section-heading::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.feature-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-card .icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), #FF5252);
    color: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.steps {
    margin: 3rem 0;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

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

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

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

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

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

.testimonial {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin: 1rem 0 1.5rem;
}

.author {
    font-weight: 700;
    color: var(--primary);
}

/* FAQ Section */
.faqs {
    padding: 5rem 0;
    background-color: var(--background);
}

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

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

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

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

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

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--light);
    color: var(--primary);
    font-size: 1.1rem;
}

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

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links h3, 
.footer-keywords h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after,
.footer-keywords h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    margin-top: 10px;
}

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

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

.footer-links ul li a {
    color: var(--light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

.footer-keywords p {
    opacity: 0.8;
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tags {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        max-height: 300px;
        padding: 1rem 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }
    
    .stats-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .feature-card,
    .testimonial {
        padding: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}
