/* 
   AINudeGeneratorBR.love - Brazilian AI Nude Generator Website
   Custom CSS with Brazilian colors and tropical design elements
*/

:root {
    /* Brazilian flag inspired colors */
    --primary-color: #009c3b; /* Brazilian green */
    --accent-color: #ffdf00; /* Brazilian yellow */
    --secondary-color: #002776; /* Brazilian blue */
    --tertiary-color: #6f42c1; /* Purple accent */
    --dark-color: #121214;
    --light-color: #f5f5f5;
    --gradient-bg: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1c 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

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

a:hover {
    color: #fff;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.8rem;
    text-shadow: var(--text-shadow);
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Wave Background Animation */
.bg-wave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    background: linear-gradient(
        45deg, 
        transparent 48%, 
        rgba(0, 151, 59, 0.1) 49%, 
        rgba(0, 151, 59, 0.1) 51%, 
        transparent 52%
    ), 
    linear-gradient(
        -45deg, 
        transparent 48%, 
        rgba(255, 223, 0, 0.1) 49%, 
        rgba(255, 223, 0, 0.1) 51%, 
        transparent 52%
    );
    background-size: 70px 70px;
    animation: moveWaves 15s linear infinite;
}

@keyframes moveWaves {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 70px 70px;
    }
}

/* Header & Navigation */
header {
    background: rgba(18, 18, 20, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(0, 151, 59, 0.2);
}

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

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

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

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.menu a {
    color: var(--light-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: var(--dark-color) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 151, 59, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 151, 59, 0.4);
}

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

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

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--dark-color), rgba(0, 39, 118, 0.1), var(--dark-color));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 151, 59, 0.2), transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    order: 1;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    background: rgba(255, 223, 0, 0.1);
    border: 1px solid rgba(255, 223, 0, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.feature-tag .icon {
    color: var(--accent-color);
    margin-right: 6px;
}

.hero-visual {
    position: relative;
    order: 2;
}

.art-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 151, 59, 0.3));
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), #00b347);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 151, 59, 0.4);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 151, 59, 0.5);
    color: white;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent-color);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
}

.btn-secondary:hover::before {
    width: 100%;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.btn-primary:hover .arrow,
.btn-secondary:hover .arrow {
    transform: translateX(4px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--dark-color), rgba(255, 223, 0, 0.05), var(--dark-color));
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 151, 59, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 151, 59, 0.3);
    z-index: -1;
    animation: spin 15s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(0, 39, 118, 0.15), transparent 70%);
    position: relative;
}

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

.step {
    display: flex;
    position: relative;
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.step-number {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--dark-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 151, 59, 0.3);
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    height: calc(100% - 30px);
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--dark-color), rgba(0, 151, 59, 0.05), var(--dark-color));
}

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

.testimonial {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--accent-color);
    font-family: Georgia, serif;
    line-height: 1;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.quote {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-city {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--dark-color), rgba(0, 39, 118, 0.1), var(--dark-color));
}

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

.faq-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 151, 59, 0.1) 50%);
    border-radius: 0 15px 0 0;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 151, 59, 0.8) 0%, rgba(0, 39, 118, 0.8) 100%);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0% 100%);
    margin-top: 3rem;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 223, 0, 0.3) 0%, transparent 60%);
    opacity: 0.5;
}

.final-cta h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
}

.final-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    background: rgba(18, 18, 20, 0.95);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--secondary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo svg {
    margin-right: 12px;
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.7;
}

.footer-links h4, 
.footer-legal h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links h4::after, 
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

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

.footer-links li, 
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-links a, 
.footer-legal a {
    color: var(--light-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover, 
.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

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

.keywords {
    margin-top: 0.8rem;
    font-size: 0.8rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3rem;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .menu.active {
        right: 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .btn-primary, 
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
