/* 
 * Main styles for aiundressing.monster
 * Modern, responsive design optimized for SEO and user experience
 */

/* Base styles and CSS reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff3366;
    --secondary-color: #7000ff;
    --dark-color: #2b2044;
    --light-color: #f9f9f9;
    --text-color: #333333;
    --text-light: #666666;
    --gradient-bg: linear-gradient(135deg, #ff3366 0%, #7000ff 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 4px;
    background: var(--gradient-bg);
    border-radius: 2px;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.6rem;
}

section {
    padding: 8rem 0;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
}

nav {
    padding: 2rem 0;
}

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

.logo {
    width: 200px;
    height: 50px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-menu li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 51, 102, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.4rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 18rem;
    padding-bottom: 10rem;
    background: var(--light-color);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 54rem;
}

.hero h1 {
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--gradient-bg);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.hero-image {
    max-width: 100%;
    height: auto;
    justify-self: center;
}

.ai-illustration {
    width: 100%;
    max-height: 400px;
}

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

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

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    background: linear-gradient(to right, rgba(249, 249, 249, 0.9), rgba(249, 249, 249, 0.95)), 
                url('../images/pattern.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.step {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: var(--gradient-bg);
    color: white;
    font-size: 2.4rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 2rem;
}

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

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

.faq-list {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 2.4rem;
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 1000px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-svg-footer {
    width: 200px;
    height: 50px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-column ul li {
    margin-bottom: 1.2rem;
}

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

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

.footer-column ul li:not(:last-child) {
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-icon {
    width: 40px;
    height: 40px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.8rem;
        border-radius: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .feature-card,
    .step {
        padding: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
