/* 
   undresserVN.love - Main Stylesheet
   Vietnamese AI Undressing Website
*/

:root {
    --primary: #8e44ad;
    --primary-light: #9b59b6;
    --primary-dark: #6c3483;
    --secondary: #e74c3c;
    --secondary-light: #f06054;
    --secondary-dark: #c0392b;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --gray: #95a5a6;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.18);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.2rem;
    color: #555;
}

section {
    padding: 90px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn .icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .icon {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(142, 68, 173, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.25);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Header & Navigation */
.header {
    background: var(--dark);
    color: white;
    position: relative;
    padding-bottom: 50px;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #f9f9f9;
    border-radius: 100% 100% 0 0;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
    display: flex;
    align-items: center;
}

.logo-text {
    color: white;
}

.tld {
    color: var(--secondary);
    font-weight: 500;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    color: var(--light);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-list a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-list a:not(.nav-cta):hover {
    color: white;
}

.nav-list a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 70px 0 50px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 5;
}

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

.hero h1 span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--secondary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 10px;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

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

.hero-decoration {
    position: relative;
    width: 100%;
    height: 100%;
}

.blob-1, .blob-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.6;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite alternate;
}

.blob-1 {
    top: -100px;
    right: -50px;
}

.blob-2 {
    bottom: -80px;
    right: 50px;
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(20px) rotate(5deg);
    }
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
    position: relative;
    z-index: 5;
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary);
    margin-bottom: 10px;
}

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

/* Section Headings */
.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 1.1rem;
    color: #666;
}

/* Features Section */
.features {
    background-color: white;
}

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Process Section */
.process {
    background-color: #f9f9f9;
}

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

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

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

.step-content {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

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

/* FAQ Section */
.faq {
    background-color: white;
}

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

.accordion-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
}

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 25px 25px;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-branding p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.seo-keywords {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-branding p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 30px;
        transition: right 0.3s ease;
        z-index: 90;
    }
    
    .nav-list.active {
        right: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .stats {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .btn-large {
        padding: 14px 28px;
    }
    
    section {
        padding: 50px 0;
    }
}
