/* 
   AINudeGeneratorRU.love - Russian AI Nude Generator Website
   Custom CSS with Russian-inspired design elements
*/

:root {
    /* Russian flag colors */
    --white: #ffffff;
    --blue: #0039a6;
    --red: #e4002b;
    
    /* Additional colors */
    --dark: #1a1c24;
    --dark-blue: #032452;
    --light-gray: #f0f2f5;
    --medium-gray: #7a7d85;
    
    /* Functional colors */
    --text-color: #ffffff;
    --text-secondary: #b8bac3;
    --accent: var(--red);
    --background: #12141b;
    --card-bg: #1f222e;
    --gradient: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
    --button-gradient: linear-gradient(135deg, var(--red) 0%, #c50026 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Roboto', 'PT Sans', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

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

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

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

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 57, 166, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 57, 166, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.2rem;
    font-weight: 900;
}

h2 {
    font-size: 3.6rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 900;
}

.accent {
    color: var(--accent);
}

.accent-text {
    color: var(--accent);
    position: relative;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px;
    background: var(--card-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}

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

.logo-svg {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
}

.vertical-menu {
    margin-top: 2rem;
    flex: 1;
}

.vertical-menu ul {
    list-style: none;
}

.vertical-menu li {
    margin-bottom: 1.5rem;
}

.vertical-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.vertical-menu a:hover, 
.vertical-menu a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.vertical-menu a.active {
    border-left: 3px solid var(--accent);
}

.icon {
    margin-right: 1rem;
    font-size: 1.8rem;
}

.mobile-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 101;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
}

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

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

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

/* Main Content */
.main-content {
    margin-left: 240px;
    min-height: 100vh;
    overflow-x: hidden;
}

section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    background: radial-gradient(circle at 10% 50%, rgba(0, 57, 166, 0.1), transparent 80%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.hero-content {
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 90%;
}

.features-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 500;
}

.badge-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.8rem;
    fill: var(--accent);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.russian-pattern {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.pattern-svg {
    width: 100%;
    height: auto;
}

/* Buttons */
.main-button, 
.secondary-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(228, 0, 43, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.main-button {
    background: var(--button-gradient);
    color: var(--white);
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(228, 0, 43, 0.35);
    color: var(--white);
}

.secondary-button {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent);
}

.secondary-button:hover {
    background: rgba(228, 0, 43, 0.1);
    transform: translateY(-3px);
    color: var(--white);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(228, 0, 43, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(228, 0, 43, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(228, 0, 43, 0);
    }
}

/* Features Section */
.features {
    background: radial-gradient(circle at 90% 50%, rgba(228, 0, 43, 0.1), transparent 80%);
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.feature-card.animate {
    opacity: 0;
    transform: translateY(30px);
}

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(228, 0, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Process Section */
.process {
    background: radial-gradient(circle at 10% 50%, rgba(0, 57, 166, 0.1), transparent 80%);
}

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

.step {
    display: flex;
    margin-bottom: 5rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.step.animate {
    opacity: 0;
    transform: translateX(-30px);
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 3rem;
    box-shadow: 0 6px 15px rgba(228, 0, 43, 0.25);
    position: relative;
    z-index: 1;
}

.step:not(:last-child) .step-icon::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 50%;
    width: 2px;
    height: calc(5rem - 10px);
    background: linear-gradient(to bottom, var(--accent), rgba(228, 0, 43, 0.1));
    transform: translateX(-50%);
    z-index: -1;
}

.step-content {
    flex: 1;
}

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

/* Testimonials Section */
.testimonials {
    background: radial-gradient(circle at 90% 50%, rgba(228, 0, 43, 0.1), transparent 80%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.testimonial {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial.animate {
    opacity: 0;
    transform: translateY(30px);
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(228, 0, 43, 0.1);
    line-height: 1;
}

.rating {
    color: #ffc107;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

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

.author-location {
    font-size: 1.4rem;
    color: var(--medium-gray);
}

/* FAQ Section */
.faq {
    background: radial-gradient(circle at 10% 50%, rgba(0, 57, 166, 0.1), transparent 80%);
}

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

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.animate {
    opacity: 0;
    transform: translateY(30px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue), var(--accent));
    border-radius: 3px 0 0 3px;
}

.faq-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.faq-item p {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.9) 0%, rgba(228, 0, 43, 0.9) 100%);
    text-align: center;
    padding: 8rem 0;
    margin: 8rem 0 0;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.final-cta h2 {
    color: var(--white);
    font-size: 3.6rem;
    margin-bottom: 2rem;
    font-weight: 900;
}

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

.final-cta .main-button {
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.final-cta .main-button:hover {
    background: var(--dark);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--card-bg);
    padding: 8rem 0 3rem;
    position: relative;
    margin-top: 6rem;
}

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

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

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

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

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 1.5rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

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

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

.footer-links a,
.footer-legal a {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

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

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

/* Media Queries */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .side-nav {
        width: 220px;
    }
    
    .main-content {
        margin-left: 220px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero-wrapper {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        width: 100%;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        justify-content: center;
        margin-bottom: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .side-nav {
        transform: translateX(-100%);
        width: 280px;
        z-index: 1000;
    }
    
    .side-nav.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin: 0 auto 2rem;
    }
    
    .step:not(:last-child) .step-icon::after {
        display: none;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    section {
        padding: 7rem 0;
    }
    
    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .final-cta {
        clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    }
    
    .features-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}
