/* 
   freeundress.best - Main Stylesheet
   Mobile-first responsive design
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c63ff;
    --secondary-color: #5a52d5;
    --accent-color: #ff6b8b;
    --text-color: #333333;
    --light-text: #ffffff;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Header styles */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-svg {
    width: 50px;
    height: 30px;
    margin-right: 10px;
}

nav ul {
    display: none;
}

nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

nav ul li {
    margin: 10px 0;
}

nav ul li a {
    font-weight: 500;
    padding: 5px 0;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero section */
.hero {
    background-color: var(--light-bg);
    padding: 100px 0 80px;
    text-align: center;
}

.hero-content {
    margin-bottom: 40px;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ai-illustration {
    max-width: 600px;
    margin: 0 auto;
}

/* Features section */
.features {
    background-color: var(--bg-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    background-color: var(--light-bg);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

/* How it works section */
.how-it-works {
    background-color: var(--light-bg);
}

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

.step {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

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

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

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

/* Try now section */
.try-now {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.try-now h2 {
    color: var(--light-text);
}

.try-now .cta-button {
    background-color: var(--light-text);
    color: var(--primary-color);
    margin-top: 20px;
}

.try-now .cta-button:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

/* FAQ section */
.faq {
    background-color: var(--light-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.faq-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

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

.footer-logo-svg {
    width: 50px;
    height: 30px;
    margin-right: 10px;
}

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

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

.footer-column ul li a {
    color: var(--light-text);
    opacity: 0.8;
}

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

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

/* Tablet styles */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .feature-grid, .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-logo {
        margin-bottom: 0;
    }
    
    .hero .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .hero-content {
        flex: 1;
        margin-bottom: 0;
        margin-right: 30px;
    }
    
    .hero-image {
        flex: 1;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
    
    nav ul {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    
    nav ul li {
        margin: 0 0 0 20px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
