/* 
 * UndressaipornSG.site - Singapore AI Undressing Tool
 * Primary colors: 
 * - Singapore Red: #EF4036
 * - Singapore Blue: #003D7A
 * - Light Gray: #f8f8f8
 * - White: #ffffff
 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: #003D7A;
    transition: color 0.3s ease;
}

a:hover {
    color: #EF4036;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
    color: #003D7A;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: #EF4036;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 64, 54, 0.3);
}

.primary-btn:hover {
    background-color: #d92e24;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 64, 54, 0.4);
}

.secondary-btn {
    background-color: #003D7A;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.3);
}

.secondary-btn:hover {
    background-color: #002b56;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 122, 0.4);
}

.large-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #EF4036;
}

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

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

nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #EF4036;
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #003D7A;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f8f8 0%, #e5e5e5 100%);
    padding: 80px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #003D7A;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

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

.feature-box {
    padding: 30px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: #003D7A;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    padding: 25px;
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin: 15px;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-color: #EF4036;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 -10px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #003D7A 0%, #002255 100%);
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

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

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    margin: 15px;
}

.testimonial-content {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: #f8f8f8;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 5px;
}

.testimonial-meta h4 {
    margin-bottom: 0;
    color: #003D7A;
}

.rating {
    display: flex;
}

.star {
    margin: 0 2px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.faq-item {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #003D7A;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #003D7A;
    color: white;
    padding: 60px 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex: 1;
    min-width: 300px;
}

.brand-text h3 {
    color: white;
    margin-bottom: 5px;
}

.brand-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

.link-group h4 {
    color: #EF4036;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #EF4036;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle:checked ~ nav {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        margin: 10px 0;
    }
    
    .step-divider {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .feature-box {
        min-height: auto;
    }
}
