/*
 * Undressing US - Main Stylesheet
 * Author: Undressing
 * Version: 1.0
 */

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

:root {
    --primary: #ff4e50;
    --secondary: #f9d423;
    --dark: #222831;
    --light: #f9f9f9;
    --gray: #888888;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

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

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

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

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

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--dark);
    position: relative;
}

.section-title span {
    color: var(--primary);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

p {
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 1.05rem;
}

section {
    padding: 80px 0;
}

/* Header */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.desktop-nav ul li {
    margin: 0 15px;
}

.desktop-nav ul li a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.desktop-nav ul li a:hover {
    color: var(--primary);
    background: rgba(255, 78, 80, 0.05);
}

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 78, 80, 0.3);
    color: white !important;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    display: block;
    padding: 10px 15px;
    color: var(--dark);
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-nav ul li a:hover {
    background: rgba(255, 78, 80, 0.05);
    color: var(--primary);
}

.mobile-nav .mobile-cta {
    display: block;
    margin-top: 20px;
    background: var(--gradient);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(34, 40, 49, 0.02) 0%, rgba(255, 78, 80, 0.05) 100%);
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    width: 2px;
    height: 2px;
    opacity: 0.4;
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 78, 80, 0.3);
    color: white;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--dark);
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.secondary-button:hover {
    background: rgba(255, 78, 80, 0.05);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-visual {
    max-width: 500px;
    margin: 0 auto;
}

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

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: white;
}

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

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    margin: 0;
}

/* How It Works */
.how-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(34, 40, 49, 0.02) 0%, rgba(255, 78, 80, 0.05) 100%);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

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

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(255, 78, 80, 0.3);
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-arrow {
    position: absolute;
    bottom: -40px;
    left: 30px;
    width: 100px;
    height: 50px;
    z-index: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

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

.accordion-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    color: var(--primary);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    height: auto;
    padding-bottom: 25px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    color: white;
    opacity: 0.9;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary) !important;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-section .cta-button:hover {
    background: var(--dark);
    color: white !important;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

.footer-logo-icon {
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

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

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .desktop-nav, .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-content, .hero-visual {
        max-width: 100%;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
        gap: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-card {
        text-align: center;
    }
    
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .accordion-header {
        padding: 20px;
        font-size: 1rem;
    }
    
    .accordion-content {
        padding: 0 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}
