/* 
   undressaipornSG.love - Singapore-focused unique design
   Color palette: Singapore flag red (#DF0022), white (#FFFFFF), merlion gold (#E4B776)
*/

:root {
    /* Primary colors */
    --red: #DF0022;
    --white: #FFFFFF;
    --gold: #E4B776;
    
    /* Additional colors */
    --dark-red: #BB0000;
    --light-gold: #F5D6A8;
    --dark: #222222;
    --light-gray: #f8f8f8;
    --gray: #777777;
    --card-bg: rgba(223, 0, 34, 0.03);
    --red-gradient: linear-gradient(135deg, var(--red), var(--dark-red));
    --gold-gradient: linear-gradient(135deg, var(--gold), #C69C56);
    
    /* Font sizes */
    --h1-size: 2.8rem;
    --h2-size: 2.4rem;
    --h3-size: 1.4rem;
    --p-size: 1.1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

a {
    color: var(--red);
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: var(--h1-size);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: 1rem;
}

h3 {
    font-size: var(--h3-size);
    margin-bottom: 0.5rem;
}

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

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 2.6rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray);
}

/* Highlight styling */
.highlight {
    color: var(--red);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
}

/* Singapore-inspired geometric pattern background */
.sg-pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(223, 0, 34, 0.05) 0%, rgba(223, 0, 34, 0) 70%),
        repeating-linear-gradient(45deg, rgba(223, 0, 34, 0.02) 0px, rgba(223, 0, 34, 0.02) 2px, transparent 2px, transparent 8px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1));
    z-index: -1;
    opacity: 0.7;
}

/* Header styles */
.header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--dark);
}

.accent {
    color: var(--red);
    font-weight: 900;
}

.main-nav {
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--dark);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-gradient);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--red);
}

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

.nav-button {
    background: var(--red);
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.nav-button:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(223, 0, 34, 0.3);
}

.nav-button::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

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

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

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

/* Hero section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    flex: 1;
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 95%;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(223, 0, 34, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

.badge-icon {
    color: var(--red);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Singapore concept design */
.singapore-concept {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.singapore-concept.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.sg-concept {
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

/* Buttons */
.button-primary {
    display: inline-block;
    background: var(--red-gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(223, 0, 34, 0.3);
    text-align: center;
}

.button-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(223, 0, 34, 0.5);
}

.button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--red);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--red);
    text-align: center;
}

.button-secondary:hover {
    background: var(--red);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(223, 0, 34, 0.3);
}

.pulse {
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(223, 0, 34, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(223, 0, 34, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(223, 0, 34, 0.3);
    }
}

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

/* Features section */
.features {
    padding: 6rem 0;
    position: relative;
    background: #f8f8f8;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom left, rgba(223, 0, 34, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--red-gradient);
    transition: height 0.5s ease;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(223, 0, 34, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--red);
}

/* How to use section */
.how-to {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f8f8, #ffffff);
    position: relative;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

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

.step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(228, 183, 118, 0.3);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    position: relative;
    background: #ffffff;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(223, 0, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.testimonial {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.testimonial.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    opacity: 0.1;
    color: var(--red);
    font-family: Georgia, serif;
    line-height: 0;
}

.testimonial-rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.star {
    color: #ffc107;
}

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

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.05rem;
}

.author-location {
    font-size: 0.9rem;
    color: #777;
}

/* FAQ section */
.faq {
    padding: 6rem 0;
    background: #f8f8f8;
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.faq-question {
    margin-bottom: 1rem;
    color: var(--red);
    position: relative;
    padding-left: 1.5rem;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

/* Final CTA */
.final-cta {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
    position: relative;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    margin-bottom: -1px;
}

.final-cta h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.final-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.final-cta .button-primary {
    background: white;
    color: var(--red);
    border: none;
}

.final-cta .button-primary:hover {
    background: white;
    color: var(--dark-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 5rem 0 2rem;
    color: white;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.7;
    color: #ddd;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--red);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-links h4::after,
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-legal a {
    color: #ddd;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    padding-left: 10px;
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
    color: #ddd;
}

.keywords {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999;
}

/* Responsive styles */
@media (max-width: 1024px) {
    :root {
        --h1-size: 2.4rem;
        --h2-size: 2.2rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .singapore-concept {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        padding: 6rem 2rem;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .singapore-concept {
        transform: scale(0.8);
        margin-top: -30px;
        height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.8rem;
        --h3-size: 1.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-badges {
        flex-direction: column;
    }
    
    .button-primary, 
    .button-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .singapore-concept {
        transform: scale(0.7);
        margin-top: -50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
