/* 
   Undress Code Website Styles
   A modern, clean design with a distinct color palette
*/

/* Color Variables */
:root {
    --primary: #e63946;      /* Vibrant Red */
    --secondary: #457b9d;    /* Blue */
    --light: #f1faee;        /* Off-white */
    --medium: #a8dadc;       /* Light Blue */
    --dark: #1d3557;         /* Dark Blue */
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

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

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

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

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style-type: none;
}

section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #d62c39;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.5);
    transform: translateY(-2px);
    color: white;
}

.cta-button.secondary {
    background-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(69, 123, 157, 0.3);
}

.cta-button.secondary:hover {
    background-color: #3a6985;
    box-shadow: 0 6px 15px rgba(69, 123, 157, 0.5);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

nav {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    font-weight: 600;
    position: relative;
    color: var(--dark);
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

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

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f1faee 0%, #a8dadc 100%);
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

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

.hero-visual {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* About Section */
.about {
    background-color: var(--bg-color);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

/* Features Section */
.features {
    background-color: var(--light);
}

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

.feature {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-color);
}

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

.step {
    display: flex;
    margin-bottom: 3rem;
    align-items: flex-start;
}

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

.step-content {
    flex: 1;
}

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

/* Pricing Section */
.pricing {
    background-color: var(--light);
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
    border: 2px solid var(--primary);
}

.card-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.featured .card-header {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a80 100%);
}

.featured-tag {
    position: absolute;
    top: 0;
    right: 1.5rem;
    background-color: white;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 0 0 8px 8px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.features-list {
    padding: 2rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.features-list li {
    position: relative;
    padding-left: 1.8rem;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.featured .features-list li:before {
    color: var(--primary);
}

.pricing-card .cta-button {
    margin: 0 1.5rem 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-color);
    text-align: center;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 350px;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--medium);
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.3;
    line-height: 0;
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 600;
    color: var(--secondary);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta h2:after {
    background-color: white;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-group h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .pricing-card.featured {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        padding: 2rem;
        gap: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-content, .hero-visual {
        flex: 100%;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .hero {
        min-height: auto;
        padding: 4rem 1rem;
    }
    
    .card, .feature, .testimonial {
        min-width: 100%;
    }
}
