/* 
 * freeundress.site - Main Stylesheet
 * Mobile-first responsive design with modern blue gradient theme
 */

/* Base styles and reset */
:root {
    --primary: #00c6ff;
    --primary-dark: #0072ff;
    --secondary: #141e30;
    --secondary-dark: #243b55;
    --text: #333333;
    --text-light: #ffffff;
    --bg: #f8f9fa;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

h3 {
    font-size: 1.3rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1rem;
}

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

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

/* Header */
header {
    background: linear-gradient(to right, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-icon {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

/* Main content */
main {
    flex: 1;
}

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

/* Hero section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 1.5rem;
    border-radius: 0 0 50% 50%/0 0 15% 15%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

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

.hero-visual {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

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

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.cta-button:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

/* Pulse animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 198, 255, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    }
}

/* About section */
.about {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 4rem 1.5rem;
    box-shadow: var(--box-shadow);
    margin-top: -2rem;
    position: relative;
    z-index: 3;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-svg {
    max-width: 250px;
    height: auto;
}

/* Features section */
.features {
    padding: 5rem 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

/* Get started section */
.get-started {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.get-started h2 {
    color: white;
}

.get-started h2::after {
    background: linear-gradient(to right, var(--primary), white);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
}

.step-number {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary);
}

.cta-container {
    margin-top: 2rem;
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

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

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-legal {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        border-radius: 0 0 50% 50%/0 0 25% 25%;
        padding: 7rem 2rem;
    }
    
    .about-content {
        flex-direction: row;
        align-items: center;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        gap: 4rem;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        padding: 8rem 3rem 10rem;
    }
    
    .hero-content {
        margin-bottom: 0;
        margin-right: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .step {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-legal {
        margin-top: 0;
    }
}
