/*
 * UndressAI Singapore - Main Stylesheet
 * Author: UndressAI
 * Version: 1.0
 */

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

:root {
    --primary: #00a1e0;
    --secondary: #7b4397;
    --dark: #222222;
    --light: #f5f5f5;
    --text: #333333;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 10px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

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

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

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

h1 {
    font-size: 2.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}

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

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 20px 80px;
    background: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero-visual {
    flex: 1;
    max-width: 500px;
}

.cta-wrapper {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 161, 224, 0.4);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 161, 224, 0.6);
    color: white;
}

.cta-note {
    display: inline-block;
    margin-left: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
}

/* How it Works Section */
.how-it-works {
    background-color: var(--light);
    position: relative;
}

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

.step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

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

.step:before {
    content: '';
    position: absolute;
    left: 40px;
    top: 70px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 1;
}

.step:last-child:before {
    display: none;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

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

/* About Section */
.about {
    background-color: white;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

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

/* FAQ Section */
.faq {
    background-color: var(--light);
}

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

.accordion-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

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

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 300px;
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    background: var(--gradient);
    color: white;
    padding: 100px 20px;
}

.final-cta h2, .final-cta p {
    color: white;
}

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

.final-cta .cta-button {
    background: white;
    color: var(--primary);
    margin-top: 30px;
}

.final-cta .cta-button:hover {
    background: var(--light);
    color: var(--primary);
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

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

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

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

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

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        flex-direction: column;
        padding: 80px 20px 60px;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-note {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        max-height: 300px;
        padding: 20px 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    nav ul li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .step {
        flex-direction: column;
    }
    
    .step:before {
        display: none;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .step-content {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom img {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        width: 100%;
    }
}
