/* 
 * UndressApp.wiki - Modern and Responsive CSS
 * Optimized for SEO and performance
 */

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #333333;
    --light-text: #ffffff;
    --background: #f9f9f9;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(106, 17, 203, 0.1);
    z-index: -1;
}

p {
    margin-bottom: 1rem;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

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

.logo svg {
    fill: url(#gradient);
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 6rem 0;
    overflow: hidden;
}

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

.hero-content {
    max-width: 550px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    text-align: center;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: var(--light-text);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: #fff;
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    margin-bottom: 1.5rem;
}

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

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--background);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.step {
    text-align: center;
    flex: 1;
}

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

.step h3 {
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: #fff;
}

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

.testimonial {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.user {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stars {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.user p {
    margin-bottom: 0;
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    text-align: center;
    background: var(--gradient);
    color: var(--light-text);
}

.final-cta h2, .final-cta p {
    color: var(--light-text);
}

.final-cta .highlight::after {
    background-color: rgba(255, 255, 255, 0.2);
}

.final-cta .cta-button {
    background: var(--light-text);
    color: var(--primary-color);
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.final-cta .cta-button:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.footer-logo h3 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.link-group h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.8rem;
}

.link-group a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-content h2 {
        text-align: center;
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 1.5rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav li {
        margin: 0 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
