/* 
 * undresserLV.love - Latvian AI Undressing Tool
 * Main Stylesheet
 */

:root {
    /* Latvian-inspired color palette */
    --primary: #9D2235;
    --primary-dark: #7A1A29;
    --primary-light: #C34355;
    --accent: #4D4D4D;
    --accent-dark: #333333;
    --accent-light: #787878;
    
    --white: #FFFFFF;
    --white-alt: #F5F5F5;
    --bg: #181818;
    --bg-light: #232323;
    --gray: #8A8A8A;
    --gray-light: #D1D1D1;
    
    /* Font */
    --main-font: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--bg);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    height: 5px;
    bottom: 3px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    opacity: 0.2;
    z-index: -1;
    border-radius: 3px;
}

/* Header Styles */
.header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

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

.logo-svg {
    height: 40px;
    width: auto;
}

.main-nav .nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary);
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(157, 34, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(157, 34, 53, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(157, 34, 53, 0.1), rgba(0, 0, 0, 0));
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.hero-content {
    width: 55%;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    width: 45%;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.feature-card {
    background-color: var(--bg);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

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

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

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

/* Promo Section */
.promo {
    padding: 100px 0;
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-text h2 {
    text-align: left;
}

.promo-list {
    margin: 30px 0;
}

.promo-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.promo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-weight: bold;
}

.promo-image {
    display: flex;
    justify-content: center;
}

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

/* How It Works Section */
.how-works {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

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

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

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    height: calc(100% - 30px);
    width: 1px;
    background-color: var(--primary);
    opacity: 0.3;
}

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

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

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

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--bg), var(--accent-dark));
}

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

.stat-card {
    padding: 20px;
}

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

.stat-label {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

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

.faq-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: all 0.3s ease;
    color: var(--gray-light);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--white-alt);
}

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

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

.footer-brand p {
    color: var(--gray);
    margin-top: 20px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
}

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

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

.footer-links a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-favicon {
    width: 50px;
    height: 50px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    h1, .hero-title {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 2.2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 70%;
        margin-top: 40px;
    }
    
    .promo-content {
        grid-template-columns: 1fr;
    }
    
    .promo-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1, .hero-title {
        font-size: 2rem;
    }
    
    h2, .section-title {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
